/* Toerdle home — the app's screens, live. Each .scr is one screen built in iOS points
 * (402 × 874, an iPhone 17 Pro) and scaled into its frame with --k, so it stays sharp at any
 * width and follows light and dark through the kreide.css roles. scenes.js builds them and
 * plays each one's single story; with Reduce Motion they stand in their final state.
 */

.scr {
  --fs: 1;
  position: absolute; left: 0; top: 0;
  width: 402px; height: 874px;
  transform-origin: 0 0; transform: scale(var(--k, 0.65));
  overflow: hidden;
  background: var(--iron-floor); color: var(--iron-ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none; user-select: none;
  text-align: left;
}
.scr *, .scr *::before, .scr *::after { box-sizing: border-box; }
.scr .cmp { font-family: var(--font-narrow); font-weight: 1000; font-stretch: 47%; }
.scr .cnd { font-family: var(--font-narrow); font-weight: 870; font-stretch: 60%; }
.scr .cnb { font-family: var(--font-narrow); font-weight: 760; font-stretch: 60%; }
.scr .cap { font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--iron-muted); font-size: 14px; }
.scr .mut { color: var(--iron-muted); }
.scr .tab { font-variant-numeric: tabular-nums; }
.scr .ic { width: 1em; height: 1em; fill: currentColor; flex: none; display: block; }
.scr img { display: block; margin: 0; max-width: none; border-radius: 0; box-shadow: none; }
.scr .mascot .m-l, .scr .mascot .m-d { width: 100%; height: 100%; }
.scr .ab { position: absolute; }
.scr .m-d { display: none; }
[data-theme="dark"] .scr .m-l { display: none; }
[data-theme="dark"] .scr .m-d { display: block; }

/* Status bar, after the iOS 27 UI kit */
.scr__sb { position: absolute; z-index: 30; left: 0; right: 0; top: 0; height: 62px; pointer-events: none; color: var(--iron-ink); }
.scr__sb b { position: absolute; top: 21.5px; left: 0; width: 138.5px; line-height: 22px; text-align: center; font-size: 17px; font-weight: 600; }
.scr__sb i { position: absolute; top: 25.33px; left: 285.25px; display: flex; align-items: flex-start; gap: 8px; }
.scr__sb svg { display: block; fill: currentColor; }
.scr[data-dark] .scr__sb { color: var(--photo-ink); }

