/* Independent, read-only screen sample. No production styles are imported. */
:root {
  color-scheme: light;
  --background: #faf8f3;
  --sidebar: #ffffff;
  --card: #ffffff;
  --line: #e7e0d1;
  --mint: #7d5e1a;
  --gold: #8a681c;
  --text: #16130e;
  --muted: #6b6354;
  --signature: #b08d3c;
  --surface: #f5f2eb;
  --radius: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse 60% 45% at 12% 0%, rgba(212,176,101,.14), transparent 70%), radial-gradient(ellipse 50% 40% at 100% 100%, rgba(199,204,211,.20), transparent 70%), linear-gradient(rgba(176,141,60,.035) 1px, transparent 1px) 0 0/56px 56px, linear-gradient(90deg, rgba(176,141,60,.035) 1px, transparent 1px) 0 0/56px 56px, #faf8f3; background-attachment: fixed; color: var(--text); font-family: 'Sora', 'Noto Sans JP', sans-serif; font-size: 14px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--signature); outline-offset: 4px; }
button, a { touch-action: manipulation; }
::selection { background: rgba(176,141,60,.22); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; color: var(--text); background: linear-gradient(135deg,#f1e2b8 0%,#d4b065 38%,#b08d3c 68%,#e6cd8f 100%); border-radius: 8px; }
.skip-link:focus { top: 8px; }
.sample-banner { position: fixed; z-index: 30; inset: 0 0 auto; height: 42px; background: #16130e; border-bottom: 1px solid rgba(176,141,60,.45); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 18px; font-size: 11px; }
.sample-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #e9d9b0; font-weight: 700; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #d4b065; }
.banner-detail { color: #cfc6b4; }
.app-shell { padding-top: 42px; }
.sidebar { position: fixed; left: 0; top: 42px; bottom: 0; z-index: 20; width: 230px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 29px 18px 18px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 5px; }
.brand img { border-radius: 50%; }
.brand > span { font-family: 'Michroma', 'Sora', sans-serif; font-size: 14px; letter-spacing: 1.5px; font-weight: 700; white-space: nowrap; }
.brand small { font-family: 'Sora', 'Noto Sans JP', sans-serif; display: block; color: var(--muted); font-size: 8px; letter-spacing: 2.1px; margin-top: 1px; }
.nav-label { font-family: 'Michroma', 'Sora', sans-serif; font-size: 9px; letter-spacing: 2px; color: #7d5e1a; margin: 29px 13px 10px; }
#primary-nav { display: flex; flex-direction: column; gap: 7px; }
.nav-link { display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 9px; padding: 12px 13px; font-size: 12px; color: var(--muted); white-space: nowrap; transition: background .18s, color .18s; }
.nav-link:hover { color: var(--text); background: #faf6ec; }
.nav-link[aria-current="page"] { color: var(--mint); background: #f6efdd; border-color: #e3d3aa; box-shadow: inset 2px 0 0 #b08d3c; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link .nav-count { margin-left: auto; background: #f6efdd; color: var(--mint); font-size: 10px; border-radius: 5px; padding: 0 6px; }
.sidebar-bottom { margin-top: auto; padding-top: 40px; }
.sidebar-note { display: flex; align-items: flex-start; gap: 10px; color: #6b6354; padding: 14px 11px; background: #f5f2eb; border: 1px solid var(--line); border-radius: 10px; }
.sidebar-note .icon { width: 16px; height: 16px; margin-top: 3px; }
.sidebar-note p { margin: 0; font-size: 10px; }
.production-link { display: flex; justify-content: space-between; padding: 17px 12px; color: var(--muted); font-size: 11px; }
.production-link .icon { width: 16px; }
.sample-profile { border-top: 1px solid var(--line); display: flex; gap: 11px; align-items: center; padding: 20px 5px 0; }
.avatar { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #7d5e1a; background: #f6efdd; flex: 0 0 auto; font-size: 12px; font-weight: 700; }
.sample-profile strong { font-weight: 500; font-size: 11px; }
.sample-profile small { display: block; font-size: 8px; color: var(--muted); }
.workspace { margin-left: 230px; }
.topbar { min-height: 78px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 38px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); }
.breadcrumb { display: flex; gap: 13px; align-items: center; font-size: 11px; color: var(--muted); }
.breadcrumb .icon { width: 11px; height: 11px; }
.breadcrumb strong { font-weight: 500; color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.main-content { max-width: 1440px; padding: 34px 38px 26px; margin: auto; min-height: calc(100vh - 205px); }
.page-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.eyebrow { font-family: 'Michroma', 'Sora', sans-serif; display: block; color: var(--mint); font-size: 10px; font-weight: 600; letter-spacing: 2px; }
h1 { font-family: 'Noto Serif JP', serif; margin: 5px 0 7px; font-size: 26px; letter-spacing: -.5px; line-height: 1.5; font-weight: 600; }
h2, h3, p { margin-top: 0; }
.page-intro p { font-size: 12px; color: var(--muted); margin: 0; }
.intro-tag { border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; color: var(--muted); font-size: 10px; white-space: nowrap; margin-top: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; padding: 11px 18px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .18s, box-shadow .18s; }
.button:hover { box-shadow: 0 3px 10px -5px rgba(110,84,24,.28); }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: linear-gradient(135deg,#f1e2b8 0%,#d4b065 38%,#b08d3c 68%,#e6cd8f 100%); color: #16130e; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 18px -10px rgba(120,88,24,.55); }
.button-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 18px -10px rgba(120,88,24,.55), 0 2px 8px -4px rgba(110,84,24,.28); }
.button-secondary { background: #f5f2eb; border-color: #d6c9ac; color: #3a342a; }
.button-secondary:hover { background: #faf6ec; }
.button-small { font-size: 11px; padding: 8px 12px; }
.button-quiet { background: none; border-color: var(--line); color: var(--muted); }
.button-wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--mint); font-size: 11px; }
.text-link .icon { width: 15px; height: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(22,19,14,.04), 0 14px 36px -18px rgba(110,84,24,.28); }
.card-pad { padding: 25px; }
.dashboard-top { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr); gap: 20px; }
.hero { padding: 30px; position: relative; border: 1px solid transparent; background: radial-gradient(ellipse at 100% 70%, rgba(212,176,101,.14), transparent 62%) padding-box, linear-gradient(#ffffff,#ffffff) padding-box, linear-gradient(145deg,#e9d49f,#f3ecdc 35%,#e7e0d1 60%,#c9a24d) border-box; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hero h2 { font-family: 'Noto Serif JP', serif; font-weight: 600; margin: 21px 0 5px; font-size: clamp(23px, 2.1vw, 33px); letter-spacing: -.8px; line-height: 1.5; }
.hero-description { color: #6b6354; font-size: 11px; margin-bottom: 0; }
.hero-balance { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.balance-label { color: #6b6354; font-size: 11px; }
.balance-number { font-size: clamp(47px, 5vw, 75px); font-family: 'Sora', sans-serif; font-weight: 600; color: #8a681c; letter-spacing: -3px; line-height: 1.2; margin: 5px 0 8px; background: linear-gradient(120deg,#7d5e1a,#b08d3c 50%,#8a681c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.balance-number span { color: var(--gold); font-size: 17px; letter-spacing: 0; font-weight: 400; margin-left: 7px; }
.expiry { display: flex; align-items: center; gap: 7px; color: #7d5e1a; font-size: 10px; }
.expiry .icon { width: 14px; height: 14px; }
.coin-portrait { width: clamp(140px, 15vw, 205px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 10px rgba(176,141,60,.06), 0 0 0 24px rgba(176,141,60,.03), 0 18px 40px -12px rgba(110,84,24,.35); flex-shrink: 0; object-fit: cover; }
.hero-bottom { display: flex; align-items: center; gap: 18px; border-top: 1px solid #d6c9ac; margin-top: 25px; padding-top: 20px; }
.hero-bottom p { font-size: 10px; color: var(--muted); margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #e3d3aa; color: #7d5e1a; background: #f6efdd; font-size: 9px; border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.pill.gold { border-color: #e3d3aa; color: var(--mint); background: #f6efdd; }
.pill.muted { background: #f5f2eb; color: var(--muted); border-color: #e7e0d1; }
.pill .icon { width: 12px; height: 12px; }
.next-card { padding: 26px; display: flex; flex-direction: column; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.section-title h2 { font-size: 15px; font-weight: 600; margin: 0; }
.next-card .section-title { margin-bottom: 20px; }
.step-index { color: var(--mint); font-size: 10px; letter-spacing: 1.5px; }
.next-card h3 { font-size: 19px; line-height: 1.65; margin: 12px 0 10px; }
.next-card p { color: var(--muted); font-size: 11px; }
.reward { color: var(--gold); font-family: 'Sora', 'Noto Sans JP', sans-serif; font-size: 20px; font-weight: 500; }
.reward small { font-size: 10px; font-weight: 400; }
.next-card .reward { margin: 4px 0 22px; }
.next-card .button { margin-top: auto; }
.progress-caption { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; margin-top: 21px; }
.progress-track { height: 4px; border-radius: 8px; background: #eee9de; margin-top: 8px; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 33.333%; background: linear-gradient(135deg,#f1e2b8 0%,#d4b065 38%,#b08d3c 68%,#e6cd8f 100%); border-radius: inherit; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.stat-card { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 23px; }
.stat-card p { margin: 0; color: var(--muted); font-size: 10px; }
.stat-number { font-size: 29px; line-height: 1.3; margin: 8px 0 4px; letter-spacing: -.8px; font-weight: 500; }
.stat-number small { font-size: 11px; margin-left: 7px; color: var(--muted); letter-spacing: 0; }
.stat-caption { font-size: 9px; color: #6b6354; }
.icon-box { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; border: 1px solid #e3d3aa; border-radius: 11px; background: #f6efdd; color: var(--mint); flex-shrink: 0; }
.icon-box.gold { color: var(--gold); background: #f6efdd; border-color: #e3d3aa; }
.dashboard-bottom { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr); gap: 20px; margin-top: 25px; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 0; border-top: 1px solid var(--line); }
.list-row h3 { font-size: 12px; font-weight: 500; margin: 0 0 4px; }
.list-row p { font-size: 10px; color: var(--muted); margin: 0; }
.row-leading { display: flex; gap: 12px; align-items: center; min-width: 0; }
.row-leading .icon-box { width: 33px; height: 33px; border-radius: 9px; }
.row-leading .icon { width: 16px; height: 16px; }
.row-trailing { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.row-trailing .reward { font-size: 15px; }
.event-date { display: flex; align-items: center; gap: 11px; margin: 8px 0 18px; }
.date-block { border: 1px solid #d6c9ac; background: #f5f2eb; border-radius: 10px; min-width: 49px; padding: 7px 8px; text-align: center; }
.date-block small { display: block; font-size: 8px; color: var(--muted); }
.date-block strong { font-size: 22px; font-weight: 500; line-height: 1.4; }
.event-date p { margin: 0; color: var(--muted); font-size: 10px; }
.event-date strong { font-size: 11px; font-weight: 500; color: var(--text); }
.featured-event h3 { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.featured-event > p { color: var(--muted); font-size: 11px; }
.featured-event .button { margin-top: 7px; }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 17px; border: 1px solid #e3d3aa; background: #f6efdd; border-radius: 10px; color: #3a342a; font-size: 11px; margin-bottom: 23px; }
.notice .icon { width: 17px; height: 17px; margin-top: 2px; }
.notice p { margin: 0; }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: transparent; font-size: 11px; }
.filter-button[aria-pressed="true"] { color: var(--mint); border-color: #e3d3aa; background: #f6efdd; }
.filter-button:hover { background: #f5f2eb; }
.filter-spacer { margin-left: auto; }
.filter-select { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); }
.filter-select select { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; padding: 8px 27px 8px 11px; }
.result-count { font-size: 10px; color: var(--muted); margin: -8px 0 15px; }
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.task-card { padding: 24px; display: flex; flex-direction: column; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 23px; }
.card-index { font-family: 'Sora', sans-serif; font-size: 11px; color: #7d5e1a; letter-spacing: 1.5px; }
.task-card h2 { font-size: 17px; line-height: 1.7; margin-bottom: 12px; }
.task-card p { font-size: 11px; color: var(--muted); flex: 1; }
.task-meta { border-top: 1px solid var(--line); padding-top: 18px; margin: 12px 0 19px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.task-meta .reward { font-size: 19px; }
.task-meta > small { color: var(--muted); font-size: 9px; }
.perk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.perk-card { display: flex; flex-direction: column; }
.perk-art { height: 155px; padding: 22px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, rgba(199,204,211,.20), transparent 70%), #f5f2eb; }
.perk-art::after { content: ''; position: absolute; width: 110px; height: 110px; border: 1px solid #c7ccd3; border-radius: 50%; }
.perk-art > .icon { width: 48px; height: 48px; color: var(--mint); stroke-width: 1.2; }
.perk-art.gold-art { background: radial-gradient(circle at center, rgba(212,176,101,.14), transparent 70%), #f6efdd; }
.perk-art.gold-art::after { border-color: #e3d3aa; }
.perk-art.gold-art > .icon { color: var(--gold); }
.perk-art .pill { position: absolute; top: 17px; left: 17px; z-index: 1; }
.perk-body { padding: 23px; display: flex; flex-direction: column; flex: 1; }
.perk-body h2 { font-size: 16px; margin: 0 0 12px; }
.perk-body p { font-size: 11px; color: var(--muted); flex: 1; }
.perk-value { font-size: 28px; margin: 6px 0 16px; font-weight: 500; letter-spacing: -1px; }
.perk-value small { font-size: 12px; letter-spacing: 0; }
.perk-body .task-meta { margin-top: 0; }
.split-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(245px, 1fr); gap: 20px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 11px; white-space: nowrap; }
caption { text-align: left; color: var(--muted); font-size: 10px; padding: 16px 22px; }
th { background: #f5f2eb; color: #6b6354; font-size: 10px; font-weight: 500; padding: 13px 20px; border-top: 1px solid var(--line); }
td { padding: 19px 20px; border-top: 1px solid var(--line); }
.cell-person { display: flex; gap: 11px; align-items: center; }
.cell-person .avatar { width: 30px; height: 30px; font-size: 10px; }
.cell-person small { display: block; font-size: 9px; color: var(--muted); }
.number-cell { font-family: 'Sora', sans-serif; font-size: 15px; text-align: right; color: var(--gold); }
th.number-cell { font-size: 10px; color: var(--muted); }
.self-row { background: #f5f2eb; }
.self-row td:first-child { border-left: 3px solid var(--signature); }
.rank-badge { font-family: 'Sora', sans-serif; font-size: 15px; color: var(--muted); }
.rank-badge.top-rank { color: var(--gold); }
.summary-card h2 { font-size: 15px; margin: 16px 0; }
.summary-card p { font-size: 11px; color: var(--muted); }
.summary-card .balance-number { font-size: 42px; margin: 16px 0; }
.summary-card .rank-number { font-size: 58px; color: var(--mint); letter-spacing: -3px; line-height: 1.2; margin: 19px 0; }
.rank-number small { font-size: 14px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.breakdown-row { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.breakdown-row strong { color: var(--gold); font-family: 'Sora', sans-serif; font-weight: 500; }
.empty-state { padding: 54px 25px; text-align: center; }
.empty-state .icon { width: 34px; height: 34px; color: var(--muted); margin-bottom: 12px; }
.empty-state h2 { font-size: 16px; }
.empty-state p { font-size: 12px; color: var(--muted); }
.session-list { display: flex; flex-direction: column; gap: 17px; }
.session-card { display: flex; align-items: center; gap: 23px; padding: 23px; }
.session-card .date-block { min-width: 66px; }
.session-card .date-block strong { font-size: 30px; }
.session-info { flex: 1; }
.session-info .pill { margin-bottom: 8px; }
.session-info h2 { font-size: 16px; margin: 0 0 7px; }
.session-info p { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.session-card .button { flex-shrink: 0; }
.page-footer { max-width: 1440px; margin: 0 auto; padding: 17px 38px 26px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #6b6354; font-size: 9px; }
.page-footer > span { letter-spacing: 1.5px; white-space: nowrap; }
.page-footer p { margin: 0; }
dialog { background: var(--card); color: var(--text); border: 1px solid #d6c9ac; padding: 28px; border-radius: 18px; width: min(490px, calc(100% - 32px)); box-shadow: 0 1px 2px rgba(22,19,14,.04), 0 14px 36px -18px rgba(110,84,24,.28); }
dialog::backdrop { background: rgba(22,19,14,.42); backdrop-filter: blur(5px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; }
.icon-button { width: 34px; height: 34px; background: #f5f2eb; color: #3a342a; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.dialog-icon { display: inline-flex; align-items: center; justify-content: center; background: #f6efdd; width: 48px; height: 48px; border-radius: 12px; color: var(--mint); margin-top: 17px; }
dialog h2 { font-size: 20px; margin: 20px 0 13px; }
#dialog-description { font-size: 14px; color: #3a342a; line-height: 1.9; }
.dialog-detail { color: var(--muted); font-size: 11px; background: #f5f2eb; border: 1px solid var(--line); border-radius: 8px; padding: 13px; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.no-script { position: fixed; bottom: 15px; right: 15px; padding: 20px; background: var(--card); color: var(--mint); border: 1px solid var(--signature); z-index: 40; }
@media (min-width: 1800px) { .topbar { padding-left: max(38px, calc((100% - 1364px) / 2)); padding-right: max(38px, calc((100% - 1364px) / 2)); } }
@media (max-width: 1180px) {
  .main-content { padding: 28px 25px; }
  .topbar { padding: 17px 25px; }
  .dashboard-top, .dashboard-bottom { grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 16px; }
  .hero { padding: 23px; }
  .coin-portrait { width: 140px; }
  .hero h2 { font-size: 25px; }
  .balance-number { font-size: 53px; }
  .hero-bottom { gap: 12px; flex-wrap: wrap; }
  .card-pad, .next-card { padding: 22px; }
  .task-grid, .perk-grid { gap: 15px; }
  .task-card, .perk-body { padding: 19px; }
  .stat-grid { gap: 15px; }
  .stat-card { padding: 18px; }
  .stat-card .icon-box { width: 31px; height: 31px; }
  .stat-number { font-size: 25px; }
  .split-layout { grid-template-columns: minmax(0, 1fr); }
  .summary-card { display: none; }
  .session-card { gap: 17px; }
  .session-card .button { font-size: 10px; padding: 10px; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .dashboard-top, .dashboard-bottom { grid-template-columns: minmax(0, 1fr); }
  .next-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .next-card .section-title { grid-column: 1 / -1; }
  .next-card h3 { grid-column: 1; }
  .next-card > p { grid-column: 1; }
  .next-card .reward { grid-column: 2; grid-row: 2 / 4; align-self: center; }
  .next-card .button { grid-column: 2; grid-row: 4; }
  .next-card .progress-caption, .next-card .progress-track { grid-column: 1 / -1; }
  .coin-portrait { width: 175px; }
  .task-grid, .perk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sample-banner { height: 40px; }
  .banner-detail { display: none; }
  .app-shell { padding-top: 40px; }
  .sidebar { position: relative; top: auto; bottom: auto; width: 100%; padding: 17px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .brand { padding: 0; width: max-content; }
  .brand img { width: 31px; height: 31px; }
  .brand > span { font-size: 14px; }
  .brand small { font-size: 7px; }
  .nav-label, .sidebar-bottom { display: none; }
  #primary-nav { flex-direction: row; overflow-x: auto; gap: 7px; margin-top: 18px; padding: 0 0 12px; scrollbar-width: thin; scrollbar-color: #d6c9ac transparent; }
  .nav-link { padding: 8px 12px; font-size: 10px; flex-shrink: 0; gap: 7px; }
  .nav-link .icon { width: 15px; height: 15px; }
  .workspace { margin-left: 0; }
  .topbar { padding: 12px 20px; min-height: 64px; gap: 12px; }
  .breadcrumb { font-size: 10px; gap: 6px; }
  .header-actions { gap: 12px; }
  .button-small { padding: 8px 10px; font-size: 10px; }
  .main-content { padding: 25px 20px; }
  .page-intro { margin-bottom: 21px; gap: 12px; }
  h1 { font-size: 24px; }
  .page-intro p { font-size: 11px; }
  .intro-tag { font-size: 8px; padding: 5px 8px; }
  .dashboard-top, .dashboard-bottom { grid-template-columns: 1fr; gap: 16px; }
  .hero { padding: 23px; }
  .hero h2 { font-size: 28px; margin-top: 19px; }
  .hero-balance { margin-top: 27px; }
  .balance-number { font-size: 64px; }
  .coin-portrait { width: 170px; }
  .hero-bottom { margin-top: 24px; }
  .stat-grid { gap: 10px; margin-top: 16px; }
  .stat-card { padding: 16px 13px; }
  .stat-card .icon-box { display: none; }
  .stat-card p { font-size: 9px; }
  .stat-number { font-size: 25px; }
  .stat-number small { font-size: 9px; margin-left: 3px; }
  .stat-caption { font-size: 8px; }
  .task-grid, .perk-grid { grid-template-columns: 1fr; }
  .task-card, .perk-body { padding: 24px; }
  .perk-art { height: 135px; }
  .session-card { flex-wrap: wrap; padding: 20px; gap: 15px; align-items: flex-start; }
  .session-info { flex: 1; min-width: 190px; }
  .session-card .button { width: 100%; font-size: 12px; }
  .page-footer { padding: 20px; flex-direction: column; gap: 7px; }
  .summary-card { display: block; }
  .filter-spacer { margin-left: 0; }
  .filter-select { width: 100%; margin-top: 5px; }
  .row-trailing { gap: 8px; }
  .row-trailing .pill { display: none; }
}
@media (max-width: 430px) {
  .brand > span { font-size: 11px; letter-spacing: .5px; }
  .brand small { font-size: 6px; letter-spacing: 1px; }
  .brand { gap: 7px; }
  .topbar { padding: 12px 16px; }
  .breadcrumb > span, .breadcrumb > .icon { display: none; }
  .header-actions { gap: 10px; }
  .main-content { padding: 24px 16px; }
  .hero { padding: 22px; }
  .hero h2 { font-size: 25px; }
  .hero-balance { gap: 8px; }
  .coin-portrait { width: 110px; box-shadow: 0 0 0 10px rgba(176,141,60,.06), 0 0 0 24px rgba(176,141,60,.03), 0 18px 40px -12px rgba(110,84,24,.35); }
  .balance-number { font-size: 49px; letter-spacing: -2px; }
  .balance-number span { font-size: 13px; margin-left: 3px; }
  .hero-description { font-size: 10px; }
  .expiry { font-size: 9px; }
  .stat-number { font-size: 23px; }
  .section-title h2 { font-size: 14px; }
  .session-info { min-width: 160px; }
  .list-row h3 { font-size: 11px; }
  .row-leading { gap: 9px; }
  .row-trailing .reward { font-size: 13px; }
  .row-trailing .reward small { font-size: 8px; }
  .intro-tag { display: none; }
  dialog { padding: 23px; }
  .dialog-actions .button { padding: 11px 13px; font-size: 11px; }
}
@media (max-width: 360px) {
  .hero { padding: 18px; }
  .hero h2 { font-size: 23px; }
  .coin-portrait { width: 90px; }
  .balance-number { font-size: 42px; }
  .stat-grid { gap: 7px; }
  .stat-card { padding: 14px 10px; }
  .stat-number { font-size: 21px; }
  .stat-caption { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.page-footer-link { color: #6b6354; text-decoration: none; white-space: nowrap; }
.page-footer-link:hover { color: #8a681c; text-decoration: underline; }
@media (max-width: 760px) { .page-footer-link { display: inline-flex; align-items: center; min-height: 44px; } }
