/* Film mode: the scene fills the window, words appear over it like on-screen
   text, and the controls behave like a video player's (shown on movement).
   Colors come only from the brand palette tokens in palettes.css. */
:root {
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
html, body { height: 100%; margin: 0; background: var(--bg); color: var(--ink) }
body { font-family: var(--font-body); overflow: hidden }
.app { position: fixed; inset: 0; background: var(--bg); color: var(--ink); transition: background-color .4s, color .4s }

.stage { position: absolute; inset: 0; overflow: hidden; cursor: pointer }
.app.idle .stage { cursor: none }
.scene { position: absolute; inset: 0 }
.chap { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; opacity: 0 }
.el { position: absolute; inset: 0; will-change: opacity, transform }
.paths { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none }
.paths polyline { fill: none; stroke-width: 3; stroke-dasharray: 6 6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke }
.paths .p-old { stroke: var(--ink-muted) }
.paths .p-new { stroke: var(--accent) }
/* the moving part: a big colored dot, no trail lines */
.paths polyline { display: none }
.dot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--border), 0 0 14px color-mix(in srgb, var(--accent) 60%, transparent); display: none }

/* circle marker on the thing being talked about (screen space, so it stays one size) */
.rings { position: absolute; inset: 0; pointer-events: none }
.ring { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 3px solid var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bg) 70%, transparent), inset 0 0 0 3px color-mix(in srgb, var(--bg) 50%, transparent); opacity: 0 }
/* a ring takes the color of what it circles: the technology, the work built
   around it, or a person (the three pieces: AI, Operations, People) */
.ring.tone-tech { border-color: var(--primary) }
.ring.tone-work { border-color: var(--accent) }
.ring.tone-people { border-color: var(--secondary) }

/* side-by-side cards: the job, the pattern */
.t.t-panel { top: 50%; transform: translate(-50%, -50%); width: min(94%, 70rem); max-height: 92vh; text-align: left }
.t-panel h2 { font: 800 clamp(1.5rem, 3.4vw, 2.6rem)/1.15 var(--font-head); margin: 0 0 1.2rem; text-align: center; text-wrap: balance }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, min(24rem, 42vh))); justify-content: center; gap: clamp(1rem, 3vw, 2.5rem) }
.trio .col { max-width: min(22rem, 40vh); justify-self: center; width: 100% }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.5rem) }
.col { min-width: 0 }
.mini { position: relative; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 1px var(--border) }
.mini-in { position: absolute }
.col h3 { font: 800 clamp(1.05rem, 1.8vw, 1.35rem) var(--font-head); margin: .7rem 0 .4rem }
.col h3 small { display: block; font: 700 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .2rem }
.col.after h3 { color: var(--secondary) }
.col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem }
.col li { font-size: clamp(.88rem, 1.3vw, 1.02rem); line-height: 1.4; padding-left: 1.1rem; position: relative }
.col li::before { content: ''; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ink-muted) }
.col.after li::before { background: var(--secondary) }
.t-panel .closer { margin: 1.4rem auto 0; text-align: center; font: 700 clamp(1.05rem, 2vw, 1.5rem)/1.35 var(--font-head); max-width: 46rem; text-wrap: balance }
.t-panel .closer b { color: var(--primary) }
.trio p { margin: .5rem 0 0; text-align: center; font: 600 .9rem var(--font-body); color: var(--ink-muted) }
.tag { position: absolute; left: .5rem; top: .5rem; font: 700 .68rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; padding: .2rem .5rem; border-radius: 999px; background: var(--ink-muted); color: var(--bg) }
.tag.new { background: var(--secondary) }