/* The finger: it appears where it touches, presses, lifts */
.scr__touch { position: absolute; z-index: 60; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.scr__touch::after {
  content: ""; position: absolute; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  background: color-mix(in srgb, var(--iron-ink) 18%, transparent);
  box-shadow: inset 0 0 0 2px var(--iron-ink);
  opacity: 0; transform: scale(1.4);
  transition: opacity 0.35s ease, transform 0.4s var(--ease-enter);
}
.scr__touch[data-on]::after { opacity: 1; transform: scale(1); transition: opacity 0.12s ease, transform 0.18s var(--ease-enter); }
.scr__touch[data-press]::after { transform: scale(0.82); background: color-mix(in srgb, var(--iron-ink) 26%, transparent); transition: transform 0.1s ease-out; }
.scr .is-pressed { transform: scale(0.96); opacity: 0.85; }

/* Roll: only the digits that change roll, last digit first */
.roll { display: inline-flex; font-variant-numeric: tabular-nums; vertical-align: top; }
.roll .dg { display: inline-block; height: 1.1em; overflow: hidden; line-height: 1.1em; transition: opacity 0.3s ease, width 0.4s var(--ease-value);
  -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }
.roll .dg.lz { opacity: 0; }
.roll .st { display: flex; flex-direction: column; transition: transform 0.75s cubic-bezier(0.45, 0, 0.1, 1); }
.roll .st > span, .roll .sp { display: block; height: 1.1em; line-height: 1.1em; }
.roll .sp { display: inline-block; }
.roll.now .st { transition: none !important; }

/* ---------- Shared parts ---------- */
.scr .head { position: absolute; top: 66px; left: 16px; right: 16px; height: 48px; display: flex; align-items: center; gap: 8px; }
.scr .head__t { font-size: 44px; line-height: 1; margin-right: auto; display: flex; align-items: center; gap: 6px; }
.scr .sq { width: 46px; height: 46px; border-radius: 14px; background: var(--iron-chalk); box-shadow: inset 0 0 0 1px var(--iron-line); display: grid; place-items: center; flex: none; font-size: 22px; transition: transform var(--dur-press) ease, opacity var(--dur-press) ease; }
.scr .pill { height: 46px; padding: 0 14px; border-radius: 14px; background: var(--iron-chalk); box-shadow: inset 0 0 0 1px var(--iron-line); display: inline-flex; align-items: center; gap: 6px; font-size: 21px; flex: none; }
.scr .pill .ic { font-size: 15px; }
.scr .me { width: 46px; height: 46px; border-radius: 50%; flex: none; overflow: hidden; box-shadow: 0 0 0 1px var(--iron-line); }
.scr .ava { border-radius: 50%; overflow: hidden; flex: none; background: var(--iron-chalk); }
.scr .ava img, .scr .me img { width: 100%; height: 100%; object-fit: cover; }
.scr .s-card { border-radius: 20px; background: var(--iron-chalk); }
.scr .s-nav { position: absolute; left: 16px; top: 786px; width: 286px; height: 62px; border-radius: 31px; background: var(--nav-bar); box-shadow: 0 0 0 1px var(--iron-line), 0 6px 18px -8px var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 6px; }
.scr .s-nav span { height: 50px; border-radius: 25px; display: grid; place-items: center; font-size: 28px; color: var(--iron-muted); }
.scr .s-nav span[data-on] { background: var(--nav-plate); color: var(--iron-ink); }
.scr .add { position: absolute; top: 786px; left: 324px; width: 62px; height: 62px; border-radius: 50%; background: var(--iron-ink); color: var(--iron-floor); display: grid; place-items: center; font-size: 28px; transition: transform var(--dur-press) ease, opacity var(--dur-press) ease; }
.scr .btn-ink { position: absolute; left: 16px; right: 16px; height: 66px; border-radius: 18px; background: var(--iron-ink); color: var(--iron-action-ink); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 27px; transition: transform var(--dur-press) ease, opacity var(--dur-press) ease; }
.scr .btn-ink .ic { font-size: 24px; }
.scr .chipi { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; background: var(--iron-floor); font-size: 17px; }
.scr .chipi .ic { font-size: 16px; }

/* ---------- Start ---------- */
.scr--start .s-bars { position: absolute; top: 134px; left: 16px; width: 370px; height: 252px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.scr--start .s-bar { position: relative; border-radius: 16px; background: var(--iron-line); }
.scr--start .bar__f { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: height 0.9s cubic-bezier(0.45, 0, 0.1, 1); }
.scr--start .bar__f > span { display: block; transition: flex-grow 0.9s cubic-bezier(0.45, 0, 0.1, 1); }
.scr--start .bar__v { position: absolute; left: 0; right: 0; text-align: center; font-size: 21px; transition: bottom 0.9s cubic-bezier(0.45, 0, 0.1, 1); }
.scr--start .chips { position: absolute; top: 396px; left: 16px; width: 370px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.scr--start .s-chip { height: 58px; border-radius: 14px; background: var(--iron-chalk); display: grid; place-items: center; align-content: center; gap: 3px; font-size: 13.5px; }
.scr--start .s-chip .ic { font-size: 21px; }
.scr--start .s-chip[data-on] { background: var(--iron-ink); color: var(--iron-action-ink); }
.scr--start .cal { position: absolute; top: 472px; left: 16px; }
.scr--start .cal .cap { display: flex; gap: 6px; align-items: center; }
.scr--start .cal__fig { display: flex; font-size: 92px; margin: -6px 0 -16px -3px; }
.scr--start .cal__of { font-size: 26px; margin-top: 4px; }
.scr--start .mascot { position: absolute; top: 450px; left: 226px; width: 168px; height: 168px; }
.scr--start .macros { position: absolute; top: 606px; left: 16px; width: 370px; display: grid; grid-template-columns: repeat(3, 1fr); }
.scr--start .mac { padding-right: 14px; }
.scr--start .mac + .mac { padding-left: 14px; border-left: 1px solid var(--iron-line); }
.scr--start .mac__fig { display: flex; align-items: center; gap: 6px; font-size: 46px; line-height: 1; }
.scr--start .mac__fig .roll { margin: -4px 0; }
.scr--start .s-dot { width: 13px; height: 13px; border-radius: 50%; flex: none; }
.scr--start .mac__of { font-size: 18px; margin-top: 2px; }
.scr--start .mac__bar { height: 6px; border-radius: 3px; background: var(--iron-line); margin-top: 8px; overflow: hidden; }
.scr--start .mac__bar > span { display: block; height: 100%; border-radius: 3px; transition: width 0.9s cubic-bezier(0.45, 0, 0.1, 1); }
.scr--start .mac .cap { font-size: 11px; margin-top: 8px; }
.scr--start .veil { position: absolute; inset: 0; z-index: 20; background: color-mix(in srgb, var(--iron-floor) 90%, transparent); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.scr--start[data-sheet] .veil { opacity: 1; }
.scr--start .sheet {
  position: absolute; z-index: 25; left: 0; right: 0; bottom: 0; height: 520px; border-radius: 28px 28px 0 0;
  background: var(--iron-floor); box-shadow: 0 -1px 0 var(--iron-line), 0 -18px 50px -20px var(--shadow);
  transform: translateY(105%);
  transition: transform 0.5s cubic-bezier(0.3, 0.75, 0.1, 1), height 0.55s cubic-bezier(0.3, 0.75, 0.1, 1);
}
.scr--start[data-sheet] .sheet { transform: none; }
.scr--start[data-sheet="search"] .sheet { height: 800px; }
.scr .grab { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--iron-line); }
.scr--start .pane { position: absolute; inset: 0; padding: 30px 16px 0; transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.3, 0.75, 0.1, 1); }
.scr--start[data-sheet="search"] .pane--meals { opacity: 0; transform: translateY(-10px); }
.scr--start .pane--search { opacity: 0; transform: translateY(12px); }
.scr--start[data-sheet="search"] .pane--search { opacity: 1; transform: none; transition-delay: 0.12s; }
.scr--start .q { font-size: 36px; line-height: 1; margin: 6px 0 18px; }
.scr--start .rows { display: grid; gap: 8px; }
.scr--start .row { height: 62px; border-radius: 16px; background: var(--iron-chalk); display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 22px; transition: transform var(--dur-press) ease, opacity var(--dur-press) ease; }
.scr--start .row .ic { font-size: 22px; }
.scr--start .row .chev { margin-left: auto; color: var(--iron-muted); font-size: 18px; }
.scr--start .row--plan { background: var(--iron-floor); box-shadow: inset 0 0 0 1px var(--iron-line); }
.scr--start .shead { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 16px; }
.scr--start .field { height: 54px; border-radius: 14px; background: var(--iron-chalk); display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 20px; }
.scr--start .field .ic { color: var(--iron-muted); font-size: 20px; }
.scr--start .caret { display: inline-block; width: 2px; height: 24px; background: var(--iron-ink); margin-left: 1px; vertical-align: middle; animation: scr-blink 1s steps(1) infinite; }
@keyframes scr-blink { 50% { opacity: 0; } }
.scr--start .results { display: grid; gap: 8px; margin-top: 14px; }
.scr--start .res { height: 76px; border-radius: 16px; background: var(--iron-chalk); display: flex; align-items: center; padding: 0 12px 0 16px; gap: 12px;
  opacity: 0; transform: translateY(-8px); transition: opacity 0.45s var(--ease-enter), transform 0.55s var(--ease-enter); }
.scr--start[data-results] .res { opacity: 1; transform: none; }
.scr--start[data-results] .res:nth-child(2) { transition-delay: 0.06s; }
.scr--start[data-results] .res:nth-child(3) { transition-delay: 0.12s; }
.scr--start[data-results] .res:nth-child(4) { transition-delay: 0.18s; }
.scr--start .res__t { font-size: 22px; line-height: 1.15; }
.scr--start .res__s { font-size: 16px; margin-top: 3px; }
.scr .b { display: block; height: 9px; border-radius: 5px; background: var(--iron-line); }
.scr--start .plus { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--iron-ink); color: var(--iron-action-ink); position: relative; flex: none; transition: transform var(--dur-press) ease; }
.scr--start .plus .ic { position: absolute; left: 12px; top: 12px; font-size: 22px; transition: opacity 0.25s ease, transform 0.35s var(--ease-enter); }
.scr--start .plus .ok { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.scr--start .plus[data-done] .ok { opacity: 1; transform: none; }
.scr--start .plus[data-done] .ad { opacity: 0; transform: rotate(90deg) scale(0.6); }
.scr .toast { position: absolute; z-index: 15; left: 16px; right: 16px; top: 722px; height: 54px; border-radius: 16px; background: var(--iron-ink); color: var(--iron-action-ink);
  display: flex; align-items: center; padding: 0 8px 0 18px; gap: 10px; font-size: 19px;
  opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.35s ease, transform 0.5s var(--ease-enter); }
.scr[data-toast] .toast { opacity: 1; transform: none; }
.scr .toast .undo { margin-left: auto; height: 40px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; gap: 6px; transition: transform var(--dur-press) ease; }

/* ---------- Speiseplan and Einkauf: the day column beside one chalk card ---------- */
.scr .plan-head { position: absolute; top: 66px; left: 16px; right: 16px; height: 50px; display: flex; align-items: center; gap: 10px; }
.scr .plan-head .t { font-size: 50px; line-height: 1; margin-right: auto; }
.scr .plan-head .sq { border-radius: 50%; }
.scr .days { position: absolute; top: 140px; left: 16px; width: 64px; display: grid; gap: 6px; }
.scr .s-day { height: 50px; border-radius: 14px; background: var(--iron-chalk); display: grid; place-items: center; align-content: center; gap: 4px; font-size: 16px; transition: transform var(--dur-press) ease, opacity var(--dur-press) ease; }
.scr .s-day .ic { font-size: 19px; }
.scr .s-day small { font-size: 11px; font-weight: 700; }
.scr .s-day[data-on] { background: var(--iron-floor); box-shadow: inset 0 0 0 2.5px var(--iron-ink); }
.scr .dashes { display: flex; gap: 3px; }
.scr .dashes i { width: 12px; height: 5px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--iron-ink); transition: background 0.3s ease; }
.scr .dashes i[data-f] { background: var(--iron-ink); }
.scr .pcard { position: absolute; top: 140px; left: 88px; right: 16px; bottom: 26px; border-radius: 20px; background: var(--iron-chalk); padding: 20px 16px; overflow: hidden; }
.scr--meals .pcard .t { font-size: 38px; line-height: 1; }
.scr--meals .goal { margin-top: 14px; font-size: 15px; font-weight: 500; }
.scr--meals .goal + .goal { margin-top: 10px; }
.scr--meals .goal__bar { height: 6px; border-radius: 3px; background: var(--iron-line); margin-top: 6px; overflow: hidden; }
.scr--meals .goal__bar span { display: block; height: 100%; border-radius: 3px; transition: width 0.9s cubic-bezier(0.45, 0, 0.1, 1); }
.scr--meals .sec { border-top: 1px solid var(--iron-line); margin-top: 16px; padding-top: 14px; }
.scr--meals .sec__h { display: flex; justify-content: space-between; align-items: center; font-size: 15px; text-transform: uppercase; }
.scr--meals .sec__h .ic { font-size: 18px; }
.scr--meals .dish { display: flex; gap: 12px; margin-top: 10px; align-items: flex-start; }
.scr--meals .dish__pic { width: 74px; flex: none; }
.scr--meals .dish__pic img { width: 74px; height: 56px; object-fit: cover; border-radius: 10px; }
.scr--meals .dish__pic i { display: flex; gap: 2px; margin-top: 4px; }
.scr--meals .dish__pic i b { height: 4px; border-radius: 2px; }
.scr--meals .dish__t { font-size: 21px; line-height: 1.05; }
.scr--meals .dish__k { font-size: 14px; margin-top: 4px; }
.scr--meals .slot { overflow: hidden; transition: height 0.6s cubic-bezier(0.45, 0, 0.1, 1); }
.scr--meals .slot .dish { transition: opacity 0.4s ease 0.25s, transform 0.6s var(--ease-enter) 0.2s; }
.scr--meals .slot[data-empty] .dish { opacity: 0; transform: translateY(-10px); transition-delay: 0s; }
.scr--meals .empty { font-size: 15px; margin-top: 10px; height: 22px; transition: opacity 0.2s ease; }

.scr--shop .seg { display: flex; gap: 6px; }
.scr--shop .seg span { flex: 1; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 17px; box-shadow: inset 0 0 0 1px var(--iron-line); background: var(--iron-floor); }
.scr--shop .seg span[data-on] { background: var(--iron-ink); color: var(--iron-action-ink); box-shadow: none; }
.scr--shop .lead { font-size: 23px; line-height: 1.1; margin: 16px 0 0; padding-right: 70px; }
.scr--shop .lead-art { position: absolute; right: 8px; top: 68px; width: 86px; height: 86px; }
.scr--shop .grp { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; }
.scr--shop .grp .t { font-size: 26px; line-height: 1; }
.scr--shop .grp .n { font-size: 22px; color: var(--iron-muted); }
.scr--shop .it { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--iron-line); }
.scr--shop .box { width: 26px; height: 26px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--iron-ink); flex: none; display: grid; place-items: center; color: var(--iron-action-ink); font-size: 16px; transition: background 0.2s ease, transform var(--dur-press) ease; }
.scr--shop .box .ic { opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.35s var(--ease-pin); }
.scr--shop .it[data-done] .box { background: var(--iron-ink); }
.scr--shop .it[data-done] .box .ic { opacity: 1; transform: none; }
.scr--shop .it__n { font-size: 18px; line-height: 1.2; transition: color 0.3s ease; }
.scr--shop .it__s { font-size: 14px; margin-top: 2px; }
.scr--shop .it[data-done] .it__n { color: var(--iron-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.scr--shop .it__a { margin-left: auto; font-size: 19px; font-weight: 700; white-space: nowrap; }

/* ---------- Freunde ---------- */
.scr--feed .stories { position: absolute; top: 128px; left: 16px; display: flex; gap: 12px; }
.scr--feed .s-story { display: grid; justify-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.scr--feed .s-story .ava { width: 62px; height: 62px; box-shadow: 0 0 0 3px var(--iron-floor), 0 0 0 5.5px var(--iron-ink); margin: 6px; }
.scr--feed .s-story[data-seen] .ava { box-shadow: 0 0 0 3px var(--iron-floor), 0 0 0 4.5px var(--iron-line); }
.scr--feed .flow { position: absolute; top: 240px; left: 16px; right: 16px; }
.scr--feed .post { overflow: hidden; transition: height 0.7s cubic-bezier(0.45, 0, 0.1, 1); }
.scr--feed .post__in { border-radius: 20px; background: var(--iron-chalk); padding: 18px 18px 0; margin-bottom: 18px; position: relative; overflow: hidden;
  transition: opacity 0.45s ease 0.2s, transform 0.7s var(--ease-enter) 0.15s; }
.scr--feed .post[data-in="0"] .post__in { opacity: 0; transform: translateY(-14px); transition-delay: 0s; }
.scr--feed .post__who { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--iron-muted); }
.scr--feed .post__who .ava { width: 36px; height: 36px; }
.scr--feed .post__who .chipi { margin-left: auto; box-shadow: inset 0 0 0 1px var(--iron-line); }
.scr--feed .post__t { font-size: 46px; line-height: 1; margin-top: 14px; }
.scr--feed .post__pr { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; margin-top: 18px; }
.scr--feed .post__pr .ic { font-size: 22px; }
.scr--feed .post__v { font-size: 27px; margin-top: 6px; display: flex; gap: 6px; align-items: baseline; }
.scr--feed .post__gym { margin: 16px -18px 0; height: 150px; background: var(--iron-line); position: relative; }
.scr--feed .post__gym::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: color-mix(in srgb, var(--iron-ink) 22%, var(--iron-line)); }
.scr--feed .post__gym img { position: absolute; left: 50%; bottom: 6px; width: 150px; height: 150px; margin-left: -75px; z-index: 1; transition: transform 0.26s cubic-bezier(0.45, 0, 0.55, 1); }
.scr--feed .post__gym img[data-down] { transform: translateY(16px) scaleY(0.93); }
.scr--feed .post__cup { position: absolute; right: 14px; top: 94px; width: 74px; height: 74px; }
.scr--feed .lbl { margin: 0 0 12px; }
.scr--feed .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scr--feed .tile { height: 180px; border-radius: 20px; background: var(--iron-chalk); position: relative; overflow: hidden; }
.scr--feed .tile .chipi { position: absolute; right: 10px; top: 10px; box-shadow: inset 0 0 0 1px var(--iron-line); }
.scr--feed .tile--run img { position: absolute; left: 8px; bottom: -10px; width: 150px; height: 150px; }
.scr--feed .ring { position: absolute; left: 50%; top: 34px; width: 140px; height: 140px; margin-left: -70px; }
.scr--feed .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scr--feed .ring__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.scr--feed .ring__c small { font-size: 13px; }
.scr--feed .ring__c b { font-size: 34px; line-height: 1; }

/* ---------- Challenges ---------- */
.scr--challenges .board { position: absolute; top: 130px; left: 16px; right: 16px; height: 330px; border-radius: 20px; background: var(--iron-chalk); padding: 16px 16px 0; overflow: hidden; }
.scr--challenges .board__t { display: flex; justify-content: space-between; align-items: center; font-size: 26px; }
.scr--challenges .board__t .ic { font-size: 20px; }
.scr--challenges .filters { display: flex; gap: 6px; margin-top: 12px; }
.scr--challenges .filters .chipi { font-size: 15px; height: 32px; padding: 0 10px; }
.scr--challenges .pod { position: absolute; left: 16px; right: 16px; bottom: 0; height: 226px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.scr--challenges .pod__c { display: grid; justify-items: center; gap: 4px; }
.scr--challenges .pod__v { font-size: 19px; }
.scr--challenges .pod__c .ava { width: 40px; height: 40px; }
.scr--challenges .pod__n { font-size: 14px; color: var(--iron-muted); font-weight: 600; }
.scr--challenges .pod__b { width: 100%; border-radius: 12px 12px 0 0; display: grid; justify-items: center; padding-top: 6px; font-size: 30px; color: var(--iron-podium-print); transform-origin: bottom; transition: transform 0.7s var(--ease-plate); }
.scr--challenges .pod__c > :not(.pod__b) { transition: opacity 0.4s ease, transform 0.6s var(--ease-enter); }
.scr--challenges [data-low] .pod__b { transform: scaleY(0); }
.scr--challenges [data-low] .pod__c > :not(.pod__b) { opacity: 0; transform: translateY(30px); }
.scr--challenges .wait { position: absolute; top: 480px; left: 16px; }
.scr--challenges .duel { position: absolute; top: 510px; left: 16px; right: 16px; height: 262px; border-radius: 20px; background: var(--photo-scrim); color: var(--photo-ink); padding: 18px 18px; overflow: hidden;
  transition: opacity 0.45s ease, transform 0.7s var(--ease-enter); }
.scr--challenges .duel[data-out] { opacity: 0; transform: translateY(-18px); }
.scr--challenges .duel__top { display: flex; justify-content: space-between; font-size: 14px; }
.scr--challenges .duel__top .cap { color: var(--photo-ink); }
.scr--challenges .duel__vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; margin-top: 12px; }
.scr--challenges .duel__vs div { display: grid; justify-items: center; gap: 4px; font-size: 22px; }
.scr--challenges .duel__vs b { font-size: 62px; line-height: 1; transition: transform 0.5s var(--ease-pin); }
.scr--challenges .duel[data-out] .duel__vs b { transform: scale(1.6); }
.scr--challenges .duel__t { font-size: 34px; line-height: 1; margin-top: 10px; }
.scr--challenges .duel__s { font-size: 16px; margin-top: 8px; opacity: 0.85; }

/* ---------- Vor der Kamera ---------- */
.scr--camera .s-live { position: absolute; top: 126px; left: 16px; right: 16px; border-radius: 22px; background: var(--iron-chalk); overflow: hidden; }
.scr--camera .live__cam { height: 250px; background: var(--photo-scrim); position: relative; overflow: hidden; color: var(--photo-ink); }
.scr--camera .live__word { position: absolute; left: -6px; bottom: -14px; font-size: 150px; line-height: 0.8; color: color-mix(in srgb, var(--photo-ink) 9%, var(--photo-scrim)); letter-spacing: -2px; }
.scr--camera .live__floor { position: absolute; left: 0; right: 0; bottom: 28px; height: 1px; background: color-mix(in srgb, var(--photo-ink) 20%, var(--photo-scrim)); }
.scr--camera .live__m { position: absolute; bottom: 14px; width: 150px; height: 150px; transition: transform 0.24s cubic-bezier(0.45, 0, 0.55, 1); }
.scr--camera .live__m--a { left: 34px; }
.scr--camera .live__m--b { right: 34px; transform: scaleX(-1); }
.scr--camera .live__m--a[data-down] { transform: translateY(14px) scaleY(0.93); }
.scr--camera .live__m--b[data-down] { transform: scaleX(-1) translateY(14px) scaleY(0.93); }
.scr--camera .live__n { position: absolute; top: 14px; font-size: 56px; line-height: 1; }
.scr--camera .live__n--a { left: 18px; } .scr--camera .live__n--b { right: 18px; }
.scr--camera .live__tm { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); height: 42px; padding: 0 14px; border-radius: 21px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--photo-ink) 35%, transparent); display: flex; align-items: center; font-size: 25px; }
.scr--camera .live__foot { display: flex; align-items: center; gap: 10px; padding: 16px 18px 18px; }
.scr--camera .live__foot .t { font-size: 36px; line-height: 1; }
.scr--camera .neu { margin-left: auto; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--iron-ink); color: var(--iron-action-ink); display: grid; place-items: center; font-size: 15px; font-weight: 800; letter-spacing: 1px; }
.scr--camera .go { width: 54px; height: 54px; border-radius: 50%; background: var(--iron-ink); color: var(--iron-action-ink); display: grid; place-items: center; font-size: 24px; }
.scr--camera .two { position: absolute; top: 494px; left: 16px; right: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scr--camera .mini { border-radius: 20px; background: var(--iron-chalk); overflow: hidden; }
.scr--camera .mini__cam { height: 186px; background: var(--photo-scrim); position: relative; overflow: hidden; }
.scr--camera .mini__cam b { position: absolute; left: -4px; bottom: -8px; font-size: 76px; line-height: 0.8; color: color-mix(in srgb, var(--photo-ink) 9%, var(--photo-scrim)); }
.scr--camera .mini__cam img { position: absolute; left: 50%; bottom: 0; width: 110px; height: 110px; margin-left: -55px; }
.scr--camera .mini__f { padding: 12px 14px 14px; }
.scr--camera .mini__f .t { font-size: 28px; line-height: 1; margin-top: 4px; }

/* ---------- Rangliste ---------- */
.scr--board .back { position: absolute; top: 70px; left: 12px; display: flex; align-items: center; gap: 4px; font-size: 20px; }
.scr--board .back .ic { font-size: 20px; }
.scr--board .filt { position: absolute; top: 64px; right: 16px; }
.scr--board .ttl { position: absolute; top: 124px; left: 16px; font-size: 52px; line-height: 1; }
.scr--board .week { position: absolute; top: 196px; left: 16px; right: 16px; height: 190px; border-radius: 20px; background: var(--iron-chalk); padding: 18px 20px; }
.scr--board .week__h { display: flex; justify-content: space-between; align-items: center; }
.scr--board .week__h span { font-size: 15px; }
.scr--board .week__v { font-size: 104px; line-height: 1; margin: 6px 0 0 -4px; display: flex; }
.scr--board .week__u { font-size: 19px; }
.scr--board .rows { position: absolute; top: 404px; left: 16px; right: 16px; height: 460px; }
.scr--board .r { position: absolute; left: 0; right: 0; height: 76px; border-radius: 18px; background: var(--iron-chalk); display: flex; align-items: center; gap: 14px; padding: 0 18px 0 22px;
  transition: top 0.8s cubic-bezier(0.45, 0, 0.1, 1), transform 0.5s cubic-bezier(0.45, 0, 0.1, 1), box-shadow 0.5s ease; }
.scr--board .r[data-you] { background: var(--iron-you); color: var(--iron-plate-print); }
.scr--board .r[data-lift] { transform: scale(1.03); box-shadow: 0 14px 30px -10px var(--shadow); z-index: 3; }
.scr--board .r__rank { width: 20px; font-size: 32px; text-align: center; display: flex; justify-content: center; }
.scr--board .r .ava { width: 50px; height: 50px; }
.scr--board .r__name { font-size: 23px; font-weight: 500; }
.scr--board .r__km { margin-left: auto; display: flex; align-items: baseline; gap: 6px; font-size: 40px; line-height: 1; }
.scr--board .r__km .ic { font-size: 18px; opacity: 0.6; align-self: center; }
.scr--board .r__km small { font-size: 17px; font-family: var(--font-body); font-weight: 600; opacity: 0.8; }
.scr .gain { position: absolute; z-index: 6; height: 40px; padding: 0 14px 0 10px; border-radius: 20px; display: inline-flex; align-items: center; gap: 7px; font-size: 19px; white-space: nowrap;
  background: var(--iron-floor); color: var(--iron-ink); box-shadow: 0 0 0 1px var(--iron-line), 0 12px 26px -8px var(--shadow);
  opacity: 0; transform: translateY(-14px); transition: opacity 0.4s ease, transform 0.6s var(--ease-enter), left 0.7s cubic-bezier(0.45, 0, 0.1, 1), top 0.7s cubic-bezier(0.45, 0, 0.1, 1); }
.scr .gain .ic { font-size: 19px; }
.scr .gain[data-in] { opacity: 1; transform: none; }
.scr .gain[data-merge] { opacity: 0; transform: scale(0.7); transition: opacity 0.35s ease 0.35s, transform 0.7s cubic-bezier(0.45, 0, 0.1, 1), left 0.7s cubic-bezier(0.45, 0, 0.1, 1), top 0.7s cubic-bezier(0.45, 0, 0.1, 1); }

/* ---------- Workouts ---------- */
.scr--workouts .tabs { position: absolute; top: 132px; left: 16px; right: 16px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 25px; border-bottom: 1.5px solid var(--iron-line); padding-bottom: 10px; color: var(--iron-muted); }
.scr--workouts .tabs span:first-child { color: var(--iron-ink); }
.scr--workouts .tabs::after { content: ""; position: absolute; left: 0; bottom: -2.5px; width: 33.3%; height: 4px; border-radius: 2px; background: var(--iron-ink); }
.scr--workouts .mascot { position: absolute; top: 180px; right: 16px; width: 126px; height: 126px; }
.scr--workouts .hl { position: absolute; top: 232px; left: 16px; right: 140px; height: 120px; }
.scr--workouts .hl > div { position: absolute; left: 0; bottom: 0; transition: opacity 0.35s ease, transform 0.55s var(--ease-enter); }
.scr--workouts .hl .t { font-size: 46px; line-height: 0.95; }
.scr--workouts .hl p { margin: 8px 0 0; font-size: 17px; }
.scr--workouts .hl__b { opacity: 0; transform: translateY(14px); }
.scr--workouts[data-done] .hl__a { opacity: 0; transform: translateY(-14px); }
.scr--workouts[data-done] .hl__b { opacity: 1; transform: none; transition-delay: 0.1s; }
.scr--workouts .wk { position: absolute; top: 372px; left: 16px; right: 16px; height: 76px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--iron-line); display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.scr--workouts .wk__n { font-size: 28px; line-height: 1; display: flex; }
.scr--workouts .wk__d { display: grid; grid-template-columns: repeat(7, 26px); gap: 4px; margin-left: 6px; text-align: center; }
.scr--workouts .wk__d span { font-size: 12px; color: var(--iron-muted); font-weight: 600; }
.scr--workouts .wk__d span[data-today] { color: var(--iron-ink); font-weight: 800; }
.scr--workouts .wk__d i { height: 24px; border-radius: 7px; background: var(--iron-line); display: grid; place-items: center; color: var(--iron-action-ink); font-size: 14px; transition: background 0.25s ease, transform 0.4s var(--ease-pin); }
.scr--workouts .wk__d i[data-plan] { background: none; box-shadow: inset 0 0 0 1.5px var(--iron-muted); }
.scr--workouts .wk__d i[data-plan][data-check] { box-shadow: none; }
.scr--workouts .wk__d i[data-free] { background: var(--iron-chalk); }
.scr--workouts .wk__d i .ic { opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.4s var(--ease-pin); }
.scr--workouts .wk__d i[data-check] { background: var(--iron-ink); }
.scr--workouts .wk__d i[data-check] .ic { opacity: 1; transform: none; }
.scr--workouts .wk__s { margin-left: auto; text-align: center; font-size: 15px; font-weight: 700; display: grid; justify-items: center; gap: 2px; }
.scr--workouts .wk__s .ic { font-size: 22px; }
.scr--workouts .lbl2 { position: absolute; top: 474px; left: 16px; }
.scr--workouts .hc { position: absolute; top: 504px; left: 16px; right: 16px; height: 96px; border-radius: 20px; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.scr--workouts .hc--h { box-shadow: inset 0 0 0 1.5px var(--iron-muted); background-image: none; transition: opacity 0.3s ease, transform 0.5s var(--ease-enter); }
.scr--workouts .hc--h { outline: 1.5px dashed var(--iron-muted); outline-offset: -1.5px; box-shadow: none; }
.scr--workouts .hc--d { background: var(--iron-chalk); opacity: 0; transform: scale(0.98); transition: opacity 0.35s ease 0.15s, transform 0.5s var(--ease-enter) 0.15s; }
.scr--workouts[data-done] .hc--h { opacity: 0; transform: scale(1.02); }
.scr--workouts[data-done] .hc--d { opacity: 1; transform: none; }
.scr--workouts .lbl3 { position: absolute; top: 626px; left: 16px; }
.scr--workouts .hc--n { top: 656px; background: var(--iron-chalk); }
.scr--workouts .hc--n .hc__ic { background: var(--iron-floor); color: var(--iron-ink); }
.scr--workouts .hc__ic { width: 50px; height: 50px; border-radius: 50%; background: var(--iron-ink); color: var(--iron-action-ink); display: grid; place-items: center; font-size: 24px; flex: none; }
.scr--workouts .hc--d .hc__ic { color: var(--iron-plate-blue); }
.scr--workouts .hc__t { font-size: 25px; line-height: 1.05; }
.scr--workouts .hc__s { font-size: 15px; margin-top: 3px; }
.scr--workouts .hc__btn { margin-left: auto; height: 46px; padding: 0 16px; border-radius: 14px; background: var(--iron-ink); color: var(--iron-action-ink); display: grid; place-items: center; font-size: 19px; transition: transform var(--dur-press) ease, opacity var(--dur-press) ease; }
.scr--workouts .hc__r { margin-left: auto; text-align: right; font-size: 18px; display: grid; gap: 4px; }
.scr--workouts .hc__r b { font-size: 24px; display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.scr--workouts .hc__r .ic { font-size: 20px; }

/* ---------- Satz ---------- */
.scr--strength .top { position: absolute; top: 66px; left: 16px; right: 16px; height: 50px; display: flex; align-items: center; gap: 8px; }
.scr--strength .top .sq { border-radius: 50%; width: 50px; height: 50px; }
.scr--strength .top .tm { display: flex; align-items: center; gap: 4px; font-size: 19px; font-weight: 700; margin-left: auto; }
.scr--strength .top .tm .ic { font-size: 20px; }
.scr--strength .top .hr { height: 50px; width: 110px; border-radius: 25px; box-shadow: inset 0 0 0 1.5px var(--iron-line); display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 20px; }
.scr--strength .top .hr i { flex: 1; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--iron-line) 0 3px, transparent 3px 6px); }
.scr--strength .top .end { height: 50px; padding: 0 16px; border-radius: 25px; box-shadow: inset 0 0 0 1.5px var(--iron-line); display: grid; place-items: center; font-size: 18px; font-weight: 500; }
.scr--strength .prog { position: absolute; top: 130px; left: 16px; right: 16px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.scr--strength .prog i { height: 8px; border-radius: 4px; background: var(--iron-line); }
.scr--strength .prog i:first-child { background: color-mix(in srgb, var(--iron-ink) 30%, var(--iron-line)); }
.scr--strength .meta { position: absolute; top: 148px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-size: 15px; }
.scr--strength .meta b { color: var(--iron-ink); font-weight: 600; }
.scr--strength .ex { position: absolute; top: 186px; left: 16px; right: 16px; }
.scr--strength .ex__t { font-size: 44px; line-height: 1; }
.scr--strength .ex__s { font-size: 21px; margin-top: 4px; display: flex; gap: 6px; }
.scr--strength .stack { position: absolute; top: 268px; left: 16px; right: 16px; height: 286px; border-radius: 20px; background: var(--iron-chalk); }
.scr--strength .plates { position: absolute; left: 110px; top: 30px; width: 112px; }
.scr--strength .plates i { display: block; height: 7px; margin-bottom: 2px; border-radius: 2px; background: var(--iron-stack-plate); transition: background 0.3s ease; }
.scr--strength .plates i[data-up] { background: var(--iron-ink); }
.scr--strength .plates .cap0 { height: 11px; margin: 0 6px 3px; border-radius: 3px; background: var(--iron-ink); }
.scr--strength .nums { position: absolute; left: 70px; top: 30px; font-size: 11px; font-weight: 700; color: var(--iron-muted); }
.scr--strength .nums span { position: absolute; right: 0; }
.scr--strength .rod { position: absolute; left: 165px; top: 16px; width: 2px; background: var(--iron-bar); transition: height 0.6s var(--ease-pin); }
.scr--strength .pin { position: absolute; left: 165px; height: 2px; width: 70px; background: var(--iron-bar); transition: top 0.6s var(--ease-pin); }
.scr--strength .pin::after { content: ""; position: absolute; right: -12px; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--iron-floor); box-shadow: inset 0 0 0 3px var(--iron-ink), inset 0 0 0 6px var(--iron-floor), inset 0 0 0 9px var(--iron-ink); }
.scr--strength .stack__f { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.scr--strength .stack__f span:first-child { flex: 1; }
.scr--strength .how { height: 40px; padding: 0 14px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--iron-ink); display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.scr--strength .how .ic { font-size: 15px; }
.scr--strength .val { position: absolute; top: 578px; left: 16px; right: 16px; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.scr--strength .val .sq { width: 64px; height: 64px; border-radius: 18px; font-size: 26px; }
.scr--strength .val__n { font-size: 96px; line-height: 1; display: flex; justify-content: center; }
.scr--strength .val__u { position: absolute; top: 690px; left: 0; right: 0; text-align: center; font-size: 17px; }
.scr--strength .btn-ink { top: 770px; }
.scr--strength .btn-ink .st { display: grid; }
.scr--strength .btn-ink .st > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 10px; justify-content: center; transition: opacity 0.25s ease, transform 0.4s var(--ease-enter); }
.scr--strength .btn-ink .st > span + span { opacity: 0; transform: translateY(10px); }
.scr--strength[data-set] .btn-ink .st > span:first-child { opacity: 0; transform: translateY(-10px); }
.scr--strength[data-set] .btn-ink .st > span + span { opacity: 1; transform: none; }

/* ---------- Geschafft ---------- */
.scr--together .lab { position: absolute; top: 128px; left: 16px; font-size: 30px; }
.scr--together .ring { position: absolute; top: 166px; left: 101px; width: 200px; height: 200px; border-radius: 50%; border: 5px dashed var(--iron-line); }
.scr--together .plate { position: absolute; top: 175px; left: 110px; width: 182px; height: 182px; }
.scr--together .plate svg { display: block; width: 100%; height: 100%; }
.scr--together[data-fall] .plate { transform: translateY(-560px); }
.scr--together[data-landed] .plate { animation: scr-drop 0.5s var(--ease-fall) forwards, scr-jolt 0.4s cubic-bezier(0.2, 0.8, 0.3, 1) 0.5s; }
@keyframes scr-drop { from { transform: translateY(-560px); } to { transform: none; } }
@keyframes scr-jolt { 0% { transform: scale(1.05, 0.9); } 45% { transform: translateY(-12px) scale(0.98, 1.03); } 100% { transform: none; } }
.scr--together .dust { position: absolute; left: 201px; top: 352px; }
.scr--together .dust i { position: absolute; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--iron-dust); opacity: 0; }
.scr--together[data-landed] .dust i { animation: scr-puff 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) 0.5s; }
@keyframes scr-puff { 0% { opacity: 0.8; transform: none; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.6); } }
.scr--together .mascot { position: absolute; top: 352px; right: 6px; width: 150px; height: 150px; }
.scr--together .fig { position: absolute; top: 396px; left: 12px; display: flex; align-items: baseline; gap: 6px; }
.scr--together .fig__n { font-size: 104px; line-height: 1; display: flex; }
.scr--together .fig__u { font-size: 30px; }
.scr--together .fig__s { position: absolute; top: 518px; left: 16px; font-size: 19px; }
.scr--together .quest { position: absolute; top: 560px; left: 16px; right: 16px; display: flex; gap: 12px; align-items: center; }
.scr--together .quest svg { width: 46px; height: 46px; flex: none; }
.scr--together .quest b { display: block; font-size: 23px; line-height: 1; }
.scr--together .quest span { font-size: 15px; }
.scr--together .contrib { position: absolute; top: 626px; left: 16px; right: 16px; }
.scr--together .contrib .cap { font-size: 13px; }
.scr--together .contrib div { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 19px; }
.scr--together .contrib .ava { width: 36px; height: 36px; }
.scr--together .contrib b { margin-left: auto; font-size: 23px; }
.scr--together .btn-ink { top: 770px; }
.scr--together > * { transition: opacity 0.45s ease, transform 0.6s var(--ease-enter); }
.scr--together[data-fall] .lab, .scr--together[data-fall] .mascot, .scr--together[data-fall] .fig__s, .scr--together[data-fall] .quest,
.scr--together[data-fall] .contrib, .scr--together[data-fall] .btn-ink { opacity: 0; transform: translateY(12px); }

