




* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
  html, body { background: var(--bg); overflow-x: clip; }
  body { color: var(--ink); font-family: var(--jp-font); -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
  [hidden] { display: none !important; }
  .wrap { max-width: 860px; margin: 0 auto; padding: 0 20px 80px; }
  .wrap > .alert--info { margin: 16px 0; padding: 14px 16px; border-radius: 10px; background: var(--accent-soft); color: var(--ink); font-size: 14px; line-height: 1.5; }

  header.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 26px 0 8px; }
  .brand { font-family: var(--disp); font-size: 44px; font-weight: 700; letter-spacing: .16em; line-height: 1; color: var(--accent); }
  .brand small { font-size: 13px; letter-spacing: .2em; color: var(--muted); margin-left: 14px; font-weight: 500; vertical-align: 7px; }
  .who { text-align: right; display: flex; align-items: center; gap: 4px; }
  .who .day { font-family: var(--disp); font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .1em; margin-top: 4px; text-transform: uppercase; }
  .top .ph { display: none; }
  .sbtn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); margin-left: 0; }
  .sbtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  .who .kw { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; margin: 0 0 0 10px; border-radius: 999px; background: #000; border: 1px solid rgba(255,140,0,.95); box-shadow: 0 0 10px rgba(255,140,0,.45), 0 0 26px rgba(255,140,0,.18), inset 0 0 10px rgba(255,140,0,.22); color: var(--accent); font-family: var(--disp); font-weight: 700; white-space: nowrap; }
  .who .kw .in { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; transform: translateY(-1px); }
  .who .kw b { font-size: 18px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
  .who .kw small { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; }

  .sec { display: flex; align-items: baseline; gap: 12px; padding: 30px 0 12px; }
  .sec h2 { font-family: var(--disp); font-size: 20px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .sec a.more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted); }


  .tasks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .tasks .task.story { grid-column: 1 / -1; flex-direction: row; }
  .task.story .bg { flex: 0 0 42%; }
  .task.story .body { flex: 1; min-width: 0; }
  .task.story .go { margin-left: auto; }
  .task.story .body::before { content: ""; flex: 1 1 0; }
  .task.story .foot { flex: 1 1 0; margin-top: 0; padding-top: 0; min-height: 35px; align-items: flex-end; }
  .task { display: flex; flex-direction: column; border-radius: 18px; background: var(--surface); overflow: hidden; transition: transform .22s, box-shadow .22s; }
  .task:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -30px rgba(0,0,0,.9); }
  .task .bg { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); position: relative; }
  .task .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .6s; display: block; }
  .task:hover .bg img { transform: scale(1.06); }
  .task .k.more { cursor: pointer; }
  .task .k.more:hover { text-decoration: underline; text-underline-offset: 4px; }
  .task .bg img:not([src]) { display: none; }
  .task .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,0) 70%, rgba(11,11,13,.35) 100%); }
  .task .body { display: flex !important; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
  .task .k { font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .22em; line-height: 1; color: var(--accent); text-transform: uppercase; }
  .task .t { font-size: 17px; font-weight: 700; line-height: 1.4; margin-top: 10px; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .task .s { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--muted); margin-top: 4px; }
  .task .foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; }
  .task .num { font-family: var(--disp); font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .08em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .task .num b { color: var(--ink); font-weight: 700; font-size: 16px; }
  .task.done .num b { color: var(--ok); }
  .task .go { font-family: var(--jp-font); font-size: 13px; line-height: 1; font-weight: 700; color: var(--accent); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
  .tasks .task:first-child .go { margin-left: auto; }
  .tasks .task:nth-child(2) .go { margin-left: auto; }
  .task .go::after { content: ""; width: 17px; height: 17px; background: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23ff8c00%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27><path d=%27M4 12h15M13 6l6 6-6 6%27/></svg>") center / contain no-repeat; transition: transform .2s; }
  .task:hover .go::after { transform: translateX(3px); }
  .task.done .go { color: var(--ok); }


  .goal { display: grid; grid-template-columns: 42% 1fr; gap: 0; align-items: stretch; padding: 0; overflow: hidden; border-radius: 18px; background: var(--surface); transition: transform .22s, box-shadow .22s; }
  .goal:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -30px rgba(0,0,0,.9); }
  .goal .cv { display: grid; aspect-ratio: 16 / 9; align-self: stretch; width: 100%; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); gap: 2px; background: var(--line); }
  .goal .cv i { display: block; border-radius: 0; background: var(--line); overflow: hidden; position: relative; }
  .goal .cv i img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.34); }
  .goal .cv i.done { box-shadow: inset 0 0 0 1.5px #f2c14e; }
  .goal .body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px 20px; }
  .goal .k { font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .22em; line-height: 1; color: var(--accent); text-transform: uppercase; margin-bottom: 4px; }
  .goal .t { font-size: 17px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .goal .s { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--muted); }

  @media (max-width: 640px) { .goal .body { padding: 12px 14px; } .goal .k { font-size: 11px; letter-spacing: .18em; } .goal .t { font-size: 14px; } .goal .s { font-size: 12px; } }


  .onces { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 18px; }
  .onces:not(:empty) + .sec { padding-top: 18px; }
  .onces:empty { display: none; }
  .onces:empty + .sec { padding-top: 22px; }
  .once { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; }
  .once .t { font-weight: 700; }
  .once[data-k="ext"] .t { font-family: var(--disp); letter-spacing: .12em; text-transform: uppercase; }
  .once .d { display: none; }
  .once a.ln { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; }
  .once button.ck { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted); font-size: 0; color: var(--muted); display: flex; align-items: center; justify-content: center; }
  .once button.ck::before { content: ""; box-sizing: border-box; width: 12px; height: 22px; border: solid currentColor; border-width: 0 4px 4px 0; transform: translateY(-3px) rotate(45deg); }
  .once button.ck:hover { box-shadow: inset 0 0 0 1.5px var(--ok); color: var(--ok); }


  .cont { display: grid; grid-template-columns: 42% 1fr; border-radius: 18px; overflow: hidden; background: var(--surface); transition: transform .22s, box-shadow .22s; }
  .cont:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -30px rgba(0,0,0,.9); }
  .cont .img { position: relative; aspect-ratio: 16 / 9; background: var(--line); }
  .cont .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cont .img img:not([src]) { display: none; }
  .cont .img .p { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--accent); width: var(--p, 0%); }
  .cont .txt { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
  .cont .k { font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .22em; line-height: 1; color: var(--accent); text-transform: uppercase; }
  .cont .t { font-size: 17px; font-weight: 700; line-height: 1.4; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cont .s { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--muted); margin-top: 4px; }

  .pair { display: grid; grid-auto-rows: 1fr; gap: 26px; margin-top: 26px; }
  .cont.rev[hidden] { display: none; }
  .cont.rev .img { display: flex; align-items: center; justify-content: center; align-self: stretch; width: 100%; }
  .cont.rev .img img { position: absolute; inset: 0; }
  .cont.rev .img b { font-family: var(--disp); font-size: 44px; font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: .02em; position: relative; }
  .cont.rev .img b small { font-size: 12px; letter-spacing: .22em; color: var(--muted); margin-left: 8px; font-weight: 700; }
  .cont.rev .img.pic b { display: none; }

  .cont .play, .goal .play { margin-top: 18px; font-family: var(--jp-font); font-size: 13px; line-height: 1; font-weight: 700; color: var(--accent); width: max-content; display: inline-flex; align-items: center; gap: 6px; }


  .cont.rev .txt::before, .goal .body::before { content: ""; flex: 1 1 0; }
  .cont.rev .play, .goal .play { flex: 1 1 0; margin-top: 0; min-height: 35px; align-self: flex-end; flex-wrap: wrap; align-content: flex-end; }
  .goal .body::before { margin-bottom: -2px; }
  .goal .play { margin-top: -2px; }
  .cont .play::after, .goal .play::after { content: ""; width: 17px; height: 17px; background: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23ff8c00%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27><path d=%27M4 12h15M13 6l6 6-6 6%27/></svg>") center / contain no-repeat; transition: transform .2s; }
  .cont:hover .play::after, .goal:hover .play::after { transform: translateX(3px); }


  .chans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cont:not([hidden]) + .chans { margin-top: 14px; }
  .chans[hidden] { display: none; }
  .chan { display: block; border-radius: 16px; overflow: hidden; background: var(--surface); transition: transform .22s, box-shadow .22s; }
  .chan:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -30px rgba(0,0,0,.9); }
  .chan .th { display: block; aspect-ratio: 16 / 9; background: var(--line); overflow: hidden; }
  .chan .th img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .5s; }
  .chan:hover .th img { transform: scale(1.06); }
  .chan .b { display: block; padding: 12px 14px 14px; }
  .chan .k { display: block; font-family: var(--disp); font-size: 11px; font-weight: 700; letter-spacing: .2em; line-height: 1; color: var(--accent); text-transform: uppercase; }
  .chan .n { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @media (max-width: 640px) { .chans { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cont:not([hidden]) + .chans { grid-template-columns: repeat(3, 1fr); margin-top: 10px; } .cont:not([hidden]) + .chans .chan .b { padding: 10px 10px 12px; } .cont:not([hidden]) + .chans .chan .n { font-size: 12px; } }


  body.ob-bg::before { content: ""; position: fixed; inset: -40vh -20vw auto -20vw; height: 90vh; background: radial-gradient(60% 60% at 30% 20%, rgba(255,140,0,.16), transparent 70%); pointer-events: none; z-index: 0; }
  .wrap { position: relative; z-index: 1; }
  .ob { min-height: calc(100vh - 160px); display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
  .ob .eyebrow { font-family: var(--disp); font-size: 13px; letter-spacing: .3em; color: var(--accent); text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
  .ob .eyebrow .seg { display: flex; gap: 6px; }
  .ob .eyebrow .seg i { width: 28px; height: 2px; background: var(--line); border-radius: 2px; }
  .ob .eyebrow .seg i.on { background: var(--accent); }
  .ob .eyebrow .seg i { width: 22px; }
  .ob h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; padding: 18px 0 8px; }
  .ob p.lead { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 34em; }

  .ob.wait { align-items: center; text-align: center; }
  .wait-text { display: inline-flex; align-items: baseline; gap: 2px; color: var(--muted); font-size: 15px; letter-spacing: .04em; }
  .wait-dots { display: inline-flex; gap: 4px; margin-left: 4px; }
  .wait-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); opacity: .25; animation: waitPulse 1.2s ease-in-out infinite; }
  .wait-dots i:nth-child(2) { animation-delay: .2s; }
  .wait-dots i:nth-child(3) { animation-delay: .4s; }
  @keyframes waitPulse { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .wait-dots i { animation: none; opacity: .6; } }
  .step { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; padding-top: 30px; max-width: 700px; }
  .opts button { text-align: left; padding: 22px 20px 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .18s, box-shadow .18s, background .18s; min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
  .opts button:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--muted); }
  .opts button[aria-pressed="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent), 0 12px 40px -18px var(--accent); }
  .opts .big { font-family: var(--disp); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
  .opts .big small { font-size: 14px; letter-spacing: .18em; margin-left: 4px; color: var(--muted); font-weight: 500; }
  .opts button[aria-pressed="true"] .big, .opts button[aria-pressed="true"] .big small { color: var(--accent); }
  .opts.dev button { min-height: 150px; }
  .opts .ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: auto; }
  .opts .ico svg { width: 52px; height: 52px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .opts .ico.wide, .opts .ico.wide svg { width: 80px; }
  .opts button[aria-pressed="true"] .ico svg { stroke: var(--accent); }
  .opts .lb { font-size: 14px; font-weight: 700; }
  .opts .lb small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
  .ob .nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 30px; }
  .ob .nav .cnt2 { font-family: var(--disp); font-size: 15px; letter-spacing: .12em; color: var(--muted); }

  .slider { padding-top: 26px; max-width: 620px; }
  .slider .val { display: flex; align-items: baseline; gap: 10px; font-family: var(--disp); }
  .slider .val b { font-size: 72px; font-weight: 700; line-height: 1; letter-spacing: .01em; color: var(--accent); }
  .slider .val small { font-size: 13px; letter-spacing: .2em; color: var(--muted); }
  .slider .val .tag { margin-left: auto; font-family: var(--jp-font); font-size: 14px; font-weight: 700; color: var(--ink); }
  .slider input[type=range] { width: 100%; margin: 22px 0 6px; accent-color: var(--accent); height: 34px; }
  .slider .ticks { display: flex; justify-content: space-between; font-family: var(--disp); font-size: 12px; color: var(--muted); letter-spacing: .1em; }

  .chips { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; max-width: 760px; }
  .chips button { padding: 12px 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 700; transition: transform .15s, background .15s; }
  .chips button:hover { transform: translateY(-2px); }
  .chips button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }

  .result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 24px; }
  .result .rc { background: var(--surface); border-radius: 18px; padding: 20px 22px; }
  .result .rc.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
  .result .rk { font-family: var(--disp); font-size: 12px; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; font-weight: 700; }
  .result .rv { font-family: var(--disp); font-size: 48px; font-weight: 700; line-height: 1; margin-top: 10px; letter-spacing: .01em; }
  .result .rv small { font-size: 14px; letter-spacing: .16em; color: var(--muted); margin-left: 6px; font-weight: 500; }
  .result .rt { font-size: 14px; font-weight: 700; margin-top: 10px; line-height: 1.5; }
  .result .rs { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
  .result .plan { display: flex; gap: 28px; flex-wrap: wrap; }
  .result .plan div { font-family: var(--disp); font-size: 30px; font-weight: 700; line-height: 1; }
  .result .plan div small { display: block; font-size: 11.5px; letter-spacing: .2em; color: var(--muted); margin-top: 6px; font-weight: 500; }
  .result .gl { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
  .result .gl span { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
  @media (max-width: 600px) { .result { grid-template-columns: 1fr; } .slider .val b { font-size: 56px; } .quiz .w { font-size: 16px; padding: 8px 12px; } }

  .ob .nav .back { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
  .ob .nav .back:hover { color: var(--ink); }
  .next { padding: 16px 34px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--disp); font-size: 16px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-align: center; transition: transform .18s, opacity .18s; }
  .next:hover { transform: translateY(-2px); }
  .next:disabled { background: var(--surface); color: var(--muted); cursor: default; transform: none; }

  .slots { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 14px 0 16px; background: linear-gradient(var(--bg) 70%, transparent); }
  .slots .ring { display: flex; gap: 10px; }
  .slots .slot { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; font-family: var(--disp); font-size: 16px; color: var(--muted); transition: transform .25s; }
  .slots .slot img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.35); }
  .slots .slot.on { box-shadow: 0 0 0 2px var(--accent); transform: scale(1.06); }
  .slots .cnt { font-family: var(--disp); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
  .slots .cnt small { font-size: 13px; letter-spacing: .2em; color: var(--muted); margin-left: 6px; font-weight: 500; }
  .slots .cnt b { color: var(--accent); font-weight: 700; }
  .slots .next { margin-left: auto; padding: 13px 26px; font-size: 14px; }
  .slots .next[hidden] { display: none; }
  .sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; padding-top: 10px; }
  .sg { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--surface); text-align: left; transition: transform .22s; isolation: isolate; }
  .sg:hover { transform: translateY(-4px) scale(1.01); }
  .sg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); transition: transform .5s, filter .3s; filter: saturate(.9); }
  .sg:hover img { transform: scale(1.42); filter: saturate(1.05); }
  .sg .sh { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.82) 100%); }
  .sg .txt { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; }
  .sg .tl { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
  .sg .tl .nm { min-width: 0; }
  .sg .nm { font-family: var(--disp); font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
  .sg .ar { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 3px; letter-spacing: .04em; }
  .sg .lv { display: inline-flex; align-items: center; flex: none; height: 20px; padding: 0 7px; border-radius: 6px; font-family: var(--disp); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
  .lv-1 { color: var(--lv-1, #3ddc84); background: rgba(61,220,132,.18); box-shadow: inset 0 0 0 1px rgba(61,220,132,.5); }
  .lv-2 { color: var(--lv-2, #4cc9f0); background: rgba(76,201,240,.18); box-shadow: inset 0 0 0 1px rgba(76,201,240,.5); }
  .lv-3 { color: var(--lv-3, #ffd60a); background: rgba(255,214,10,.18); box-shadow: inset 0 0 0 1px rgba(255,214,10,.5); }
  .lv-4 { color: var(--lv-4, #ff8c00); background: rgba(255,140,0,.18); box-shadow: inset 0 0 0 1px rgba(255,140,0,.5); }
  .lv-5 { color: var(--lv-5, #ff4d6d); background: rgba(255,77,109,.18); box-shadow: inset 0 0 0 1px rgba(255,77,109,.5); }
  .sg .hv { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.42); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 17px; color: rgba(255,255,255,.85); transition: transform .18s, background .18s; }
  .sg[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent), 0 18px 50px -20px var(--accent); }
  .sg[aria-pressed="true"] img { filter: saturate(1.1); }
  .sg[aria-pressed="true"] .hv { background: var(--accent); color: #fff; transform: scale(1.15); }
  @keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1.15); } }
  .sg[aria-pressed="true"] .hv.pop { animation: pop .35s ease-out; }



  .panel { position: fixed; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 20; padding: 20px; }
  .panel .box { width: min(100%, 520px); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; background: var(--surface); border-radius: 22px; padding: 26px 26px 22px; box-shadow: 0 40px 100px -40px rgba(0,0,0,1), inset 0 0 0 1px rgba(255,255,255,.06); }

  .panel .box { overscroll-behavior: contain; }
  .panel .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
  .panel h3 { font-family: var(--disp); font-size: 26px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
  .panel h3 span { color: var(--accent); }
  .panel .head small { font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
  .panel .set { padding: 16px 0 14px; border-top: 1px solid var(--line); }
  .panel .set .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .panel .set .lb { font-size: 15px; font-weight: 700; line-height: 1.3; }
  .panel .set .lb small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 3px; }
  .panel .set b { font-family: var(--disp); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: .02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .panel .set b i { font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-left: 5px; }
  .panel .set b.fixed { color: var(--muted); }
  .panel input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 12px 0 0; background: transparent; --p: 50%; }
  .panel input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line) var(--p)); }
  .panel input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; margin-top: -9px; box-shadow: 0 2px 10px rgba(0,0,0,.6); cursor: pointer; }
  .panel input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
  .panel input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
  .panel input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.6); }
  .panel .ticks { display: flex; justify-content: space-between; font-family: var(--disp); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-top: 6px; }

  .panel .alloc { padding: 16px 0 6px; border-top: 1px solid var(--line); }
  .panel .alloc .lb { font-size: 15px; font-weight: 700; line-height: 1.3; }
  .panel .alloc .lb small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 3px; }
  .panel .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 0; max-width: none; }
  .panel .chips button { font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
  .panel .chips button i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
  .panel .chips button.on { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
  .panel .chips button.on i { background: var(--c); }
  .panel .chips button.add { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-soft); }
  .panel .chips form { display: inline-flex; gap: 6px; }
  .panel .chips input { font: inherit; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); width: 130px; }
  .panel .chips input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
  .panel .abar { position: relative; height: 44px; margin: 22px 0 6px; border-radius: 10px; overflow: visible; display: flex; touch-action: none; user-select: none; -webkit-user-select: none; }
  .panel .abar .seg { height: 100%; background: var(--c); display: grid; place-items: center; overflow: hidden; transition: flex-basis .06s linear; }
  .panel .abar .seg:first-child { border-radius: 10px 0 0 10px; } .panel .abar .seg:last-of-type { border-radius: 0 10px 10px 0; }
  .panel .abar .seg span { font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #0b0b0d; white-space: nowrap; text-transform: uppercase; }
  .panel .abar .seg.dark span { color: var(--ink); }

  .panel .abar .hd { position: absolute; top: -6px; bottom: -6px; width: 28px; margin-left: -14px; cursor: ew-resize; z-index: 2; }
  .panel .abar .hd::after { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--surface); transition: background .15s, box-shadow .15s; }
  .panel .abar .hd:hover::after, .panel .abar .hd.on::after { background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 10px rgba(255,255,255,.6); }
  .panel .abar:hover { cursor: default; }
  .panel .legend { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; margin: 16px 0 18px; }
  .panel .legend .nm { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
  .panel .legend .nm i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
  .panel .legend .nm small { font-size: 12px; font-weight: 700; color: var(--muted); }
  .panel .legend .nm button.info { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px var(--muted); color: var(--muted); font-family: Georgia, serif; font-style: italic; font-size: 12px; line-height: 1; display: grid; place-items: center; flex: none; }
  .panel .legend .nm button.info:hover, .panel .legend .nm button.info.on { box-shadow: inset 0 0 0 1.2px var(--accent); color: var(--accent); }
  .panel .legend .calc { grid-column: 1 / -1; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.7; }
  .panel .legend .calc b { font-family: var(--disp); font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
  .panel .legend .calc .eq { font-family: var(--disp); font-size: 13px; letter-spacing: .04em; color: var(--ink); font-weight: 700; }
  .panel .legend b { font-family: var(--disp); font-size: 20px; font-weight: 700; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
  .panel .legend b i { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-left: 4px; }
  .panel .diag { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 4px; border-top: 1px solid var(--line); }
  .panel .diag .k { flex-basis: 100%; font-family: var(--disp); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; margin-bottom: 2px; }
  .panel .diag span.c { font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); text-transform: uppercase; }

  .panel .diag .chips { flex-basis: 100%; margin-top: 0; gap: 10px; }
  .panel .diag .chips button { font-family: inherit; font-size: 14.5px; font-weight: 700; letter-spacing: normal; text-transform: none; padding: 12px 18px; background: var(--surface); color: inherit; }
  .panel .diag .chips button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
  .panel .diag .gc { flex-basis: 100%; font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
  .panel .diag .gc small { margin-left: 10px; font-family: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: 0; color: var(--accent); }

  .panel .acct { border-top: 1px solid var(--line); padding: 16px 0 4px; margin-top: 14px; }
  .panel .acct .k { font-family: var(--disp); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
  .panel .acct .ar { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .panel .acct .ar:first-of-type { border-top: 0; }
  .panel .acct .ar .l { font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .panel .acct .ar .v { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .panel .acct .ar .v.dim { color: var(--muted); font-weight: 700; }
  .panel .acct .ar input { font: inherit; font-size: 14px; font-weight: 700; padding: 7px 12px; border-radius: 10px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); width: 100%; }
  .panel .acct .ar input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
  .panel .acct .ar button, .panel .acct .dz button { font-size: 12.5px; font-weight: 700; color: var(--accent); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
  .panel .acct .dz { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 4px; border-top: 1px solid var(--line); margin-top: 4px; }
  .panel .acct .dz .l { font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .panel .acct .dz button.bad { color: #ff5a5a; }
  .panel .acct .dz .wipe { width: 100%; }
  .panel .acct .dz .wipe .l { display: block; line-height: 1.6; }
  .panel .acct .dz .wipe .l b { color: var(--ink); }
  .panel .acct .dz .wipe .row { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
  .panel .acct .dz .wipe input { font: inherit; font-size: 15px; font-weight: 400; height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); box-shadow: none; appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; }
  .panel .acct .dz .wipe input::placeholder { color: var(--muted); }
  .panel .acct .dz .wipe input:focus { outline: none; border-color: #ff5a5a; box-shadow: 0 0 0 3px rgba(255,90,90,.3); }
  .panel .acct .dz .wipe button.bad { background: #ff5a5a; color: #fff; padding: 9px 16px; }
  .panel .acct .dz .wipe button.bad:disabled { background: var(--line); color: var(--muted); cursor: default; }
  .panel .acct .dz .confirm { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
  .panel .acct .dz .confirm button.bad { background: #ff5a5a; color: #fff; padding: 8px 14px; }
  .panel .acts { display: flex; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 20px; }
  .panel .acts button { padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); }
  .panel .acts button.pri { background: var(--accent); color: var(--on-accent); padding: 13px 30px; box-shadow: 0 14px 30px -14px var(--accent); transition: transform .15s; }
  .panel .acts button.pri:hover { transform: translateY(-1px); }
  .panel .acts button.pri:disabled { background: var(--surface); color: var(--muted); box-shadow: none; cursor: default; transform: none; }
  @media (max-width: 600px) { .panel { place-items: end center; padding: 0; } .panel .box { border-radius: 22px 22px 0 0; padding: 22px 20px 26px; } }




  @media (max-width: 720px) { .who .day { display: none; } .who .kw { height: 30px; padding: 0 12px; margin: 0 10px 0 0; } .who .kw .in { gap: 6px; } .who .kw b { font-size: 15px; } .who .kw small { font-size: 9px; letter-spacing: .18em; } .sbtn { margin-left: 8px; } }
  @media (max-width: 600px) {
    .panel .acct .dz .wipe .row { flex-wrap: wrap; }
    .panel .acct .dz .wipe input { flex-basis: 100%; }
    .wrap { padding: 0 22px calc(60px + env(safe-area-inset-bottom)); }
    .ob h1 { padding: 22px 0 10px; }
    .chips { padding-top: 30px; gap: 10px 9px; }
    .ob { min-height: calc(100dvh - 132px - env(safe-area-inset-bottom)); justify-content: center; }   
    .ob .nav { padding-top: 36px; flex-direction: column; align-items: stretch; gap: 12px; }
    .ob .nav > span:empty { display: none; }
    .ob .nav .cnt2 { text-align: center; }
    .ob .nav .next { width: 100%; min-height: 52px; }
    .ob .nav .back { align-self: flex-start; }
    .chans .chan:only-child, .cont:not([hidden]) + .chans .chan:only-child { flex-basis: 100%; }

    .goal .cv { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); position: relative; }
    .goal .cv i:nth-child(n+5) { display: none; }
    .goal .cv i img { transform: none; }
    .goal .cv::after { content: '+6'; position: absolute; right: 6px; bottom: 6px; z-index: 1; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-family: var(--disp); font-size: 11px; font-weight: 700; letter-spacing: .08em; }

    .brand, .who .day, .sec.today { display: none; }
    header.top { align-items: center; gap: 10px; padding: 24px 0 2px; }
    .top .ph { display: block; min-width: 0; }
    .top .ttl { font-family: var(--disp); font-size: 46px; font-weight: 700; letter-spacing: .2em; line-height: 1; color: var(--accent); display: flex; align-items: baseline; gap: 10px; -webkit-text-stroke: 1px currentColor; }   
    .who .kw { margin: 0; }

    .sbtn { width: 44px; height: 44px; margin: 0 -10px 0 0; align-self: center; }
    .tasks { margin-top: 18px; }

    .tasks { grid-template-columns: 1fr 1fr; gap: 10px; }
    .task .body { padding: 12px 12px 14px; }
    .task .k { font-size: 11px; letter-spacing: .18em; }
    .task .t { font-size: 14px; margin-top: 8px; }
    .task .s { font-size: 12px; }
    .task .foot { flex-wrap: wrap; gap: 8px; padding-top: 12px; }
    .task .num { font-size: 11px; }
    .task .num b { font-size: 14px; }
    .task .go { margin-left: auto; font-size: 12px; }

    .cont { grid-template-columns: 42% 1fr; }
    #cont .t, #cont .s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cont .img { align-self: stretch; width: 100%; }
    .cont .img .p { height: 4px; }
    .cont .txt { padding: 12px 14px; }
    .cont .k { font-size: 11px; letter-spacing: .18em; }
    .cont .t { font-size: 14px; margin-top: 6px; }
    .cont .s { font-size: 12px; }
    .cont .play, .goal .play { margin-top: 10px; font-size: 12px; }
    .cont.rev .play, .goal .play { margin-top: 0; min-height: 27px; }
    .goal .play { margin-top: -2px; }




    .sec { padding: 34px 0 14px; }
    .sec h2 { font-size: 22px; }
    .tasks { grid-template-columns: 1fr; gap: 12px; }
    .tasks .task:first-child { border-radius: 20px; overflow: hidden; background: var(--surface); }
    .tasks .task:first-child .body { padding: 14px 18px 16px; }
    .tasks .task:first-child .k { font-size: 12px; letter-spacing: .22em; }
    .tasks .task:first-child .t { font-size: 17px; line-height: 1.3; margin-top: 6px; }
    .tasks .task:first-child .s { font-size: 12px; margin-top: 2px; }
    .tasks .task:first-child .foot { flex-wrap: nowrap; gap: 14px; padding-top: 6px; }
    .tasks .task:first-child .go { font-size: 13px; }

    .tasks .task:nth-child(2) { display: grid; grid-template-columns: 42% 1fr; align-items: stretch; border-radius: 18px; overflow: hidden; background: var(--surface); }
    .tasks .task:nth-child(2) .bg { align-self: stretch; aspect-ratio: auto; height: 100%; }
    .tasks .task:nth-child(2) .bg::after { display: none; }
    .tasks .task:nth-child(2) .body { padding: 12px 14px; }
    .tasks .task:nth-child(2) .t { font-size: 15px; margin-top: 6px; }
    .tasks .task:nth-child(2) .s { display: none !important; }

    .tasks .task:nth-child(2) .body::before { content: ""; flex: 1 1 0; }
    .tasks .task:nth-child(2) .foot { flex: 1 1 0; flex-wrap: wrap; gap: 8px 10px; margin-top: 0; padding-top: 0; min-height: 27px; align-items: flex-end; align-content: flex-end; }

    .tasks .task.story { display: grid; grid-template-columns: 42% 1fr; align-items: stretch; border-radius: 18px; overflow: hidden; background: var(--surface); min-height: 124px; }
    .tasks .task.story .bg { flex: none; align-self: stretch; aspect-ratio: auto; height: 100%; background: #f6f1e7; }
    .tasks .task.story .bg img { object-fit: contain; }
    .tasks .task.story .bg::after { display: none; }
    .tasks .task.story .body { padding: 12px 14px; }
    .tasks .task.story .t { font-size: 15px; margin-top: 6px; }
    .tasks .task.story .s { display: none !important; }
    .tasks .task.story .foot { flex-wrap: wrap; gap: 8px 10px; min-height: 27px; }
    .pair { gap: 12px; margin-top: 12px; }
    .tasks .task:nth-child(2), .cont, .goal { min-height: 124px; }
    .goal .body { padding: 12px 14px; }
    .goal .s { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .cont:not([hidden]) + .chans { margin-top: 18px; }
    .chans, .cont:not([hidden]) + .chans { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -22px; margin-right: -22px; padding: 0 22px 6px; scroll-padding: 0 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .chans::-webkit-scrollbar { display: none; }
    .chans .chan, .cont:not([hidden]) + .chans .chan { flex: 0 0 72%; scroll-snap-align: start; }
    .chans .chan .b, .cont:not([hidden]) + .chans .chan .b { padding: 12px 14px 14px; }
    .chans .chan .n, .cont:not([hidden]) + .chans .chan .n { font-size: 15px; }
    .sgrid { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
    .sg { aspect-ratio: auto; display: block; }
    .sg img { position: static; display: block; height: auto; aspect-ratio: 16 / 9; transform: none; }
    .sg:hover img { transform: none; }
    .sg .sh { display: none; }
    .sg .txt { position: static; display: block; padding: 10px 12px 12px; color: var(--ink); }
    .sg .nm { font-size: 14px; text-shadow: none; }
    .sg .ar { color: var(--muted); }
    .sg .hv { width: 32px; height: 32px; font-size: 15px; }

    .slots { gap: 12px; padding: 10px 0 12px; }
    .slots .ring { gap: 8px; }
    .slots .slot { width: 44px; height: 44px; font-size: 14px; }
    .slots .cnt { font-size: 26px; white-space: nowrap; }
    .slots .cnt small { display: none; }
    .slots .next { padding: 11px 18px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
  }

  @media (max-width: 360px) { .who .kw { padding: 0 10px; } }

  @media (min-width: 601px) {
    .task.foot-in .body { position: relative; }
    .task.foot-in .foot { position: absolute; right: 20px; bottom: 20px; height: calc(13px * 1.4); margin-top: 0; padding-top: 0; }
    .task.foot-in .num:empty { display: none; }
  }