/* the approach: three circles, colors from the palette (hub spec) */
.venn { display: block; margin: 0 auto; height: min(40vh, 26rem); width: auto; max-width: 100%; aspect-ratio: 760 / 365; overflow: hidden }
.venn .v-one { fill: color-mix(in srgb, var(--primary) 30%, var(--bg)) }
.venn .v-today { fill: color-mix(in srgb, var(--primary) 55%, var(--bg)) }
.venn .v-two { fill: var(--secondary) }
.venn .v-three { fill: var(--accent) }
.venn .v-ring { fill: none; stroke: var(--primary); stroke-width: 2.5 }
.venn .v-name { font: 800 22px var(--font-head); fill: var(--primary) }
.venn .call line { stroke: var(--ink); stroke-width: 1.4 }
.venn .v-arrow { fill: var(--ink) }
.venn .ct { font: 600 19px var(--font-body); fill: var(--ink) }
.venn .ct.ctb { font-weight: 800; fill: var(--primary) }
.venn .call, .venn-cap [data-win] { opacity: 0 }
.venn-cap { position: relative; min-height: 1.6em; margin: .5rem 0 0; text-align: center; font: 600 clamp(1rem, 1.7vw, 1.2rem)/1.4 var(--font-body); color: var(--ink) }
.venn-cap span { position: absolute; left: 0; right: 0; top: 0 }
.venn-cap b { color: var(--primary) }
.venn-cap .call-txt { display: none }
.t-venn .closer { margin-top: .8rem }
.legs { width: 100%; border-collapse: collapse; font: .95rem/1.4 var(--font-body); color: var(--ink) }
.legs th, .legs td { padding: .5rem .6rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top }
.legs thead th { font: 800 1.05rem var(--font-head); color: var(--primary) }
.legs thead th span { display: block; font: 500 .75rem var(--font-body); color: var(--ink-muted) }
.legs tbody th { color: var(--ink-muted); font-weight: 600 }
.ctas { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.4rem }
.ctas a { font: 700 1rem var(--font-body); border-radius: 999px; padding: .65rem 1.3rem; text-decoration: none; border: 1px solid var(--primary); color: var(--primary) }
.ctas a.main { background: var(--primary); color: var(--bg) }
.ly { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: background-color .4s }
.ly-light { background: var(--surface-variant) }
.ly-mid { background: var(--surface-strong) }
.ly-tech { background: var(--primary) }
.ly-people { background: var(--secondary) }
.ly-ink { background: var(--ink) }

/* dim with a spotlight hole, for the held beats */
.dim { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); opacity: 0; pointer-events: none }
/* soft fade at the bottom so on-screen text stays readable over the picture */
.scrim { position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 92%, transparent) 70%); opacity: 0; pointer-events: none }

