/* Kingno — a small collection of creative corners. */
:root {
  --ink: #2d2b3b;
  --muted: #777381;
  --line: #e8e4ec;
  --paper: #d8cbea;
  --surface: rgb(255 255 255 / 68%);
  --surface-strong: rgb(255 255 255 / 78%);
  --accent: #7053d8;
  --accent-deep: #6045bd;
  --wash: #efebfa;
  --soft: #f6f3fc;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 800px 600px at 100% 0%, #accbeb 0%, transparent 75%),
    radial-gradient(ellipse 650px 700px at 0% 65%, #e9b2cf 0%, transparent 75%),
    linear-gradient(145deg, #cebce9 0%, #bdd3ed 43%, #e8bfd5 78%, #d5c4eb 100%);
  font: 16px/1.75 system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('/assets/backdrop.svg') center top / 1600px 1000px repeat-y;
}
@media (max-width: 650px) {
  body::before { background-size: 960px 600px; opacity: .7; }
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #b4a2e8; outline-offset: 5px; }
[hidden] { display: none !important; }
.zone-art { --accent: #ad704a; --accent-deep: #955936; --wash: #f7eadd; --soft: #fcf5ed; }
.zone-maps { --accent: #64854c; --accent-deep: #4d6c38; --wash: #e8efdf; --soft: #f3f6ed; }
.zone-community { --accent: #527d9a; --accent-deep: #3d6582; --wash: #e7eff5; --soft: #f0f5f9; }
header, main, footer { max-width: 1160px; margin: auto; }
header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-weight: 800; letter-spacing: -.7px; }
.brand > span { font-size: 23px; }
.brand > .brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px 11px 11px 3px; font-size: 24px; color: #fff; background: #7053d8; box-shadow: 3px 3px 0 #e4ddf5; }
.dot { color: #7053d8; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 13px; }
nav a { white-space: nowrap; color: #5d566c; padding: 8px 13px; border-radius: 8px; transition: background .15s, color .15s; }
nav a:hover { color: var(--accent-deep); background: var(--soft); }
nav a[aria-current] { color: var(--accent-deep); background: var(--wash); font-weight: 650; }
.skip { position: absolute; z-index: 100; left: 20px; top: -100px; background: white; padding: 12px; border-radius: 8px; }
.skip:focus { top: 8px; }
main { padding: 0 32px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 2px; margin: 0 0 17px; }
h1 { font-size: clamp(36px, 4.7vw, 56px); font-weight: 780; line-height: 1.32; letter-spacing: -1.9px; margin: 15px 0 22px; }
h1 span { color: var(--accent); }
h2, h3 { letter-spacing: -.5px; }
.intro { max-width: 550px; color: var(--muted); font-size: 15px; line-height: 1.95; margin: 0 0 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 0; border-radius: 10px; background: var(--accent); color: white; padding: 12px 22px; font-weight: 650; font-size: 14px; box-shadow: 0 3px 0 #30234412; transition: background .15s, transform .15s; }
.button:hover { background: var(--accent-deep); transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; }
.quiet-link { font-size: 13px; color: #777080; }
.quiet-link:hover { color: var(--accent); }
.breadcrumbs { display: flex; gap: 10px; align-items: center; color: #99909f; font-size: 11px; padding: 24px 4px 18px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs > span:last-child { color: #665e72; }
/* Home: a quiet welcome followed by four clearly named destinations. */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 54px 45px 49px; margin: 28px 0 44px; border: 1px solid #e6e0ed; border-radius: 23px; min-height: 410px; background: var(--surface-strong); }
.hero::before { content: ''; position: absolute; z-index: -1; width: 360px; height: 360px; right: -25px; top: 13px; border-radius: 50%; background: #f0ecf9; }
.hero::after { content: '+'; position: absolute; bottom: 23px; right: 32px; color: #b4a5d3; font-size: 22px; font-weight: 300; }
.hero h1 { max-width: 650px; font-size: clamp(37px, 4.3vw, 53px); }
.hero .intro { max-width: 550px; padding-right: 20px; font-size: 14px; }
.status-dot { width: 6px; height: 6px; background: #94aa6d; border-radius: 50%; box-shadow: 0 0 0 4px #eef2e4; margin-right: 3px; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.orbit { position: absolute; right: 38px; top: 66px; width: 248px; height: 248px; border: 1px dashed #c6b9dd; border-radius: 50%; display: grid; place-items: center; transform: rotate(-10deg); }
.tile { width: 132px; height: 132px; display: grid; place-items: center; border-radius: 27px; background: #d9edac; color: #37482d; font-size: 86px; font-weight: 850; transform: rotate(20deg); box-shadow: 9px 10px 0 #dcd2ee; }
.orbit > span { position: absolute; right: 0; top: -5px; color: #967dc7; font-size: 45px; }
.orbit b { position: absolute; bottom: -10px; background: #f0ecf9; padding: 2px 10px; color: #8b7d9d; font-size: 8px; letter-spacing: 1.6px; }
.explore { padding-bottom: 52px; scroll-margin-top: 25px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 0 0 24px; }
.section-title .eyebrow { color: #9b8baa; font-size: 9px; margin: 0 0 7px; letter-spacing: 1.7px; }
.section-title h2 { margin: 0; font-size: 23px; font-weight: 730; line-height: 1.5; }
.section-title > span { font-size: 11px; color: #96909b; padding-bottom: 4px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { --card-accent: #7053d8; --card-wash: #efebfa; --card-line: #e2d9f1; position: relative; display: block; padding: 27px 30px 29px; border: 1px solid var(--card-line); border-radius: 18px; background: var(--surface); min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 9px 22px #3323460a; border-color: var(--card-accent); }
.number { color: #93849f; font-size: 9px; font-weight: 650; letter-spacing: 1.7px; }
.card .number { color: var(--card-accent); }
.card .symbol { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--card-wash); color: var(--card-accent); margin: 23px 0 20px; }
.symbol svg { display: block; width: 35px; height: 35px; }
.card h3 { font-size: 24px; margin: 0 0 8px; line-height: 1.5; font-weight: 720; }
.card h3 > span { float: right; font-weight: 400; color: var(--card-accent); }
.card-arrow { display: grid; place-items: center; width: 30px; height: 30px; background: var(--card-wash); border-radius: 50%; font-size: 17px; margin-top: 4px; }
.card p { font-size: 13px; color: #827a89; margin: 0; line-height: 1.9; max-width: 400px; }
.home-cards > .card:not(.about)::after { content: ''; position: absolute; right: 30px; top: 27px; width: 50px; height: 50px; border: 1px solid var(--card-line); border-radius: 50%; opacity: .75; pointer-events: none; }
.home-cards > .art-card::after { border-radius: 10px !important; transform: rotate(14deg); }
.home-cards > .map-card::after { border-radius: 4px !important; transform: rotate(-9deg); width: 38px !important; height: 38px !important; }
.home-cards > .community-card::after { height: 32px !important; border-radius: 12px 12px 12px 2px !important; }
.art-card { --card-accent: #b27a51; --card-wash: #f9eee2; --card-line: #eddfd2; }
.map-card { --card-accent: #6c8a54; --card-wash: #eaf0e1; --card-line: #dfe7d6; }
.community-card { --card-accent: #5b829c; --card-wash: #e8eff5; --card-line: #dbe5ec; }
.home-cards > .about { grid-column: 1/-1; padding: 21px 28px; border-color: #e7e2e9; background: rgb(242 240 244 / 63%); }
.home-cards > .about .number { display: block; margin: 0 0 4px; font-size: 8px; color: #9b91a3; }
.home-cards > .about h3 { font-size: 17px; margin: 0; }
.home-cards > .about h3 span { font-size: 23px; color: #9786ac; }
.home-cards > .about p { font-size: 12px; margin-top: 4px; }
/* Zone introductions share a frame; each corner has its own accent. */
.page-heading, .zone-hero, .community-heading { position: relative; margin: 0 0 35px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--soft) 72%, transparent); padding: 40px 38px; overflow: hidden; }
.page-heading::after, .community-heading::after { content: '+'; position: absolute; top: 28px; right: 31px; color: var(--accent); opacity: .35; font-size: 26px; }
.page-heading .intro { margin-bottom: 0; max-width: 740px; }
.page-heading h1, .zone-hero h1, .community-heading h1 { font-size: clamp(35px, 4.2vw, 47px); }
.zone-hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 25px; }
.zone-hero .intro { margin-bottom: 21px; max-width: 500px; font-size: 14px; }
.zone-tag { display: inline-block; color: var(--accent-deep); background: var(--wash); border-radius: 7px; padding: 5px 11px; font-size: 10px; }
.collection { padding-bottom: 8px; }
.empty, .story { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 35px; margin: 0 0 45px; }
.empty p, .story p { color: var(--muted); max-width: 720px; font-size: 14px; }
.empty h2, .story h2 { margin-top: 0; font-size: 23px; }
.story .button { margin-top: 14px; }
.badge { background: var(--wash); color: var(--accent); border-radius: 7px; padding: 5px 10px; font-size: 11px; }
.text-link { display: inline-block; margin-top: 19px; color: var(--accent); font-size: 13px; }
.text-link:hover { text-decoration: underline; }
.zone-empty { text-align: center; border-style: dashed; padding: 43px 26px; background: rgb(255 254 251 / 68%); }
.zone-empty p { max-width: 540px; margin: 10px auto; font-size: 13px; }
.zone-empty h2 { margin: 17px 0 10px; font-size: 21px; }
.empty-symbol { display: inline-grid; place-items: center; width: 60px; height: 60px; background: var(--wash); border-radius: 15px; font-size: 35px; color: var(--accent); }
.sketch-decoration { position: relative; width: 260px; height: 260px; margin: auto; }
.paper-back, .paper-front { position: absolute; width: 165px; height: 206px; left: 30px; top: 23px; border: 1px solid #dfc7b4; border-radius: 6px; }
.paper-back { background: #efd5be; transform: rotate(-12deg); }
.paper-front { background: #fffdf8; transform: rotate(9deg); padding: 22px; box-shadow: 6px 8px 0 #d6b99d26; }
.paper-front span { display: block; text-align: center; font-size: 60px; color: #c4906a; line-height: 1.8; }
.paper-front i { display: block; width: 54px; height: 3px; background: #dfc0a4; margin: 1px auto 12px; }
.paper-front b { display: block; text-align: center; color: #a98a70; font-size: 7px; letter-spacing: 1.2px; line-height: 1.9; }
.pencil { position: absolute; right: 17px; top: 73px; width: 12px; height: 155px; border-radius: 3px; background: linear-gradient(90deg,#b88d5f 33%,#e9c48b 33%,#e9c48b 66%,#c9a16b 66%); transform: rotate(24deg); }
.pencil::after { content: ''; position: absolute; bottom: -15px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 17px solid #756351; }
.block-decoration { position: relative; width: 260px; height: 260px; margin: auto; }
.voxel { position: absolute; width: 73px; height: 73px; border-top: 16px solid #a2bc84; background: repeating-linear-gradient(0deg,#a68a6d 0 15px,#9d8165 15px 30px); box-shadow: 8px 8px 0 #d5dfc8; }
.voxel.one { left: 15px; top: 137px; }
.voxel.two { left: 98px; top: 99px; }
.voxel.three { left: 184px; top: 163px; width: 47px; height: 47px; border-top-width: 12px; }
.craft-spark { position: absolute; left: 80px; top: -4px; color: #7f9c63; font-size: 77px; transform: rotate(-10deg); }
.block-decoration > span { position: absolute; left: 20px; bottom: 9px; color: #859976; font-size: 7px; letter-spacing: 1.7px; }
.map-note { border-left: 3px solid #abc28d; padding: 1px 20px; margin: 0 0 50px; }
.map-note h2 { font-size: 16px; margin: 0 0 7px; }
.map-note p { max-width: 770px; font-size: 12px; color: var(--muted); margin: 0; }
/* Game shelf and the existing embedded player. */
.game-cards .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.game-cover { height: 185px; position: relative; overflow: hidden; padding: 30px; color: #eeeafa; background: #29283f; }
.game-cover b { display: block; position: relative; z-index: 1; font-size: 28px; font-weight: 750; letter-spacing: 2px; }
.game-cover small { display: block; position: relative; z-index: 1; font-size: 8px; letter-spacing: 2px; margin-top: 5px; color: #b3adc7; }
.void-cover { background: #252c45; }
.void-tile { position: absolute; display: block; width: 55px; height: 55px; background: #456e92; box-shadow: 6px 6px 0 #192036; transform: rotate(-13deg); }
.void-tile.t1 { right: 28px; top: 23px; width: 37px; height: 37px; }
.void-tile.t2 { right: 94px; top: 89px; background: #5b8fab; }
.void-tile.t3 { right: -8px; bottom: -20px; width: 88px; height: 88px; }
.cover-player { position: absolute; display: block; width: 16px; height: 22px; background: #dcebb0; right: 154px; top: 53px; box-shadow: 0 -8px 0 #efcba9, 3px 22px 0 -4px #b6a4d1; }
.run-cover { background: #393955; }
.run-platform { position: absolute; height: 26px; background: #666078; border-top: 5px solid #a5ba8a; bottom: 0; width: 100px; }
.run-platform.p1 { left: 0; width: 44%; }
.run-platform.p2 { right: 58px; bottom: 24px; width: 78px; }
.run-platform.p3 { right: -5px; bottom: 48px; width: 43px; }
.run-cover .cover-player { right: 87px; top: auto; bottom: 77px; }
.run-cover::after { content: '✦'; position: absolute; right: 34px; top: 19px; font-size: 28px; color: #d9d0b6; }
.card-content { padding: 23px 26px; display: flex; flex-direction: column; flex: 1; }
.card-content h3 { font-size: 23px; margin-top: 8px; }
.card-content p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px; }
.play-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid #efebf4; color: var(--card-accent); font-size: 12px; font-weight: 600; }
.play-link span { font-size: 19px; }
.game-stage { background: #171522; border: 1px solid #ded6ea; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 25px #2b22480b; }
.game-stage iframe { display: block; width: 100%; height: min(78vh, 760px); min-height: 360px; border: 0; }
.game-actions { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 45px; }
.game-actions .text-link { margin-top: 18px; }
/* Community: discussions and composition have separate, readable surfaces. */
.community-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.community-heading .intro { max-width: 600px; margin-bottom: 0; font-size: 14px; }
.community-heading > .button { white-space: nowrap; flex-shrink: 0; }
.community-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 50px; }
.post-feed { min-width: 0; padding: 25px; border: 1px solid #e0e6eb; border-radius: 17px; background: var(--surface); }
.feed-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #eef0f2; margin-bottom: 22px; }
.feed-heading h2 { font-size: 19px; margin: 0; }
.plain-button, .delete-post, .outline-button { background: none; border: 0; color: var(--accent); font: inherit; font-size: 12px; padding: 5px 0; }
.plain-button:hover, .topic-link:hover { text-decoration: underline; }
.plain-button:disabled, .delete-post:disabled { opacity: .5; cursor: wait; }
.post-card { border: 1px solid #e5e9ee; background: rgb(253 254 254 / 65%); border-radius: 12px; padding: 21px; margin-bottom: 15px; overflow-wrap: anywhere; }
.post-card:last-child { margin-bottom: 0; }
.post-meta { display: flex; align-items: center; gap: 8px; color: #8b9099; font-size: 10px; flex-wrap: wrap; }
.post-meta b { color: #617383; font-size: 11px; font-weight: 550; }
.post-meta time { margin-left: auto; font-size: 9px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--wash); color: var(--accent); font-size: 13px; }
.post-card h3 { font-size: 19px; line-height: 1.5; margin: 16px 0 10px; }
.topic-link { background: none; border: 0; padding: 0; text-align: left; color: #344659; font: inherit; }
.post-body { white-space: pre-wrap; font-size: 13px; color: #7b818a; line-height: 1.9; margin: 11px 0 16px; }
.post-preview { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.post-actions:empty { display: none; }
.delete-post { color: #a2828a; font-size: 10px; margin-left: auto; }
.compose-card { border: 1px solid #dce5ec; background: var(--surface-strong); border-radius: 17px; padding: 25px; scroll-margin-top: 25px; }
.compose-card > .number { color: #7e9bb0; }
.compose-card h2 { font-size: 21px; margin: 8px 0 23px; }
.compose-card label { display: flex; justify-content: space-between; font-size: 11px; color: #68798b; margin: 15px 0 7px; }
.compose-card label span { color: #a0a9b2; font-size: 10px; }
.compose-card input, .compose-card textarea { display: block; width: 100%; background: #f8fafc; border: 1px solid #dfe5eb; border-radius: 8px; padding: 10px 12px; color: #3a4656; font: 13px/1.8 system-ui, "Microsoft YaHei", sans-serif; }
.compose-card textarea { resize: vertical; min-height: 135px; }
.compose-card input::placeholder, .compose-card textarea::placeholder { color: #a0a9b4; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.form-bottom > span { color: #a1aab4; font-size: 10px; }
.form-bottom .button { font-size: 12px; padding: 10px 16px; }
.form-status, .feed-status { color: #81909f; font-size: 12px; line-height: 1.9; }
.form-status:empty, .feed-status:empty { display: none; }
.form-status { margin-bottom: 0; }
.feed-status { padding: 23px; margin: 0; border: 1px dashed #d6e0e8; border-radius: 11px; background: rgb(247 250 252 / 66%); text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; opacity: 0; width: 1px; height: 1px; overflow: hidden; }
.community-note { background: rgb(237 242 246 / 68%); border-radius: 12px; padding: 17px 20px; margin-top: 15px; }
.community-note h3 { color: #6b8091; font-size: 12px; margin: 0 0 8px; }
.community-note p { color: #8996a2; font-size: 11px; line-height: 1.95; margin: 7px 0; }
.outline-button { border: 1px solid #dce5ec; border-radius: 9px; padding: 9px 20px; margin-top: 16px; width: 100%; }
.back-to-topics { margin-bottom: 15px; }
.replies-title { color: #879aaa; font-size: 15px; margin: 24px 0 15px; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 25px 32px 32px; font-size: 11px; color: #74677f; }
footer > span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #b1a1c9; margin: 0 9px 2px 0; }
footer a:hover { color: var(--accent); }
@media (max-width: 1050px) {
  header { gap: 18px; }
  nav { gap: 2px; font-size: 12px; }
  nav a { padding: 7px 9px; }
  .hero { padding: 43px 35px; }
  .hero h1 { font-size: 44px; max-width: 560px; }
  .hero .intro { max-width: 480px; }
  .orbit { right: 20px; width: 210px; height: 210px; top: 83px; }
  .tile { width: 115px; height: 115px; font-size: 73px; }
  .hero::before { width: 300px; height: 300px; right: -30px; top: 40px; }
  .zone-hero { grid-template-columns: 1.3fr 1fr; padding: 33px; }
  .community-heading { padding: 33px; }
  .community-heading .intro { max-width: 480px; }
}
@media (max-width: 850px) {
  header { flex-wrap: wrap; padding-top: 20px; padding-bottom: 18px; gap: 18px; }
  nav { width: 100%; gap: 4px; }
  nav a { padding: 7px 12px; }
  .hero h1 { max-width: 430px; font-size: 39px; }
  .hero .intro { max-width: 405px; }
  .orbit { right: 15px; top: 100px; width: 170px; height: 170px; }
  .tile { width: 95px; height: 95px; font-size: 61px; border-radius: 20px; }
  .orbit > span { font-size: 35px; }
  .orbit b { font-size: 6px; letter-spacing: .8px; }
  .hero::before { width: 240px; height: 280px; right: -35px; top: 54px; }
  .section-title > span { display: none; }
  .zone-hero { grid-template-columns: 1.2fr 1fr; padding: 30px; gap: 10px; }
  .zone-hero h1 { font-size: 38px; }
  .sketch-decoration, .block-decoration { transform: scale(.8); transform-origin: center; width: 240px; margin-left: -10px; }
  .community-heading { display: block; }
  .community-heading > .button { margin-top: 22px; }
  .community-layout { gap: 18px; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .post-feed, .compose-card { padding: 19px; }
  .post-card { padding: 16px; }
}
@media (max-width: 650px) {
  header { padding: 18px 20px; gap: 17px; }
  .brand > span { font-size: 21px; }
  .brand > .brand-mark { width: 32px; height: 32px; border-radius: 9px 9px 9px 3px; font-size: 22px; }
  nav { gap: 5px 2px; }
  nav a { padding: 6px 9px; font-size: 11px; }
  main { padding: 0 20px; }
  .breadcrumbs { padding-top: 19px; padding-bottom: 14px; font-size: 10px; }
  .hero { margin: 21px 0 31px; padding: 29px 24px 32px; min-height: 0; }
  .hero h1 { max-width: none; font-size: clamp(30px, 7.7vw, 39px); letter-spacing: -1.4px; margin-top: 16px; }
  .hero .intro { max-width: none; font-size: 13px; padding-right: 0; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .hero::before { top: auto; bottom: -10px; right: 17px; width: 180px; height: 180px; }
  .hero::after { font-size: 18px; bottom: 19px; right: 21px; }
  .hero-actions { gap: 18px; flex-wrap: wrap; }
  .hero-actions .button { padding: 10px 16px; font-size: 12px; }
  .quiet-link { font-size: 11px; }
  .orbit { position: relative; top: auto; right: auto; width: 150px; height: 150px; margin: 35px auto 0; }
  .tile { width: 83px; height: 83px; font-size: 55px; border-radius: 18px; box-shadow: 6px 7px 0 #dcd2ee; }
  .orbit > span { font-size: 30px; }
  .orbit b { bottom: -8px; font-size: 6px; }
  .section-title { margin-bottom: 17px; }
  .section-title h2 { font-size: 21px; }
  .section-title .eyebrow { font-size: 8px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .home-cards > .card:not(.about) { padding: 23px 23px 24px; padding-left: 101px; min-height: 165px; }
  .home-cards .symbol { position: absolute; left: 22px; top: 49px; width: 56px; height: 56px; margin: 0; border-radius: 15px; }
  .symbol svg { width: 31px; height: 31px; }
  .home-cards > .card:not(.about)::after { display: none; }
  .card h3 { font-size: 21px; margin: 8px 0; }
  .card p { font-size: 12px; }
  .number { font-size: 8px; letter-spacing: 1.3px; }
  .card-arrow { width: 25px; height: 25px; font-size: 15px; }
  .home-cards > .about { grid-column: auto; padding: 20px 23px; }
  .explore { padding-bottom: 34px; }
  .page-heading, .zone-hero, .community-heading { padding: 28px 24px; margin-bottom: 26px; border-radius: 16px; }
  .page-heading h1, .zone-hero h1, .community-heading h1 { font-size: 35px; letter-spacing: -1.6px; margin-bottom: 18px; }
  .page-heading .intro, .zone-hero .intro, .community-heading .intro { font-size: 13px; }
  .zone-hero { grid-template-columns: 1fr; gap: 0; }
  .sketch-decoration, .block-decoration { width: 260px; height: 225px; margin: 0 auto -18px; transform: scale(.75); transform-origin: center; }
  .zone-tag { font-size: 9px; }
  .zone-empty { padding: 30px 23px; }
  .zone-empty h2 { font-size: 19px; }
  .zone-empty p { font-size: 12px; }
  .empty-symbol { width: 52px; height: 52px; font-size: 30px; }
  .empty, .story { padding: 26px; margin-bottom: 35px; }
  .story h2 { font-size: 21px; }
  .story p { font-size: 13px; }
  .map-note { padding-left: 15px; margin-bottom: 35px; }
  .map-note p { font-size: 11px; }
  .game-cover { height: 165px; padding: 26px; }
  .game-cover b { font-size: 25px; }
  .card-content { padding: 20px 23px; }
  .card-content h3 { margin-top: 8px; }
  .game-cards .card-content p { font-size: 12px; }
  .game-stage iframe { min-height: 310px; }
  .game-actions { margin-bottom: 30px; gap: 5px; }
  .game-actions .text-link { font-size: 12px; }
  .community-layout { display: flex; flex-direction: column; gap: 20px; margin-bottom: 35px; }
  .community-layout > aside, .post-feed { width: 100%; }
  .post-feed, .compose-card { padding: 21px; }
  .feed-heading { margin-bottom: 17px; padding-bottom: 15px; }
  .feed-heading h2 { font-size: 18px; }
  .compose-card h2 { font-size: 20px; }
  .community-note { padding: 16px 18px; }
  .community-note p { font-size: 10px; }
  footer { padding: 22px 20px 27px; flex-wrap: wrap; font-size: 10px; gap: 10px; }
}
@media (max-width: 360px) {
  nav a { padding: 5px 7px; font-size: 10px; }
  .hero, .page-heading, .zone-hero, .community-heading { padding-left: 20px; padding-right: 20px; }
  .home-cards > .card:not(.about) { padding-left: 87px; padding-right: 18px; }
  .home-cards .symbol { left: 17px; width: 50px; height: 50px; }
  .card h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
/* Keep the welcome copy and ornament in independent columns. */
.hero { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: 20px; }
.hero-copy { min-width: 0; }
.orbit { position: relative; top: auto; right: auto; margin: 0 auto; }
@media (min-width: 651px) and (max-width: 850px) {
  .hero { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); padding: 35px 28px; gap: 15px; }
  .hero h1 { font-size: 36px; }
  .hero .intro { font-size: 13px; padding-right: 0; }
  .orbit { width: 145px; height: 145px; }
  .tile { width: 80px; height: 80px; font-size: 53px; border-radius: 18px; }
}
@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; gap: 0; }
  .orbit { margin: 35px auto 0; }
}
@media (max-width: 650px) {
  nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  nav a { text-align: center; padding: 7px 5px; }
  .hero h1 span { display: block; }
}
.card p { color: #756f7d; }
.art-card { --card-accent: #9d6843; }
.map-card { --card-accent: #5c7844; }
.community-card { --card-accent: #4f748e; }
.site-page main > .page-heading:first-child { margin-top: 25px; }

/* Translucent surfaces retain full-opacity text and controls. */
.hero, .card, .page-heading, .zone-hero, .community-heading,
.empty, .story, .post-feed, .compose-card, .community-note {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 60%), 0 5px 18px rgb(63 42 97 / 3%);
}
@media (prefers-reduced-transparency: reduce) {
  :root { --surface: #fff; --surface-strong: #fffdfb; }
  .home-cards > .about { background: #f2f0f4; }
  .page-heading, .zone-hero, .community-heading { background: var(--soft); }
  .zone-empty, .post-card, .feed-status, .community-note { background: #fdfefe; }
  .hero, .card, .page-heading, .zone-hero, .community-heading,
  .empty, .story, .post-feed, .compose-card, .community-note {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Downloadable skin resource. */
.skin-resource { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); overflow: hidden; border: 1px solid #ffffff9e; border-radius: 19px; background: var(--surface); box-shadow: inset 0 1px 0 #ffffff99, 0 5px 18px #3f2a6108; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 23px; }
.skin-preview-panel { position: relative; padding: 24px; background: linear-gradient(150deg, #e5eedc99, #dfe9ec80); border-right: 1px solid #ffffff80; }
.skin-preview-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.skin-preview-top .number { color: #718863; }
.preview-hint { color: #8d9b86; font-size: 10px; }
.minecraft-preview { display: block; width: 100%; height: 360px; cursor: grab; touch-action: pan-y; image-rendering: pixelated; }
.minecraft-preview.dragging { cursor: grabbing; }
.skin-preview-status { position: absolute; left: 24px; right: 24px; top: 45%; text-align: center; font-size: 12px; color: #72826a; }
.skin-view-controls { display: flex; justify-content: center; gap: 10px; }
.skin-view-controls button { padding: 7px 12px; border: 1px solid #b8c8ad; border-radius: 7px; background: #ffffff70; color: #657a55; font-size: 11px; }
.skin-view-controls button:hover { background: #ffffffb3; }
.skin-resource-info { padding: 30px; min-width: 0; align-self: center; }
.skin-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skin-tags span { padding: 3px 9px; background: #e2ebd9b3; color: #688253; border-radius: 6px; font-size: 9px; }
.skin-resource-info h3 { font-size: 30px; margin: 16px 0 12px; }
.skin-description { color: #716c79; font-size: 14px; line-height: 1.95; margin: 0 0 22px; }
.skin-settings { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; font-size: 11px; color: #7b7d72; }
.skin-settings select { padding: 7px 9px; border: 1px solid #ccd6c3; border-radius: 6px; background: #ffffff8c; color: #5e704f; font-size: 11px; }
.skin-layer-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.skin-layer-toggle input { accent-color: #64854c; }
.skin-download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.skin-download-actions .text-link { margin: 0; font-size: 12px; }
.skin-texture-note { display: flex; align-items: center; gap: 14px; border-top: 1px solid #d9dfd69c; padding-top: 18px; margin-top: 25px; }
.skin-texture-note img { flex: none; image-rendering: pixelated; border: 1px solid #d7ddcf; border-radius: 6px; background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 0 0 / 12px 12px; }
.skin-texture-note p { color: #868379; font-size: 11px; line-height: 1.9; margin: 0; }
.workshop-upcoming { display: flex; align-items: center; gap: 18px; padding: 23px; margin: 0 0 35px; border: 1px dashed #b8c6ad; border-radius: 13px; background: #f7faf157; }
.workshop-upcoming .empty-symbol { width: 43px; height: 43px; font-size: 26px; flex: none; }
.workshop-upcoming h3 { font-size: 16px; margin: 0 0 6px; }
.workshop-upcoming p { color: #797a73; font-size: 12px; margin: 0; }
.workshop-upcoming .text-link { margin: 0 0 0 auto; flex-shrink: 0; font-size: 11px; }
@media (max-width: 850px) {
  .skin-resource { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .skin-resource-info { padding: 23px; }
  .skin-resource-info h3 { font-size: 26px; }
  .skin-preview-panel { padding: 20px; }
  .preview-hint { display: none; }
  .skin-view-controls { gap: 7px; flex-wrap: wrap; }
  .skin-view-controls button { font-size: 10px; padding: 7px 9px; }
  .skin-description { font-size: 13px; }
}
@media (max-width: 650px) {
  .skin-resource { grid-template-columns: 1fr; }
  .skin-preview-panel { border-right: 0; border-bottom: 1px solid #ffffff80; }
  .preview-hint { display: inline; }
  .minecraft-preview { height: 320px; }
  .skin-resource-info { padding: 25px 23px; }
  .skin-download-actions { gap: 18px; }
  .skin-download-actions .button { font-size: 12px; padding: 11px 15px; }
  .skin-texture-note p { font-size: 10px; }
  .workshop-upcoming { flex-wrap: wrap; gap: 12px; padding: 20px; }
  .workshop-upcoming > div { flex: 1; min-width: 180px; }
  .workshop-upcoming h3 { font-size: 14px; }
  .workshop-upcoming p { font-size: 11px; }
  .workshop-upcoming .text-link { margin-left: 55px; }
}
@media (prefers-reduced-transparency: reduce) {
  .skin-resource { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .skin-preview-panel { background: #e8eedf; }
}

.cape-resource .skin-preview-panel { background: linear-gradient(150deg, #dae8f399, #e3e0f080); }

/* Artwork collection: preserve the full composition of every original. */
.artwork-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.artwork-link { display: block; min-width: 0; border-radius: 16px; }
.artwork-card { margin: 0; border: 1px solid #ffffffab; border-radius: 16px; padding: 12px; background: var(--surface); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 5px 18px #3f2a6108; transition: transform .18s, box-shadow .18s; }
.artwork-link:hover .artwork-card { transform: translateY(-3px); box-shadow: 0 9px 25px #3f2a6112; }
.artwork-image { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 9px; background: #fff; }
.artwork-image > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.artwork-zoom { display: grid; place-items: center; position: absolute; right: 9px; bottom: 9px; width: 30px; height: 30px; border: 1px solid #e7ddd3; background: #ffffffdf; border-radius: 8px; color: #a16f49; font-size: 19px; }
.artwork-card figcaption { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 9px; padding: 17px 8px 10px; }
.artwork-card .number { color: #a97853; font-size: 8px; }
.artwork-card h3 { font-size: 20px; margin: 5px 0 0; line-height: 1.4; }
.artwork-format { font-size: 9px; color: #8e808e; padding-bottom: 3px; white-space: nowrap; }
.gallery-hint { color: #83778a; font-size: 11px; text-align: center; margin: 22px 0 45px; }
body.art-viewing { overflow: hidden; }
.art-viewer { padding: 0; width: min(1050px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 36px); border: 1px solid #ffffff73; border-radius: 15px; background: #f8f4f0; color: #302c3c; box-shadow: 0 20px 80px #15102066; }
.art-viewer::backdrop { background: #282235b3; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.art-viewer-shell { padding: 17px 20px; }
.art-viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 14px; }
.art-viewer-top h2 { font-size: 19px; margin: 0; }
.art-viewer button, .art-viewer-bottom a { border: 1px solid #ded3c9; background: #ffffffb3; color: #92613e; border-radius: 7px; padding: 9px 13px; font-size: 11px; min-height: 38px; }
.art-viewer button:hover, .art-viewer-bottom a:hover { background: #fff; }
.art-viewer-image { position: relative; display: grid; place-items: center; min-height: 100px; border-radius: 7px; background: #e9e3de; overflow: hidden; }
.art-viewer-image > img { display: block; max-width: 100%; width: auto; height: auto; max-height: calc(100dvh - 195px); object-fit: contain; }
.art-viewer-image > p { position: absolute; background: #ffffffed; border-radius: 6px; padding: 8px 14px; color: #8f7d70; font-size: 12px; }
.art-viewer-bottom { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 15px; }
#art-viewer-count { font-size: 11px; color: #8c7c8e; font-variant-numeric: tabular-nums; }
#art-original { margin-left: auto; }
@media (max-width: 900px) { .artwork-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; } }
@media (max-width: 650px) {
  .artwork-grid { grid-template-columns: 1fr; gap: 18px; }
  .artwork-card { padding: 11px; }
  .artwork-card figcaption { padding: 15px 9px 9px; }
  .gallery-hint { font-size: 10px; line-height: 1.9; margin-bottom: 30px; }
  .art-viewer { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 11px; }
  .art-viewer-shell { padding: 13px; }
  .art-viewer-bottom { gap: 8px; flex-wrap: wrap; }
  .art-viewer button, .art-viewer-bottom a { padding: 8px 10px; font-size: 10px; min-height: 40px; }
  .art-viewer-top h2 { font-size: 17px; }
  #art-original { margin-left: 0; }
  .art-viewer-image > img { max-height: calc(100dvh - 205px); }
}
@media (prefers-reduced-transparency: reduce) {
  .artwork-card { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
