:root {
  color-scheme: light;
  --ink: #211b38;
  --muted: #89849d;
  --soft: #f6f4fb;
  --line: #ece9f3;
  --purple: #7658de;
  --purple-dark: #6042c5;
  --purple-light: #eee9ff;
  --mint: #dff5ee;
  --gold: #f4d68c;
  --surface: #ffffff;
  --shadow: 0 16px 44px rgba(39, 25, 86, .075);
  font-family: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { background: #f8f7fb; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #f8f7fb; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(118, 88, 222, .28); outline-offset: 2px; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; width: 236px; flex-direction: column;
  padding: 28px 18px 20px; border-right: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 3px 8px 28px; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg,#9278ef,#6242c5); box-shadow: 0 7px 16px rgba(103,72,205,.24); }
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-size: 15px; font-weight: 800; letter-spacing: -.35px; }
.brand-caption { display: block; margin-top: 2px; color: #a19bb2; font-size: 10px; letter-spacing: 1.1px; }
.nav-label { margin: 17px 11px 8px; color: #b2adbf; font-size: 10px; font-weight: 700; letter-spacing: 1.1px; }
.side-nav { display: grid; gap: 4px; }
.nav-link { display: flex; min-height: 44px; align-items: center; gap: 12px; padding: 0 12px; border-radius: 12px; color: #77718c; font-size: 13px; font-weight: 600; transition: .18s ease; }
.nav-link:hover { color: var(--purple-dark); background: #f8f6ff; }
.nav-link.active { color: var(--purple-dark); background: #f0ecff; }
.nav-icon { display: grid; width: 22px; place-items: center; font-size: 18px; line-height: 1; }
.nav-link .count { margin-left: auto; padding: 2px 7px; border-radius: 20px; color: #8065d5; background: #e8e1ff; font-size: 10px; }
.sidebar-note { margin-top: auto; padding: 14px; border: 1px solid #eee9ff; border-radius: 15px; background: linear-gradient(145deg,#faf8ff,#f2edff); }
.sidebar-note strong { display: block; margin-bottom: 5px; font-size: 12px; }
.sidebar-note p { margin: 0; color: #88819d; font-size: 11px; line-height: 1.6; }
.sidebar-note .note-link { display: inline-flex; margin-top: 9px; color: var(--purple); font-size: 11px; font-weight: 700; }

.main-column { min-height: 100vh; margin-left: 236px; }
.topbar { position: sticky; top: 0; z-index: 8; display: flex; height: 70px; align-items: center; justify-content: space-between; padding: 0 clamp(24px,4vw,60px); border-bottom: 1px solid rgba(236,233,243,.8); background: rgba(248,247,251,.88); backdrop-filter: blur(16px); }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.breadcrumb { color: #9690a5; font-size: 12px; }
.breadcrumb strong { color: #4b4265; font-weight: 700; }
.demo-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e7e1ff; border-radius: 99px; color: #7155d3; background: #f3f0ff; font-size: 10px; font-weight: 700; letter-spacing: .3px; }
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: #8b70e9; box-shadow: 0 0 0 3px rgba(139,112,233,.12); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.icon-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; }
.icon-button:hover { border-color: #d9d0f6; color: var(--purple); }
.icon-button svg { width: 17px; height: 17px; }
.top-avatar { display: grid; width: 37px; height: 37px; place-items: center; border: 2px solid white; border-radius: 50%; color: #6149a8; background: linear-gradient(145deg,#dcd2ff,#f6dcec); box-shadow: 0 0 0 1px #e6e0f4; font-size: 14px; font-weight: 800; }
.mobile-brand { display: none; }
.page-wrap { width: min(100%, 1440px); margin: 0 auto; padding: 34px clamp(24px,4vw,60px) 86px; }
.page { animation: page-in .24s ease both; }
@keyframes page-in { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #8872d8; font-size: 10px; font-weight: 800; letter-spacing: 1.25px; text-transform: uppercase; }
.eyebrow::before { width: 18px; height: 1px; background: currentColor; content: ''; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(25px,3vw,34px); font-weight: 800; letter-spacing: -1.15px; line-height: 1.22; }
.page-heading p { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 31px 0 15px; }
.section-heading h2 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.25px; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.text-link { border: 0; color: var(--purple); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.text-link:hover { color: var(--purple-dark); }
.primary-button, .secondary-button, .quiet-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 0; border-radius: 11px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .18s ease; }
.primary-button { color: white; background: linear-gradient(120deg,#886de7,#6747ca); box-shadow: 0 7px 17px rgba(107,78,201,.18); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(107,78,201,.23); }
.primary-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.secondary-button { color: #6651b5; border: 1px solid #e7e1fa; background: #f7f4ff; }
.secondary-button:hover { background: #eee9ff; }
.quiet-button { color: #77718b; border: 1px solid var(--line); background: white; }
.quiet-button:hover { border-color: #dcd5ef; color: #5f48b7; }
.button-small { min-height: 33px; padding: 0 12px; border-radius: 9px; font-size: 11px; }

.welcome-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(270px,.9fr); gap: 16px; }
.welcome-card { position: relative; overflow: hidden; min-height: 223px; padding: 28px 30px; border-radius: 22px; color: white; background: radial-gradient(circle at 84% 22%,rgba(210,190,255,.65),transparent 25%), linear-gradient(117deg,#4e3e88 0%,#7659cf 57%,#967be5 100%); box-shadow: 0 16px 34px rgba(79,59,137,.17); }
.welcome-card::after { position: absolute; right: -30px; bottom: -110px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.03); content: ''; }
.welcome-card > * { position: relative; z-index: 1; }
.welcome-card .eyebrow { color: #ded5ff; }
.welcome-card h2 { max-width: 540px; margin: 3px 0 9px; font-size: clamp(22px,2.8vw,30px); letter-spacing: -.8px; line-height: 1.35; }
.welcome-card p { max-width: 450px; margin-bottom: 18px; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.7; }
.welcome-card .primary-button { color: #5e48a7; background: white; box-shadow: none; }
.welcome-decoration { position: absolute; right: 54px; top: 46px; display: grid; width: 98px; height: 126px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50% 50% 45% 45%; color: rgba(255,255,255,.9); background: linear-gradient(145deg,rgba(255,255,255,.19),rgba(255,255,255,.03)); box-shadow: inset 0 0 30px rgba(255,255,255,.14),0 12px 32px rgba(31,17,84,.2); transform: rotate(12deg); }
.welcome-decoration::before, .welcome-decoration::after { position: absolute; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; content: ''; }
.welcome-decoration::before { inset: 13px -15px; transform: rotate(-24deg); }
.welcome-decoration::after { inset: -10px 18px; transform: rotate(27deg); }
.welcome-decoration span { font-size: 43px; text-shadow: 0 2px 18px rgba(255,255,255,.5); }
.stat-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-card { display: flex; min-height: 105px; flex-direction: column; justify-content: space-between; padding: 16px 17px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #918aa5; font-size: 11px; }
.stat-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: #745ad0; background: #f0ecff; font-size: 14px; }
.stat-card strong { font-size: 23px; letter-spacing: -.5px; }
.stat-card small { margin-left: 5px; color: #aaa5b5; font-size: 10px; font-weight: 500; }
.stat-trend { color: #59a58e; font-size: 10px; }

.featured-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 15px; margin-top: 16px; }
.featured-panel { display: flex; min-height: 162px; align-items: center; gap: 20px; overflow: hidden; padding: 18px 23px; border: 1px solid #ebe5ff; border-radius: 18px; background: linear-gradient(110deg,#fff,#f3efff); }
.featured-copy { min-width: 0; flex: 1; }
.featured-copy .eyebrow { margin-bottom: 7px; }
.featured-copy h3 { margin: 0 0 6px; font-size: 17px; }
.featured-copy p { margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.featured-art { width: 100px; flex: 0 0 100px; }
.featured-art .cover { height: 126px; border-radius: 14px; box-shadow: 0 9px 20px rgba(70,48,126,.2); transform: rotate(3deg); }
.notice-card { display: flex; align-items: flex-start; gap: 12px; padding: 21px; border: 1px solid #e4f0ec; border-radius: 18px; background: linear-gradient(120deg,#f4fbf8,#fff); }
.notice-mark { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #398c76; background: #e0f4ed; font-size: 17px; }
.notice-card strong { display: block; margin: 1px 0 6px; font-size: 13px; }
.notice-card p { margin: 0; color: #7d958c; font-size: 11px; line-height: 1.65; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 15px 0 16px; }
.search-box { display: flex; width: min(100%, 270px); height: 39px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.search-box svg { width: 15px; height: 15px; flex: 0 0 auto; color: #a29bae; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #aaa5b5; }
.filter-select { height: 39px; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 10px; color: #69637d; background: white; font-size: 11px; cursor: pointer; }
.result-count { margin-left: auto; color: #9993a7; font-size: 11px; }
.activity-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.activity-card { overflow: hidden; min-width: 0; border: 1px solid #eeeaf3; border-radius: 17px; background: white; box-shadow: 0 4px 14px rgba(43,31,76,.025); transition: .2s ease; cursor: pointer; }
.activity-card:hover { transform: translateY(-3px); border-color: #ddd4fa; box-shadow: 0 14px 28px rgba(49,34,94,.09); }
.cover { position: relative; display: block; overflow: hidden; width: 100%; height: 230px; isolation: isolate; border-radius: 0; background: radial-gradient(circle at 30% 18%,rgba(255,255,255,.72),transparent 25%),linear-gradient(145deg,var(--c1),var(--c2) 55%,var(--c3)); }
.cover::before { position: absolute; inset: 10px; z-index: 1; border: 1px solid rgba(255,255,255,.35); border-radius: inherit; content: ''; pointer-events: none; }
.cover::after { position: absolute; right: -25%; bottom: -50%; width: 90%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 15px rgba(255,255,255,.04),0 0 0 34px rgba(255,255,255,.035); content: ''; }
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-badge { position: absolute; top: 13px; left: 13px; z-index: 2; padding: 5px 8px; border: 1px solid rgba(255,255,255,.43); border-radius: 99px; color: white; background: rgba(37,27,77,.17); backdrop-filter: blur(8px); font-size: 9px; font-weight: 700; }
.cover-number { position: absolute; right: 13px; bottom: 12px; z-index: 2; color: rgba(255,255,255,.8); font-size: 9px; letter-spacing: 1px; }
.activity-card .cover { height: 202px; }
.activity-card-body { padding: 13px 14px 14px; }
.card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card-title-row h3 { overflow: hidden; margin: 0; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.series-tag { flex: 0 0 auto; padding: 4px 7px; border-radius: 6px; color: #80729e; background: #f5f2fa; font-size: 9px; }
.card-owner { overflow: hidden; margin: 7px 0 12px; color: #a09aac; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.card-stats { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #f1eef5; }
.score-label { color: #a29bae; font-size: 9px; }
.score-value { display: block; margin-top: 3px; color: #493871; font-size: 15px; font-weight: 800; }
.activity-state { display: inline-flex; align-items: center; gap: 5px; color: #55a48d; font-size: 9px; font-weight: 700; }
.activity-state::before { width: 5px; height: 5px; border-radius: 50%; background: #5eb99d; content: ''; }
.activity-state.upcoming { color: #c48e3e; }
.activity-state.upcoming::before { background: #e0ad58; }
.activity-state.ended { color: #a49daf; }
.activity-state.ended::before { background: #b5b0be; }
.countdown { color: #928ba0; font-size: 10px; }
.empty-state { grid-column: 1/-1; padding: 38px 20px; border: 1px dashed #ddd7e9; border-radius: 15px; color: #9690a3; background: rgba(255,255,255,.55); text-align: center; font-size: 12px; }

.hall-banner { position: relative; overflow: hidden; display: flex; min-height: 228px; align-items: center; padding: 28px 34px; border-radius: 23px; color: white; background: radial-gradient(circle at 76% 24%,rgba(208,194,255,.75),transparent 20%),linear-gradient(115deg,#342756,#5e4a9d 58%,#816cce); }
.hall-banner::before { position: absolute; right: 2%; top: -75%; width: 390px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.04),0 0 0 60px rgba(255,255,255,.035); content: ''; }
.hall-banner-copy { position: relative; z-index: 1; max-width: 590px; }
.hall-banner .eyebrow { color: #d6ceff; }
.hall-banner h1 { margin-bottom: 10px; }
.hall-banner p { max-width: 500px; margin-bottom: 18px; color: rgba(255,255,255,.74); font-size: 12px; line-height: 1.7; }
.hall-banner .quiet-button { border-color: rgba(255,255,255,.25); color: white; background: rgba(255,255,255,.1); }
.rule-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 15px; }
.rule-card { padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.rule-card span { display: block; margin-bottom: 7px; color: #a19aac; font-size: 10px; }
.rule-card strong { font-size: 12px; line-height: 1.5; }
.rule-card .rule-mark { display: inline-grid; width: 24px; height: 24px; margin-right: 7px; place-items: center; border-radius: 8px; color: #765ccf; background: #f0ecff; font-size: 11px; vertical-align: middle; }

.tools-tabs { display: flex; gap: 7px; margin: 17px 0; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.tab-button { min-height: 35px; padding: 0 13px; border: 0; border-radius: 9px; color: #888297; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.tab-button.active { color: #5f48b9; background: #f0ecff; }
.tools-feature { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(270px,.9fr); min-height: 245px; overflow: hidden; border: 1px solid #e9e3f7; border-radius: 20px; background: linear-gradient(115deg,#fff,#f2effa); }
.tools-feature-copy { align-self: center; padding: 27px 30px; }
.tools-feature-copy h2 { margin-bottom: 8px; font-size: 21px; }
.tools-feature-copy p { max-width: 520px; margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.frame-preview { position: relative; display: grid; min-height: 245px; place-items: center; background: radial-gradient(circle at 50% 45%,#e5dfff,transparent 48%); }
.frame-preview .cover { width: 130px; height: 170px; border: 6px solid rgba(255,255,255,.8); border-radius: 18px; box-shadow: 0 18px 35px rgba(73,56,130,.18); transform: rotate(4deg); }
.frame-orbit { position: absolute; width: 200px; height: 120px; border: 1px solid rgba(124,98,210,.25); border-radius: 50%; transform: rotate(-32deg); }
.tools-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.tool-card { display: flex; min-height: 118px; align-items: flex-start; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: white; transition: .18s ease; }
.tool-card:hover { border-color: #dcd2fa; box-shadow: 0 10px 24px rgba(45,31,91,.06); transform: translateY(-2px); }
.tool-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 14px; color: #765bd1; background: linear-gradient(145deg,#f2eeff,#e8e2ff); font-size: 19px; }
.tool-card h3 { margin: 2px 0 5px; font-size: 12px; }
.tool-card p { margin: 0; color: #9993a7; font-size: 10px; line-height: 1.6; }

.catalog-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.catalog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; cursor: pointer; transition: .18s ease; }
.catalog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.catalog-card .cover { height: 178px; }
.catalog-card-body { padding: 11px 12px 12px; }
.catalog-card-body strong { display: block; overflow: hidden; margin-bottom: 5px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-card-body span { color: #9b95a8; font-size: 9px; }
.share-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.share-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.share-image { display: grid; height: 125px; place-items: center; color: white; background: linear-gradient(145deg,#8874da,#d4a1c9); font-size: 33px; }
.share-image.tone-2 { background: linear-gradient(145deg,#6586ba,#a6d5c1); }
.share-image.tone-3 { background: linear-gradient(145deg,#d69178,#ecd58e); }
.share-copy { padding: 14px; }
.share-copy strong { display: block; margin-bottom: 6px; font-size: 12px; }
.share-copy p { margin: 0 0 12px; color: #9993a7; font-size: 10px; line-height: 1.6; }

.profile-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; padding: 26px; border: 1px solid #e8e2f7; border-radius: 20px; background: linear-gradient(110deg,#fff,#f3effd); }
.profile-hero::after { position: absolute; right: -5%; top: -140%; width: 390px; height: 390px; border: 1px solid rgba(119,91,202,.12); border-radius: 50%; box-shadow: 0 0 0 24px rgba(119,91,202,.03),0 0 0 50px rgba(119,91,202,.025); content: ''; }
.profile-avatar { display: grid; width: 76px; height: 76px; flex: 0 0 auto; place-items: center; border: 4px solid white; border-radius: 23px; color: #6551aa; background: linear-gradient(145deg,#d8d0ff,#f5d8e8); box-shadow: 0 0 0 1px #e9e2f4,0 9px 20px rgba(71,48,123,.1); font-size: 29px; font-weight: 800; }
.profile-info { position: relative; z-index: 1; flex: 1; }
.profile-info h1 { margin: 0 0 6px; font-size: 22px; }
.profile-info p { margin: 0; color: #928ca0; font-size: 11px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.profile-badge { padding: 5px 9px; border-radius: 99px; color: #765cc9; background: #eee9ff; font-size: 9px; font-weight: 700; }
.profile-badge.muted { color: #928c9d; background: #f1eff4; }
.profile-progress { position: relative; z-index: 1; width: min(220px,28%); padding: 15px; border: 1px solid rgba(255,255,255,.85); border-radius: 14px; background: rgba(255,255,255,.73); }
.profile-progress span { color: #91899f; font-size: 10px; }
.progress-line { height: 6px; overflow: hidden; margin: 11px 0 7px; border-radius: 8px; background: #ece8f3; }
.progress-line i { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8c74e5,#b098f0); }
.profile-progress small { color: #a09aaa; font-size: 9px; }
.profile-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.profile-link-card { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: white; cursor: pointer; transition: .18s ease; }
.profile-link-card:hover { border-color: #ddd4f7; box-shadow: 0 8px 18px rgba(49,34,94,.05); transform: translateY(-1px); }
.profile-link-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #765dc7; background: #f0ecff; font-size: 16px; }
.profile-link-card strong { display: block; margin-bottom: 4px; font-size: 11px; }
.profile-link-card small { color: #a19bac; font-size: 9px; }
.profile-link-arrow { margin-left: auto; color: #aaa4b6; font-size: 16px; }
.info-banner { display: flex; align-items: flex-start; gap: 12px; padding: 15px 17px; border: 1px solid #f0e5ca; border-radius: 14px; color: #7f6841; background: #fffaf0; }
.info-banner strong { display: block; margin-bottom: 4px; font-size: 11px; }
.info-banner p { margin: 0; color: #9b8762; font-size: 10px; line-height: 1.65; }
.step-list { display: grid; gap: 10px; margin-top: 16px; }
.step-card { display: flex; align-items: flex-start; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.step-number { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #7056c7; background: #f0ecff; font-size: 11px; font-weight: 800; }
.step-card strong { display: block; margin: 2px 0 4px; font-size: 11px; }
.step-card p { margin: 0; color: #9690a3; font-size: 10px; line-height: 1.65; }
.verify-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #ece8f3; border-radius: 99px; color: #8d879a; background: #faf9fc; font-size: 9px; }

.form-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { color: #625b74; font-size: 10px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 40px; padding: 10px 12px; border: 1px solid #eae6f0; border-radius: 10px; color: #3c3453; background: #fff; font-size: 11px; }
.field textarea { min-height: 91px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #b0abba; }
.field-hint { color: #a39dac; font-size: 9px; line-height: 1.5; }
.upload-zone { display: flex; min-height: 104px; align-items: center; justify-content: center; gap: 11px; overflow: hidden; border: 1px dashed #d8d1e5; border-radius: 12px; color: #827a94; background: #fbfaff; text-align: center; cursor: pointer; }
.upload-zone:hover { border-color: #9d88e5; background: #f7f4ff; }
.upload-zone img { max-height: 100px; max-width: 100%; object-fit: contain; }
.upload-zone input { display: none; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.form-footer p { margin: 0; color: #a29cad; font-size: 9px; }
.review-list { display: grid; gap: 12px; }
.review-item { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.review-thumb { width: 62px; height: 73px; flex: 0 0 auto; overflow: hidden; border-radius: 10px; }
.review-thumb .cover { height: 100%; }
.review-main { min-width: 0; flex: 1; }
.review-main strong { display: block; overflow: hidden; margin-bottom: 5px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.review-main span { display: block; color: #9993a7; font-size: 9px; line-height: 1.55; }
.review-actions { display: flex; gap: 7px; }
.review-state { padding: 5px 8px; border-radius: 99px; color: #99733a; background: #fff5dc; font-size: 9px; font-weight: 700; }
.review-state.approved { color: #448a74; background: #e4f5ef; }
.review-state.rejected { color: #b16c71; background: #fff0f0; }

.detail-layout { display: grid; grid-template-columns: minmax(260px,.75fr) minmax(0,1.25fr); gap: 22px; align-items: start; }
.detail-art-panel { position: sticky; top: 92px; overflow: hidden; padding: 14px; border: 1px solid var(--line); border-radius: 19px; background: white; }
.detail-art-panel .cover { height: 470px; border-radius: 13px; }
.detail-main { min-width: 0; }
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.detail-title-row h1 { margin: 0 0 7px; font-size: 27px; }
.detail-subtitle { color: #9993a6; font-size: 11px; }
.detail-score-card { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 19px 0 14px; padding: 17px; border: 1px solid #e9e3f6; border-radius: 15px; background: linear-gradient(110deg,#fff,#f7f4ff); }
.detail-score-card span { display: block; color: #948da2; font-size: 10px; }
.detail-score-card strong { display: block; margin-top: 3px; color: #4f3c84; font-size: 25px; }
.detail-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin: 14px 0; }
.meta-item { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.meta-item span { display: block; margin-bottom: 6px; color: #a19baa; font-size: 9px; }
.meta-item strong { font-size: 11px; }
.detail-panel { margin-top: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.detail-panel h2 { margin-bottom: 12px; font-size: 13px; }
.detail-panel p { margin: 0; color: #898397; font-size: 10px; line-height: 1.8; }
.history-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #f1eef5; font-size: 10px; }
.history-row:first-of-type { border-top: 0; }
.history-user { display: flex; align-items: center; gap: 8px; color: #777087; }
.mini-avatar { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 9px; color: #6f57b6; background: #eee9ff; font-size: 9px; font-weight: 800; }
.history-score { color: #5a478d; font-weight: 800; }

.records-toolbar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.records-row { display: grid; grid-template-columns: 1fr 130px 120px; gap: 15px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.records-row + .records-row { margin-top: 8px; }
.records-row strong { display: block; margin-bottom: 4px; font-size: 11px; }
.records-row span { color: #9c96a8; font-size: 9px; }
.record-score { color: #6049ac !important; font-size: 11px !important; font-weight: 800; }
.record-time { text-align: right; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; border: 0; color: #827b92; background: transparent; font-size: 11px; cursor: pointer; }
.back-link:hover { color: var(--purple); }
.demo-disclaimer { margin-top: 25px; padding: 12px 14px; border: 1px solid #eeeaf4; border-radius: 12px; color: #9d97a9; background: rgba(255,255,255,.6); font-size: 9px; line-height: 1.65; text-align: center; }

.modal-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; padding: 20px; place-items: center; background: rgba(31,24,51,.42); backdrop-filter: blur(5px); }
.modal { width: min(100%,430px); padding: 22px; border: 1px solid rgba(255,255,255,.7); border-radius: 19px; background: white; box-shadow: 0 24px 80px rgba(27,19,53,.25); animation: page-in .18s ease both; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.modal-head h2 { margin: 0 0 5px; font-size: 17px; }
.modal-head p { margin: 0; color: #9690a4; font-size: 10px; line-height: 1.6; }
.modal-close { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #8a8399; background: white; cursor: pointer; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.toast { position: fixed; right: 22px; bottom: 24px; z-index: 60; max-width: min(360px,calc(100vw - 36px)); padding: 12px 16px; border: 1px solid #e8e2f3; border-radius: 12px; color: #5d4a90; background: white; box-shadow: 0 12px 35px rgba(41,29,78,.15); font-size: 11px; animation: page-in .18s ease both; }
.mobile-nav { display: none; }

@media (max-width: 1150px) {
  .activity-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .welcome-grid { grid-template-columns: 1fr; }
  .stat-stack { grid-template-columns: repeat(4,1fr); }
  .featured-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 850px) {
  .sidebar { width: 205px; padding-inline: 13px; }
  .main-column { margin-left: 205px; }
  .page-wrap { padding-inline: 23px; }
  .activity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tools-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-links { grid-template-columns: repeat(2,1fr); }
  .detail-layout { grid-template-columns: minmax(230px,.8fr) minmax(0,1.2fr); gap: 15px; }
  .detail-art-panel .cover { height: 380px; }
  .featured-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { background: #fbfaff; }
  .sidebar { display: none; }
  .main-column { margin-left: 0; }
  .topbar { height: 59px; padding: 0 16px; }
  .topbar-left { gap: 8px; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
  .mobile-brand .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
  .mobile-brand .brand-mark svg { width: 16px; }
  .breadcrumb { display: none; }
  .demo-pill { padding: 5px 8px; font-size: 9px; }
  .topbar-right { gap: 7px; }
  .icon-button { width: 34px; height: 34px; border-radius: 10px; }
  .top-avatar { width: 33px; height: 33px; }
  .page-wrap { padding: 22px 15px 104px; }
  .page-heading { align-items: flex-start; margin-bottom: 18px; }
  h1 { font-size: 25px; }
  .page-heading p { font-size: 11px; }
  .page-heading > .primary-button { min-height: 35px; padding-inline: 11px; font-size: 10px; }
  .welcome-card { min-height: 205px; padding: 22px 20px; border-radius: 18px; }
  .welcome-card h2 { max-width: 260px; font-size: 23px; }
  .welcome-card p { max-width: 250px; font-size: 10px; }
  .welcome-decoration { right: 19px; top: 69px; width: 64px; height: 88px; }
  .welcome-decoration span { font-size: 30px; }
  .stat-stack { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { min-height: 88px; padding: 12px; border-radius: 13px; }
  .stat-card strong { font-size: 20px; }
  .stat-icon { width: 25px; height: 25px; }
  .featured-panel { min-height: 145px; gap: 12px; padding: 15px; }
  .featured-art { width: 78px; flex-basis: 78px; }
  .featured-art .cover { height: 106px; }
  .notice-card { padding: 16px; }
  .section-heading { margin-top: 25px; }
  .toolbar { gap: 7px; }
  .search-box { width: 100%; height: 40px; }
  .filter-select { flex: 1 1 30%; min-width: 100px; height: 37px; padding-left: 8px; font-size: 10px; }
  .result-count { width: 100%; margin: 2px 0 0; text-align: right; }
  .activity-grid { gap: 9px; }
  .activity-card { border-radius: 13px; }
  .activity-card .cover { height: clamp(142px,52vw,205px); }
  .activity-card-body { padding: 10px; }
  .card-title-row h3 { font-size: 11px; }
  .series-tag { padding: 3px 5px; font-size: 8px; }
  .card-owner { margin: 6px 0 9px; font-size: 9px; }
  .score-value { font-size: 13px; }
  .rule-grid { grid-template-columns: 1fr; gap: 8px; }
  .rule-card { padding: 12px; }
  .hall-banner { min-height: 240px; padding: 22px; border-radius: 18px; }
  .hall-banner::before { right: -35%; width: 300px; }
  .hall-banner h1 { max-width: 260px; font-size: 24px; }
  .hall-banner p { max-width: 260px; font-size: 10px; }
  .tools-tabs { overflow-x: auto; margin-inline: -2px; }
  .tab-button { flex: 0 0 auto; padding-inline: 11px; font-size: 10px; }
  .tools-feature { grid-template-columns: 1fr; }
  .tools-feature-copy { padding: 22px; }
  .tools-feature-copy h2 { font-size: 18px; }
  .frame-preview { min-height: 190px; }
  .frame-preview .cover { width: 105px; height: 140px; }
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-card { min-height: 122px; flex-direction: column; gap: 9px; padding: 13px; border-radius: 13px; }
  .tool-icon { width: 35px; height: 35px; border-radius: 11px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .catalog-card .cover { height: 190px; }
  .share-list { grid-template-columns: 1fr 1fr; gap: 9px; }
  .share-image { height: 100px; }
  .share-copy { padding: 11px; }
  .profile-hero { align-items: flex-start; flex-wrap: wrap; gap: 14px; padding: 18px; }
  .profile-avatar { width: 58px; height: 58px; border-radius: 18px; font-size: 23px; }
  .profile-info { flex: 1 1 calc(100% - 80px); }
  .profile-info h1 { font-size: 19px; }
  .profile-progress { width: 100%; }
  .profile-links { grid-template-columns: 1fr; gap: 8px; }
  .profile-link-card { padding: 13px; }
  .form-card { padding: 15px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .field.full { grid-column: auto; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .form-footer .primary-button { width: 100%; }
  .review-item { flex-wrap: wrap; gap: 10px; padding: 11px; }
  .review-main { flex: 1 1 calc(100% - 80px); }
  .review-actions { width: 100%; justify-content: flex-end; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-art-panel { position: static; padding: 10px; }
  .detail-art-panel .cover { height: min(105vw,420px); }
  .detail-title-row h1 { font-size: 23px; }
  .detail-meta { gap: 6px; }
  .meta-item { padding: 10px 8px; }
  .records-row { grid-template-columns: 1fr auto; gap: 5px 10px; padding: 12px; }
  .records-row > :last-child { grid-column: 1/-1; text-align: left; }
  .mobile-nav { position: fixed; right: 10px; bottom: max(10px,env(safe-area-inset-bottom)); left: 10px; z-index: 20; display: grid; grid-template-columns: repeat(4,1fr); padding: 7px 5px calc(7px + env(safe-area-inset-bottom)); border: 1px solid rgba(235,231,243,.95); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 9px 28px rgba(38,27,70,.12); backdrop-filter: blur(18px); }
  .mobile-nav .nav-link { min-height: 49px; flex-direction: column; justify-content: center; gap: 3px; padding: 3px; border-radius: 12px; font-size: 9px; }
  .mobile-nav .nav-icon { width: auto; font-size: 17px; }
  .demo-disclaimer { margin-top: 20px; font-size: 8px; }
  .toast { right: 12px; bottom: 84px; left: 12px; max-width: none; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
/* Image bidding demo v2 */
.uploaded-cover img {display:block;width:100%;height:100%;object-fit:cover}
.role-picker {display:flex;align-items:center;gap:7px;font-size:11px;color:#777086;white-space:nowrap}
.role-picker select {max-width:140px;padding:8px;border:1px solid #e8e2f1;border-radius:9px;background:white;color:#59457e;font:inherit}
.flow-strip {display:grid;grid-template-columns:repeat(6,1fr);margin:18px 0;gap:8px}
.flow-strip span {display:flex;align-items:center;gap:7px;padding:13px 10px;border-radius:12px;background:#fff;border:1px solid #eee8f5;font-size:11px}
.flow-strip b {color:#8e76be;font-size:10px}
.auction-form {margin-top:18px}
.auction-form .upload-zone {min-height:220px;position:relative;overflow:hidden}
.upload-zone > .cover {width:180px;height:210px}
.score-value small,.detail-score-card strong small {font-size:11px;font-weight:500}
.auction-countdown {font-size:19px!important;white-space:nowrap}
.muted-copy {color:#80788f;font-size:12px;line-height:1.8}
.bid-table {margin-top:14px;width:100%;font-size:11px}
.bid-head,.bid-row {display:grid;grid-template-columns:1fr .8fr 1.5fr;gap:12px;padding:13px 0;border-bottom:1px solid #eee9f5;align-items:center}
.bid-head {color:#9991a6;font-size:10px}.bid-row small {display:block;color:#938b9d;margin-top:4px;overflow-wrap:anywhere}
.bid-table:has(.bid-head>:nth-child(4)) .bid-head,.bid-table:has(.bid-head>:nth-child(4)) .bid-row {grid-template-columns:1fr .8fr 1.5fr 1fr}
.withdrawn {opacity:.65}.withdrawn>b {text-decoration:line-through}
.order-card {margin-bottom:14px}.order-title {display:flex;justify-content:space-between;align-items:center;gap:14px}.order-title h3 {margin:9px 0}
.reason-box,.contact-box {background:#f7f3ff;border:1px solid #e9defa;border-radius:12px;padding:13px;font-size:12px;line-height:1.8;overflow-wrap:anywhere;margin:12px 0}
.contact-box {background:#f4f9f8;border-color:#dcebe6}.contact-box small {color:#817c8b}
.action-row {display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}
.order-card details,.form-card details {margin-top:14px;font-size:12px}summary {cursor:pointer;color:#78638e;padding:10px 0}
.auction-modal {max-height:88vh;overflow-y:auto;width:min(94vw,520px)}.auction-modal .field {margin-top:14px}
.form-error {color:#ae3e62;font-size:12px;line-height:1.6}.auction-form input,.auction-form textarea,.auction-modal input,.auction-modal textarea {font-size:14px}
.rule-card p {font-size:12px;line-height:1.9}.records-toolbar {display:flex;gap:6px;flex-wrap:wrap}
a.primary-button,a.secondary-button,a.profile-link-card {text-decoration:none}
.review-main span {overflow-wrap:anywhere}.welcome-card .primary-button {display:inline-flex}
@media(max-width:850px){.flow-strip {grid-template-columns:repeat(3,1fr)}.bid-row,.bid-head {gap:7px}.topbar {gap:7px}}
@media(max-width:640px){.role-picker {font-size:9px;gap:4px}.role-picker select {max-width:92px;padding:7px 3px}.topbar-left {gap:6px}.demo-pill {font-size:8px;padding:5px}.topbar-right {gap:5px}.topbar-right .icon-button {display:none}.mobile-brand {font-size:11px}.flow-strip {gap:5px}.flow-strip span {font-size:9px;padding:10px 6px;gap:5px}.info-banner p {font-size:10px}.bid-head,.bid-row {font-size:10px;grid-template-columns:.9fr .8fr 1.3fr}.bid-table:has(.bid-head>:nth-child(4)) .bid-head,.bid-table:has(.bid-head>:nth-child(4)) .bid-row {grid-template-columns:.8fr .7fr 1.2fr .9fr;font-size:9px}.bid-row button {padding:7px 4px;font-size:9px}.order-title {flex-wrap:wrap}.score-value small {font-size:8px}.auction-countdown {font-size:15px!important}.detail-score-card {gap:8px}.detail-score-card strong {font-size:24px}.stat-card p {font-size:10px}.review-actions {justify-content:flex-start;flex-wrap:wrap}.auction-form .upload-zone {min-height:190px}.records-row {overflow-wrap:anywhere}}

.review-thumb .cover-badge,.review-thumb .cover-number {display:none}
.stat-card p {margin:5px 0 0;color:#83788d;font-size:11px;line-height:1.7}
.search-box button {flex:none;white-space:nowrap}
@media(max-width:850px){.stat-stack {grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout {grid-template-columns:1fr}.detail-art-panel {position:static}.detail-art-panel .cover {height:350px}}