/* on-screen text */
.texts { position: absolute; inset: 0; pointer-events: none }
.t { position: absolute; left: 50%; transform: translateX(-50%); width: min(92%, 62rem); box-sizing: border-box; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); text-align: center; opacity: 0; will-change: opacity, transform }
.t b { color: var(--primary); font-weight: inherit }
.t-lower { bottom: calc(env(safe-area-inset-bottom, 0px) + 9%); transform: translate(-50%, var(--rise, 0px)); font: 700 clamp(1.25rem, 2.6vw, 2.2rem)/1.3 var(--font-head); text-wrap: balance; transition: bottom .4s }
.app:not(.idle) .t-lower { bottom: calc(env(safe-area-inset-bottom, 0px) + 9% + 4.5rem) }
/* a caption placed where it covers least of what it talks about */
.t-at-top, .t-at-left, .t-at-right { text-shadow: 0 0 14px var(--bg), 0 0 6px var(--bg), 0 0 2px var(--bg) }
.t.t-at-top, .app:not(.idle) .t.t-at-top { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 6%) }
.t.t-at-left, .t.t-at-right, .app:not(.idle) .t.t-at-left, .app:not(.idle) .t.t-at-right { bottom: auto; top: 50%; width: min(36%, 26rem); transform: translate(0, calc(-50% + var(--rise, 0px))); text-align: left; padding: 0 }
.t.t-at-left { left: max(16px, 4vw) }
.t.t-at-right { left: auto; right: max(16px, 4vw) }
/* a height line beside a building */
.dim-line line { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke }
/* opening: the title shrinks into its place at the top of the card */
.t-open .open-title { display: inline-block; white-space: nowrap; transform-origin: 0 0; font: 800 clamp(1.1rem, 2vw, 1.6rem)/1.15 var(--font-head); margin: 0 0 1.2rem; will-change: transform }
.t-open .open-title em { font-style: normal; color: var(--primary) }
.t-open .big + .big { margin-top: .4rem }
/* key screens: the picture fades back and the line sits large in the middle */
.t-beat { top: 50%; transform: translate(-50%, -50%); width: min(92%, 64rem); font: 800 clamp(1.8rem, 4.2vw, 3.4rem)/1.15 var(--font-head); letter-spacing: -.015em; text-wrap: balance }
.t em { font-style: italic }
.t-beat.t-left { left: max(16px, 5vw); transform: translateY(-50%); width: min(44%, 30rem); text-align: left; padding: 0 }
.t-card { top: 50%; transform: translate(-50%, -50%); text-align: left; width: min(92%, 52rem) }
.t-card h1 { font: 800 clamp(2.4rem, 7vw, 5.2rem)/1.03 var(--font-head); letter-spacing: -.025em; margin: 0 0 1.2rem; text-wrap: balance }
.t-card h1 em { font-style: normal; color: var(--primary) }
.t-card p { font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.55; margin: 0 0 .9rem; max-width: 40rem }
.t-card .muted { color: var(--ink-muted) }
.t-chapter { top: 50%; transform: translate(-50%, -50%) }
.t-chapter small { display: block; font: 700 clamp(.95rem, 1.6vw, 1.25rem) var(--font-body); letter-spacing: .12em; color: var(--ink-muted); margin-bottom: .6rem }
/* opening: the title alone, then the message, large */
.t-title { top: 50%; transform: translate(-50%, -50%) }
.t-title h1 { font: 800 clamp(2.6rem, 8vw, 6rem)/1.03 var(--font-head); letter-spacing: -.025em; margin: 0; text-wrap: balance }
.t-title h1 em { font-style: normal; color: var(--primary) }
.t-card .eyebrow { font: 800 clamp(.95rem, 1.6vw, 1.2rem) var(--font-head); color: var(--primary); margin: 0 0 1rem }
.t-card .big { font: 800 clamp(1.7rem, 4.2vw, 3.3rem)/1.15 var(--font-head); letter-spacing: -.015em; margin: 0 0 1.2rem; max-width: none; text-wrap: balance }
.t-card .big b { color: var(--primary) }
/* "Simply adding AI…": its own paragraph, then it glides to the middle (film.js drawVenn) */
.t-venn .closer-punch { margin-top: .8rem; transform-origin: center }
/* the horseless carriage under that line, once it's a key screen */
.t.t-punchpic { top: 46%; width: min(64vw, 21rem, 38vh); padding: 0 }
/* cropped to the carriage: the frame is 801 x 678 of the 1600 x 1066 image, starting at 715, 209 */
.t-punchpic .pp { position: relative; aspect-ratio: 801 / 678; overflow: hidden }
.t-punchpic .ppi { position: absolute; width: 199.75%; height: 157.23%; left: -89.26%; top: -30.83% }
/* the last screen: the question, the offer, the two buttons (left, like the cards before it) */
.t-final .final-offer { font: 700 clamp(1.15rem, 2.2vw, 1.6rem)/1.35 var(--font-head); color: var(--ink); margin: 0 }
.t-final .ctas { justify-content: flex-start; margin-top: 1.6rem }
/* the brand logo signs off after the offer: centered above the words on a
   tall screen (phones), to the right of them on a wide one */
.t-final { display: flex; flex-direction: column; align-items: center }
.t-final .final-words { align-self: stretch }
.t-final .final-logo { width: clamp(5rem, 11vh, 7rem); aspect-ratio: 1; margin: 0 0 1.2rem; flex: none }
@media (orientation: landscape) {
  .t-final { flex-direction: row-reverse; justify-content: center; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); width: min(94%, 68rem) }
  .t-final .final-words { align-self: auto; flex: 0 1 46rem }
  .t-final .final-logo { width: clamp(7rem, 24vh, 13rem); margin: 0 }
}
.t-final .final-logo:empty { display: none }
.t-final .final-logo svg { display: block; width: 100%; height: 100% }
/* key lines: larger, held */
.t-big { bottom: calc(env(safe-area-inset-bottom, 0px) + 8%); font: 800 clamp(1.5rem, 3.6vw, 3rem)/1.18 var(--font-head); letter-spacing: -.01em; text-wrap: balance; width: min(94%, 78rem); transition: bottom .4s }
.app:not(.idle) .t-big { bottom: calc(env(safe-area-inset-bottom, 0px) + 8% + 4.5rem) }
/* the job, in the scene: a box beside the person */
.t.t-job { top: 50%; transform: translateY(-50%); width: min(44%, 33rem); text-align: left; padding: 1.4rem 1.6rem; background: color-mix(in srgb, var(--bg) 90%, transparent); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 12%, transparent) }
.t-job-left { left: max(16px, 4vw) }
.t-job-right { left: auto; right: max(16px, 4vw) }
.t-job h3 { font: 800 clamp(1.4rem, 2.6vw, 2.1rem)/1.15 var(--font-head); margin: 0 0 .9rem }
.t-job h3 small { display: block; font: 700 .75rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .25rem }
/* job titles stay in ink (readable on every palette); the people color is the bar beside them */
.t-job h3 { position: relative; padding-left: .7em }
.t-job h3::before { content: ''; position: absolute; left: 0; top: .12em; bottom: .12em; width: .22em; border-radius: 2px; background: var(--secondary) }
.t-job h3 small { margin-left: 0 }
.t-job ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem }
.t-job li { font-size: clamp(1.05rem, 1.85vw, 1.45rem); line-height: 1.4; padding-left: 1.3rem; position: relative }
.t-job li::before { content: ''; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ink-muted) }
.t-job.is-new li::before { background: var(--secondary) }
.t-chapter span { display: block; font: 800 clamp(2rem, 5vw, 3.8rem)/1.1 var(--font-head); letter-spacing: -.02em }
.t-end span { color: var(--primary) }

