:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #181713;
  background: #fff;
  font-synthesis: none;
  --gold: #8a6a38;
  --gold-dark: #24211c;
  --gold-pale: #f1f1f1;
  --ink: #171717;
  --muted: #777;
  --line: #e5e5e5;
  --soft: #f5f5f5;
  --danger: #d95c54;
  --accent-blue: #4f7ed8;
  --accent-green: #35a862;
  --accent-orange: #d98a36;
  --accent-purple: #7a63c7;
}

* { box-sizing: border-box; }
html { width: 100%; min-width: 320px; min-height: 100%; overflow-x: clip; overflow-y: auto; background: #fff; }
body, #app { width: 100%; min-width: 320px; min-height: 100%; margin: 0; background: #fff; }
body { overflow-x: clip; overflow-y: visible; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
input, textarea { font-size: 16px; }
button { color: inherit; }
button, [tabindex="0"] { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-shell { width: min(100%, 520px); max-width: 100%; min-height: 100svh; margin: 0 auto; background: #fff; }
.page { min-height: 100svh; padding: 22px 18px 112px; background: #fff; }
.center-head { height: 52px; display: grid; place-items: center; margin-bottom: 12px; }
.center-head h1 { margin: 0; text-align: center; font-size: 22px; letter-spacing: .04em; }

.profile-head { display: flex; align-items: center; gap: 13px; padding: 4px 0 14px; }
.brand-avatar { width: 58px; height: 58px; flex: 0 0 auto; padding: 2px; border: 2px solid #383838; border-radius: 50%; object-fit: cover; }
.brand-copy { min-width: 0; flex: 1; }
.profile-head h1 { margin: 0 0 5px; font-size: 22px; }
.profile-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.brand-motto { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 7px 0 7px 10px; border-left: 1px solid #dedede; white-space: nowrap; }
.brand-motto b, .brand-motto span { color: #242424; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.brand-motto b::after { content: "·"; margin-left: 6px; color: #a58a61; }

.search-box { height: 50px; display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; margin: 4px 0 17px; padding: 5px 6px 5px 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.search-icon { width: 20px; height: 20px; color: #918a7d; }
.search-box input { min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; }
.search-box input::placeholder { color: #aaa49a; }
.search-box button { height: 38px; padding: 0 17px; border: 0; border-radius: 12px; color: #fff; background: var(--ink); cursor: pointer; font-size: 12px; }

.banner-carousel { margin-bottom: 2px; }
.banner-track { display: flex; overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 30px rgba(60,46,25,.1); scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banner-track::-webkit-scrollbar { display: none; }
.home-banner { width: 100%; flex: 0 0 100%; aspect-ratio: 16 / 8.7; border-radius: 21px; object-fit: cover; scroll-snap-align: start; }
.banner-dots { height: 23px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.banner-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: #d8d2c8; transition: width .2s ease, background .2s ease; }
.banner-dots button.active { width: 18px; background: linear-gradient(90deg, #1d1d1d, #9a7136); }
.game-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 16px 0 20px; padding: 12px 5px 10px; border-bottom: 1px solid var(--line); }
.game-entry { min-width: 0; display: grid; grid-template-rows: 64px 18px; align-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.game-entry img { width: 62px; height: 62px; margin: 0 auto; object-fit: contain; }
.game-entry span { display: block; align-self: center; overflow: hidden; text-align: center; font-size: 10px; font-weight: 600; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }

.content-section { margin-top: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.section-head h2 { margin: 0; font-size: 18px; }
.section-head h2::before { content: ""; display: inline-block; width: 4px; height: 17px; margin-right: 8px; border-radius: 99px; vertical-align: -2px; background: linear-gradient(#4a4a4a, #111); }
.section-head > button, .section-head > a { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.section-head > button span, .section-head > a span { color: var(--gold); font-size: 18px; }

.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; align-items: start; }
.agent-card { min-width: 0; height: 238px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(20, 20, 20, .06); cursor: pointer; }
.agent-shot { position: relative; width: 100%; height: 165px; display: grid; place-items: center; overflow: hidden; background: #f4f4f4; }
.agent-shot svg { width: 100%; height: 100%; }
.agent-card > .agent-shot { border-radius: 14px 14px 0 0; }
.qr-crop { position: relative; overflow: hidden; background: #f2f2f1; }
.qr-crop img { width: 200%; max-width: none; height: auto; object-fit: cover; }
.qr-crop.left img { transform: translateX(0); }
.qr-crop.right img { transform: translateX(-50%); }
.agent-card .qr-crop { height: 155px; }
.agent-copy { margin-top: auto; padding: 9px 8px 10px; }
.agent-copy h3 { display: -webkit-box; min-height: 34px; margin: 0 0 6px; overflow: hidden; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.agent-copy p { margin: 0; color: #aaa59c; font-size: 9px; }

.post-list { display: grid; gap: 12px; }
.post-row { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 7px 20px rgba(20, 20, 20, .05); cursor: pointer; }
.post-row > img { width: 118px; height: 104px; border-radius: 13px; object-fit: cover; }
.tag { display: inline-flex; align-items: center; margin-bottom: 6px; padding: 3px 8px; border-radius: 7px; color: #3868bb; background: #edf3ff; font-size: 10px; }
.tag.avoid { color: #bd514c; background: #fff0ef; }
.tag.notice { color: #378257; background: #edf8f1; }
.tag.dialogue { color: #7254b9; background: #f2efff; }
.post-row h3, .channel-copy h3 { display: -webkit-box; margin: 0 0 5px; overflow: hidden; font-size: 14px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-row p, .channel-copy p { display: -webkit-box; margin: 0 0 7px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-row small, .channel-copy small { color: #aaa49a; font-size: 9px; }

.filter-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 15px; }
.filter-tabs button, .filter-tabs a { display: grid; place-items: center; padding: 10px 1px; border: 1px solid transparent; border-radius: 11px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; }
.filter-tabs button.active { border-color: #222; color: #fff; background: #222; font-weight: 700; }
.filter-tabs a { color: #333; background: #f1f1f1; }
.home-avoid-list { display: grid; gap: 12px; }
.channel-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; align-items: stretch; }
.channel-list > .full-card { grid-column: 1 / -1; }
.list-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 7px 20px rgba(20,20,20,.05); }
.list-card-media { width: 100%; height: 220px; border-radius: 16px 16px 0 0; object-fit: cover; }
.list-card.qr-crop, .list-card > .qr-crop { border-radius: 0; }
.list-card > .qr-crop.list-card-media { height: 176px; }
.agent-shot.list-card-media { height: 220px; border-radius: 16px 16px 0 0; }
.list-card-copy { margin-top: auto; padding: 10px 10px 12px; }
.list-card-copy h3 { display: -webkit-box; min-height: 42px; margin: 0 0 6px; overflow: hidden; font-size: 13px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.list-card-copy p { display: -webkit-box; min-height: 44px; margin: 0 0 8px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.list-card-copy small { color: #aaa49a; font-size: 9px; }
.expansion-card, .dialogue-card { height: 310px; }
.dialogue-card .list-card-media { object-fit: cover; object-position: center; }
.avoid-long-card { height: auto; }
.avoid-long-card time { padding: 15px 16px 11px; color: #aaa; font-size: 13px; font-weight: 600; }
.avoid-long-image { width: 100%; aspect-ratio: 16 / 7.2; object-fit: cover; object-position: top center; }
.avoid-long-card .list-card-copy h3 { min-height: 0; font-size: 16px; }
.home-avoid-list .avoid-long-card { width: 100%; }
.channel-list.channel-agent-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.channel-agent-grid .agent-card .qr-crop { height: 218px; }
.channel-agent-grid .agent-copy { padding: 11px 11px 13px; }
.channel-agent-grid .agent-copy h3 { min-height: 41px; margin-top: 1px; }
.channel-agent-grid .agent-copy p { display: -webkit-box; min-height: 44px; margin: 0 0 8px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.channel-agent-grid .agent-copy small { color: #aaa49a; font-size: 9px; }
.channel-card { display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 12px; min-height: 130px; padding: 11px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(20, 20, 20, .05); cursor: pointer; }
.channel-image, .channel-card .channel-qr { width: 126px; height: 108px; border-radius: 13px; object-fit: cover; }
.channel-card .channel-qr img { height: 100%; }
.channel-copy { min-width: 0; padding-top: 1px; }
.empty-state { grid-column: 1 / -1; display: grid; place-items: center; gap: 6px; padding: 50px 20px; border: 1px dashed #ded8cd; border-radius: 18px; color: var(--muted); }
.empty-state b { color: var(--ink); }
.empty-state span { font-size: 12px; }

.detail-page { min-height: 100svh; padding: 0 0 24px; background: #fff; }
.detail-head { position: sticky; z-index: 5; top: 0; height: 64px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.detail-head h1 { margin: 0; text-align: center; font-size: 19px; }
.detail-head button { width: 40px; height: 40px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.detail-article { padding: 24px 18px 10px; }
.detail-article > h2 { margin: 0 0 13px; font-size: 25px; line-height: 1.35; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 11px; }
.detail-meta .tag { margin: 0; }
.detail-meta .eye { width: 16px; height: 16px; margin-left: auto; }
.detail-views { margin-left: auto; }
.detail-image { width: 100%; max-height: 360px; border-radius: 18px; object-fit: cover; }
.detail-agent-shot { width: min(100%, 420px); height: min(520px, 70vh); margin: 0 auto 18px; border: 1px solid var(--line); border-radius: 18px; background: #f5f5f5; }
.detail-qr { padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: #f4f4f2; }
.detail-qr .qr-crop { width: min(100%, 320px); height: 480px; margin: auto; border-radius: 15px; }
.article-body { padding: 9px 1px; }
.article-body p { margin: 17px 0; font-size: 15px; line-height: 1.9; }
.wx-article { color: #242424; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.9; letter-spacing: .01em; }
.wx-article p { margin: 18px 0; font-size: 15px; line-height: 1.9; text-align: justify; }
.wx-article .wx-lead { font-weight: 600; }
.wx-article h3 { position: relative; margin: 34px 0 16px; padding-left: 17px; color: #222; font-size: 17px; font-weight: 800; line-height: 1.5; }
.wx-article h3::before { content: ""; position: absolute; top: .55em; left: 1px; width: 8px; height: 8px; border-radius: 50%; background: #c94f54; box-shadow: 0 0 0 4px #f9e9e9; }
.wx-article strong { font-weight: 800; }
.wx-center { text-align: center !important; }
.wx-red { color: #c5403b; font-weight: 700; }
.wx-underline { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.wx-evidence { width: 100%; height: auto; margin: 17px 0 23px; border-radius: 3px; object-fit: contain; }
.wx-article ol { margin: 14px 0 20px; padding-left: 24px; }
.wx-article li { margin: 10px 0; padding-left: 3px; line-height: 1.85; }
.wx-source-note { margin: 30px 0 5px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; color: #777; background: #f7f7f7; font-size: 11px; line-height: 1.7; }
.paonan-article { font-size: 15px; line-height: 1.9; }
.paonan-article h3 { margin-top: 30px; color: #222; }
.paonan-article h3::before { background: #cf4f4a; box-shadow: 0 0 0 4px #faeceb; }
.paonan-article .paonan-red { color: #c94843; }
.paonan-article .wx-evidence { margin: 18px 0 24px; border-radius: 8px; }
.pdf-article { display: grid; gap: 14px; }
.pdf-page-crop { position: relative; width: 100%; margin: 0; overflow: hidden; background: #fff; }
.pdf-page-crop img { position: absolute; top: 0; left: 0; width: 100%; max-width: none; height: auto; }
.chat-demo { padding: 18px 12px; border-radius: 18px; background: #f2f2f0; }
.chat-line { display: flex; align-items: flex-start; gap: 8px; margin: 9px 0; }
.chat-line.right { justify-content: flex-end; }
.chat-line img, .chat-avatar { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }
.chat-avatar { display: grid; place-items: center; color: #f7e4b9; background: #222; font-size: 12px; }
.chat-line span { max-width: 72%; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: 12px; line-height: 1.5; }
.chat-line.right span { background: #dedede; }
.chat-demo time { display: block; color: #aaa; text-align: center; font-size: 9px; }

.comments-section { margin: 10px 18px 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.comment-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.comment-title h2 { margin: 0; font-size: 18px; }
.comment-title h2 small { color: var(--muted); font-weight: 400; }
.comment-title span { color: var(--muted); font-size: 10px; }
.comment-editor { display: grid; grid-template-columns: 38px 1fr auto; gap: 8px; align-items: center; }
.comment-editor img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.comment-editor input { min-width: 0; height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; outline: none; background: var(--soft); }
.comment-editor button { padding: 10px 13px; border: 0; border-radius: 99px; color: #fff; background: var(--ink); font-size: 11px; }
.comment-list { margin-top: 18px; }
.comment-list article { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid #f0ede7; }
.comment-list img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.comment-list b { font-size: 12px; }
.comment-list p { margin: 4px 0; font-size: 13px; }
.comment-list small { color: var(--muted); font-size: 9px; }
.empty-comment { padding: 24px; color: var(--muted); text-align: center; font-size: 12px; }
.detail-actions { position: fixed; z-index: 10; right: 0; left: 0; bottom: 0; width: 100%; max-width: 520px; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding: 9px 7px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(15px); }
.detail-actions button, .detail-actions a { min-height: 50px; display: grid; place-items: center; gap: 4px; padding: 2px 0; border: 0; color: #4e4a43; background: transparent; cursor: pointer; }
.detail-actions button > span, .detail-actions a > span { width: 25px; height: 25px; display: block; overflow: visible; }
.detail-actions button > b, .detail-actions a > b { font-size: 10px; font-weight: 500; line-height: 1; }
.detail-actions svg { width: 100%; height: 100%; }
.detail-actions .wechat-action-icon, .detail-actions .wechat-action-icon svg { overflow: visible; }
.detail-actions .wechat-action-icon { padding: 1px; }
.detail-actions .qq-action-icon { width: 25px; height: 25px; }

.service-cover { position: relative; margin-bottom: 16px; overflow: hidden; border-radius: 22px; background: #17140f; }
.service-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(17,14,10,.72)); pointer-events: none; }
.service-cover > img { width: 100%; height: 224px; border-radius: 22px; object-fit: cover; }
.service-cover > img { filter: grayscale(.12) saturate(.9); }
.service-design-hero { position: relative; width: 100%; aspect-ratio: 881 / 542; margin-bottom: 16px; overflow: hidden; border: 1px solid #dfe8f1; border-radius: 22px; background: #eef8ff; box-shadow: 0 10px 28px rgba(58,124,199,.08); }
.service-design-hero img { position: absolute; top: 0; left: -3.405%; width: 106.81%; max-width: none; transform: translateY(-6.88%); }
.cover-profile { position: absolute; z-index: 1; left: 18px; bottom: 17px; display: flex; align-items: center; gap: 11px; }
.cover-profile > img { width: 66px; height: 66px; padding: 2px; border: 2px solid rgba(255,255,255,.9); border-radius: 17px; object-fit: cover; box-shadow: 0 8px 25px rgba(0,0,0,.24); }
.cover-profile b { display: block; margin-bottom: 5px; color: #fff; font-size: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.cover-profile span { color: rgba(255,255,255,.76); font-size: 10px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.service-notice { display: flex; gap: 9px; margin-bottom: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: #666; background: #f6f6f6; font-size: 11px; line-height: 1.55; }
.service-notice > span { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold); }
.contact-list { display: grid; gap: 11px; }
.contact-list article { display: grid; grid-template-columns: 46px 1fr auto; gap: 11px; align-items: center; padding: 15px 13px; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 6px 18px rgba(49,40,27,.05); }
.contact-symbol { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: #fff; font-weight: 900; }
.contact-symbol svg { width: 32px; height: 32px; color: #fff; }
.contact-symbol.wechat { background: #31b65c; }.contact-symbol.qq { background: #3e9be7; }.contact-symbol.group { background: #7075d8; }
.contact-list h3 { margin: 0 0 4px; font-size: 14px; }
.contact-list p { margin: 0; color: var(--muted); font-size: 10px; }
.contact-list button { max-width: 88px; padding: 8px 9px; border: 1px solid #333; border-radius: 99px; color: #fff; background: #222; font-size: 9px; }
.service-content { padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-grid article { min-height: 88px; display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; padding: 13px; border: 1px solid #e6ebf1; border-radius: 15px; background: linear-gradient(145deg, #f9fbff, #f1f6fc); }
.service-grid-icon { width: 48px; height: 48px; display: grid; place-items: center; padding: 8px; border-radius: 15px; color: var(--accent-blue); background: #edf3ff; box-shadow: 0 5px 14px rgba(58,124,199,.12); }
.service-grid article:nth-child(2) .service-grid-icon { color: var(--accent-green); background: #ebf8f0; }
.service-grid article:nth-child(3) .service-grid-icon { color: #cf5d57; background: #fff0ef; }
.service-grid article:nth-child(4) .service-grid-icon { color: var(--accent-purple); background: #f2efff; }
.service-grid-icon svg { width: 100%; height: 100%; }
.service-grid b { display: block; margin-bottom: 5px; font-size: 13px; }.service-grid small { color: var(--muted); font-size: 10px; }

.about-hero { position: relative; padding: 25px 21px; overflow: hidden; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #211d16, #0d0d0c); }
.about-hero::after { content: "岑"; position: absolute; right: -5px; bottom: -48px; color: rgba(255,255,255,.05); font-family: serif; font-size: 160px; }
.about-hero > p { margin: 0 0 10px; color: #bdbdbd; font-size: 10px; letter-spacing: .16em; }
.about-hero h2 { margin: 0 0 13px; font-size: 28px; line-height: 1.25; }.about-hero h2 span { color: #dedede; }
.about-hero div { position: relative; z-index: 1; max-width: 330px; color: #c8c1b5; font-size: 11px; line-height: 1.7; }
.about-block { margin-top: 21px; }.about-block > h2 { margin: 0 0 11px; font-size: 17px; }
.plain-card { padding: 17px; border: 1px solid var(--line); border-radius: 17px; color: #6e685e; background: #fff; font-size: 12px; line-height: 1.8; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.value-grid article { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.value-grid b { color: var(--accent-blue); font-family: Georgia, serif; font-size: 18px; }.value-grid article:nth-child(2) b { color: var(--accent-green); }.value-grid article:nth-child(3) b { color: var(--accent-orange); }.value-grid article:nth-child(4) b { color: var(--accent-purple); }.value-grid h3 { margin: 12px 0 5px; font-size: 13px; }.value-grid p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.process-list { padding: 5px 16px; border: 1px solid var(--line); border-radius: 17px; }
.process-list article { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: start; padding: 13px 0; border-bottom: 1px solid #f0ede7; }.process-list article:last-child { border-bottom: 0; }
.process-list article > b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #3868bb; background: #edf3ff; font-size: 10px; }.process-list article:nth-child(2) > b { color: #378257; background: #edf8f1; }.process-list article:nth-child(3) > b { color: #b96d25; background: #fff4e8; }.process-list article:nth-child(4) > b { color: #6b55b4; background: #f2efff; }.process-list h3 { margin: 1px 0 4px; font-size: 12px; }.process-list p { margin: 0; color: var(--muted); font-size: 10px; }

.mine-page { background: radial-gradient(circle at 50% 2%, #f1f1f1 0, #fff 34%); }
.mine-profile { position: relative; height: 222px; overflow: hidden; border: 1px solid #d8d8d8; border-radius: 25px; background: #efefef; box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.mine-profile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(247,247,247,.9) 42%, rgba(238,238,238,.16) 78%); pointer-events: none; }
.mine-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(.3) saturate(.7); }
.mine-user { position: absolute; z-index: 1; left: 18px; right: 17px; top: 50%; display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 12px; align-items: center; transform: translateY(-50%); }
.mine-user > img { width: 76px; height: 76px; padding: 3px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 7px 20px rgba(103,72,30,.18); }
.mine-user h2 { margin: 0 0 6px; color: #1e1b17; font-size: 19px; }.mine-user p { max-width: 165px; margin: 0; color: #746b60; font-size: 10px; line-height: 1.5; }
.mine-user > button.login-small { min-width: 64px; height: 38px; padding: 0 17px; border: 0; border-radius: 99px; color: #fff; background: linear-gradient(135deg, #181818, #735629); box-shadow: 0 7px 18px rgba(0,0,0,.16); font-size: 12px; font-weight: 700; }
.mine-quick { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 15px; padding: 16px 7px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 9px 26px rgba(0,0,0,.05); }
.mine-quick button, .mine-quick a { min-width: 0; display: grid; place-items: center; gap: 5px; padding: 0 3px; border: 0; border-right: 1px solid #eee8df; background: transparent; text-align: center; }
.mine-quick > :last-child { border-right: 0; }
.mine-quick span { width: 39px; height: 39px; display: grid; place-items: center; padding: 9px; border-radius: 13px; color: var(--accent-blue); background: #edf3ff; }
.mine-quick > :nth-child(2) span { color: var(--accent-orange); background: #fff4e8; }
.mine-quick > :nth-child(3) span { color: var(--accent-purple); background: #f2efff; }
.mine-quick > :nth-child(4) span { color: var(--accent-green); background: #ebf8f0; }
.mine-quick svg { width: 100%; height: 100%; }
.mine-quick b { width: 100%; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mine-quick small { color: #9f978c; font-size: 8px; }
.menu-list { margin-top: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.menu-list button { width: 100%; min-height: 68px; display: grid; grid-template-columns: 39px 1fr 18px; gap: 12px; align-items: center; padding: 11px 16px; border: 0; border-bottom: 1px solid #efebe4; background: #fff; text-align: left; cursor: pointer; }
.menu-list button:last-child { border-bottom: 0; }
.menu-list button:active { background: #f5f5f5; }
.menu-icon { width: 38px; height: 38px; display: grid; place-items: center; padding: 8px; border-radius: 50%; color: var(--accent-blue); background: #edf3ff; }
.menu-list button:nth-child(2) .menu-icon { color: var(--accent-green); background: #ebf8f0; }
.menu-list button:nth-child(3) .menu-icon { color: var(--accent-purple); background: #f2efff; }
.menu-list button:nth-child(4) .menu-icon { color: var(--accent-orange); background: #fff4e8; }
.menu-icon svg { width: 100%; height: 100%; }
.menu-copy { min-width: 0; display: grid; gap: 3px; }
.menu-copy b { font-size: 14px; font-weight: 600; }
.menu-copy small { color: var(--muted); font-size: 9px; }
.menu-arrow { width: 18px; height: 18px; color: #c8c3ba; }
.feedback-card { width: 100%; min-height: 86px; display: grid; grid-template-columns: 46px minmax(0,1fr) 18px; gap: 13px; align-items: center; margin-top: 15px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 21px; color: #222; background: linear-gradient(120deg,#fff,#f1f1f1); text-align: left; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.feedback-icon { width: 46px; height: 46px; display: grid; place-items: center; padding: 11px; border-radius: 50%; color: var(--accent-blue); background: #edf3ff; box-shadow: 0 4px 12px rgba(79,126,216,.1); }
.feedback-card svg { width: 100%; height: 100%; }.feedback-card b { display: block; margin-bottom: 5px; font-size: 15px; }.feedback-card small { display: block; color: #777; font-size: 9px; line-height: 1.5; }.feedback-card i { color: #999; font-size: 22px; font-style: normal; }
.logout-button { width: 100%; height: 48px; margin-top: 13px; border: 1px solid #e7b6b1; border-radius: 16px; color: #c4554d; background: #fffafa; font-size: 13px; font-weight: 700; }

.rank-page { padding-top: 28px; background: radial-gradient(circle at 50% 5%, #f1f1f1 0, #fff 34%); }
.rank-header { text-align: center; }
.rank-header > p { margin: 0 0 8px; color: #555; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.rank-header h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 32px; letter-spacing: .06em; }
.rank-header h1 span { color: #444; font-size: 17px; vertical-align: 5px; }
.rank-header > small { display: block; margin-top: 8px; color: #a39a8c; font-size: 10px; }
.rank-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 23px 0 15px; padding: 4px; border: 1px solid #ddd; border-radius: 99px; background: rgba(255,255,255,.9); }
.rank-tabs button { height: 40px; border: 0; border-radius: 99px; color: #222; background: transparent; cursor: pointer; font-size: 13px; }
.rank-tabs button.active { color: #fff; background: #111; box-shadow: 0 5px 16px rgba(0,0,0,.16); font-weight: 800; }
.rank-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; margin: 23px 0 18px; }
.podium-card { position: relative; min-width: 0; min-height: 204px; display: flex; flex-direction: column; align-items: center; padding: 9px 7px 15px; border: 1px solid #eee4d3; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: 0 12px 28px rgba(82,57,22,.07); }
.podium-card.gold { min-height: 237px; padding-top: 4px; border-color: #aaa; background: linear-gradient(180deg, #fff, #f1f1f1); box-shadow: 0 15px 34px rgba(0,0,0,.1); }
.rank-crown, .silver .rank-crown, .bronze .rank-crown { height: 30px; color: #111; font-size: 30px; line-height: 1; }
.podium-avatar { position: relative; width: 70px; height: 70px; margin: 0 auto 12px; padding: 3px; border: 2px solid #c6974e; border-radius: 50%; background: #fff; }
.gold .podium-avatar { width: 82px; height: 82px; border-color: #8b7147; box-shadow: 0 0 0 6px #e8e8e8; }
.silver .podium-avatar { border-color: #aeb3b9; }.bronze .podium-avatar { border-color: #c78863; }
.podium-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.podium-avatar b { position: absolute; left: 50%; bottom: -12px; width: 28px; height: 28px; display: grid; place-items: center; transform: translateX(-50%); border: 2px solid #fff; border-radius: 50%; color: #fff; background: #111; font-family: Georgia, serif; font-size: 15px; }
.silver .podium-avatar b, .bronze .podium-avatar b { background: #111; }
.podium-card h2 { width: 100%; margin: 5px 0 7px; overflow: hidden; text-align: center; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.podium-card > strong { color: #3b3124; font-family: Georgia, serif; font-size: 22px; line-height: 1.1; }.podium-card.gold > strong { color: #7a5016; font-size: 27px; }
.podium-card > small { margin-top: 6px; color: #a49a8c; font-size: 9px; }
.rank-list { display: grid; gap: 10px; }
.rank-list article { min-height: 72px; display: grid; grid-template-columns: 30px 50px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid #eee8df; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 7px 20px rgba(59,45,25,.05); }
.rank-list article > b { color: #111; font-family: Georgia, serif; font-size: 22px; }
.rank-list article > img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: #ededed; }
.rank-list h3 { margin: 0 0 4px; font-size: 14px; }.rank-list div small { color: #aaa297; font-size: 9px; }
.rank-list article > strong { color: #4a4033; text-align: right; font-family: Georgia, serif; font-size: 19px; }
.rank-list article > strong small { display: block; margin-top: 3px; color: #aaa297; font-family: inherit; font-size: 8px; font-weight: 400; }
.rank-update { margin: 19px 0 0; color: #aaa39a; text-align: center; font-size: 10px; letter-spacing: .05em; }
.rank-update span { color: #111; }

.bottom-nav { position: fixed; z-index: 20; right: 0; left: 0; bottom: 0; width: 100%; max-width: 520px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 0 auto; padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px rgba(0,0,0,.06); backdrop-filter: blur(16px); }
.bottom-nav .nav-item { min-width: 0; display: grid; place-items: center; gap: 3px; padding: 2px 0; border: 0; color: #89837a; background: transparent; cursor: pointer; }
.bottom-nav .nav-item > span, .bottom-nav .nav-item > img { width: 23px; height: 23px; display: grid; place-items: center; object-fit: contain; }.bottom-nav .nav-item > img, .bottom-nav #channel-nav-icon img { width: 23px; height: 23px; object-fit: contain; transform: scale(1.3); }
.bottom-nav b { max-width: 74px; overflow: hidden; font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }.bottom-nav .nav-item.active { color: #111; }.bottom-nav .nav-item.active b { font-weight: 800; }

.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: end center; padding: 18px; background: rgba(20,18,14,.42); backdrop-filter: blur(3px); }
.modal-card { width: min(100%, 480px); max-height: calc(100svh - 24px); overflow-y: auto; padding: 21px; border-radius: 24px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.modal-backdrop.sheet-backdrop { padding: 0; }
.login-sheet { width: min(100%, 520px); padding: 14px 22px calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; animation: sheet-up .28s cubic-bezier(.22,.75,.24,1); }
.profile-sheet { width: min(100%, 520px); padding: 14px 22px calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; animation: sheet-up .28s cubic-bezier(.22,.75,.24,1); }
.sheet-handle { width: 42px; height: 4px; margin: 0 auto 17px; border-radius: 99px; background: #d7d2c9; }
@keyframes sheet-up { from { transform: translateY(100%); opacity: .5; } to { transform: translateY(0); opacity: 1; } }
.modal-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 18px; }.modal-head p { margin: 0 0 4px; color: var(--gold); font-size: 9px; letter-spacing: .15em; }.modal-head h2 { margin: 0; font-size: 21px; }.modal-head button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 20px; }
.modal-card > label { display: grid; gap: 7px; margin: 13px 0; color: #666; font-size: 11px; }.modal-card input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 13px; outline: none; background: var(--soft); font-size: 16px; }.modal-card input:focus { border-color: #333; box-shadow: 0 0 0 3px #e9e9e9; }
.form-stack { display: grid; gap: 21px; margin: 7px 0 22px; }
.form-field { min-width: 0; display: grid; gap: 9px; margin: 0; color: #6d665c; font-size: 11px; }
.form-field > span { font-weight: 600; letter-spacing: .02em; }
.code-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; }.code-field button { padding: 0 12px; border: 1px solid #aaa; border-radius: 12px; color: #222; background: #f3f3f3; font-size: 10px; }
.primary-button { width: 100%; height: 47px; margin-top: 7px; border: 0; border-radius: 14px; color: #fff; background: #1b1915; font-weight: 700; }.modal-tip { display: block; margin-top: 10px; color: #aaa39a; text-align: center; font-size: 9px; }
.profile-form { display: grid; gap: 22px; margin: 4px 0 22px; }
.avatar-picker { position: relative; display: grid; gap: 8px; place-items: center; margin: 0; padding: 3px 0; }.avatar-picker img { width: 82px; height: 82px; border-radius: 50%; object-fit: cover; }.avatar-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }.avatar-picker span { color: var(--gold-dark); font-size: 10px; }
.info-body { margin: 0 0 18px; color: #6e685e; font-size: 13px; line-height: 1.8; }
.info-modal > p { margin: 0 0 14px; color: #6e685e; font-size: 13px; line-height: 1.8; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 92px; padding: 10px 16px; transform: translate(-50%, 12px); border-radius: 99px; color: #fff; background: rgba(24,22,18,.92); opacity: 0; pointer-events: none; transition: .2s ease; font-size: 11px; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 700px) {
  body { background: #fff; }
  .site-shell { border-inline: 1px solid #eee9e0; box-shadow: 0 0 50px rgba(41,33,22,.06); }
}
@media (max-width: 380px) {
  .page { padding-inline: 14px; }.profile-head { gap: 9px; }.brand-avatar { width: 54px; height: 54px; }.profile-head h1 { font-size: 20px; }.profile-head p { font-size: 9px; }.brand-motto { gap: 4px; padding-left: 7px; }.brand-motto b, .brand-motto span { font-size: 10.5px; }.brand-motto b::after { margin-left: 4px; }.game-entry img { width: 54px; height: 54px; }.post-row, .channel-card { grid-template-columns: 105px minmax(0,1fr); }.post-row > img, .channel-image, .channel-card .channel-qr { width: 105px; }.contact-list article { grid-template-columns: 42px 1fr auto; }.contact-symbol { width: 42px; height: 42px; }.agent-card .qr-crop { height: 145px; }.list-card-media, .list-card > .qr-crop.list-card-media { height: 164px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