/* ---------- Profil ---------- */
.scr--profile .top { position: absolute; top: 66px; left: 16px; right: 16px; display: flex; gap: 8px; }
.scr--profile .top .sq:first-child { margin-right: auto; }
.scr--profile .pc { position: absolute; top: 128px; left: 16px; right: 16px; height: 196px; border-radius: 20px; background: var(--iron-chalk); padding: 18px; }
.scr--profile .pc__r { display: flex; align-items: center; gap: 16px; }
.scr--profile .pc__r .ava { width: 76px; height: 76px; }
.scr--profile .pc__n { font-size: 44px; line-height: 1; }
.scr--profile .pc__b { display: flex; gap: 6px; margin-top: 8px; }
.scr--profile .lvl { height: 34px; padding: 0 12px; border-radius: 17px; background: var(--iron-ink); color: var(--iron-action-ink); display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; }
.scr--profile .lvl b { font-size: 22px; letter-spacing: 0; display: flex; }
.scr--profile .drops { height: 34px; padding: 0 12px; border-radius: 17px; background: var(--iron-floor); display: flex; align-items: center; gap: 5px; font-size: 21px; }
.scr--profile .drops .ic { font-size: 15px; }
.scr--profile .xp { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
.scr--profile .xp > span { display: flex; }
.scr--profile .xpbar { margin-top: 10px; height: 12px; border-radius: 6px; background: var(--iron-line); overflow: hidden; }
.scr--profile .xpbar span { display: block; height: 100%; border-radius: 6px; background: var(--iron-ink); transition: width 1s cubic-bezier(0.45, 0, 0.1, 1); }
.scr--profile .stats { position: absolute; top: 340px; left: 16px; right: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scr--profile .stat { height: 104px; border-radius: 18px; background: var(--iron-chalk); padding: 14px; display: grid; align-content: space-between; }
.scr--profile .stat .ic { font-size: 22px; }
.scr--profile .stat b { font-size: 34px; line-height: 0.9; display: flex; }
.scr--profile .stat span { font-size: 15px; font-weight: 700; color: var(--iron-muted); }
.scr--profile .wkc { position: absolute; top: 460px; left: 16px; right: 16px; height: 108px; border-radius: 20px; background: var(--iron-chalk); padding: 16px 18px; display: flex; align-items: center; gap: 16px; }
.scr--profile .wkc__n { font-size: 44px; line-height: 1; display: flex; align-items: baseline; }
.scr--profile .wkc__n small { font-size: 22px; color: var(--iron-muted); }
.scr--profile .wkc p { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--iron-muted); }
.scr--profile .wkc__d { margin-left: auto; display: grid; grid-template-columns: repeat(7, 26px); gap: 4px; text-align: center; font-size: 12px; font-weight: 700; color: var(--iron-muted); }
.scr--profile .wkc__d i { height: 26px; border-radius: 8px; background: var(--iron-floor); display: grid; place-items: center; color: var(--iron-action-ink); font-size: 14px; }
.scr--profile .wkc__d i[data-check] { background: var(--iron-ink); }
.scr--profile .best { position: absolute; top: 584px; left: 16px; right: 16px; height: 168px; border-radius: 20px; background: var(--iron-chalk); padding: 16px; }
.scr--profile .best__t { font-size: 26px; display: flex; gap: 6px; align-items: center; }
.scr--profile .best__t .ic { font-size: 18px; }
.scr--profile .best__g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.scr--profile .best__g div { height: 88px; border-radius: 14px; background: var(--iron-floor); padding: 10px 12px; display: grid; align-content: end; }
.scr--profile .best__g b { font-size: 30px; line-height: 1; }
.scr--profile .best__g b small { font-size: 16px; font-family: var(--font-body); font-weight: 600; }
.scr--profile .best__g span { font-size: 13px; color: var(--iron-muted); margin-top: 4px; }
.scr--profile .btn-ink { top: 776px; height: 62px; }

/* ---------- Live-Duell: the duel screen on two phones ---------- */
.scr--duel { background: var(--photo-scrim); }
.scr--duel .cam { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 70%, color-mix(in srgb, var(--photo-ink) 13%, var(--photo-scrim)), color-mix(in srgb, var(--photo-ink) 4%, var(--photo-scrim)) 70%); overflow: hidden; }
.scr--duel .cam__word { position: absolute; left: -10px; right: -10px; top: 360px; font-size: 230px; line-height: 0.8; color: color-mix(in srgb, var(--photo-ink) 9%, var(--photo-scrim)); text-align: center; letter-spacing: -2px; }
.scr--duel .cam__floor { position: absolute; left: 0; right: 0; top: 618px; height: 1px; background: color-mix(in srgb, var(--photo-ink) 18%, var(--photo-scrim)); }
.scr--duel .bob { position: absolute; left: 41px; top: 330px; width: 320px; height: 320px; transition: transform 0.22s cubic-bezier(0.45, 0, 0.55, 1); }
.scr--duel .bob img { width: 100%; height: 100%; }
.scr--duel .bob[data-down] { transform: translateY(26px) scaleY(0.94); }
.scr--duel .score { position: absolute; top: 74px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: flex-start; color: var(--photo-ink); }
.scr--duel .score__n { font-size: 96px; line-height: 0.9; display: flex; }
.scr--duel .score__who { font-size: 20px; color: color-mix(in srgb, var(--photo-ink) 70%, transparent); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.scr--duel .score > div:last-child .score__n, .scr--duel .score > div:last-child .score__who { justify-content: flex-end; }
.scr--duel .you { width: 10px; height: 10px; border-radius: 50%; background: var(--iron-plate-blue); }
.scr--duel .timer { position: absolute; top: 86px; left: 50%; transform: translateX(-50%); height: 50px; padding: 0 18px; border-radius: 25px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--photo-ink) 32%, transparent); color: var(--photo-ink); font-size: 30px; display: flex; align-items: center; }
.scr--duel .three { position: absolute; inset: 0; display: grid; place-items: center; color: var(--photo-ink); font-size: 260px; line-height: 1; pointer-events: none; }
.scr--duel .three span { position: absolute; opacity: 0; transform: scale(1.3); transition: opacity 0.25s ease, transform 0.5s var(--ease-enter); }
.scr--duel .three span[data-on] { opacity: 1; transform: none; }
.scr--duel .three span[data-gone] { opacity: 0; transform: scale(0.8); }
.scr--duel .win { position: absolute; inset: 0; background: var(--iron-floor); color: var(--iron-ink); opacity: 0; transition: opacity 0.35s ease; }
.scr--duel[data-won] .win { opacity: 1; }
.scr--duel[data-won] .scr__sb { color: var(--iron-ink); }
.scr--duel .plate { position: absolute; left: 101px; top: 190px; width: 200px; height: 200px; transform: translateY(-600px); }
.scr--duel .plate svg { display: block; width: 100%; height: 100%; }
.scr--duel[data-won] .plate { animation: scr-drop2 0.5s var(--ease-fall) 0.25s forwards, scr-jolt 0.38s cubic-bezier(0.2, 0.8, 0.3, 1) 0.75s; }
@keyframes scr-drop2 { from { transform: translateY(-600px); } to { transform: none; } }
.scr--duel .dust { position: absolute; left: 201px; top: 390px; }
.scr--duel .dust i { position: absolute; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--iron-dust); opacity: 0; }
.scr--duel[data-won] .dust i { animation: scr-puff 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) 0.75s; }
.scr--duel .win__t { position: absolute; top: 432px; left: 0; right: 0; text-align: center; font-size: 68px; line-height: 1; opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.6s var(--ease-enter); }
.scr--duel .win__s { position: absolute; top: 508px; left: 0; right: 0; text-align: center; font-size: 30px; color: var(--iron-muted); opacity: 0; transition: opacity 0.4s ease; }
.scr--duel[data-won] .win__t { opacity: 1; transform: none; transition-delay: 1s; }
.scr--duel[data-won] .win__s { opacity: 1; transition-delay: 1.25s; }
.scr--duel .btn-ink { top: 576px; opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.55s var(--ease-enter); }
.scr--duel[data-won] .btn-ink { opacity: 1; transform: none; transition-delay: 1.5s; }
.scr--duel[data-won] .btn-ink.is-pressed { transform: scale(0.96); opacity: 0.85; transition-delay: 0s; }

/* A phone on any page (scenes.js mounts [data-scene] inside it) */
.scene-phone {
  --pw: min(300px, 76vw);
  width: var(--pw); margin: 0 auto;
  padding: calc(var(--pw) * 0.035); border-radius: calc(var(--pw) * 0.17);
  background: var(--iron-ink);
  box-shadow: 0 calc(var(--pw) * 0.1) calc(var(--pw) * 0.24) calc(var(--pw) * -0.08) var(--shadow);
}
[data-theme="dark"] .scene-phone { background: var(--iron-chalk); box-shadow: inset 0 0 0 1px var(--iron-line); }
.scene-phone .scr-host { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 402 / 874; border-radius: calc(var(--pw) * 0.135); background: var(--iron-floor); }
.scene-phone .scr-host::after { content: ""; position: absolute; z-index: 6; top: 1.26%; left: 34.3%; width: 31.4%; height: 4.23%; border-radius: 999px; background: var(--photo-scrim); }
.scene-figure { margin: 40px 0; }

@media (prefers-reduced-motion: reduce) {
  .scr *, .scr *::before, .scr *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}