/* controls: a thin video-style bar, hidden while playing and idle */
.controls { position: absolute; left: 0; right: 0; bottom: 0; padding-block: 1.2rem calc(env(safe-area-inset-bottom, 0px) + .7rem); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); background: linear-gradient(to top, color-mix(in srgb, var(--bg) 92%, transparent), transparent); transition: opacity .4s; z-index: 5 }
.app.idle .controls { opacity: 0; pointer-events: none }
.timeline { position: relative; height: 18px; cursor: pointer; margin-bottom: .3rem }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 2px; background: var(--border) }
.timeline i { position: absolute; left: 0; top: 7px; height: 4px; border-radius: 2px; background: var(--primary); width: 0 }
.timeline span b { position: absolute; top: 5px; width: 2px; height: 8px; background: var(--ink-muted); opacity: .6 }
.timeline:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap }
.spacer { flex: 1 }
.ctl { font: 700 .85rem var(--font-body); background: transparent; color: var(--ink); border: 1px solid var(--border); border-radius: 999px; padding: .4rem .75rem; cursor: pointer; min-width: 2.6rem }
.ctl--main { background: var(--primary); color: var(--bg); border-color: var(--primary) }
.time { font: 600 .8rem var(--font-body); color: var(--ink-muted); font-variant-numeric: tabular-nums; margin-left: .3rem }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden }
.seg button { font: 600 .75rem var(--font-body); background: transparent; color: var(--ink); border: 0; padding: .35rem .6rem; cursor: pointer }
.seg button + button { border-left: 1px solid var(--border) }
.seg button[aria-pressed="true"] { background: var(--primary); color: var(--bg) }
/* Phones: one tap-to-change speed button in Full screen's place (Jason, 12-01) */
/* The gauge sits beside the button; the button keeps one width for every
   word (sized to the widest, "Really fast…"), so nothing shifts on a tap. */
#speedBtn, #speedIc { display: none }
#speedBtn { white-space: nowrap; width: 7.6rem; text-align: center; padding-inline: .4rem }
#speedIc { color: var(--ink-muted); margin-right: -.2rem }
#speedIc .sp-ic { display: block; width: 1.5rem; height: 1rem }
@media (max-width: 640px) { #speedBtn { display: inline-block } #speedIc { display: block } #fullBtn { display: none !important } }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }

/* viewer mode (default) shows only the player; .review adds the review tools */
.app:not(.review) .review-only { display: none !important }
.app:not(.review) .row { flex-wrap: nowrap }
.app:not(.review) .row > * { flex-shrink: 0 }
.app:not(.review) .row > .chapter-name { flex-shrink: 1 }
.timeline .chapter-marks button { position: absolute; top: 1px; width: 16px; height: 16px; margin-left: -8px; padding: 0; border: 0; background: transparent; cursor: pointer }
.timeline .chapter-marks button::before { content: ''; position: absolute; left: 6px; top: 2px; width: 4px; height: 12px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--bg) }
.chapter-name { font: 600 .8rem var(--font-body); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0 }
.chapter-name:not(:empty)::before { content: '·'; margin-right: .5rem; color: var(--ink-muted) }

