

:root {
  --ink: #18221b;
  --muted: #68736b;
  --line: #dfe5de;
  --surface: #ffffff;
  --soft: #f3f6f1;
  --green-950: #17271c;
  --green-900: #203a27;
  --green-800: #2f5034;
  --green-700: #3f6742;
  --green-600: #547d4e;
  --green-100: #e6efe3;
  --gold: #c69943;
  --gold-soft: #f3ead4;
  --red: #b94d42;
  --red-soft: #f8e7e3;
  --blue: #49778b;
  --blue-soft: #e6f0f2;
  --shadow: 0 18px 48px rgba(24, 34, 27, 0.08);
  --shadow-sm: 0 8px 24px rgba(24, 34, 27, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f7f8f5; color: var(--ink); font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: #cdddc8; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.prototype { min-height: 100vh; overflow-x: hidden; }
.site-header { position: sticky; top: 0; z-index: 50; height: 72px; background: rgba(24, 39, 28, 0.97); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark b { font-size: 20px; letter-spacing: .09em; }
.brand-mark small { margin-top: 4px; color: #aebbb0; font-size: 10px; letter-spacing: .08em; }
.brand-cube { position: relative; display: grid; place-items: center; width: 37px; height: 37px; color: #fff; background: #567b50; border: 2px solid #87a77f; box-shadow: inset -6px -6px 0 rgba(20,51,27,.22); font-weight: 900; font-family: ui-monospace, monospace; }
.brand-cube::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(255,255,255,.28); }
.site-header nav { display: flex; height: 100%; align-items: center; gap: 6px; }
.site-header nav a { position: relative; display: grid; place-items: center; height: 100%; padding: 0 13px; color: #c5cec6; font-size: 14px; font-weight: 650; }
.site-header nav a:hover, .site-header nav a.active { color: #fff; }
.site-header nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: #d0ad65; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.server-mini { display: flex; align-items: center; gap: 7px; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.15); color: #aebbb0; font-size: 12px; }
.server-mini b { color: #fff; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #69aa68; box-shadow: 0 0 0 4px rgba(105,170,104,.14); }
.status-dot.offline { background: #cf695d; box-shadow: 0 0 0 4px rgba(207,105,93,.13); }
.role-switch { display: flex; flex-direction: column; gap: 2px; }
.role-switch span { color: #8fa192; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.role-switch select { min-width: 92px; padding: 3px 22px 3px 0; color: #fff; background: transparent; border: 0; outline: none; font-size: 12px; font-weight: 700; }
.role-switch option { color: var(--ink); }
.profile-button { width: 35px; height: 35px; border-radius: 9px; border: 1px solid #769477; background: #47664a; color: #fff; cursor: pointer; font-weight: 800; }
.prototype-ribbon { padding: 7px 20px; background: #f1e6c9; color: #6b5429; border-bottom: 1px solid #e2d2aa; text-align: center; font-size: 11px; letter-spacing: .02em; }
.prototype-ribbon span { margin-right: 7px; padding: 2px 6px; border-radius: 4px; background: #826732; color: #fff; font-size: 9px; font-weight: 800; }

.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 750; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.button-primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 18px rgba(53,95,58,.18); }
.button-primary:hover { background: var(--green-800); }
.button-secondary { background: #fff; border-color: #cfd7cf; color: var(--green-900); }
.button-danger { background: var(--red); color: #fff; }
.button-danger-text { width: 100%; color: var(--red); background: var(--red-soft); border-color: transparent; }
.button-small { min-height: 34px; padding: 0 13px; color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.button-wide { width: 100%; min-height: 48px; }
.text-link { color: var(--green-700); font-size: 13px; font-weight: 750; }

.hero { min-height: 540px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: stretch; padding-top: 50px; }
.hero-copy { z-index: 2; align-self: center; padding: 16px 20px 40px 0; }
.season-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 10px; border: 1px solid #d9e1d5; border-radius: 99px; color: #4f6a52; background: rgba(255,255,255,.7); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.season-label span { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.hero h1 { margin: 0; font-size: clamp(44px, 5.1vw, 72px); line-height: 1.05; letter-spacing: -.055em; font-family: Georgia, "Noto Serif SC", serif; font-weight: 800; }
.hero h1 em { color: var(--green-700); font-style: normal; }
.hero-copy > p { max-width: 520px; margin: 22px 0 26px; color: #536057; line-height: 1.85; font-size: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 26px; color: #68746b; font-size: 11px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-world { position: relative; align-self: stretch; min-height: 460px; overflow: hidden; border-radius: 32px 32px 14px 80px; background: linear-gradient(#c9d9cf 0 48%, #81947d 48% 55%, #54654d 55%); box-shadow: var(--shadow); isolation: isolate; }
.hero-world::after { content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none; background: linear-gradient(145deg, rgba(255,255,255,.25), transparent 35%, rgba(12,33,19,.11)); }
.sun-pixel { position: absolute; top: 54px; right: 78px; width: 52px; height: 52px; background: #e0bf71; box-shadow: 0 0 0 12px rgba(224,191,113,.13); }
.cloud { position: absolute; width: 90px; height: 20px; background: rgba(255,255,255,.55); box-shadow: 20px -16px rgba(255,255,255,.55), 50px 0 rgba(255,255,255,.55); }
.cloud-one { top: 92px; left: 76px; }.cloud-two { top: 150px; right: 120px; transform: scale(.65); opacity: .7; }
.mountain { position: absolute; bottom: 150px; clip-path: polygon(50% 0,100% 100%,0 100%); }
.mountain-back { left: -40px; width: 360px; height: 250px; background: linear-gradient(135deg,#87998d 50%,#718378 50%); }
.mountain-front { right: -80px; width: 420px; height: 310px; background: linear-gradient(135deg,#72836d 50%,#607259 50%); }
.mountain-front::after,.mountain-back::after { content: ""; position: absolute; left: 38%; top: 0; width: 25%; height: 28%; background: rgba(236,242,237,.75); clip-path: polygon(50% 0,100% 100%,62% 75%,45% 100%,0 100%); }
.grass-bank { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(8deg,#43543e 0 75%,#6f825f 76%); clip-path: polygon(0 25%,22% 5%,52% 28%,72% 10%,100% 30%,100% 100%,0 100%); }
.tree { position: absolute; z-index: 3; bottom: 115px; width: 68px; height: 190px; }
.tree b,.tree i,.tree span { position: absolute; display: block; left: 50%; transform: translateX(-50%); }
.tree b { bottom: 0; width: 18px; height: 76px; background: #5b4935; }
.tree i { bottom: 40px; width: 84px; height: 100px; background: #38573a; clip-path: polygon(50% 0,100% 100%,0 100%); }
.tree span { bottom: 83px; width: 68px; height: 88px; background: #466a45; clip-path: polygon(50% 0,100% 100%,0 100%); }
.tree-one { left: 48px; transform: scale(.86); }.tree-two { right: 60px; bottom: 96px; transform: scale(.68); }
.camp-house { position: absolute; z-index: 4; left: 48%; bottom: 90px; width: 150px; height: 112px; background: #7b6142; transform: translateX(-50%); box-shadow: inset -30px 0 rgba(48,34,25,.15); }
.camp-house::before { content: ""; position: absolute; left: -22px; top: -55px; width: 194px; height: 70px; background: #3d4939; clip-path: polygon(50% 0,100% 100%,0 100%); }
.camp-house b { position: absolute; left: 24px; bottom: 0; width: 38px; height: 68px; background: #49382a; }.camp-house span { position: absolute; right: 24px; top: 30px; width: 32px; height: 28px; background: #e0b969; box-shadow: inset 0 0 0 5px #4c4335; }
.world-card { position: absolute; z-index: 12; left: 22px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; background: rgba(250,252,248,.86); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.world-card div { display: flex; flex-direction: column; }.world-card strong { font-size: 12px; }.world-card span { margin-top: 3px; color: var(--muted); font-size: 9px; }

.glyph { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--green-100); color: var(--green-700); border: 1px solid #cadbc7; box-shadow: inset -4px -4px rgba(65,104,68,.06); font-size: 14px; font-weight: 900; }
.glyph-gold { color: #866522; background: var(--gold-soft); border-color: #e1cfa6; }.glyph-red { color: var(--red); background: var(--red-soft); border-color: #efc9c3; }.glyph-blue { color: var(--blue); background: var(--blue-soft); border-color: #c8dde2; }.glyph-stone { color: #59635d; background: #edf0ec; border-color: #d8ded8; }
.quick-grid { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: -23px; }
.quick-card { display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); }
.quick-card:hover { border-color: #b8cbb7; transform: translateY(-2px); }.quick-card > div { display: flex; flex-direction: column; min-width: 0; }.quick-card strong { font-size: 13px; }.quick-card span { margin-top: 5px; color: var(--muted); font-size: 10px; }.quick-card > b { margin-left: auto; color: #92a094; font-size: 14px; }
.content-split { display: grid; grid-template-columns: 1.45fr .75fr; gap: 44px; padding-block: 76px; }
.section-heading { min-height: 52px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }.eyebrow { margin: 0 0 7px; color: var(--green-600); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.feed-card,.section-list,.topic-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.feed-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 88px; padding: 16px 20px; border-bottom: 1px solid #e8ece7; }.feed-item:last-child { border: 0; }.feed-item:hover { background: #f9faf8; }.feed-item > div { display: flex; min-width: 0; flex-direction: column; }.feed-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.feed-item div span { margin-top: 6px; color: var(--muted); font-size: 10px; }.feed-item > small { min-width: 35px; color: var(--ink); text-align: center; font-weight: 800; }.feed-item small i { color: var(--muted); font-size: 8px; font-style: normal; font-weight: 500; }
.topic-tag,.pin,.verified,.role-badge,.status-badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 7px; border-radius: 5px; font-size: 9px; font-weight: 800; }
.tag-公告 { color: #795a1c; background: #f5e9cd; }.tag-交流 { color: #35663b; background: #e2f0e2; }.tag-交易 { color: #8b6420; background: #f4ead6; }.tag-攻略 { color: #49636e; background: #e4edf0; }.pin { margin-left: 5px; color: #7a5521; background: #f3e5c7; }
.notice-card { display: flex; gap: 14px; min-height: 136px; padding: 19px; border-radius: var(--radius); color: #eaf1e9; background: var(--green-900); box-shadow: var(--shadow-sm); }.calendar-chip { width: 54px; height: 63px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 9px; color: var(--ink); background: #f1e6ca; }.calendar-chip b { font-size: 20px; }.calendar-chip span { font-size: 9px; }.notice-card > div:last-child { display: flex; flex-direction: column; }.notice-card strong { font-size: 13px; }.notice-card p { margin: 9px 0; color: #b9c7ba; font-size: 10px; line-height: 1.6; }.notice-card a { color: #e0bd74; font-size: 10px; font-weight: 800; }
.world-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }.world-stats div { display: flex; flex-direction: column; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.world-stats span { color: var(--muted); font-size: 8px; }.world-stats strong { margin-top: 5px; font-size: 17px; }.world-stats small { color: var(--muted); font-size: 9px; }

.page { padding-block: 48px 80px; }.breadcrumb { margin: 0 0 10px; color: #7f8a82; font-size: 10px; font-weight: 700; letter-spacing: .04em; }.page-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 36px; }.page-title-row h1 { margin: 0; font-family: Georgia,"Noto Serif SC",serif; font-size: clamp(34px,4vw,50px); letter-spacing: -.04em; }.page-title-row p:not(.breadcrumb) { max-width: 640px; margin: 12px 0 0; color: var(--muted); line-height: 1.7; font-size: 13px; }
.forum-layout { display: grid; grid-template-columns: 1fr 310px; gap: 28px; }.section-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; min-height: 91px; padding: 16px 20px; border-bottom: 1px solid #e8ece7; }.section-row:last-child { border: 0; }.section-row:hover { background: #f9faf8; }.section-row > div { display: flex; flex-direction: column; }.section-row strong { font-size: 14px; }.section-row div span { margin-top: 5px; color: var(--muted); font-size: 10px; }.section-row > small { min-width: 44px; color: var(--ink); text-align: center; font-weight: 850; }.section-row small i { color: var(--muted); font-size: 8px; font-style: normal; font-weight: 500; }.section-row > b { color: #9aa49c; font-size: 24px; font-weight: 400; }
.forum-side { padding-top: 70px; }.side-card,.admin-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }.side-card + .side-card { margin-top: 14px; }.side-card h3 { margin: 13px 0 8px; font-size: 15px; }.side-card > p { margin: 0 0 13px; color: var(--muted); font-size: 10px; line-height: 1.7; }.side-card > a { color: var(--green-700); font-size: 10px; font-weight: 800; }.hot-topic { display: flex; gap: 11px; padding: 12px 0; border-bottom: 1px solid #ebeeea; }.hot-topic:last-child { border: 0; }.hot-topic > b { color: #aab2ab; font-family: Georgia,serif; font-size: 18px; }.hot-topic span { display: flex; flex-direction: column; font-size: 11px; font-weight: 700; line-height: 1.45; }.hot-topic small { margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 500; }
.topic-section { margin-top: 54px; }.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #eef1ed; }.segmented button { min-height: 30px; padding: 0 13px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; }.segmented button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); font-weight: 800; }
.topic-row { display: grid; grid-template-columns: auto 1fr 55px 55px; align-items: center; gap: 15px; min-height: 92px; padding: 15px 20px; border-bottom: 1px solid #e7ebe6; }.topic-row:last-child { border: 0; }.topic-row:hover { background: #fafbf9; }.topic-avatar,.profile-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: #dfe9dc; color: #406044; border: 1px solid #cad8c7; font-size: 12px; font-weight: 850; }.topic-main { display: flex; min-width: 0; flex-direction: column; }.topic-main > div { margin-bottom: 5px; }.topic-main > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.topic-main > span { margin-top: 6px; color: var(--muted); font-size: 9px; }.topic-count { display: flex; flex-direction: column; align-items: center; }.topic-count b { font-size: 13px; }.topic-count span { color: var(--muted); font-size: 8px; }

.topic-page { max-width: 900px; }.topic-article { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }.topic-article > header { padding: 30px 32px 25px; border-bottom: 1px solid var(--line); }.topic-article h1 { margin: 16px 0 8px; font-size: clamp(25px,3vw,36px); letter-spacing: -.035em; }.topic-article header p { margin: 0; color: var(--muted); font-size: 10px; }.post-layout { display: grid; grid-template-columns: 145px 1fr; }.post-layout > aside { display: flex; flex-direction: column; align-items: center; padding: 30px 20px; border-right: 1px solid var(--line); background: #f7f9f5; }.admin-avatar { color: #7b5c22; background: #f0e4c9; border-color: #ddc797; }.gold-avatar { color: #78601f; background: #f0e6cc; border-color: #e0cfa5; }.post-layout aside strong { margin-top: 10px; font-size: 11px; }.role-badge { margin-top: 6px; color: #7b5b1e; background: #eee1c2; }.post-layout aside small { margin-top: 14px; color: var(--muted); font-size: 8px; }.post-body { padding: 30px 34px; }.post-body p { margin: 0 0 18px; line-height: 1.9; font-size: 13px; }.post-body .callout { display: flex; flex-direction: column; gap: 5px; margin: 24px 0; padding: 15px 18px; border-left: 4px solid var(--gold); background: #f7f1e4; }.callout b { font-size: 12px; }.callout span { color: #6f6758; font-size: 10px; }.post-body footer { display: flex; justify-content: space-between; align-items: center; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); }.post-body footer span { color: var(--muted); font-size: 8px; }.post-body footer button { border: 0; background: transparent; color: var(--green-700); cursor: pointer; font-size: 9px; font-weight: 800; }
.replies { margin-top: 36px; }.reply-card { display: flex; gap: 13px; margin-bottom: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }.reply-card > div:last-child { display: flex; flex-direction: column; }.reply-card strong { font-size: 11px; }.reply-card strong span { color: var(--muted); font-size: 8px; font-weight: 500; }.reply-card p { margin: 8px 0 0; font-size: 11px; line-height: 1.7; }.reply-editor { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }.reply-editor > label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 800; }.reply-editor textarea { width: 100%; min-height: 110px; padding: 14px; resize: vertical; border: 1px solid #ced6ce; border-radius: 10px; outline: none; }.reply-editor textarea:focus { border-color: #6e926d; box-shadow: 0 0 0 3px #e3eee1; }.reply-editor > div { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }.reply-editor span { color: var(--muted); font-size: 9px; }

.guild-title { padding: 30px; border-radius: 22px; color: #edf5ed; background: linear-gradient(120deg,#263d2a,#405d3e); }.guild-title p:not(.breadcrumb) { color: #bdc9be; }.guild-title .breadcrumb { color: #a9b9aa; }.guild-filter { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }.search-box { min-width: 260px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.search-box input { width: 100%; border: 0; outline: 0; font-size: 11px; }.guild-filter .button { margin-left: auto; }.guild-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }.guild-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }.guild-cover { position: relative; height: 126px; display: grid; place-items: center; background: #47634a; overflow: hidden; }.guild-cover::before,.guild-cover::after { content: ""; position: absolute; width: 180px; height: 90px; bottom: -25px; background: rgba(15,35,20,.22); clip-path: polygon(50% 0,100% 100%,0 100%); }.guild-cover::before { left: -40px; }.guild-cover::after { right: -50px; bottom: -15px; }.guild-redstone .guild-cover { background: #76504a; }.guild-sand .guild-cover { background: #8c7951; }.guild-cover > span { position: absolute; right: 14px; top: 12px; color: rgba(255,255,255,.7); font-family: ui-monospace,monospace; font-size: 9px; font-weight: 900; letter-spacing: .12em; }.guild-emblem { z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; color: #314233; background: #ecf1e8; border: 4px solid rgba(255,255,255,.34); box-shadow: 0 0 0 3px rgba(15,35,20,.23); font-size: 20px; font-weight: 900; transform: rotate(45deg); }.guild-emblem::first-letter { transform: rotate(-45deg); }.guild-content { padding: 19px; }.guild-name { display: flex; align-items: center; gap: 8px; }.guild-name h2 { margin: 0; font-size: 18px; }.verified { color: #3e6842; background: #e2efe0; }.guild-content > p { min-height: 52px; margin: 11px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.7; }.guild-progress { display: flex; flex-direction: column; gap: 8px; }.guild-progress span { color: var(--muted); font-size: 9px; }.guild-progress span b { color: var(--ink); }.guild-progress i { height: 5px; overflow: hidden; border-radius: 9px; background: #e5e9e4; }.guild-progress i b { display: block; height: 100%; background: var(--green-600); }.guild-content > small { display: block; margin-top: 13px; color: #69736c; font-size: 8px; }.guild-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }.guild-actions .button { min-height: 36px; }.guild-actions .text-link { font-size: 9px; }.empty-hint { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding: 17px 20px; border: 1px dashed #cfd7cf; border-radius: 12px; background: #f2f5f0; }.empty-hint > div { display: flex; flex-direction: column; }.empty-hint strong { font-size: 11px; }.empty-hint span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.guild-dashboard-head { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; padding: 26px 30px; border-radius: 22px; color: #edf4ec; background: #2b422e; }.guild-emblem.large { width: 66px; height: 66px; }.guild-dashboard-head h1 { margin: 3px 0; font-size: 30px; }.guild-dashboard-head h1 span { color: #d5b86f; font-size: 11px; letter-spacing: .12em; }.guild-dashboard-head p { margin: 0; color: #afbeaf; font-size: 10px; }.guild-dashboard-head .breadcrumb { color: #91a493; }.guild-head-actions { margin-left: auto; display: flex; gap: 9px; }.guild-dashboard-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }.private-banner { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; padding: 14px 17px; border: 1px solid #e0d0a9; border-radius: 11px; background: #f7f0df; }.private-banner > div { display: flex; flex-direction: column; }.private-banner strong { font-size: 11px; }.private-banner span { margin-top: 3px; color: #716953; font-size: 8px; }.topic-list.compact .topic-row { grid-template-columns: auto 1fr 55px; }.card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.card-title h3,.card-title h2 { margin: 0; font-size: 15px; }.card-title > div > span { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }.card-title a,.card-title button { color: var(--green-700); border: 0; background: transparent; cursor: pointer; font-size: 9px; font-weight: 800; }.count-badge { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; color: #fff; background: var(--red); font-size: 9px; font-weight: 800; }.member-apply { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); }.member-apply > div:nth-child(2) { display: flex; flex-direction: column; }.member-apply strong { font-size: 10px; }.member-apply span { margin-top: 3px; color: var(--muted); font-size: 7px; }.member-apply button { border: 0; border-radius: 6px; background: #e5efe2; color: var(--green-700); cursor: pointer; font-size: 8px; font-weight: 800; padding: 6px 8px; }.full-link { width: 100%; padding: 13px 0 0; border: 0; background: transparent; color: var(--green-700); cursor: pointer; font-size: 9px; font-weight: 800; }.member-card .button { margin-top: 18px; }.avatar-stack { display: flex; margin-top: 18px; }.avatar-stack span { display: grid; place-items: center; width: 35px; height: 35px; margin-left: -7px; border: 3px solid #fff; border-radius: 50%; background: #dce7d9; color: #456149; font-size: 9px; font-weight: 800; }.avatar-stack span:first-child { margin-left: 0; }.avatar-stack span:last-child { background: #eef1ed; color: var(--muted); }

.chat-page { display: grid; grid-template-columns: 1fr 270px; gap: 20px; height: calc(100vh - 120px); min-height: 650px; padding-block: 28px; }.chat-panel { min-height: 0; display: grid; grid-template-rows: auto auto 1fr auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }.chat-panel > header { display: flex; align-items: center; justify-content: space-between; padding: 20px 23px; border-bottom: 1px solid var(--line); }.chat-panel h1 { margin: 0; font-size: 22px; }.chat-panel header p { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; color: var(--muted); font-size: 9px; }.connection-test { border: 1px solid var(--line); border-radius: 7px; background: #f6f8f5; cursor: pointer; padding: 7px 9px; color: var(--muted); font-size: 8px; }.chat-safety { display: flex; align-items: center; gap: 10px; margin: 12px 16px 0; padding: 10px 13px; border-radius: 9px; background: #eef4ec; color: #526156; font-size: 9px; }.chat-safety .glyph { width: 29px; height: 29px; border-radius: 7px; font-size: 9px; }.message-list { min-height: 0; overflow-y: auto; padding: 15px 20px; }.older-button { display: block; margin: 0 auto 17px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; background: #f8faf7; color: var(--muted); cursor: pointer; font-size: 8px; }.message { display: flex; gap: 10px; margin-bottom: 16px; }.message > div:last-child { max-width: min(72%,600px); }.message p { display: flex; gap: 7px; align-items: center; margin: 0 0 5px; }.message p strong { font-size: 10px; }.message p span { color: var(--muted); font-size: 7px; }.message > div:last-child > div { padding: 10px 13px; border-radius: 4px 12px 12px 12px; background: #edf2eb; font-size: 10px; line-height: 1.65; }.message-self { flex-direction: row-reverse; }.message-self > div:last-child { display: flex; flex-direction: column; align-items: flex-end; }.message-self > div:last-child > div { border-radius: 12px 4px 12px 12px; color: #fff; background: var(--green-700); }.chat-composer { padding: 13px 16px; border-top: 1px solid var(--line); background: #fafbf9; }.chat-composer textarea { width: 100%; min-height: 60px; max-height: 120px; padding: 11px; resize: none; border: 1px solid #cfd6cf; border-radius: 10px; outline: none; font-size: 10px; }.chat-composer textarea:focus { border-color: #71916f; box-shadow: 0 0 0 3px #e5eee2; }.chat-composer > div { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }.chat-composer span { color: var(--muted); font-size: 8px; }.chat-composer .button { min-height: 34px; padding-inline: 18px; }.chat-side { min-height: 0; overflow-y: auto; }.chat-side .side-card { box-shadow: none; }.online-user { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 9px 0; }.online-user .profile-avatar { width: 30px; height: 30px; border-radius: 8px; font-size: 9px; }.online-user strong { font-size: 9px; }.online-user .status-dot { width: 6px; height: 6px; }.chat-rule { background: #253b29; color: #e8efe7; border-color: #253b29; }.chat-rule p { color: #b7c3b7; }

.privacy-pill { padding: 8px 12px; border: 1px solid #d9cba9; border-radius: 99px; color: #735f32; background: #f4ecd9; font-size: 10px; font-weight: 800; }.report-layout { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }.form-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }.form-section { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }.step-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #fff; background: var(--green-700); font-size: 11px; font-weight: 900; }.form-section h2 { margin: 3px 0 5px; font-size: 16px; }.form-section > div > p { margin: 0 0 19px; color: var(--muted); font-size: 9px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.form-card label,.modal label,.auth-form label { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; font-size: 10px; font-weight: 750; }.form-card input,.form-card select,.form-card textarea,.modal input,.modal select,.modal textarea,.auth-form input { width: 100%; padding: 11px 12px; border: 1px solid #cfd6cf; border-radius: 9px; outline: 0; background: #fff; font-size: 10px; }.form-card input:focus,.form-card select:focus,.form-card textarea:focus,.modal input:focus,.modal select:focus,.modal textarea:focus,.auth-form input:focus { border-color: #6e8f6d; box-shadow: 0 0 0 3px #e4eee1; }.form-card textarea { min-height: 120px; resize: vertical; }.upload-box { min-height: 132px; display: flex !important; align-items: center; justify-content: center; padding: 20px; border: 1px dashed #b9c4b8; border-radius: 12px; background: #f8faf7; cursor: pointer; }.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }.upload-box span { color: var(--muted); font-size: 8px; font-weight: 500; }.form-consent { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 17px; padding: 13px; border-radius: 9px; background: #f3f5f1; }.form-consent input { width: 15px; height: 15px; flex: none; }.form-consent label { margin: 0; color: #5d685f; line-height: 1.5; font-size: 9px; }.timeline-card ol { margin: 18px 0 0; padding: 0; list-style: none; }.timeline-card li { position: relative; display: flex; gap: 11px; min-height: 56px; }.timeline-card li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 27px; bottom: 0; width: 1px; background: #d8ded7; }.timeline-card li > b { z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--muted); background: #edf0ec; font-size: 8px; }.timeline-card li.active > b { color: #fff; background: var(--green-700); }.timeline-card li span { display: flex; flex-direction: column; font-size: 10px; font-weight: 800; }.timeline-card li small { margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 500; }

.admin-shell { min-height: calc(100vh - 99px); display: grid; grid-template-columns: 220px 1fr; background: #f3f5f1; }.admin-nav { padding: 27px 14px; color: #cdd6ce; background: #1c2d20; }.admin-title { display: flex; align-items: center; gap: 10px; margin: 0 7px 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.09); }.admin-title > div { display: flex; flex-direction: column; }.admin-title strong { color: #fff; font-size: 11px; }.admin-title span { margin-top: 4px; color: #869789; font-size: 8px; }.admin-nav > button { width: 100%; min-height: 40px; margin: 3px 0; padding: 0 13px; border: 0; border-radius: 8px; color: #aebcaf; background: transparent; cursor: pointer; text-align: left; font-size: 10px; }.admin-nav > button:hover,.admin-nav > button.active { color: #fff; background: rgba(127,159,126,.18); }.admin-main { min-width: 0; padding: 32px; }.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }.admin-top h1 { margin: 0; font-size: 28px; }.admin-user { display: flex; align-items: center; gap: 9px; }.admin-user > div:last-child { display: flex; flex-direction: column; }.admin-user strong { font-size: 9px; }.admin-user span { margin-top: 3px; color: var(--muted); font-size: 7px; }.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }.stat-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; gap: 1px 11px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }.stat-card .glyph { grid-row: 1 / span 3; align-self: center; }.stat-card > span { color: var(--muted); font-size: 8px; }.stat-card > strong { font-size: 22px; }.stat-card > small { color: #5b795d; font-size: 7px; }.admin-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 15px; margin-top: 15px; }.admin-card { box-shadow: none; }.review-list { margin-top: 13px; }.review-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }.review-row:last-child { border: 0; }.review-row > div { display: flex; flex-direction: column; }.review-row strong { font-size: 9px; }.review-row div span { margin-top: 3px; color: var(--muted); font-size: 7px; }.review-row > button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; font-size: 8px; }.status-badge { color: var(--blue); background: var(--blue-soft); }.status-badge.pending { color: #80601e; background: var(--gold-soft); }.status-badge.investigate { color: #9b4c42; background: var(--red-soft); }.healthy { color: #3f7044; background: #e6f1e3; padding: 5px 7px; border-radius: 5px; font-size: 8px; font-weight: 800; }.system-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }.system-row:last-child { border: 0; }.system-row span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 8px; }.system-row strong { font-size: 8px; }.audit-preview { margin-top: 15px; }.audit-table { margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }.audit-head,.audit-row { display: grid; grid-template-columns: .5fr 1.2fr 1fr .5fr; padding: 10px 12px; }.audit-head { color: var(--muted); background: #f3f5f2; font-size: 7px; font-weight: 800; }.audit-row { border-top: 1px solid var(--line); font-size: 8px; }.success-text { color: #3f7445; font-weight: 800; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: .8fr 1.2fr; background: #fff; }.auth-brand { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 42px 56px; color: #fff; background: #213627; }.auth-brand::before { content: ""; position: absolute; inset: auto -10% -20% -10%; height: 56%; background: linear-gradient(140deg,#476343,#2d4932); clip-path: polygon(0 55%,25% 18%,47% 55%,65% 7%,100% 60%,100% 100%,0 100%); }.auth-brand::after { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(90deg,#fff 1px,transparent 1px),linear-gradient(#fff 1px,transparent 1px); background-size: 34px 34px; }.auth-brand .brand-mark,.auth-quote,.auth-pixels { position: relative; z-index: 2; }.auth-quote { margin: auto 0; }.auth-quote > span { color: #cfad67; font-family: Georgia,serif; font-size: 80px; line-height: .6; }.auth-quote h1 { margin: 8px 0 14px; font-family: Georgia,"Noto Serif SC",serif; font-size: clamp(30px,3.4vw,48px); line-height: 1.35; letter-spacing: -.04em; }.auth-quote p { color: #b7c4b9; font-size: 11px; }.auth-pixels { display: flex; gap: 5px; }.auth-pixels i { width: 11px; height: 11px; background: #71906d; }.auth-pixels i:nth-child(2),.auth-pixels i:nth-child(5) { background: #cfad67; }.auth-form-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; }.auth-form,.auth-success { width: min(390px,100%); }.auth-form h1,.auth-success h1 { margin: 0; font-size: 30px; letter-spacing: -.04em; }.auth-form > p:not(.eyebrow),.auth-success p { margin: 10px 0 25px; color: var(--muted); font-size: 10px; line-height: 1.7; }.password-field { position: relative; }.password-field button { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 8px; border: 0; background: transparent; color: var(--green-700); cursor: pointer; font-size: 8px; font-weight: 800; }.password-field input { padding-right: 50px; }.auth-options { display: flex; justify-content: space-between; align-items: center; margin: 16px 0; }.auth-options label { flex-direction: row; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 8px; font-weight: 500; }.auth-options label input { width: 14px; }.auth-options button { border: 0; background: transparent; color: var(--green-700); cursor: pointer; font-size: 8px; font-weight: 750; }.auth-switch { text-align: center; font-size: 9px !important; }.auth-switch a { color: var(--green-700); font-weight: 800; }.back-home { margin-top: 25px; color: var(--muted); font-size: 9px; }.ip-info { display: flex; align-items: center; gap: 9px; margin: 16px 0 4px; padding: 11px; border-radius: 9px; background: #f2f5f0; }.ip-info .glyph { width: 32px; height: 32px; font-size: 8px; }.ip-info > span { display: flex; flex-direction: column; }.ip-info strong { font-size: 8px; }.ip-info small { margin-top: 3px; color: var(--muted); font-size: 7px; }.demo-check { flex-direction: row !important; align-items: center; gap: 7px !important; margin: 10px 0 17px !important; color: var(--muted); font-size: 8px !important; font-weight: 500 !important; }.demo-check input { width: 14px; }.form-error { margin: 10px 0 0 !important; padding: 9px; border-radius: 7px; color: #9d443a !important; background: var(--red-soft); text-align: left; }.auth-success { text-align: center; }.auth-success .glyph { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 18px; font-size: 24px; }

.rules-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.rule-card { position: relative; min-height: 190px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }.rule-card > span { color: #b5c0b6; font-family: Georgia,serif; font-size: 28px; }.rule-card h2 { margin: 22px 0 9px; font-size: 17px; }.rule-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }.rule-version { padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); font-size: 9px; }.rule-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 22px; padding: 26px 30px; border-radius: var(--radius); color: #edf4ed; background: var(--green-900); }.rule-cta h2 { margin: 0; font-size: 20px; }.rule-cta p { margin: 7px 0 0; color: #b7c5b8; font-size: 9px; }

.access-state { min-height: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.access-icon { display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 20px; border: 1px solid #d5ddd4; border-radius: 22px; color: #6b776d; background: #edf1eb; font-size: 22px; font-weight: 900; }.access-icon.success { color: #fff; background: var(--green-700); border-color: var(--green-700); }.access-state h1 { margin: 0; font-size: 30px; letter-spacing: -.04em; }.access-state > p:not(.eyebrow) { max-width: 500px; margin: 12px 0 22px; color: var(--muted); font-size: 11px; line-height: 1.7; }.access-state .text-link { margin-top: 16px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(13,23,16,.64); backdrop-filter: blur(4px); }.modal { position: relative; width: min(500px,100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.3); }.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: #f0f2ef; cursor: pointer; font-size: 20px; }.modal h2 { margin: 17px 0 8px; font-size: 23px; }.modal > p { margin: 0 0 16px; color: var(--muted); font-size: 10px; line-height: 1.7; }.modal textarea { min-height: 100px; resize: vertical; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }.toast { position: fixed; z-index: 120; left: 50%; bottom: 30px; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 32px); padding: 11px 16px; border: 1px solid #69816c; border-radius: 10px; color: #fff; background: #243a29; box-shadow: 0 14px 38px rgba(0,0,0,.23); transform: translateX(-50%); font-size: 10px; font-weight: 700; animation: toast-in .2s ease-out; }.toast span { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #26422c; background: #b9d1b6; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%,10px); } }

.site-footer { padding: 50px 0 16px; color: #c3cdc4; background: #1c2c20; }.site-footer > .shell { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 40px; }.footer-brand { color: #fff; }.site-footer p { color: #8fa092; font-size: 9px; }.site-footer .shell > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }.site-footer .shell > div > strong { color: #fff; font-size: 10px; }.site-footer .shell > div > a,.site-footer .shell > div > button { width: fit-content; padding: 0; border: 0; background: transparent; color: #9bab9d; cursor: pointer; font-size: 9px; }.footer-server { padding: 15px; border-radius: 10px; background: rgba(255,255,255,.06); }.footer-server span { color: #8fa092; font-size: 8px; }.footer-server strong { margin: 4px 0; color: #fff; font-family: ui-monospace,monospace; font-size: 11px; }.footer-server button { color: #d9bb78 !important; }.copyright { width: min(1160px,calc(100% - 40px)); margin: 35px auto 0 !important; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }.mobile-nav { display: none; }

@media (max-width: 1000px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }.hero-world { min-height: 420px; }.quick-grid { grid-template-columns: repeat(2,1fr); margin-top: 20px; }
  .content-split { gap: 25px; }.forum-layout { grid-template-columns: 1fr 270px; }.guild-grid { grid-template-columns: repeat(2,1fr); }.guild-dashboard-grid { grid-template-columns: 1fr 270px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }.admin-grid { grid-template-columns: 1fr; }.report-layout { grid-template-columns: 1fr 230px; }
  .site-footer > .shell { grid-template-columns: 1.3fr repeat(3,1fr); gap: 22px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .shell { width: min(100% - 28px,1160px); }
  .site-header { height: 62px; }.header-inner { gap: 10px; }.brand-cube { width: 33px; height: 33px; }.brand-mark b { font-size: 17px; }.brand-mark small { display: none; }.server-mini { display: none; }.role-switch span { display: none; }.role-switch select { min-width: 76px; max-width: 95px; font-size: 10px; }.header-actions { gap: 6px; }.profile-button { width: 32px; height: 32px; }
  .prototype-ribbon { padding: 6px 10px; font-size: 9px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 28px; }.hero-copy { padding-right: 0; }.hero h1 { font-size: clamp(38px,12vw,54px); }.hero-copy > p { font-size: 13px; }.hero-world { min-height: 350px; border-radius: 20px 20px 12px 45px; }.quick-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.quick-card { min-height: 78px; padding: 13px; }.quick-card .glyph { width: 36px; height: 36px; }.quick-card > b { display: none; }.content-split { grid-template-columns: 1fr; gap: 35px; padding-block: 55px; }
  .page { padding-block: 32px 66px; }.page-title-row { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }.page-title-row .button,.privacy-pill { align-self: stretch; }.page-title-row .button { width: 100%; }.forum-layout { grid-template-columns: 1fr; }.forum-side { padding-top: 0; }.section-row { grid-template-columns: auto 1fr auto; padding: 14px; }.section-row > small { display: none; }.topic-section { margin-top: 38px; }.topic-row { grid-template-columns: auto 1fr 40px; padding: 13px; }.topic-row .topic-count:last-child { display: none; }.topic-avatar { width: 35px; height: 35px; }.topic-main > strong { white-space: normal; line-height: 1.45; }.topic-main > span { line-height: 1.4; }
  .post-layout { grid-template-columns: 1fr; }.post-layout > aside { flex-direction: row; justify-content: flex-start; gap: 9px; padding: 15px; border-right: 0; border-bottom: 1px solid var(--line); }.post-layout aside strong,.post-layout aside .role-badge,.post-layout aside small { margin: 0; }.post-body { padding: 22px 20px; }.topic-article > header { padding: 24px 20px 20px; }.reply-editor > div { align-items: flex-start; flex-direction: column; gap: 10px; }.reply-editor .button { width: 100%; }
  .guild-title { padding: 24px 20px; }.guild-filter { flex-wrap: wrap; }.search-box { min-width: 100%; }.guild-filter .segmented { width: 100%; overflow-x: auto; }.guild-filter .button { width: 100%; margin: 0; }.guild-grid { grid-template-columns: 1fr; }.guild-content > p { min-height: 0; }.guild-dashboard-head { align-items: flex-start; flex-wrap: wrap; padding: 20px; }.guild-dashboard-head h1 { font-size: 23px; }.guild-head-actions { width: 100%; margin: 0; }.guild-head-actions .button { flex: 1; padding-inline: 8px; }.guild-dashboard-grid { grid-template-columns: 1fr; }
  .chat-page { width: 100%; height: calc(100vh - 126px); min-height: 520px; grid-template-columns: 1fr; padding: 0; }.chat-panel { border-inline: 0; border-radius: 0; }.chat-side { display: none; }.message > div:last-child { max-width: 82%; }.chat-composer { padding-bottom: 16px; }
  .report-layout { grid-template-columns: 1fr; }.form-card { padding: 18px; }.form-section { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr; }.form-section .step-number { margin-bottom: -5px; }.report-layout aside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.report-layout aside .side-card { margin: 0; }
  .admin-shell { grid-template-columns: 1fr; }.admin-nav { display: flex; gap: 5px; padding: 8px; overflow-x: auto; }.admin-title { display: none; }.admin-nav > button { width: auto; min-width: max-content; padding: 0 11px; }.admin-main { padding: 18px 14px 80px; }.admin-top { align-items: flex-start; }.admin-user > div:last-child { display: none; }.stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-card { padding: 13px; }.stat-card .glyph { width: 35px; height: 35px; }.review-row { grid-template-columns: auto 1fr auto; }.review-row .status-badge { display: none; }.audit-table { overflow-x: auto; }.audit-head,.audit-row { min-width: 530px; }
  .auth-page { grid-template-columns: 1fr; }.auth-brand { min-height: 210px; padding: 24px; }.auth-quote { margin: auto 0 0; }.auth-quote > span { display: none; }.auth-quote h1 { margin-top: 28px; font-size: 25px; }.auth-pixels { display: none; }.auth-form-wrap { min-height: calc(100vh - 210px); padding: 32px 22px; }
  .rules-grid { grid-template-columns: 1fr 1fr; }.rule-card { min-height: 180px; padding: 19px; }.rule-cta { align-items: flex-start; flex-direction: column; padding: 22px; }.rule-cta .button { width: 100%; }
  .site-footer { display: none; }.mobile-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: 62px; display: grid; grid-template-columns: repeat(5,1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #dbe1da; background: rgba(255,255,255,.96); box-shadow: 0 -8px 30px rgba(20,35,24,.08); backdrop-filter: blur(14px); }.mobile-nav a,.mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: #7e8980; font-size: 8px; }.mobile-nav span { font-size: 17px; }.mobile-nav a.active { color: var(--green-700); font-weight: 800; }.toast { bottom: 78px; }
}

@media (max-width: 430px) {
  .shell { width: calc(100% - 22px); }.header-inner { width: calc(100% - 18px); }.role-switch select { width: 72px; }.brand-mark { gap: 7px; }.hero-actions .button { width: 100%; }.quick-grid { grid-template-columns: 1fr; }.world-card { left: 12px; bottom: 12px; }.world-stats { grid-template-columns: 1fr 1fr; }.world-stats div:first-child { grid-column: span 2; }
  .feed-item { padding-inline: 13px; }.feed-item > small { display: none; }.section-row .glyph { width: 37px; height: 37px; }.topic-row { grid-template-columns: auto 1fr; }.topic-row .topic-count { display: none; }.guild-actions { gap: 9px; }.guild-actions .button { flex: 1; }.private-banner { align-items: flex-start; }.report-layout aside { grid-template-columns: 1fr; }.stat-grid { grid-template-columns: 1fr; }.rules-grid { grid-template-columns: 1fr; }.rule-card { min-height: 0; }.modal { padding: 22px 18px; }.modal-actions { flex-direction: column-reverse; }.modal-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.server-site main { min-height: calc(100vh - 250px); }
.server-site .prototype-ribbon { background: #e5efe2; color: #3b6240; border-color: #cdddc9; }
.server-site .prototype-ribbon span { background: #47704b; }
.server-form-status { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 12px; }
.server-form-status.visible { display: block; }
.server-form-status.error { color: #9c3f37; background: #f8e7e3; }
.server-form-status.success { color: #356b3d; background: #e3efe1; }
.server-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.server-stack { display: grid; gap: 14px; }
.server-two-col { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.server-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; font-size: 12px; font-weight: 750; }
.server-form input,.server-form select,.server-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfd6cf; border-radius: 9px; background: #fff; outline: 0; font-size: 12px; }
.server-form textarea { min-height: 110px; resize: vertical; }
.server-form input:focus,.server-form select:focus,.server-form textarea:focus { border-color: #6e8f6d; box-shadow: 0 0 0 3px #e4eee1; }
.server-inline-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.server-inline-form input,.server-inline-form select { min-height: 34px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 9px; }
.server-list-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.server-list-row:last-child { border: 0; }
.server-list-row > div { min-width: 0; display: flex; flex-direction: column; }
.server-list-row strong { font-size: 12px; }
.server-list-row span { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.server-empty { padding: 35px 20px; border: 1px dashed #cad3c9; border-radius: 12px; color: var(--muted); background: #f6f8f4; text-align: center; font-size: 10px; }
.server-admin-section { margin-top: 18px; }
.server-admin-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.server-badge { display: inline-flex; width: fit-content; padding: 4px 7px; border-radius: 5px; color: #496b4c; background: #e5efe3; font-size: 8px; font-weight: 800; }
.server-badge.pending { color: #80601e; background: var(--gold-soft); }
.server-badge.danger { color: #9b4c42; background: var(--red-soft); }
.server-time { color: var(--muted); font-size: 8px; }
.server-chat-message { display: flex; gap: 10px; margin-bottom: 14px; }
.server-chat-message > div:last-child { max-width: 75%; }
.server-chat-message p { margin: 0 0 5px; font-size: 9px; }
.server-chat-message p span { margin-left: 7px; color: var(--muted); font-size: 7px; }
.server-chat-message .bubble { padding: 10px 12px; border-radius: 4px 11px 11px 11px; background: #edf2eb; font-size: 10px; line-height: 1.6; }
.chat-media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,148px)); gap:6px; width:min(302px,72vw); margin-top:4px; }
.chat-media-grid a { display:block; overflow:hidden; aspect-ratio:1; border:1px solid var(--line); border-radius:14px; background:var(--soft); }
.chat-media-grid a:only-child { grid-column:1 / -1; aspect-ratio:auto; max-height:360px; }
.chat-media-grid img { display:block; width:100%; height:100%; min-height:108px; object-fit:cover; transition:transform .18s ease; }
.chat-media-grid a:hover img { transform:scale(1.025); }
.chat-voice { display:flex; align-items:center; gap:9px; width:min(340px,76vw); padding:9px 11px; border:1px solid var(--line); border-radius:5px 15px 15px 15px; background:var(--soft); }
.chat-voice-mark { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; border-radius:50%; color:#fff; background:#2f3744; font-size:10px; font-weight:850; }
.chat-voice audio { min-width:0; width:100%; height:34px; }
.chat-voice small { flex:0 0 auto; color:var(--muted); white-space:nowrap; }
.chat-media-toolbar { display:flex!important; justify-content:flex-start!important; flex-wrap:wrap; gap:8px; margin:0 0 8px!important; }
.chat-media-toolbar .button { min-height:36px; padding:7px 11px; }
.chat-media-toolbar > span { align-self:center; color:var(--muted); font-size:9px; }
.chat-media-pending { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-start!important; gap:7px; margin:0 0 8px!important; padding:9px; border:1px solid var(--line); border-radius:11px; background:var(--soft); }
.chat-media-chip { display:inline-flex; align-items:center; gap:6px; padding:6px 8px; border-radius:999px; color:var(--ink); background:var(--surface); font-size:9px; font-weight:750; }
.chat-media-chip img { width:44px; height:44px; object-fit:cover; border-radius:6px; }
.chat-media-chip button { padding:0; border:0; color:#b42318; background:transparent; cursor:pointer; font-size:8px; }
.chat-upload-cancel { min-height:30px!important; margin-left:auto; }
.admin-section-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:18px; }
.admin-section-card-grid .server-admin-section { min-width:0; margin-top:0; }
.nested-admin-form { margin-top:12px; padding:14px; border:1px solid var(--line); border-radius:13px; background:var(--soft); }
.is-disabled { opacity:.72; }
.muted-copy { color:var(--muted); font-size:10px; }

@media(min-width:1000px) {
  .server-site .shell { width:min(920px,calc(100% - 40px)); }
  .server-site .chat-page { width:min(980px,calc(100% - 40px)); }
}
@media(max-width:760px) {
  .admin-section-card-grid { grid-template-columns:1fr; }
  .chat-media-toolbar { overflow-x:auto; flex-wrap:nowrap; }
  .chat-media-toolbar .button { flex:none; }
}
.media-error { color:var(--danger); }
.server-page-nav { display: flex; gap: 10px; margin-bottom: 20px; overflow-x: auto; }
.server-page-nav a { min-width: max-content; padding: 7px 10px; border-radius: 7px; color: var(--muted); background: #edf1eb; font-size: 9px; font-weight: 750; }

.profile-button { position: relative; display: grid; place-items: center; }
.profile-button > span { display: grid; place-items: center; width: 100%; height: 100%; }
.profile-button.active { outline: 2px solid #d0ad65; outline-offset: 2px; }
.player-link { color: inherit; font-weight: inherit; }
.player-link:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.social-nav-link { grid-auto-flow: column; gap: 6px; }
.nav-notice,.profile-notice,.mobile-notice { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #1d3022; border-radius: 99px; color: #fff; background: #c95b4f; font-size: 8px; font-weight: 900; line-height: 1; }
.profile-notice { position: absolute; right: -8px; top: -8px; }
.button-with-notice b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; color: #7f352e; background: #fff; font-size: 9px; }
.breadcrumb a { color: var(--green-700); font-weight: 750; }
.section-row { color: inherit; }
.section-row:focus-visible { outline: 3px solid #91aa8d; outline-offset: -3px; }
.forum-section-tabs { display: flex; gap: 8px; margin: -12px 0 28px; padding-bottom: 4px; overflow-x: auto; }
.forum-section-tabs a { min-width: max-content; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 750; }
.forum-section-tabs a.active { color: #fff; border-color: var(--green-700); background: var(--green-700); }

.profile-page { max-width: 1120px; }
.profile-hero-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg,#fff,#f1f6ef); box-shadow: var(--shadow-sm); }
.profile-avatar-large { width: 74px; height: 74px; border-radius: 20px; font-size: 28px; }
.profile-identity h1 { margin: 2px 0 8px; font-size: clamp(28px,4vw,42px); }
.profile-identity > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.profile-badges,.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.public-id-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 10px; }
.public-id-line > span { color: var(--muted); font-size: 9px; font-weight: 750; }
.public-id-line code { padding: 5px 8px; border: 1px solid #d7dfd5; border-radius: 6px; color: #334d36; background: #f6f8f4; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 11px; font-weight: 800; letter-spacing: .05em; overflow-wrap: anywhere; }
.public-id-line > a,.copy-id-button { padding: 4px 7px; border: 0; border-radius: 6px; color: var(--green-700); background: #e7efe4; cursor: pointer; font-size: 9px; font-weight: 800; }
.copy-id-button:disabled { cursor: default; opacity: .7; }
.copy-status { min-width: 1px; color: var(--green-700); font-size: 9px; font-weight: 750; }
.admin-command-card { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; margin-top: 18px; padding: 25px; border-radius: 18px; color: #edf5ed; background: #213728; box-shadow: 0 16px 38px rgba(28,51,34,.18); }
.admin-command-copy h2 { margin: 2px 0 8px; font-size: 23px; }
.admin-command-copy p:not(.eyebrow) { margin: 0 0 16px; color: #b9c7bb; font-size: 11px; }
.admin-command-card .eyebrow { color: #d2b36e; }
.admin-queue-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.admin-queue-grid a { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; color: #fff; background: rgba(255,255,255,.06); }
.admin-queue-grid a:hover { background: rgba(255,255,255,.1); }
.admin-queue-grid span { font-size: 11px; font-weight: 750; }
.admin-queue-grid strong { grid-row: 1 / span 2; grid-column: 2; font-size: 25px; }
.admin-queue-grid small { color: #b8c7ba; font-size: 9px; }
.profile-stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 12px; margin-top: 18px; }
.profile-stat-grid > a,.profile-stat-grid > div { display: flex; align-items: center; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.profile-stat-grid > a > div,.profile-stat-grid > div > p { display: flex; min-width: 0; flex-direction: column; margin: 0; }
.profile-stat-grid small { color: var(--muted); font-size: 9px; }
.profile-stat-grid small em { color: #a65349; font-style: normal; font-weight: 800; }
.profile-stat-grid strong { margin-top: 3px; font-size: 22px; }
.profile-stat-grid .profile-stat-text { font-size: 14px; }
.profile-dashboard-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: 18px; margin-top: 18px; align-items: start; }
.profile-list-link { color: inherit; }
.profile-list-link > b { color: #97a198; font-size: 22px; font-weight: 400; }
.profile-guild-summary { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.profile-guild-summary > div:last-child { display: flex; flex-direction: column; }
.profile-guild-summary strong { font-size: 13px; }
.profile-guild-summary span,.mini-record span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.mini-record { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-record:last-child { border: 0; }
.mini-record strong { font-size: 11px; }
.profile-warning { border-color: #edc4bd; background: #fff7f5; }

.friends-page { max-width: 1120px; }
.friends-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 18px; align-items: start; }
.friends-sidebar { position: sticky; top: 92px; }
.friend-tabs { overflow: hidden; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.friend-tabs a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 7px 9px; border-radius: 8px; color: #667168; }
.friend-tabs a:hover { background: #f3f6f1; }
.friend-tabs a.active { color: #fff; background: var(--green-700); }
.friend-tabs a > span { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 11px; font-weight: 800; }
.friend-tabs i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: #446248; background: #e4ede1; font-size: 9px; font-style: normal; }
.friend-tabs a.active i { color: #fff; background: rgba(255,255,255,.16); }
.friend-tabs b { min-width: 20px; padding: 3px 5px; border-radius: 99px; text-align: center; color: #647068; background: #edf1eb; font-size: 8px; }
.friend-tabs b.pending { color: #fff; background: #c95b4f; }
.friend-tabs a.active b { color: #315136; background: #fff; }
.friend-settings { padding: 17px; }
.friend-settings h2 { margin: 2px 0 13px; font-size: 15px; }
.friend-settings .server-form-status { font-size: 9px; }
.friends-main { min-width: 0; }
.friend-panel { padding: 24px; }
.friend-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 13px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.friend-row:last-child { border-bottom: 0; }
.friend-avatar { color: #406044; }
.friend-row-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.friend-row-copy > a { max-width: 100%; color: var(--ink); }
.friend-row-copy strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; overflow-wrap: anywhere; font-size: 13px; }
.friend-row-copy code { margin-top: 4px; color: #526156; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 9px; letter-spacing: .04em; overflow-wrap: anywhere; }
.friend-row-copy > span { margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.friend-row-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.friend-row-actions form { margin: 0; }
.friend-row-actions .button { min-height: 36px; padding: 7px 11px; }
.friend-row-actions .button-danger-text { width: auto; }
.friend-quiet-danger { padding: 6px; border: 0; color: #a85249; background: transparent; cursor: pointer; font-size: 9px; font-weight: 750; }
.relationship-state { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 10px; border-radius: 8px; color: #3f6644; background: #e5efe3; font-size: 9px; font-weight: 800; }
.relationship-state.pending { color: #80601e; background: var(--gold-soft); }
.relationship-state.unavailable { color: #777f79; background: #edf0ec; }
.friend-empty { display: flex; align-items: center; flex-direction: column; padding: 48px 20px 34px; text-align: center; }
.friend-empty.compact { padding-block: 34px 18px; }
.friend-empty h3 { margin: 14px 0 6px; font-size: 17px; }
.friend-empty p { max-width: 430px; margin: 0 0 18px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.friend-search-form { margin: 8px 0 18px; padding: 17px; border-radius: 12px; background: #f3f6f1; }
.friend-search-form > label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 800; }
.friend-search-form > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.friend-search-form input { min-width: 0; padding: 11px 12px; border: 1px solid #cbd4ca; border-radius: 9px; outline: 0; font-size: 12px; }
.friend-search-form input:focus { border-color: #6e8f6d; box-shadow: 0 0 0 3px #e4eee1; }
.friend-search-form small { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; }
.friend-search-error { margin: 0 0 14px; padding: 11px 13px; border-radius: 9px; color: #943f38; background: #f8e7e3; font-size: 10px; }

.public-profile-page > .breadcrumb { margin-bottom: 14px; }
.public-profile-hero { margin-bottom: 18px; }
.public-profile-actions { align-items: center; justify-content: flex-end; }
.public-profile-actions form { margin: 0; }
.public-profile-actions .button-danger-text { width: auto; }
.public-profile-stats { grid-template-columns: repeat(3,1fr); }
.public-profile-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 18px; margin-top: 18px; align-items: start; }
.public-privacy-note p,.profile-danger-zone p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.profile-danger-zone { border-color: #edc4bd; background: #fff9f7; }

.content-action-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 11px 13px; border: 1px solid #d6dfd3; border-radius: 10px; background: #f1f5ef; }
.content-action-bar > span { color: #58675b; font-size: 10px; font-weight: 750; }
.content-action-bar > div { display: flex; flex-wrap: wrap; gap: 7px; }
.content-action-bar form { margin: 0; }
.content-action-bar .button { min-height: 34px; padding: 7px 10px; }
.post-body p,.reply-content p,.report-description p { white-space: pre-wrap; overflow-wrap: anywhere; }
.reply-content { min-width: 0; flex: 1; }
.reply-delete-form { margin-left: auto; align-self: flex-start; }
.reply-delete-form .button { min-height: 32px; }

.report-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
.detail-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 0; }
.detail-list > div { padding: 13px; border-radius: 9px; background: #f3f6f1; }
.detail-list dt { color: var(--muted); font-size: 9px; }
.detail-list dd { margin: 5px 0 0; font-size: 12px; font-weight: 750; }
.report-description { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.report-description h3 { margin: 0 0 9px; font-size: 14px; }
.report-description p { margin: 0; line-height: 1.8; font-size: 12px; }
.evidence-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.evidence-grid a { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #f6f8f5; }
.evidence-grid img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #e9ede7; }
.evidence-grid span { display: block; overflow: hidden; padding: 9px; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.report-list .server-list-row { grid-template-columns: 1fr auto auto; }

.admin-anchor-nav { position: sticky; z-index: 20; top: 79px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.admin-anchor-nav b { margin-left: 4px; padding: 2px 5px; border-radius: 99px; color: #fff; background: var(--green-700); font-size: 8px; }
.admin-target { scroll-margin-top: 145px; }

@media(max-width:1000px){
  body { padding-bottom: 64px; }
  .mobile-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: 62px; display: grid; grid-template-columns: repeat(5,1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #dbe1da; background: rgba(255,255,255,.97); box-shadow: 0 -8px 30px rgba(20,35,24,.08); backdrop-filter: blur(14px); }
  .mobile-nav.mobile-nav-social { grid-template-columns: repeat(6,1fr); }
  .mobile-nav.mobile-nav-admin.mobile-nav-social { grid-template-columns: repeat(7,1fr); }
  .mobile-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; color: #758078; font-size: 9px; }
  .mobile-nav a > span { font-size: 16px; font-weight: 800; }
  .mobile-nav a.active { color: var(--green-700); font-weight: 800; }
  .mobile-notice { position: absolute; top: 5px; left: calc(50% + 7px); min-width: 16px; height: 16px; padding-inline: 3px; border-color: #fff; font-size: 7px; }
  .profile-dashboard-grid,.report-detail-grid,.public-profile-grid { grid-template-columns: 1fr; }
  .server-admin-grid { grid-template-columns: 1fr; }
  .friends-layout { grid-template-columns: 1fr; }
  .friends-sidebar { position: static; }
  .friend-tabs { display: flex; overflow-x: auto; }
  .friend-tabs a { min-width: 146px; flex: 1; }
  .friend-settings { max-width: 520px; }
}

@media(max-width:760px){
  .profile-content-actions { grid-template-columns:1fr; gap:10px; }
  .profile-content-actions>a { min-height:74px; }
  .server-two-col,.server-admin-grid{grid-template-columns:1fr}
  .server-list-row{grid-template-columns:1fr}
  .server-inline-form{align-items:stretch;flex-direction:column}
  .server-inline-form>*{width:100%}
  .server-chat-message>div:last-child{max-width:84%}
  .profile-hero-card { grid-template-columns: auto 1fr; padding: 19px; }
  .profile-actions { grid-column: 1 / -1; }
  .profile-actions .button { flex: 1; }
  .profile-actions form { display: flex; flex: 1; }
  .profile-actions form .button { width: 100%; }
  .admin-command-card { grid-template-columns: 1fr; padding: 19px; }
  .profile-stat-grid { grid-template-columns: repeat(2,1fr); }
  .friend-panel { padding: 18px; }
  .friend-row { grid-template-columns: auto minmax(0,1fr); align-items: start; }
  .friend-row-actions { grid-column: 1 / -1; justify-content: flex-start; margin-left: 53px; }
  .friend-row-actions form { display: flex; }
  .request-actions form { flex: 1; }
  .request-actions .button { width: 100%; }
  .friend-search-form > div { grid-template-columns: 1fr; }
  .friend-search-form .button { width: 100%; }
  .public-profile-actions { justify-content: flex-start; }
  .public-profile-stats { grid-template-columns: repeat(3,1fr); }
  .content-action-bar { align-items: flex-start; flex-direction: column; }
  .content-action-bar > div,.content-action-bar form,.content-action-bar .button { width: 100%; }
  .reply-card { align-items: flex-start; flex-wrap: wrap; }
  .reply-delete-form { width: 100%; margin-left: 53px; }
  .detail-list { grid-template-columns: 1fr; }
  .report-list .server-list-row { grid-template-columns: 1fr auto; }
  .admin-anchor-nav { top: 69px; }
}

@media(max-width:430px){
  .admin-header-link { display: none; }
  .profile-hero-card { grid-template-columns: 1fr; text-align: center; }
  .profile-avatar-large { margin: 0 auto; }
  .profile-badges,.profile-actions { justify-content: center; }
  .profile-identity .public-id-line { justify-content: center; }
  .admin-queue-grid { grid-template-columns: 1fr; }
  .evidence-grid { grid-template-columns: 1fr; }
  .friends-page .page-title-row .button { width: 100%; }
  .friend-panel { padding: 15px; }
  .friend-row { gap: 10px; }
  .friend-row-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: calc(100% - 50px); margin-left: 50px; }
  .friend-row-actions > a,.friend-row-actions > form,.friend-row-actions .button,.friend-row-actions .relationship-state { width: 100%; }
  .friend-row-actions .relationship-state { justify-content: center; }
  .friend-quiet-danger { min-height: 36px; }
  .public-profile-stats { grid-template-columns: 1fr; }
  .public-profile-actions { justify-content: center; }
  .mobile-nav a { font-size: 7px; }
}

/* 正式身份、媒体审核与管理界面 */
.theme-toggle { display:grid; place-items:center; width:38px; height:38px; flex:none; border:1px solid rgba(255,255,255,.18); border-radius:10px; color:#fff; background:rgba(255,255,255,.07); cursor:pointer; }
.profile-avatar,.topic-avatar,.guild-emblem,.profile-button > span { overflow:hidden; }
.profile-avatar img,.topic-avatar img,.guild-emblem img,.profile-button img { display:block; width:100%; height:100%; object-fit:cover; }
.title-badge { display:inline-flex; align-items:center; gap:5px; width:fit-content; max-width:100%; min-height:27px; padding:4px 9px; border:1px solid; border-radius:999px; cursor:help; font-size:10px; line-height:1.25; vertical-align:middle; }
.title-badge b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.title-badge.mini { min-height:21px; padding:2px 6px; font-size:8px; }
.title-badge.unequipped { opacity:.62; }
.title-admin { color:#2456a5; border-color:#91b2e7; background:#e9f1ff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.75); }
.title-guild_leader { color:#805611; border-color:#d8bc75; background:#fff3d4; box-shadow:inset 0 0 0 1px rgba(255,255,255,.75); }
.profile-customization-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:18px; margin-top:18px; }
.avatar-editor { display:grid; grid-template-columns:180px minmax(0,1fr); gap:20px; align-items:center; }
.avatar-crop-preview { position:relative; width:180px; aspect-ratio:1; overflow:hidden; display:grid; place-items:center; border:2px dashed var(--line); border-radius:22px; color:var(--muted); background:var(--soft); }
.avatar-crop-preview img { width:100%; height:100%; object-fit:cover; transition:transform .15s ease; }
.avatar-crop-preview img:not([src]) { display:none; }
.avatar-crop-preview span { padding:20px; text-align:center; font-size:10px; }
.title-choice-list,.history-list,.activity-list,.audit-list { display:grid; gap:10px; }
.title-choice { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid var(--line); border-radius:11px; background:var(--soft); }
.title-choice p { margin:6px 0 0; color:var(--muted); font-size:9px; }
.avatar-history { margin-top:18px; }
.avatar-history-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px; }
.avatar-history-grid article { display:grid; grid-template-columns:72px 1fr; gap:12px; align-items:center; padding:10px; border:1px solid var(--line); border-radius:12px; background:var(--soft); }
.avatar-history-grid img { width:72px; height:72px; border-radius:12px; object-fit:cover; }
.avatar-history-grid article > div { display:flex; min-width:0; flex-direction:column; gap:4px; }
.avatar-history-grid span,.avatar-history-grid p { margin:0; color:var(--muted); font-size:9px; }
.page-title-actions { display:flex; flex-wrap:wrap; gap:9px; }
.topic-title-link:hover { color:var(--green-700); }
.topic-row .topic-avatar { display:grid; place-items:center; }
.guild-public-hero { display:flex; align-items:center; gap:18px; margin-bottom:20px; padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(135deg,var(--surface),var(--soft)); box-shadow:var(--shadow-sm); }
.guild-public-hero h1 { margin:5px 0; }
.guild-public-grid { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:18px; align-items:start; }
.ranking-list { display:grid; gap:10px; }
.ranking-row { display:grid; grid-template-columns:42px 54px 1fr auto; gap:14px; align-items:center; min-width:0; padding:14px 18px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:var(--shadow-sm); }
.ranking-number { color:var(--gold); font-size:22px; text-align:center; }
.ranking-row .guild-emblem { width:54px; height:54px; }
.ranking-row > div { display:flex; min-width:0; flex-direction:column; gap:4px; }
.ranking-row span,.ranking-row em { color:var(--muted); font-size:10px; font-style:normal; }
.chat-message-content { min-width:0; max-width:min(75%,720px); }
.message-actions { position:relative; align-self:flex-start; margin-left:auto; }
.message-actions summary { display:grid; place-items:center; min-width:40px; min-height:40px; border-radius:8px; cursor:pointer; color:var(--muted); list-style:none; }
.message-actions[open] { z-index:10; }
.message-actions form { position:absolute; right:0; top:42px; width:min(290px,calc(100vw - 32px)); padding:13px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:var(--shadow); }
.message-actions label { display:grid; gap:6px; margin-bottom:8px; font-size:10px; }
.message-actions input { width:100%; padding:9px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:var(--surface); }
.message-highlight { padding:9px; border:2px solid var(--gold); border-radius:13px; background:var(--gold-soft); scroll-margin-block:120px; }
.message-recalled .bubble { color:var(--muted); font-style:italic; background:var(--soft); }
.admin-user-row { grid-template-columns:auto minmax(0,1fr) auto; }
.stat-grid { grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); }
.stat-card-link { color:inherit; transition:transform .15s ease,border-color .15s ease; }
.stat-card-link:hover { border-color:#8eaa8d; transform:translateY(-2px); }
.review-count-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:16px; }
.review-count-grid a { display:flex; align-items:center; justify-content:space-between; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.review-count-grid b { font-size:22px; }
.review-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:10px; align-items:end; margin-bottom:16px; }
.review-filters label { display:grid; gap:6px; font-size:10px; }
.review-filters input,.review-filters select { min-height:42px; padding:9px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface); }
.bulk-review-bar { position:sticky; z-index:15; top:138px; display:flex; align-items:center; gap:9px; margin-bottom:16px; padding:10px 14px; border:1px solid var(--line); border-radius:12px; background:color-mix(in srgb,var(--surface) 94%,transparent); box-shadow:var(--shadow-sm); backdrop-filter:blur(12px); }
.bulk-review-bar input,.bulk-review-bar select { min-height:38px; padding:8px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:var(--surface); }
.bulk-review-bar input { min-width:0; flex:1; }
.avatar-review-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.avatar-review-card { position:relative; overflow:hidden; display:flex; min-width:0; flex-direction:column; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-sm); }
.avatar-review-card > a img { display:block; width:100%; aspect-ratio:1; object-fit:cover; background:var(--soft); }
.avatar-review-card > div { padding:14px; }
.avatar-review-card h2 { margin:8px 0; font-size:16px; }
.avatar-review-card h3 { margin:8px 0; font-size:15px; }
.avatar-review-card p { color:var(--muted); font-size:10px; line-height:1.6; }
.review-select { position:absolute; z-index:2; left:10px; top:10px; padding:7px 9px; border-radius:8px; color:#fff; background:rgba(20,32,24,.78); font-size:9px; }
.review-actions { display:grid; grid-template-columns:1fr; gap:8px; padding-top:0!important; }
.review-actions form { display:grid; gap:7px; }
.review-actions input { width:100%; min-height:40px; padding:8px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:var(--surface); }
.review-actions label { display:grid; gap:6px; color:var(--muted); font-size:9px; }
.dashboard-avatar-review { border-color:#b8c9b5; box-shadow:0 12px 32px rgba(52,88,57,.11); }
.dashboard-avatar-review .section-heading { align-items:flex-start; }
.dashboard-avatar-review .section-heading p { max-width:760px; margin:6px 0 0; color:var(--muted); font-size:10px; line-height:1.65; }
.dashboard-review-grid { grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }
.avatar-review-empty { grid-column:1/-1; display:grid; justify-items:center; gap:10px; }
.avatar-review-empty strong { color:var(--ink); font-size:14px; }
.avatar-review-empty span { display:block; }
.log-scope-notice { margin-top:32px; margin-bottom:-18px; border-left:5px solid var(--green-700); background:var(--green-100); }
.log-scope-notice strong { font-size:14px; }
.log-scope-notice p,.affected-events .section-heading p { margin:6px 0 0; color:var(--muted); font-size:10px; line-height:1.65; }
.managed-user-hero { display:grid; grid-template-columns:auto 1fr; gap:18px; align-items:center; }
.managed-user-hero h2 { margin:0 0 7px; }
.managed-user-hero p { color:var(--muted); font-size:10px; }
.sanction-form-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.sanction-form-grid form { padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--soft); }
.history-list article,.activity-list article,.audit-card { padding:13px; border:1px solid var(--line); border-radius:11px; background:var(--soft); }
.profile-content-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:18px 0; }
.profile-content-actions>a { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center; min-height:88px; padding:16px; color:var(--ink); text-decoration:none; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-soft); transition:transform .18s ease,border-color .18s ease; }
.profile-content-actions>a:hover { border-color:var(--accent); transform:translateY(-1px); }
.profile-content-actions strong,.profile-content-actions small { display:block; }
.profile-content-actions small { margin-top:4px; color:var(--muted); }
.profile-content-actions b { font-size:24px; color:var(--muted); }
.personal-content-tabs { display:flex; gap:8px; margin:0 0 16px; overflow-x:auto; }
.personal-content-tabs a { flex:0 0 auto; padding:10px 16px; color:var(--muted); text-decoration:none; border:1px solid var(--line); border-radius:999px; background:var(--surface); }
.personal-content-tabs a.active { color:#fff; border-color:var(--accent); background:var(--accent); }
.personal-content-list { padding:6px 18px; }
.personal-content-list .profile-list-link p { margin:6px 0; color:var(--ink); line-height:1.6; }
.history-list article > div,.activity-list article > div,.audit-card > div { display:flex; justify-content:space-between; gap:12px; }
.history-list p,.activity-list p,.audit-card p { margin:7px 0; font-size:11px; line-height:1.7; }
.history-list small,.activity-list small,.audit-card small,.activity-list time,.audit-card time { color:var(--muted); font-size:9px; }
.login-summary-grid,.login-security-results { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:10px; }
.login-summary-grid article,.login-security-results article { display:flex; min-width:0; flex-direction:column; gap:5px; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--soft); overflow-wrap:anywhere; }
.login-summary-grid span,.login-summary-grid p,.login-summary-grid small,.login-security-results span,.login-security-results p,.login-security-results small { margin:0; color:var(--muted); font-size:9px; line-height:1.55; }
.audit-card details { margin-top:7px; color:var(--muted); font-size:9px; }
.audit-card code { display:block; margin-top:7px; overflow-wrap:anywhere; }

/* 深浅主题以语义表面为准；顶部导航始终保持深色层级。 */
html[data-theme="dark"] {
  color-scheme:dark;
  --ink:#edf3ed;
  --muted:#a9b5aa;
  --line:#3b493e;
  --surface:#202a22;
  --soft:#18211b;
  --green-100:#263b29;
  --gold-soft:#3b3020;
  --red-soft:#402522;
  --blue-soft:#21343c;
  --shadow:0 18px 48px rgba(0,0,0,.28);
  --shadow-sm:0 8px 24px rgba(0,0,0,.22);
}
html[data-theme="dark"] body { background:#121813; color:var(--ink); }
html[data-theme="dark"] :where(.server-card,.side-card,.feed-card,.section-list,.topic-list,.quick-card,.guild-card,.chat-panel,.chat-side,.form-card,.friend-tabs,.friend-panel,.notice-card,.auth-form-wrap,.reply-card,.topic-article,.stat-card,.profile-stat-grid>a,.profile-stat-grid>div,.admin-anchor-nav,.mobile-nav,.profile-hero-card) { color:var(--ink); border-color:var(--line); background:var(--surface); }
html[data-theme="dark"] :where(.server-form input,.server-form select,.server-form textarea,.friend-search-form input,.message-actions input) { color:var(--ink); border-color:var(--line); background:#151d17; }
html[data-theme="dark"] :where(.server-empty,.detail-list>div,.friend-search-form,.server-chat-message .bubble,.server-page-nav a,.forum-section-tabs a,.public-id-line code,.profile-danger-zone,.profile-warning) { color:var(--ink); border-color:var(--line); background:var(--soft); }
html[data-theme="dark"] .server-chat-message .bubble { color:var(--ink); border-color:var(--line); background:var(--soft); }
html[data-theme="dark"] .chat-safety { color:#c8dbc9; background:#203323; }
html[data-theme="dark"] .chat-composer { border-color:var(--line); background:var(--surface); }
html[data-theme="dark"] .chat-composer textarea { color:var(--ink); border-color:var(--line); background:#151d17; }
html[data-theme="dark"] :where(.feed-item:hover,.topic-row:hover,.section-row:hover,.quick-card:hover) { background:#263128; }
html[data-theme="dark"] .prototype-ribbon { color:#c8dbc9; background:#203323; border-color:#314a35; }
html[data-theme="dark"] .button-secondary { color:#dce9dd; border-color:#4a5d4e; background:#263329; }
html[data-theme="dark"] .title-admin { color:#bcd3ff; border-color:#5277ae; background:#20314d; }
html[data-theme="dark"] .title-guild_leader { color:#f2d58d; border-color:#80682d; background:#3b3020; }
html[data-theme="dark"] .mobile-nav { border-color:var(--line); background:rgba(24,33,27,.97); }
html[data-theme="dark"] .profile-hero-card,.guild-public-hero { background:linear-gradient(135deg,var(--surface),var(--soft)); }

@media(max-width:900px){
  .profile-customization-grid,.guild-public-grid { grid-template-columns:1fr; }
  .avatar-review-grid,.sanction-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .review-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px){
  .avatar-editor { grid-template-columns:1fr; }
  .avatar-crop-preview { width:min(100%,240px); margin-inline:auto; }
  .review-count-grid { grid-template-columns:repeat(2,1fr); }
  .avatar-review-grid,.sanction-form-grid,.review-filters { grid-template-columns:1fr; }
  .bulk-review-bar { top:75px; align-items:stretch; flex-direction:column; }
  .ranking-row { grid-template-columns:32px 46px minmax(0,1fr); padding:12px; }
  .ranking-row > em { grid-column:3; }
  .admin-user-row { grid-template-columns:auto minmax(0,1fr); }
  .admin-user-row > .button { grid-column:1/-1; width:100%; }
  .managed-user-hero { grid-template-columns:1fr; text-align:center; }
  .dashboard-avatar-review .section-heading { align-items:stretch; flex-direction:column; }
  .dashboard-avatar-review .section-heading .button { width:100%; }
  .log-scope-notice { margin-top:18px; margin-bottom:-10px; }
}

/* 公会频道：桌面双栏，移动端频道横向切换，输入区始终不被处理提示遮挡。 */
.guild-chat-entry { margin:0 0 18px; }
.guild-chat-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:18px; align-items:start; }
.guild-channel-list { padding:14px; position:sticky; top:88px; }
.guild-channel-list>a { display:grid; gap:3px; padding:11px 12px; border-radius:12px; color:var(--ink); text-decoration:none; }
.guild-channel-list>a span { color:var(--muted); font-size:9px; }
.guild-channel-list>a small { color:var(--muted); font-size:8px; }
.guild-channel-list>a:hover,.guild-channel-list>a.active { background:var(--soft); }
.guild-channel-list>a.active { box-shadow:inset 3px 0 0 var(--ink); }
.guild-channel-list details { margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.guild-chat-panel { padding:0; overflow:hidden; }
.guild-chat-panel>header { display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid var(--line); }
.guild-channel-badges { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.guild-channel-manage { margin:12px 18px 0; padding-bottom:12px; border-bottom:1px solid var(--line); }
.guild-channel-manage>.server-form { margin-top:12px; }
.guild-chat-panel>header h2 { margin:2px 0 0; }
.guild-chat-messages { min-height:420px; max-height:65vh; overflow-y:auto; padding:14px 18px; display:grid; align-content:start; gap:12px; }
.guild-chat-message { display:grid; grid-template-columns:42px minmax(0,1fr); gap:10px; align-items:start; }
.guild-chat-message>div>p { display:flex; align-items:baseline; gap:8px; margin:0 0 5px; }
.guild-chat-message time { color:var(--muted); font-size:8px; }
.guild-chat-message .bubble { display:inline-block; max-width:min(680px,92%); padding:9px 12px; white-space:pre-wrap; overflow-wrap:anywhere; border-radius:4px 14px 14px; background:var(--soft); }
.guild-chat-message audio { max-width:min(380px,100%); }
.guild-message-manage { grid-column:2; justify-self:end; }
.guild-announcement-card { margin:0 0 18px; }
.guild-announcement-copy { padding:14px; white-space:pre-wrap; border-left:3px solid var(--accent); background:var(--soft); }
.guild-chat-composer { border-top:1px solid var(--line); border-radius:0; box-shadow:none; }
@media(max-width:760px){
  .guild-chat-layout { grid-template-columns:1fr; }
  .guild-channel-list { position:static; display:flex; gap:8px; overflow-x:auto; }
  .guild-channel-list .section-heading,.guild-channel-list details { display:none; }
  .guild-channel-list>a { min-width:135px; }
  .guild-chat-messages { min-height:46vh; max-height:58vh; padding:12px; }
}

/* GZMC 2026 white product theme. This file deliberately loads last so legacy
   green tokens remain compatible while every production page receives the
   same neutral visual hierarchy. */
:root {
  --ink:#15171a;
  --muted:#667085;
  --line:#e4e7ec;
  --surface:#fff;
  --soft:#f7f8fa;
  --green-950:#101114;
  --green-900:#181a1f;
  --green-800:#24272d;
  --green-700:#30343b;
  --green-600:#475467;
  --green-100:#f1f3f5;
  --gold:#c28a20;
  --gold-soft:#fff7e6;
  --blue:#3267d6;
  --blue-soft:#edf4ff;
  --red:#c23b32;
  --red-soft:#fff0ee;
  --shadow:0 18px 48px rgba(16,24,40,.07);
  --shadow-sm:0 5px 18px rgba(16,24,40,.055);
}

body { background:#f7f8fa; color:var(--ink); }
::selection { background:#dbeafe; }
@media(min-width:1001px) { .quick-grid { grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); } }
.site-header { color:#15171a; background:rgba(255,255,255,.96); border-color:#e4e7ec; box-shadow:0 1px 0 rgba(16,24,40,.02); }
.brand-cube { color:#fff; background:#202328; border-color:#4b4f57; box-shadow:inset -6px -6px 0 rgba(0,0,0,.18); }
.brand-mark small,.server-mini { color:#667085; }
.site-header nav a { color:#667085; }
.site-header nav a:hover,.site-header nav a.active { color:#101114; }
.site-header nav a.active::after { background:#181a1f; }
.server-mini { border-color:#e4e7ec; }
.theme-toggle { color:#344054; border-color:#d0d5dd; background:#fff; }
.profile-button { color:#fff; border-color:#474b52; background:#202328; }
.button-small { color:#344054; border-color:#d0d5dd; background:#fff; }
.admin-header-link { color:#fff; border-color:#202328; background:#202328; }
.nav-notice,.profile-notice,.mobile-notice { border-color:#fff; }
.prototype-ribbon,.server-site .prototype-ribbon { color:#475467; background:#f2f4f7; border-color:#e4e7ec; }
.prototype-ribbon span,.server-site .prototype-ribbon span { color:#fff; background:#344054; }

.button { position:relative; min-height:42px; border-radius:10px; }
.button-primary { color:#fff; background:#202328; box-shadow:0 7px 16px rgba(16,24,40,.13); }
.button-primary:hover { background:#101114; }
.button-secondary { color:#344054; border-color:#d0d5dd; background:#fff; }
.button-secondary:hover { color:#101828; border-color:#98a2b3; background:#f9fafb; }
.button-danger { background:#c23b32; }
.text-link,.breadcrumb a,.player-link:hover,.side-card>a { color:#344054; }
.button-icon,.ui-icon { width:17px; height:17px; flex:none; object-fit:contain; }
.button-icon { filter:none; }
.button-primary .button-icon,.button-danger .button-icon,.admin-header-link .button-icon { filter:brightness(0) invert(1); }
.icon-action { display:inline-flex; align-items:center; gap:7px; }
.icon-action img { width:16px; height:16px; }
.button[aria-busy="true"] .button-icon { animation:icon-spin .8s linear infinite; }
@keyframes icon-spin { to { transform:rotate(360deg); } }

.hero h1 em,.eyebrow { color:#344054; }
.season-label { color:#344054; border-color:#d0d5dd; background:#fff; }
.hero-world { background:linear-gradient(#dfe6ee 0 48%,#aeb8c5 48% 55%,#737d89 55%); }
.mountain-back { background:linear-gradient(135deg,#aab4bf 50%,#929daa 50%); }
.mountain-front { background:linear-gradient(135deg,#87929f 50%,#737e8b 50%); }
.grass-bank { background:linear-gradient(8deg,#515862 0 75%,#7f8894 76%); }
.tree i { background:#4f5964; }.tree span { background:#66717d; }
.camp-house::before { background:#3e434a; }
.quick-card,.feed-card,.section-list,.topic-list,.server-card,.side-card,.guild-card,.chat-panel,.chat-side,.topic-article,.reply-card { border-color:#e4e7ec; box-shadow:var(--shadow-sm); }
.quick-card:hover,.feed-item:hover,.topic-row:hover,.section-row:hover { border-color:#cfd4dc; background:#fafbfc; }
.glyph { color:#344054; background:#f2f4f7; border-color:#dfe3e8; box-shadow:none; }
.glyph-gold { color:#9a6700; background:#fff7e6; border-color:#f2d49a; }
.glyph-blue { color:#285fbf; background:#edf4ff; border-color:#cbdcff; }
.notice-card { color:#fff; background:#202328; }
.notice-card p { color:#d0d5dd; }
.notice-card a { color:#f1c66d; }
.topic-tag.tag-交流,.server-badge { color:#344054; background:#f2f4f7; }
.server-badge.pending { color:#805b10; background:#fff4d8; }
.server-badge.danger { color:#9f302a; background:#fff0ee; }
.server-badge.success,.status-approved { color:#14763c; background:#e9f8ef; }
.status-dot { background:#2e9d58; box-shadow:0 0 0 4px rgba(46,157,88,.12); }
.server-form input,.server-form select,.server-form textarea,.friend-search-form input { border-color:#d0d5dd; background:#fff; }
.server-form input:focus,.server-form select:focus,.server-form textarea:focus,.friend-search-form input:focus { border-color:#667085; box-shadow:0 0 0 3px #eaecf0; }
.server-empty { color:#667085; border-color:#d0d5dd; background:#fafbfc; }
.profile-avatar,.topic-avatar { color:#344054; border-color:#d0d5dd; background:#f2f4f7; }
.profile-hero-card { background:#fff; }
.admin-command-card { color:#fff; background:#202328; box-shadow:0 16px 38px rgba(16,24,40,.16); }
.admin-command-card .eyebrow { color:#f1c66d; }
.admin-queue-grid a { border-color:#3e4249; background:#2b2e34; }
.admin-anchor-nav b { background:#344054; }
.friend-tabs a.active,.forum-section-tabs a.active { color:#fff; border-color:#202328; background:#202328; }
.friend-tabs i { color:#344054; background:#f2f4f7; }
.friend-tabs a.active i { color:#fff; background:#464a52; }
.public-id-line code { color:#344054; border-color:#d0d5dd; background:#f9fafb; }
.public-id-line>a,.copy-id-button { color:#344054; background:#f2f4f7; }

/* Shared identity system */
.identity-line { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.level-badge { display:inline-flex; align-items:center; gap:5px; min-height:28px; padding:3px 8px 3px 4px; border:1px solid #d0d5dd; border-radius:999px; color:#344054; background:#fff; font-size:10px; font-weight:850; white-space:nowrap; }
.level-badge img { width:23px; height:23px; }
.level-badge.large { min-height:42px; padding:5px 12px 5px 5px; font-size:12px; }
.level-badge.large img { width:34px; height:34px; }
.title-badge { gap:5px; border-radius:999px; box-shadow:none; }
.title-badge img { width:14px; height:14px; }
.title-admin { color:#1d4eaa; border-color:#b6cdf9; background:#edf4ff; }
.title-guild_leader { color:#845a08; border-color:#edcf8e; background:#fff7e6; }
.title-custom { color:#5d3e9e; border-color:#d9c7f5; background:#f7f2ff; }
.rarity-rare { box-shadow:inset 0 0 0 1px rgba(50,103,214,.12); }
.rarity-epic { box-shadow:inset 0 0 0 1px rgba(124,58,237,.18); }
.rarity-legendary { box-shadow:inset 0 0 0 1px rgba(194,138,32,.28); }

/* Daily task center */
.task-page { max-width:1120px; }
.growth-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; padding:27px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:var(--shadow-sm); }
.growth-identity { display:flex; align-items:center; gap:18px; }
.growth-copy { min-width:0; flex:1; }
.growth-copy h1 { margin:4px 0 8px; font-size:clamp(28px,4vw,42px); }
.growth-progress-label { display:flex; justify-content:space-between; gap:12px; margin:13px 0 7px; color:#667085; font-size:10px; }
.growth-progress { height:9px; overflow:hidden; border-radius:99px; background:#eaecf0; }
.growth-progress>span { display:block; height:100%; border-radius:inherit; background:#3267d6; }
.growth-balances { display:grid; grid-template-columns:repeat(2,minmax(120px,1fr)); gap:10px; }
.balance-card { display:flex; align-items:center; gap:11px; min-width:140px; padding:14px; border:1px solid var(--line); border-radius:12px; background:#f9fafb; }
.balance-card img { width:28px; height:28px; }
.balance-card span { display:flex; flex-direction:column; color:#667085; font-size:9px; }
.balance-card b { margin-top:2px; color:#101828; font-size:21px; }
.balance-card.coin b { color:#a76f08; }.balance-card.experience b { color:#285fbf; }
.task-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:18px; margin-top:18px; align-items:start; }
.task-layout>* , .task-layout .server-card, .task-layout .side-card { min-width:0; }
.task-list { display:grid; gap:10px; }
.task-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:14px; align-items:center; padding:18px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.task-card>img { width:42px; height:42px; padding:9px; border-radius:11px; background:#f2f4f7; }
.task-card-copy h3 { margin:0 0 5px; font-size:14px; }.task-card-copy p { margin:0; color:#667085; font-size:10px; line-height:1.6; }
.task-rewards { display:flex; gap:7px; margin-top:8px; }
.task-rewards span { display:inline-flex; align-items:center; gap:4px; color:#667085; font-size:9px; font-weight:750; }
.task-rewards img { width:14px; height:14px; }
.task-state { min-width:94px; text-align:right; }
.task-state .server-badge { margin-left:auto; }
.task-state form { margin:8px 0 0; }
.task-summary-strip { display:flex; flex-wrap:wrap; gap:8px 18px; margin:0 0 15px; color:#667085; font-size:10px; }
.task-summary-strip strong { color:#101828; }
.checkin-calendar { display:grid; grid-template-columns:repeat(7,1fr); gap:5px; }
.checkin-calendar>span { display:grid; place-items:center; min-height:32px; border-radius:7px; color:#667085; background:#f7f8fa; font-size:9px; }
.checkin-calendar .weekday { min-height:23px; color:#98a2b3; background:transparent; font-weight:750; }
.checkin-calendar .checked { color:#14763c; background:#e9f8ef; font-weight:850; }
.checkin-calendar .revoked { color:#9f302a; background:#fff0ee; text-decoration:line-through; }
.checkin-calendar .today { outline:2px solid #3267d6; outline-offset:-2px; }
.reset-countdown { margin-top:12px; padding:10px 12px; border-radius:9px; color:#475467; background:#f2f4f7; font-size:10px; }
.level-roadmap { display:grid; grid-template-columns:repeat(5,1fr); gap:9px; margin-top:18px; }
.level-roadmap article { display:flex; align-items:center; gap:8px; padding:10px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.level-roadmap img { width:34px; height:34px; }.level-roadmap div { min-width:0; display:flex; flex-direction:column; }
.level-roadmap strong { font-size:10px; }.level-roadmap span { margin-top:3px; color:#667085; font-size:8px; }
.ledger-list { width:100%; max-width:100%; overflow-x:auto; }
.ledger-row { display:grid; grid-template-columns:minmax(160px,1fr) 90px 90px 150px; gap:12px; align-items:center; min-width:620px; padding:11px 0; border-bottom:1px solid var(--line); font-size:10px; }
.ledger-row:last-child { border:0; }.ledger-row small { color:#667085; }.ledger-delta { font-weight:850; }.ledger-delta.positive { color:#14763c; }.ledger-delta.negative { color:#b42318; }

/* Progression administration */
.progression-page { max-width:1180px; }
.admin-progress-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.config-card { padding:18px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.config-card-head { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.config-card-head img { width:34px; height:34px; padding:7px; border-radius:9px; background:#f2f4f7; }
.config-card-head div { display:flex; min-width:0; flex-direction:column; }
.config-card-head h3 { margin:0; font-size:13px; }.config-card-head span { color:#667085; font-size:9px; }
.compact-form label { margin-bottom:9px; font-size:10px; }.compact-form input,.compact-form select,.compact-form textarea { padding:9px 10px; }
.compact-form textarea { min-height:70px; }
.form-row-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.title-admin-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.title-config-card { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; padding:17px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.title-config-card>img { width:42px; height:42px; padding:9px; border-radius:12px; background:#f2f4f7; }
.title-config-card h3 { margin:0 0 4px; font-size:14px; }.title-config-card p { margin:0 0 9px; color:#667085; font-size:9px; line-height:1.5; }
.title-config-meta { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:11px; }
.material-upload { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:end; }
.material-upload label { margin:0; }
.skeleton { position:relative; overflow:hidden; color:transparent!important; background:#eaecf0!important; }
.skeleton::after { content:""; position:absolute; inset:0; transform:translateX(-100%); background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent); animation:skeleton 1.2s infinite; }
@keyframes skeleton { to { transform:translateX(100%); } }

html[data-theme="dark"] {
  --ink:#f2f4f7; --muted:#a6adbb; --line:#30343b; --surface:#1c1f24; --soft:#24272d;
  --green-950:#f2f4f7; --green-900:#eaecf0; --green-800:#d0d5dd; --green-700:#c4c9d1; --green-600:#a6adbb; --green-100:#2a2e34;
  --shadow:0 18px 48px rgba(0,0,0,.26); --shadow-sm:0 5px 18px rgba(0,0,0,.22);
}
html[data-theme="dark"] body { color:#f2f4f7; background:#131519; }
html[data-theme="dark"] .site-header { color:#f2f4f7; border-color:#30343b; background:rgba(24,26,31,.96); }
html[data-theme="dark"] .site-header nav a { color:#a6adbb; }
html[data-theme="dark"] .site-header nav a:hover,html[data-theme="dark"] .site-header nav a.active { color:#fff; }
html[data-theme="dark"] .button-primary { color:#15171a; background:#f2f4f7; }
html[data-theme="dark"] .button-primary:hover { background:#fff; }
html[data-theme="dark"] .button-primary .button-icon { filter:none; }
html[data-theme="dark"] .button-secondary,html[data-theme="dark"] .button-small,html[data-theme="dark"] .theme-toggle { color:#eaecf0; border-color:#475467; background:#24272d; }
html[data-theme="dark"] :where(.growth-hero,.task-card,.level-roadmap article,.config-card,.title-config-card,.balance-card,.profile-hero-card) { color:#f2f4f7; border-color:#30343b; background:#1c1f24; }
html[data-theme="dark"] :where(.growth-copy h1,.balance-card b,.task-summary-strip strong) { color:#f2f4f7; }
html[data-theme="dark"] :where(.task-card>img,.config-card-head img,.title-config-card>img) { background:#2a2e34; filter:invert(.88); }
html[data-theme="dark"] .checkin-calendar>span { color:#a6adbb; background:#24272d; }
html[data-theme="dark"] .checkin-calendar .weekday { background:transparent; }
html[data-theme="dark"] .level-badge { color:#eaecf0; border-color:#475467; background:#24272d; }
html[data-theme="dark"] .prototype-ribbon { color:#c4c9d1; border-color:#30343b; background:#202328; }

@media(max-width:1000px) {
  .task-layout { grid-template-columns:minmax(0,1fr); }
  .level-roadmap { grid-template-columns:repeat(2,1fr); }
  .admin-progress-grid { grid-template-columns:1fr 1fr; }
  .title-admin-grid { grid-template-columns:1fr; }
}
@media(max-width:720px) {
  .growth-hero { grid-template-columns:1fr; padding:19px; }
  .growth-identity { align-items:flex-start; }
  .growth-balances { grid-template-columns:1fr 1fr; }
  .task-card { grid-template-columns:auto minmax(0,1fr); }
  .task-state { grid-column:1 / -1; width:100%; display:flex; align-items:center; justify-content:space-between; text-align:left; }
  .task-state .server-badge { margin-left:0; }
  .task-state form { margin:0; }
  .level-roadmap { grid-template-columns:1fr 1fr; }
  .admin-progress-grid { grid-template-columns:1fr; }
  .form-row-2 { grid-template-columns:1fr; }
}
@media(max-width:430px) {
  .growth-identity { flex-direction:column; }
  .growth-balances { width:100%; grid-template-columns:1fr 1fr; }
  .balance-card { min-width:0; padding:10px; }
  .task-card { padding:14px; }
  .level-roadmap { grid-template-columns:1fr; }
  .material-upload { grid-template-columns:1fr; }
}
