/* Independent, read-only screen sample. No production styles are imported. */
:root {
  color-scheme: dark;
  --background: #0c1016;
  --sidebar: #11161c;
  --card: #181d23;
  --line: #2e353e;
  --mint: #bcd6f8;
  --gold: #cdd3da;
  --text: #ebf2fb;
  --muted: #a7aeb6;
  --radius: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-family: 'Barlow', 'IBM Plex Sans JP','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(--mint); outline-offset: 4px; }
button, a { touch-action: manipulation; }
::selection { background: #bcd6f833; }
.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(--background); background: var(--mint); border-radius: 8px; }
.skip-link:focus { top: 8px; }
.sample-banner { position: fixed; z-index: 30; inset: 0 0 auto; height: 42px; background: #2a333e; border-bottom: 1px solid #48525f; 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: #e1ecfa; font-weight: 700; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.banner-detail { color: #bdc5d0; }
.app-shell { padding-top: 42px; }
.sidebar { position: fixed; left: 0; top: 42px; bottom: 0; z-index: 20; width: 230px; background: var(--sidebar); 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-size: 16px; letter-spacing: 1.2px; font-weight: 700; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: 8px; letter-spacing: 2.1px; margin-top: 1px; }
.nav-label { font-size: 9px; letter-spacing: 2px; color: #7d8692; 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: #1f242b; }
.nav-link[aria-current="page"] { color: var(--mint); background: #262e37; border-color: #394452; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link .nav-count { margin-left: auto; background: #353d47; 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: #a9b1bb; padding: 14px 11px; background: #1c2128; 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: #c3cdda; background: #353d47; 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: var(--background); }
.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 { display: block; color: var(--mint); font-size: 10px; font-weight: 600; letter-spacing: 2px; }
h1 { margin: 5px 0 7px; font-size: 26px; letter-spacing: -.5px; line-height: 1.5; font-weight: 700; }
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, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: var(--mint); color: #1d2530; }
.button-primary:hover { background: #c9e3ff; }
.button-secondary { background: #242a31; border-color: #414a56; color: #dfe6ef; }
.button-secondary:hover { background: #353d47; }
.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; }
.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; background: radial-gradient(ellipse at 100% 70%, #333e4c77, transparent 62%), var(--card); }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hero h2 { margin: 21px 0 5px; font-size: clamp(23px, 2.1vw, 33px); letter-spacing: -.8px; line-height: 1.5; }
.hero-description { color: #b7bec6; 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: #b2b9c2; font-size: 11px; }
.balance-number { font-size: clamp(47px, 5vw, 75px); font-family: 'Barlow','IBM Plex Sans JP', sans-serif; font-weight: 600; color: var(--gold); letter-spacing: -3px; line-height: 1.2; margin: 5px 0 8px; }
.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: #bfc2c6; 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 #cdd3da08, 0 0 0 24px #cdd3da03, 0 12px 40px #0005; flex-shrink: 0; object-fit: cover; }
.hero-bottom { display: flex; align-items: center; gap: 18px; border-top: 1px solid #414a56; 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 #46505c; color: #c5cfdb; background: #2d353f; font-size: 9px; border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.pill.gold { border-color: #5b5e61; color: var(--gold); background: #3b3c3e; }
.pill.muted { background: #20252c; color: var(--muted); border-color: #393f47; }
.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(--gold); 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: 'Barlow', 'IBM Plex Sans JP','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: #343b44; margin-top: 8px; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 33.333%; background: var(--mint); 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: #9aa3af; }
.icon-box { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; border: 1px solid #39414d; border-radius: 11px; background: #272e37; color: var(--mint); flex-shrink: 0; }
.icon-box.gold { color: var(--gold); background: #363738; border-color: #4b4d4f; }
.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 #424a55; background: #272c33; 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 #414a56; background: #1f252c; border-radius: 10px; color: #c2c9d2; 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: #515d6d; background: #2c343f; }
.filter-button:hover { background: #242a31; }
.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(--card); 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: 'Barlow','IBM Plex Sans JP', sans-serif; font-size: 11px; color: #a2adbc; 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, #434c5777, transparent 70%), #20262f; }
.perk-art::after { content: ''; position: absolute; width: 110px; height: 110px; border: 1px solid #475362; 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, #54565877, transparent 70%), #2e2f30; }
.perk-art.gold-art::after { border-color: #5e6062; }
.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: #20252c; color: #a6afbb; 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: 'Barlow','IBM Plex Sans JP', sans-serif; font-size: 15px; text-align: right; color: var(--gold); }
th.number-cell { font-size: 10px; color: var(--muted); }
.self-row { background: #262e37; }
.self-row td:first-child { border-left: 3px solid var(--mint); }
.rank-badge { font-family: 'Barlow','IBM Plex Sans JP', 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: 'Barlow','IBM Plex Sans JP', 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: #828b97; 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 #546070; padding: 28px; border-radius: 18px; width: min(490px, calc(100% - 32px)); box-shadow: 0 30px 100px #0008; }
dialog::backdrop { background: #04070dcc; backdrop-filter: blur(5px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; }
.icon-button { width: 34px; height: 34px; background: #2d343d; color: #bcc4ce; 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: #333b47; 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: #dae1ea; line-height: 1.9; }
.dialog-detail { color: var(--muted); font-size: 11px; background: #13171d; 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(--mint); 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: #434c58 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 7px #cdd3da08, 0 0 0 15px #cdd3da03; }
  .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; } }