/* review notes: a note box over the paused frame, and a list of notes */
[hidden] { display: none !important }
.ctl--note { border-color: var(--accent); color: var(--accent) }
.ctl#notesBtn span { display: inline-block; min-width: 1.2em; margin-left: .2rem; padding: 0 .35em; border-radius: 999px; background: var(--surface-variant); font-variant-numeric: tabular-nums }
.timeline .note-marks b { position: absolute; top: 3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); cursor: pointer }
.note-box, .notes-panel { position: absolute; z-index: 8; background: var(--bg); color: var(--ink); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 40px color-mix(in srgb, var(--ink) 22%, transparent); font: 1rem/1.5 var(--font-body) }
.note-box { left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 7rem); transform: translateX(-50%); width: min(34rem, calc(100% - 32px)); padding: 1rem; display: grid; gap: .6rem }
.note-where { margin: 0; font-size: .85rem; color: var(--ink-muted) }
.note-where b { color: var(--accent); font-variant-numeric: tabular-nums }
.note-box textarea { width: 100%; box-sizing: border-box; font: inherit; color: var(--ink); background: var(--surface-variant); border: 1px solid var(--border); border-radius: 10px; padding: .6rem .7rem; resize: vertical }
.note-box textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px }
.note-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap }
.note-hint { flex: 1; font-size: .75rem; color: var(--ink-muted) }
.notes-panel { top: calc(env(safe-area-inset-top, 0px) + 16px); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 7rem); width: min(24rem, calc(100% - 32px)); display: flex; flex-direction: column; overflow: hidden }
.notes-panel header { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem .4rem }
.notes-panel h2 { margin: 0; font: 800 1.15rem var(--font-head) }
.notes-status { margin: 0 1rem .4rem; font-size: .8rem; color: var(--ink-muted) }
.notes-panel ol { list-style: none; margin: 0; padding: 0 1rem 1rem; overflow-y: auto; display: grid; gap: .6rem; align-content: start }
.notes-panel li { border: 1px solid var(--border); border-radius: 10px; padding: .6rem .7rem; display: grid; gap: .3rem }
.notes-panel li .when { display: flex; gap: .5rem; align-items: baseline; font-size: .8rem; color: var(--ink-muted) }
.notes-panel li .when button { font: 700 .8rem var(--font-body); color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; font-variant-numeric: tabular-nums }
.notes-panel li .when .del { margin-left: auto; color: var(--ink-muted); font-weight: 600 }
.notes-panel li .ctx { font-size: .8rem; color: var(--ink-muted); font-style: italic }
.notes-panel li .txt { white-space: pre-wrap; overflow-wrap: anywhere }
.notes-panel .empty { color: var(--ink-muted); font-size: .9rem }

@media (max-width: 640px) {
  .pair, .trio { grid-template-columns: 1fr }
  .pair .mini, .trio .mini { height: 14vh; width: 21vh; aspect-ratio: 3 / 2; margin: 0 auto }
  .pair { gap: .6rem } .col h3 { margin: .4rem 0 .2rem } .col ul { gap: .2rem }
  .t-panel h2 { margin-bottom: .6rem } .t-panel .closer { margin-top: .7rem; font-size: 1rem }
  .t.t-panel { max-height: 84vh; top: 46% }
  .trio { gap: .4rem } .trio p { display: none }
  .venn { height: auto; width: 100% }
  .venn .call { display: none }
  .venn-cap { min-height: 3.2em; font-size: 1rem }
  .venn-cap .call-txt { display: block }
  .leg-label { font-size: .85rem }
  .leg-label small { font-size: .66rem }
  .ring { width: 44px; height: 44px; margin: -22px 0 0 -22px }
  .seg { display: none }
  .t.t-job { left: 16px; right: 16px; width: auto; top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 2rem); transform: none; padding: .8rem 1rem; transition: bottom .4s }
  .app:not(.idle) .t.t-job { bottom: calc(env(safe-area-inset-bottom, 0px) + 9.5rem) }
  .t-job li { font-size: .9rem }
  .t-big { font-size: 1.35rem }
  .t-beat { font-size: 1.6rem }
  .app:not(.idle) .t-big { bottom: calc(env(safe-area-inset-bottom, 0px) + 16% + 3.5rem) }
  .t-lower { bottom: calc(env(safe-area-inset-bottom, 0px) + 16%) }
  .app .t.t-at-top, .app .t.t-at-left, .app .t.t-at-right,
  .app:not(.idle) .t.t-at-top, .app:not(.idle) .t.t-at-left, .app:not(.idle) .t.t-at-right { top: auto; left: 50%; right: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 16%); width: min(92%, 62rem); transform: translate(-50%, var(--rise, 0px)); text-align: center; padding: 0 16px }
  .app:not(.idle) .t-lower { bottom: calc(env(safe-area-inset-bottom, 0px) + 16% + 3.5rem) }
}
