/* Use cases (index.html #use-cases): the drifting strip of use-case tiles. One file in four layers, in cascade order:
   the strip, sizes, filter and iMessage parts; the tile, tint, words and phone placement; the treatments (cards, stacks, numbers,
   sheets); and the Apple-style mix (bleed lists, photos, the calendar day, the Live Activity, dark tiles). Driven by js/use-cases.js.
   Shared parts come from their owners (css/phone-frame.css, css/thread-head.css, css/bubble-tail.css, css/tapback.css). */

/* ---- 1. the strip ---- */
/* Shared base for the five bento directions (v1..v5): the drifting strip, tile sizes, filters, hover and the iMessage parts.
   Each direction's stylesheet decides what shows and how it looks. Tile markup (one for every direction):
   .bx-tile > .tl (.eb eyebrow with .no number, .bx-title, .ds description) + .art (.ft figure, .dev phone > .scr screen, .nt notification). */
.arc-concept .imsg-cases {
  --bx-r: 268px; --bx-c: 300px; --bx-g: 16px; --bx-pad: 24px; --bx-rad: 28px;
  --bx-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --bx-ease: cubic-bezier(.22,.8,.24,1);
  --in: #e9e9eb; --out: #0b84fe; --scr: #fff; --scr-ink: #000; --meta: rgba(60,60,67,.6);
}
[data-theme="dark"] .arc-concept .imsg-cases { --in: #26262a; --scr: #000; --scr-ink: #fff; --meta: rgba(235,235,245,.6); }

/* strip */
.arc-concept .imsg-cases .bx {
  overflow: hidden; touch-action: pan-y; margin-inline: calc(50% - 50vw); padding-block: 24px; margin-top: 8px;
  /* no edge fade: tiles run off the screen edge and are cut clean, as Apple does; a fade smears dark tiles into the page */
}
.arc-concept .imsg-cases .bx-track {
  display: grid; grid-auto-flow: column dense; grid-template-rows: repeat(2, var(--bx-r)); grid-auto-columns: var(--bx-c);
  gap: var(--bx-g); width: max-content; margin-left: 0;   /* the page-gutter offset lives in the loop (use-cases.js), so the wrap is seamless */
  will-change: transform;   /* standing, never toggled: js/use-cases.js writes the drift's transform every frame */
}
/* The drift is js/use-cases.js, one position moved by one clock each frame. Hover, focus and a held finger ease its speed to 0 and back.
   It was a CSS animation once; Safari snapped it back a pixel on hover in and froze then jumped on hover out whenever its playback rate
   changed (animation-play-state and updatePlaybackRate both), because the compositor and the page disagreed about where it was. */
/* a group that fits on screen rests and scrolls natively (the drifting strip takes a finger in js/use-cases.js, hence pan-y above) */
.arc-concept .imsg-cases .bx.is-static { overflow-x: auto; touch-action: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
.arc-concept .imsg-cases .bx.is-static .bx-track { transform: none; margin-inline: auto; padding-inline: max(24px, (100vw - 1200px) / 2); }
.arc-concept .imsg-cases .bx.is-static [data-clone], .arc-concept .imsg-cases .bx-tile[hidden] { display: none; }

/* tiles */
.arc-concept .imsg-cases .bx-tile {
  position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; isolation: isolate;
  padding: var(--bx-pad); border-radius: var(--bx-rad); background: var(--case-tile); color: var(--ink);
  transition: scale 1s var(--bx-ease), box-shadow 1s var(--bx-ease);
}
.arc-concept .imsg-cases .bx-xl { grid-row: span 2; grid-column: span 2; }
.arc-concept .imsg-cases .bx-tall { grid-row: span 2; }
.arc-concept .imsg-cases .bx-wide { grid-column: span 2; }
.arc-concept .imsg-cases .tl { position: relative; z-index: 2; flex: none; }
.arc-concept .imsg-cases .tl p { margin: 0; }
.arc-concept .imsg-cases .eb, .arc-concept .imsg-cases .ds { display: none; }
.arc-concept .imsg-cases .bx-title { margin: 0; font-size: 21px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.arc-concept .imsg-cases .bx-title a { color: inherit; text-decoration: none; }
.arc-concept .imsg-cases .bx-title a::after { content: ""; position: absolute; inset: -100vh -100vw; z-index: 5; }
.arc-concept .imsg-cases .bx-title a:focus-visible { outline: none; }
.arc-concept .imsg-cases .bx-tile:has(a:focus-visible) { outline: 3px solid color-mix(in srgb, #1a73e8 40%, transparent); outline-offset: -3px; }
.arc-concept .imsg-cases .bx-arrow {
  display: inline-block; box-sizing: border-box; width: 28px; height: 28px; padding: 7px; vertical-align: -6px; margin-left: 10px;
  border-radius: 50%; color: var(--ink-3, #6e6e73); background: var(--btn-wash, rgba(0,0,0,.05));
  transition: translate .3s var(--bx-ease), color .2s ease, background-color .2s ease;
}
@media (hover: hover) {
  .arc-concept .imsg-cases .bx-tile:hover { scale: 1.03; z-index: 3; }
  .arc-concept .imsg-cases .bx-xl:hover { scale: 1.018; }
  .arc-concept .imsg-cases .bx-tile:hover .bx-arrow { translate: 3px 0; color: var(--ink); background: var(--btn-wash-strong, rgba(0,0,0,.09)); }
}

/* art: everything below the title, out to the tile's edges; each direction places the parts */
.arc-concept .imsg-cases .art { position: relative; flex: 1 1 auto; min-height: 0; margin: 0 calc(var(--bx-pad) * -1) calc(var(--bx-pad) * -1); font-family: var(--bx-ui); -webkit-font-smoothing: antialiased; }
.arc-concept .imsg-cases .art > * { display: none; }

/* iMessage parts, drawn at iOS proportions */
.arc-concept .imsg-cases .scr { position: relative; display: flex; flex-direction: column; background: var(--scr); color: var(--scr-ink); overflow: hidden; }
.arc-concept .imsg-cases .isl, .arc-concept .imsg-cases .sb { display: none; }
.arc-concept .imsg-cases .sb { flex: none; justify-content: space-between; align-items: center; height: 44px; padding: 14px 26px 0 30px; font-size: 14px; font-weight: 600; }
.arc-concept .imsg-cases .sb svg { height: 10px; width: auto; }
.arc-concept .imsg-cases .hd { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 12px; }
.arc-concept .imsg-cases .av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: #f2f2f7; }
.arc-concept .imsg-cases .av img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.arc-concept .imsg-cases .av-i { background: linear-gradient(180deg, #a5a9b2, #858993); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.arc-concept .imsg-cases .nm { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; color: var(--scr-ink); }
.arc-concept .imsg-cases .nm .chev { width: 5px; height: 9px; color: var(--meta); }
.arc-concept .imsg-cases .th { display: flex; flex-direction: column; gap: 3px; padding: 4px 14px 14px; }
.arc-concept .imsg-cases .bb { position: relative; max-width: 76%; padding: 7px 12px; border-radius: 18px; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; --bt-u: .9px; }
.arc-concept .imsg-cases .bb.in { align-self: flex-start; background: var(--in); color: var(--scr-ink); }
.arc-concept .imsg-cases .bb.out { align-self: flex-end; background: var(--out); color: #fff; }
.arc-concept .imsg-cases .bb.in + .bb.out, .arc-concept .imsg-cases .bb.out + .bb.in, .arc-concept .imsg-cases .bb.out + .bb.ph, .arc-concept .imsg-cases .bb.ph + .bb.out { margin-top: 8px; }
.arc-concept .imsg-cases .bb.ph { align-self: flex-start; width: 58%; padding: 0; overflow: hidden; border-radius: 18px; }
.arc-concept .imsg-cases .bb.ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* how much of the thread each size shows (newest messages are r1, r2...) */
.arc-concept .imsg-cases .bx-sm .bb:not(.r1, .r2) { display: none; }
.arc-concept .imsg-cases .bx-wide .bb:not(.r1, .r2, .r3) { display: none; }
.arc-concept .imsg-cases .bx-wide .bb.ph { display: none; }

/* a notification */
.arc-concept .imsg-cases .nt { gap: 10px; padding: 12px 14px; border-radius: 22px; font-size: 14px; line-height: 1.3; }
.arc-concept .imsg-cases .nt .av { width: 36px; height: 36px; border-radius: 9px; }
.arc-concept .imsg-cases .nt .av-i { font-size: 14px; }
.arc-concept .imsg-cases .nt p { margin: 0; }
.arc-concept .imsg-cases .nt p:first-child { display: flex; justify-content: space-between; gap: 8px; }
.arc-concept .imsg-cases .nt p:first-child span { opacity: .55; font-size: 13px; }

/* figure */
.arc-concept .imsg-cases .ft { flex-direction: column; }


@media (max-width: 700px) {
  .arc-concept .imsg-cases { --bx-r: 220px; --bx-c: 240px; --bx-g: 12px; --bx-pad: 18px; }
  .arc-concept .imsg-cases .bx-title { font-size: 17px; }
  .arc-concept .imsg-cases .bx-arrow { width: 24px; height: 24px; padding: 6px; vertical-align: -5px; margin-left: 8px; }
  .arc-concept .imsg-cases .art { zoom: .8; margin: 0 calc(var(--bx-pad) * -1.25) calc(var(--bx-pad) * -1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .arc-concept .imsg-cases .bx { overflow-x: auto; touch-action: auto; }   /* a static strip a finger scrolls */
  .arc-concept .imsg-cases .bx-track { transform: none; will-change: auto; }
  .arc-concept .imsg-cases .bx [data-clone] { display: none; }
  .arc-concept .imsg-cases .bx-tile { transition: none; }
  .arc-concept .imsg-cases .bx-tile:hover { scale: none; }
}
/* tabular figures everywhere (the site sets them on :root in css/fonts.css; restated here for the mock) */
.arc-concept .imsg-cases { font-variant-numeric: tabular-nums; }

/* ---- 2. the tile ---- */
/* v7 Product page. Modelled on Apple's product-page tiles: one flat, softly tinted tile per use case, words top-left, and the
   site's shared phone rising from the tile's bottom edge and fading out before it (css/phone-frame.css owns the phone, its crop
   and fade, and its bottom-anchored thread; css/thread-head.css owns the contact header; css/bubble-tail.css the tails).
   This file only places and sizes that phone inside each tile. Two tiles lead with a number. */
.arc-concept .imsg-cases { --bx-r: 300px; --bx-c: 320px; --bx-g: 16px; --bx-pad: 28px; --bx-rad: 30px; }
.arc-concept .imsg-cases .bx-tile { --h1: #e6efff; --acc: #1f5ad6; --acc2: #5b8cff; --wall: linear-gradient(170deg, #cfe0ff, #eef4ff 60%, #fff);
  padding: 26px 28px; background: color-mix(in srgb, var(--h1) 55%, #fff); box-shadow: none; }
.arc-concept .imsg-cases [data-for="marketing"] { --h1: #ffe7d6; --acc: #c4511a; --acc2: #f08a4b; --wall: linear-gradient(170deg, #ffd9c0, #fff2e8 60%, #fff); }
.arc-concept .imsg-cases [data-for="classes"] { --h1: #dbf2e4; --acc: #1b7a46; --acc2: #3fb873; --wall: linear-gradient(170deg, #c7ecd6, #eef9f2 60%, #fff); }
.arc-concept .imsg-cases [data-for="support"] { --h1: #e9e3ff; --acc: #5a3cc8; --acc2: #8f73ff; --wall: linear-gradient(170deg, #ddd3ff, #f4f0ff 60%, #fff); }
.arc-concept .imsg-cases [data-for="services"] { --h1: #d9f1f3; --acc: #0f7f9c; --acc2: #2fb8c8; --wall: linear-gradient(170deg, #c4e9ee, #ecf8f9 60%, #fff); }
.arc-concept .imsg-cases [data-for="apps"] { --h1: #e7ebf0; --acc: #36404f; --acc2: #6b7a90; --wall: linear-gradient(170deg, #d9dfe7, #f2f4f7 60%, #fff); }
[data-theme="dark"] .arc-concept .imsg-cases .bx-tile { background: color-mix(in srgb, var(--acc2) 9%, #1b1b1d);
  --wall: linear-gradient(170deg, color-mix(in srgb, var(--acc2) 45%, #000), #0d0d0f 70%); }

/* words: label, title, one line on the larger tiles; the arrow in its circle at the tile's top right */
.arc-concept .imsg-cases .tl { position: static; }
.arc-concept .imsg-cases .tl :is(.eb, .ds) { position: relative; z-index: 2; }
.arc-concept .imsg-cases .bx-tile > .tl { padding-right: 44px; }
.arc-concept .imsg-cases :is(.bx-xl, .bx-wide) > .tl { padding-right: 0; }
.arc-concept .imsg-cases .eb { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; letter-spacing: -.005em; color: var(--acc); }
[data-theme="dark"] .arc-concept .imsg-cases .eb { color: var(--acc2); }
.arc-concept .imsg-cases .eb .no { display: none; }
.arc-concept .imsg-cases .bx-title { font-size: 22px; font-weight: 500; letter-spacing: -.022em; line-height: 1.18; max-width: 17ch; }
.arc-concept .imsg-cases .bx-title, .arc-concept .imsg-cases .bx-title a { position: static; }
.arc-concept .imsg-cases .bx-arrow { position: absolute; top: 24px; right: 24px; margin: 0; background: rgba(0,0,0,.06); }
[data-theme="dark"] .arc-concept .imsg-cases .bx-arrow { background: rgba(255,255,255,.1); }
.arc-concept .imsg-cases .ds { margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--ink-2); max-width: 28ch; }
.arc-concept .imsg-cases :is(.bx-xl, .bx-wide) .ds { display: block; }
.arc-concept .imsg-cases .is-big .ds { display: none; }
.arc-concept .imsg-cases .bx-xl .tl { max-width: 40%; }
.arc-concept .imsg-cases .bx-xl .bx-title { font-size: 30px; line-height: 1.1; letter-spacing: -.03em; max-width: 12ch; }
.arc-concept .imsg-cases .bx-wide .tl { max-width: 46%; }

/* the shared phone in a tile: its crop box (.pg-phc) runs from --pt below the art's top to the tile's bottom edge, --pw wide (the
   phone is that minus the crop's 20px sides). The crop's own mask fades it out before the edge. Sizes inside the phone follow its
   width (cqw of the screen), so one rule fits every phone. */
.arc-concept .imsg-cases .art { position: relative; margin: 0 -28px -26px; z-index: 1; }
.arc-concept .imsg-cases .bx-tile .art > .pg-phc { --pw: 290px; --pt: 2px; display: block; position: absolute; top: var(--pt); bottom: 0; left: 50%; width: var(--pw); height: auto; margin-left: calc(var(--pw) / -2); --pg-fade: .74; }
.arc-concept .imsg-cases .pg-phc .imsg-phone:not(.pg-apple) { width: 100%; height: auto; border-radius: 15.5cqw; padding: 2.2cqw; }
.arc-concept .imsg-cases .pg-phc .imsg-phone.pg-apple { width: 100%; }
.arc-concept .imsg-cases .pg-phc .imsg-phone:not(.pg-apple) .imsg-phone-screen { border-radius: 13.6cqw; }
.arc-concept .imsg-cases .pg-ph { --bt-u: .3cqw; }
.arc-concept .imsg-cases .pg-ph .pg-ph-thread { gap: 2.2cqw; padding-left: 5.5cqw; padding-right: 5.5cqw; }
.arc-concept .imsg-cases .pg-ph .pg-b { font-size: 4.7cqw; padding: 2.3cqw 3.8cqw; border-radius: 5.4cqw; max-width: 80%; }
.arc-concept .imsg-cases .pg-ph .pg-b.in + .pg-b.out, .arc-concept .imsg-cases .pg-ph .pg-b.out + .pg-b.in { margin-top: 1.6cqw; }
.arc-concept .imsg-cases .pg-ph .pg-photo { padding: 0; width: 58%; overflow: hidden; }
.arc-concept .imsg-cases .pg-ph .pg-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.arc-concept .imsg-cases .pg-ph .nt { display: none; }

/* sizes */
.arc-concept .imsg-cases .bx-tall .art > .pg-phc { --pw: 296px; }
.arc-concept .imsg-cases :is(.bx-xl, .bx-wide) .art { position: absolute; inset: 0; margin: 0; }
.arc-concept .imsg-cases .bx-xl .art > .pg-phc { --pw: 340px; --pt: 70px; left: auto; right: 34px; margin: 0; }
.arc-concept .imsg-cases .bx-wide .art > .pg-phc { --pw: 276px; --pt: 18px; left: auto; right: 56px; margin: 0; }

/* small (and the wide number tile): only the top of the phone shows, so the text arrives there as a banner */
.arc-concept .imsg-cases :is(.bx-sm, .bx-wide.is-big) .pg-ph { background: var(--wall); }
.arc-concept .imsg-cases :is(.bx-sm, .bx-wide.is-big) .pg-ph :is(.th-head, .pg-ph-thread) { display: none; }
.arc-concept .imsg-cases .bx-sm .art > .pg-phc { --pw: 300px; --pg-fade: .8; }
.arc-concept .imsg-cases .bx-wide.is-big .art > .pg-phc { --pg-fade: .78; }
.arc-concept .imsg-cases :is(.bx-sm, .bx-wide.is-big) .pg-ph .nt { display: flex; position: absolute; z-index: 4; left: 4.5cqw; right: 4.5cqw; top: 16cqw; gap: 3.5cqw;
  padding: 4cqw 4.5cqw; border-radius: 8.5cqw; font-size: 4.7cqw; line-height: 1.28; color: #000;
  background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.06), 0 10px 24px -12px rgba(20,24,40,.35); }
[data-theme="dark"] .arc-concept .imsg-cases :is(.bx-sm, .bx-wide.is-big) .pg-ph .nt { color: #fff; background: rgba(40,40,44,.72); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.12); }
.arc-concept .imsg-cases .pg-ph .nt .av { width: 13cqw; height: 13cqw; border-radius: 3cqw; }
.arc-concept .imsg-cases .pg-ph .nt > div { min-width: 0; flex: 1; }
.arc-concept .imsg-cases .pg-ph .nt p:first-child span { font-size: .9em; }
.arc-concept .imsg-cases .pg-ph .nt p:last-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* number tiles: the figure sits at the bottom, opposite the words, the way Apple sets its stats */
.arc-concept .imsg-cases .is-big .ft { display: flex; position: absolute; left: 28px; bottom: 26px; z-index: 2; flex-direction: column; gap: 8px; }
.arc-concept .imsg-cases :is(.bx-sm, .bx-tall).is-big .art > .pg-phc { display: none; }
.arc-concept .imsg-cases .is-big .st { font-size: 66px; font-weight: 500; letter-spacing: -.05em; line-height: .92; white-space: nowrap; margin-left: -.04em;
  background: linear-gradient(100deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .arc-concept .imsg-cases .is-big .st { background-image: linear-gradient(100deg, var(--acc2), color-mix(in srgb, var(--acc2) 55%, #fff)); }
.arc-concept .imsg-cases .is-big .sl { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); }
.arc-concept .imsg-cases .bx-wide.is-big .st { font-size: 88px; }
.arc-concept .imsg-cases .bx-tall.is-big .st { font-size: 72px; }

/* hover: the tile grows (shared), the phone rises a little */
.arc-concept .imsg-cases .pg-phc .imsg-phone { transition: translate 1s var(--bx-ease); }
@media (hover: hover) { .arc-concept .imsg-cases .bx-tile:hover .pg-phc .imsg-phone { translate: 0 -8px; } }

@media (max-width: 700px) {
  .arc-concept .imsg-cases { --bx-r: 264px; --bx-c: 276px; --bx-pad: 22px; }
  .arc-concept .imsg-cases .bx-tile { padding: 22px; }
  .arc-concept .imsg-cases .art { zoom: 1; margin: 0 -22px -22px; }
  .arc-concept .imsg-cases .bx-title { font-size: 19px; }
  .arc-concept .imsg-cases .bx-xl .bx-title { font-size: 24px; }
  .arc-concept .imsg-cases .bx-arrow { top: 20px; right: 20px; }
  .arc-concept .imsg-cases :is(.bx-xl, .bx-wide) .ds { display: none; }
  .arc-concept .imsg-cases .bx-sm .art > .pg-phc { --pw: 262px; }
  .arc-concept .imsg-cases .bx-tall .art > .pg-phc { --pw: 258px; }
  .arc-concept .imsg-cases .bx-xl .art > .pg-phc { --pw: 290px; --pt: 64px; right: 20px; }
  .arc-concept .imsg-cases .bx-wide .art > .pg-phc { --pw: 236px; right: 52px; }
  .arc-concept .imsg-cases .is-big .ft { left: 22px; bottom: 22px; }
  .arc-concept .imsg-cases .is-big .st { font-size: 54px; }
  .arc-concept .imsg-cases .bx-wide.is-big .st { font-size: 64px; }
  .arc-concept .imsg-cases .bx-tall.is-big .st { font-size: 58px; }
}
/* a wide tile has room for the last exchange only: show it whole rather than an older message half under the header */
.arc-concept .imsg-cases .bx-wide .pg-ph .pg-b:not(.r1, .r2) { display: none; }
/* the numbers: the rounded figures, as the research numbers and plan prices (css/fonts.css); the words beside them (.st-w, and the
   .st-u unit) stay in the display face, so "off" and "s" are never rounded or a fallback face */
.arc-concept .imsg-cases .is-big .st { font-family: var(--font-rounded); font-weight: 600; letter-spacing: -.03em; margin-left: -.03em; }
.arc-concept .imsg-cases .is-big .sl { font-family: var(--font); }

/* ---- 3. treatments ---- */
/* v8 Variety. Loads after v7.css (tile, tint, words, arrow, number tiles, the shared phone's placement) and adds one treatment per
   tile, picked from the tile's one moment, the way Apple's feature carousels mix them: a phone bezel only on the two largest tiles;
   elsewhere the UI floats on the tile with no device. Treatments (t-*): phone, card, stack, number, photo, calendar, link, pills,
   sheet, macro. Header, bubbles, tails and tapback are the shared parts (thread-head, phone-frame's .pg-b, bubble-tail, tapback).
   Mock-only parts to promote to owner files if this ships: the conversation card (.v8-card), the notification group (.v8-stack),
   the event card, the link preview, the action pills and the sign-in sheet. */
.arc-concept .imsg-cases { --pg-bubble-in: #e9e9eb; --pg-phone-ink: #000; --pg-phone-bg: #fff; --v8-surface: #fff; --v8-meta: rgba(60,60,67,.6);
  --v8-lift: 0 0 0 .5px rgba(0,0,0,.06), 0 18px 40px -20px rgba(20,24,40,.35); }
[data-theme="dark"] .arc-concept .imsg-cases { --pg-bubble-in: #26262a; --pg-phone-ink: #fff; --pg-phone-bg: #000; --v8-surface: #1c1c1e; --v8-meta: rgba(235,235,245,.6);
  --v8-lift: 0 0 0 .5px rgba(255,255,255,.1), 0 18px 40px -20px rgba(0,0,0,.7); }
.arc-concept .imsg-cases .art > :is(.v8-card, .v8-stack, .v8-photo, .v8-cal-wrap) { display: block; }
.arc-concept .imsg-cases .art > :is(.v8-over, .v8-pills, .v8-macro) { display: flex; }
.arc-concept .imsg-cases .art > :is(.v8-thread, .v8-sheet) { display: flex; }
.arc-concept .imsg-cases .art > .v8-sheet { display: grid; }
.arc-concept .imsg-cases .art .pg-b { font-family: var(--bx-ui); --bt-u: .9px; }
.arc-concept .imsg-cases .v8-thread { display: flex; flex-direction: column; gap: 4px; font-family: var(--bx-ui); }
.arc-concept .imsg-cases .v8-thread .pg-b { font-size: 14px; padding: 7px 12px; max-width: 82%; }
.arc-concept .imsg-cases .v8-thread .pg-b.in + .pg-b.out, .arc-concept .imsg-cases .v8-thread .pg-b.out + .pg-b.in { margin-top: 6px; }
.arc-concept .imsg-cases .v8-loose .pg-b { font-size: 15px; padding: 8px 13px; }
/* every piece rests at its own offset (--cy, -50% for the centred ones) and rises by --lift on hover; one rule owns the translate */
.arc-concept .imsg-cases .art > :not(.pg-phc, .ft, .v9-bg) { translate: 0 calc(var(--cy, 0%) - var(--lift, 0px)); transition: translate 1s var(--bx-ease); }
@media (hover: hover) { .arc-concept .imsg-cases .bx-tile:hover .art > :not(.pg-phc, .ft, .v9-bg) { --lift: 6px; } }

/* B card: the hero's conversation card with no phone around it */
.arc-concept .imsg-cases .v8-card { position: absolute; width: 300px; padding: 0 0 14px; border-radius: 26px; background: var(--v8-surface); box-shadow: var(--v8-lift); overflow: hidden;
  --th-u: .62px; --th-ink: var(--pg-phone-ink); --th-bg: var(--v8-surface); }
.arc-concept .imsg-cases .v8-card .v8-thread { padding: calc(32 * var(--th-u)) 14px 0; }
.arc-concept .imsg-cases .bx-wide .v8-card { right: 72px; width: 270px; top: 50%; --cy: -50%; --th-u: .52px; }
.arc-concept .imsg-cases .bx-wide .v8-card .pg-b { font-size: 13.5px; }
.arc-concept .imsg-cases .bx-sm .v8-card { left: 20px; right: 20px; width: auto; top: 50%; --cy: -50%; --th-u: .48px; padding-bottom: 12px; }
.arc-concept .imsg-cases .bx-sm .v8-card .v8-thread { padding-left: 12px; padding-right: 12px; }
.arc-concept .imsg-cases .bx-sm .v8-card .pg-b { font-size: 12.5px; padding: 6px 11px; }
.arc-concept .imsg-cases .bx-tall .v8-card { left: 24px; right: 24px; width: auto; top: 16px; }

/* C stack: a notification group as iOS stacks it, one banner with two slivers under it */
.arc-concept .imsg-cases .v8-stack { position: absolute; left: 22px; right: 22px; top: 50%; --cy: -50%; }
.arc-concept .imsg-cases .v8-group { position: relative; padding-bottom: 14px; }
.arc-concept .imsg-cases .v8-group > i { position: absolute; left: 12px; right: 12px; bottom: 7px; height: 14px; border-radius: 0 0 16px 16px; background: color-mix(in srgb, var(--v8-surface) 72%, transparent); box-shadow: 0 6px 14px -8px rgba(20,24,40,.3); }
.arc-concept .imsg-cases .v8-group > i + i { left: 24px; right: 24px; bottom: 0; background: color-mix(in srgb, var(--v8-surface) 50%, transparent); }
.arc-concept .imsg-cases .v8-nt { position: relative; z-index: 1; display: flex; gap: 10px; padding: 12px 14px; border-radius: 22px; background: var(--v8-surface); box-shadow: var(--v8-lift);
  font: 13.5px/1.3 var(--bx-ui); color: var(--pg-phone-ink); }
.arc-concept .imsg-cases .v8-nt .av { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.arc-concept .imsg-cases .v8-nt > div { min-width: 0; flex: 1; }
.arc-concept .imsg-cases .v8-nt p { margin: 0; }
.arc-concept .imsg-cases .v8-nt p:first-child { display: flex; justify-content: space-between; gap: 8px; }
.arc-concept .imsg-cases .v8-nt p:first-child span { color: var(--v8-meta); font-size: 12.5px; white-space: nowrap; }
.arc-concept .imsg-cases .v8-clock { margin: 0 0 10px; text-align: center; font: 600 64px/1 var(--bx-ui); letter-spacing: -.02em; color: var(--acc); opacity: .9; }
[data-theme="dark"] .arc-concept .imsg-cases .v8-clock { color: var(--acc2); }
.arc-concept .imsg-cases .t-stack.u-night .v8-stack { top: 46%; }

/* D number with the text it sent floating beside it (no phone) */
.arc-concept .imsg-cases .v8-nt.v8-float { position: absolute; right: 72px; top: 50%; --cy: -50%; width: 280px; }

/* E photo: the photo is the picture; the price arrives over its lower edge */
.arc-concept .imsg-cases .v8-photo { position: absolute; left: 20px; right: 20px; top: 12px; bottom: 96px; border-radius: 22px; overflow: hidden; box-shadow: var(--v8-lift); }
.arc-concept .imsg-cases .v8-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arc-concept .imsg-cases .v8-over { position: absolute; left: 30px; right: 30px; bottom: 30px; display: flex; flex-direction: column; gap: 8px; }
.arc-concept .imsg-cases .v8-over .pg-b { font-size: 15px; padding: 8px 13px; box-shadow: 0 10px 24px -12px rgba(20,24,40,.35); }
.arc-concept .imsg-cases .v8-over .pg-b.in { background: var(--v8-surface); }

/* F calendar: the reminder, the one-letter reply, and the event it confirmed */
.arc-concept .imsg-cases .v8-cal-wrap { position: absolute; left: 24px; right: 24px; top: 50%; --cy: -50%; }
.arc-concept .imsg-cases .v8-cal-wrap u { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.arc-concept .imsg-cases .v8-cal { display: flex; gap: 16px; align-items: center; margin-top: 30px; padding: 16px 18px; border-radius: 22px; background: var(--v8-surface); box-shadow: var(--v8-lift); font: 14px/1.35 var(--bx-ui); color: var(--pg-phone-ink); }
.arc-concept .imsg-cases .v8-cal p { margin: 0; }
.arc-concept .imsg-cases .v8-cal-d { display: grid; justify-items: center; flex: none; width: 64px; }
.arc-concept .imsg-cases .v8-cal-d span { font-size: 12px; font-weight: 600; color: #ff3b30; }
.arc-concept .imsg-cases .v8-cal-d b { font-size: 36px; font-weight: 300; line-height: 1.05; }
.arc-concept .imsg-cases .v8-cal > div:last-child { min-width: 0; padding-left: 14px; border-left: 3px solid #ff3b30; }
.arc-concept .imsg-cases .v8-cal-t { font-weight: 600; }
.arc-concept .imsg-cases .v8-cal > div:last-child p:not(.v8-cal-t) { color: var(--v8-meta); }

/* F link: the update-card link, previewed the way Messages shows a link */
.arc-concept .imsg-cases .v8-link-wrap { position: absolute; right: 72px; top: 50%; --cy: -50%; width: 290px; }
.arc-concept .imsg-cases .v8-link { align-self: flex-start; display: flex; gap: 10px; align-items: center; width: 82%; margin-top: 4px; padding: 10px 12px; border-radius: 18px; background: var(--pg-bubble-in); color: var(--pg-phone-ink); font-size: 13px; line-height: 1.3; }
.arc-concept .imsg-cases .v8-link .av { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.arc-concept .imsg-cases .v8-link p { margin: 0; }
.arc-concept .imsg-cases .v8-link p:not(.v8-link-t) { color: var(--v8-meta); }
.arc-concept .imsg-cases .v8-link-t { font-weight: 600; }

/* F pills: what the agent did, as glass action pills */
.arc-concept .imsg-cases .v8-pills { position: absolute; right: 44px; top: 50%; --cy: -50%; width: 330px; display: flex; flex-direction: column; gap: 22px; font-family: var(--bx-ui); }
.arc-concept .imsg-cases .v8-pills > .pg-b { font-size: 16px; padding: 9px 14px; }
.arc-concept .imsg-cases .v8-pills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.arc-concept .imsg-cases .v8-pills li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border-radius: 999px; font-size: 15px; color: var(--pg-phone-ink);
  background: color-mix(in srgb, var(--v8-surface) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: var(--v8-lift); }
.arc-concept .imsg-cases .v8-pills li svg { width: 18px; height: 18px; color: var(--acc); flex: none; }
[data-theme="dark"] .arc-concept .imsg-cases .v8-pills li svg { color: var(--acc2); }
.arc-concept .imsg-cases .v8-pills li:nth-child(2) { margin-left: 24px; }
.arc-concept .imsg-cases .v8-pills li:nth-child(3) { margin-left: 8px; }
.arc-concept .imsg-cases .v8-pills li:nth-child(4) { margin-left: 32px; }

/* F sheet: the sign-in sheet a person taps */
.arc-concept .imsg-cases .v8-sheet { position: absolute; left: 24px; right: 24px; top: 50%; --cy: -50%; display: grid; justify-items: center; gap: 8px; padding: 18px 16px 16px; border-radius: 24px;
  background: var(--v8-surface); box-shadow: var(--v8-lift); font-family: var(--bx-ui); color: var(--pg-phone-ink); --th-u: .7px; }
.arc-concept .imsg-cases .v8-sheet .th-ph { width: 44px; height: 44px; border-radius: 10px; }
.arc-concept .imsg-cases .v8-sheet-t { margin: 0; font-size: 15px; font-weight: 600; }
.arc-concept .imsg-cases .v8-sheet-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 14px; border-radius: 999px; background: #0b84fe; color: #fff; font-size: 15px; font-weight: 600; }
.arc-concept .imsg-cases .v8-sheet-b svg { width: 18px; height: 18px; }

/* G macro: the thread at close range, with a heart on the invite */
.arc-concept .imsg-cases .v8-macro { position: absolute; left: 22px; right: 22px; top: 50%; --cy: -50%; display: flex; flex-direction: column; gap: 10px; --tb-size: 40px; --tb-ring: color-mix(in srgb, var(--h1) 55%, #fff); }
.arc-concept .imsg-cases .v8-macro .pg-b { font-size: 21px; line-height: 1.25; padding: 11px 16px; border-radius: 24px; max-width: 86%; --bt-u: 1.25px; }
.arc-concept .imsg-cases .v8-macro .v8-row { display: flex; }
.arc-concept .imsg-cases .v8-macro .v8-row .pg-b { position: relative; }
.arc-concept .imsg-cases .v8-macro .pg-b.in { background: var(--v8-surface); }
.arc-concept .imsg-cases .v8-macro .pg-b.in + .pg-b.out, .arc-concept .imsg-cases .v8-macro .pg-b.out + .pg-b.in { margin-top: 6px; }

/* the two phones: the largest tiles only */
.arc-concept .imsg-cases .t-phone .art > .pg-phc { display: block; }

@media (max-width: 700px) {
  .arc-concept .imsg-cases .bx-wide .v8-card, .arc-concept .imsg-cases .v8-link-wrap, .arc-concept .imsg-cases .v8-nt.v8-float { right: 20px; width: 240px; }
  .arc-concept .imsg-cases .v8-pills { right: 20px; width: 270px; }
  .arc-concept .imsg-cases .v8-pills li { font-size: 13.5px; }
  .arc-concept .imsg-cases .v8-macro .pg-b { font-size: 18px; }
  .arc-concept .imsg-cases .v8-clock { font-size: 52px; }
  .arc-concept .imsg-cases .v8-photo { bottom: 92px; }
}

/* a tile turned tall by a filter: the pieces placed for wide tiles centre in the column under the words */
.arc-concept .imsg-cases .bx-tall :is(.v8-nt.v8-float, .v8-link-wrap, .v8-pills) { left: 20px; right: 20px; width: auto; }
.arc-concept .imsg-cases .bx-tall.is-big .v8-nt.v8-float { top: 36%; }
.arc-concept .imsg-cases .bx-tall .v8-pills { gap: 16px; }
.arc-concept .imsg-cases .bx-tall .v8-pills li { font-size: 14px; padding: 9px 14px 9px 12px; margin-left: 0 !important; }
.arc-concept .imsg-cases .bx-tall .v8-pills > .pg-b { font-size: 15px; }
.arc-concept .imsg-cases .bx-tall .v8-card { top: 50%; --cy: -50%; }

@media (max-width: 700px) {
  .arc-concept .imsg-cases .bx-wide .v8-card { right: 60px; width: 220px; --th-u: .44px; }
  .arc-concept .imsg-cases .bx-wide .v8-card .pg-b { font-size: 12.5px; padding: 6px 10px; }
  .arc-concept .imsg-cases .bx-sm .v8-card .th-head { display: none; }
  .arc-concept .imsg-cases .bx-sm .v8-card { padding-top: 12px; }
  .arc-concept .imsg-cases .bx-sm .v8-card .v8-thread { padding-top: 0; }
  .arc-concept .imsg-cases .v8-sheet { gap: 6px; padding: 12px 14px; }
  .arc-concept .imsg-cases .v8-sheet .th-ph { width: 34px; height: 34px; }
  .arc-concept .imsg-cases .v8-sheet-t { font-size: 14px; }
  .arc-concept .imsg-cases .v8-sheet-b { padding: 9px 12px; font-size: 14px; }
  .arc-concept .imsg-cases .bx-tall .v8-pills li { font-size: 13px; }
  .arc-concept .imsg-cases .bx-tall .v8-pills { gap: 12px; }
}

/* ---- 4. the mix ---- */
/* v9 Apple mix. Loads after v7.css and v8.css. Apple's feature-carousel language with our content: UI that runs off the tile's
   edges (lists, pills, the calendar day), real photos carrying some tiles, one tile of pure type, dark tiles among light ones, and
   a phone on one tile only. Type is SF Pro from the system (css/fonts.css), kept a size smaller than Apple's own pages.
   Mock-only parts to promote to owner files if this ships: the list, the calendar day, the Live Activity, the pills. */
.arc-concept .imsg-cases .art > :is(.v9-bg, .v9-on, .v9-list, .v9-day) { display: block; }
.arc-concept .imsg-cases .art > .v9-live { display: grid; }
.arc-concept .imsg-cases .art > .v9-pills { display: flex; }
.arc-concept .imsg-cases :is(.t-bleed, .t-list, .t-pills, .t-day) .art { position: absolute; inset: 0; margin: 0; }
.arc-concept .imsg-cases .t-day .art { top: 100px; }
.arc-concept .imsg-cases .v9-ok { width: 13px; height: 13px; flex: none; }

/* photo tiles: the photo is the tile; the words sit on a soft scrim at the top; one piece of UI sits on the photo */
.arc-concept .imsg-cases .v9-bg { position: absolute; inset: 0; overflow: hidden; }
.arc-concept .imsg-cases .v9-bg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale 1.2s var(--bx-ease); }
.arc-concept .imsg-cases .v9-bg.is-missing { background: linear-gradient(160deg, #2c2f3a, #17181d); }  /* photo failed to load (js/photo-tile.js): a plain dark card, no broken-image glyph */
.arc-concept .imsg-cases .v9-bg.is-missing img { display: none; }
.arc-concept .imsg-cases .v9-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.12) 38%, transparent 60%); }
.arc-concept .imsg-cases .v9-dim::after { background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.35) 50%, rgba(0,0,0,.55)); }
@media (hover: hover) { .arc-concept .imsg-cases .bx-tile:hover .v9-bg img { scale: 1.04; } }
.arc-concept .imsg-cases .t-bleed:not(:has(.v9-half)) :is(.eb, .bx-title, .ds) { color: #fff; }
.arc-concept .imsg-cases .t-bleed:not(:has(.v9-half)) .eb { color: rgba(255,255,255,.82); }
.arc-concept .imsg-cases .t-bleed:not(:has(.v9-half)) .bx-arrow { color: #fff; background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.arc-concept .imsg-cases .t-bleed:not(:has(.v9-half)) { background: #222; }
.arc-concept .imsg-cases .v9-on { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.arc-concept .imsg-cases .v9-on .pg-b.in { background: rgba(255,255,255,.88); color: #000; -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); }
[data-theme="dark"] .arc-concept .imsg-cases .v9-on .pg-b.in { background: rgba(40,40,44,.78); color: #fff; }
.arc-concept .imsg-cases .v9-on .v8-nt { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8); }
[data-theme="dark"] .arc-concept .imsg-cases .v9-on .v8-nt { background: rgba(40,40,44,.78); }
/* the shoes: the photo takes the right half; the text arrives over its left edge */
.arc-concept .imsg-cases .v9-half { left: 46%; }
.arc-concept .imsg-cases .v9-half::after { display: none; }
.arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on { left: calc(46% - 110px); right: auto; width: 270px; bottom: 26px; }
.arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on .pg-b.in { box-shadow: var(--v8-lift); }
/* pure type: the customer's question over the photo */
.arc-concept .imsg-cases .v9-q { margin: 0 0 18px; font: 600 40px/1.08 var(--font-display); letter-spacing: var(--track-display); color: #fff; max-width: 13ch; text-wrap: balance; }
.arc-concept .imsg-cases .t-type .v9-on { left: 28px; right: 28px; bottom: 30px; }
.arc-concept .imsg-cases .t-type .v9-on .pg-b { font-size: 15px; }

/* lists: rows that run off the tile's bottom edge, the way Apple shows a list in progress */
.arc-concept .imsg-cases .v9-list { position: absolute; left: 46%; right: 24px; top: 72px; bottom: -60px; padding: 14px 0 0; border-radius: 22px; background: var(--v8-surface); box-shadow: var(--v8-lift);
  font-family: var(--bx-ui); color: var(--pg-phone-ink); -webkit-mask-image: linear-gradient(#000 calc(100% - 150px), transparent calc(100% - 64px)); mask-image: linear-gradient(#000 calc(100% - 150px), transparent calc(100% - 64px)); }
.arc-concept .imsg-cases .v9-list-h { margin: 0 18px 6px; font-size: 12.5px; font-weight: 600; color: var(--v8-meta); }
.arc-concept .imsg-cases .v9-list ul { list-style: none; margin: 0; padding: 0; }
.arc-concept .imsg-cases .v9-list li { display: flex; align-items: center; gap: 12px; padding: 9px 18px; border-top: .5px solid color-mix(in srgb, var(--pg-phone-ink) 10%, transparent); }
.arc-concept .imsg-cases .v9-list li:first-child { border-top: 0; }
.arc-concept .imsg-cases .v9-list .av { width: 32px; height: 32px; font-size: 12px; flex: none; }
.arc-concept .imsg-cases .v9-list li > div { min-width: 0; flex: 1; }
.arc-concept .imsg-cases .v9-list li p { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arc-concept .imsg-cases .v9-list li p + p { font-size: 12.5px; font-weight: 400; color: var(--v8-meta); }
.arc-concept .imsg-cases .v9-r { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--v8-meta); }
.arc-concept .imsg-cases .v9-r:has(.v9-ok) { color: #1c9b4c; }

/* the calendar day: hours run off the top and bottom; the confirmed event sits at 3:30 */
.arc-concept .imsg-cases .v9-day { position: absolute; inset: 0; font-family: var(--bx-ui); color: var(--pg-phone-ink);
  -webkit-mask-image: linear-gradient(transparent, #000 60px, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(transparent, #000 60px, #000 calc(100% - 90px), transparent); }
.arc-concept .imsg-cases .v9-day ol { list-style: none; margin: 0; padding: 0 20px 0 24px; }
.arc-concept .imsg-cases .v9-day li { height: 84px; border-top: .5px solid color-mix(in srgb, var(--pg-phone-ink) 14%, transparent); }
.arc-concept .imsg-cases .v9-day li span { display: block; translate: 0 -.65em; width: max-content; padding-right: 8px; font-size: 12px; color: var(--v8-meta); background: color-mix(in srgb, var(--h1) 55%, #fff); }
[data-theme="dark"] .arc-concept .imsg-cases .v9-day li span { background: color-mix(in srgb, var(--acc2) 9%, #1b1b1d); }
.arc-concept .imsg-cases .v9-ev { position: absolute; left: 72px; right: 20px; top: 210px; height: 84px; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 8px 12px; border-radius: 10px;
  border-left: 3px solid var(--acc); background: color-mix(in srgb, var(--acc) 16%, var(--v8-surface)); font-size: 13px; box-shadow: var(--v8-lift); }
.arc-concept .imsg-cases .v9-ev b { font-size: 14px; }
.arc-concept .imsg-cases .v9-ev span { color: var(--v8-meta); }
.arc-concept .imsg-cases .v9-ev em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 600; color: #1c9b4c; }

/* a delivery Live Activity */
.arc-concept .imsg-cases .v9-live { position: absolute; left: 20px; right: 20px; top: 50%; --cy: -50%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px;
  padding: 14px 16px 12px; border-radius: 24px; background: rgba(22,22,24,.94); color: #fff; font-family: var(--bx-ui); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.arc-concept .imsg-cases .v9-live .av { width: 34px; height: 34px; border-radius: 9px; }
.arc-concept .imsg-cases .v9-live p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.65); }
.arc-concept .imsg-cases .v9-live .v9-live-t { font-size: 15px; font-weight: 600; color: #fff; }
.arc-concept .imsg-cases .v9-live > b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.arc-concept .imsg-cases .v9-bar { grid-column: 1 / -1; height: 6px; margin-top: 10px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.arc-concept .imsg-cases .v9-bar i { display: block; width: 64%; height: 100%; border-radius: 3px; background: var(--acc2); }
.arc-concept .imsg-cases .v9-live .v9-live-s { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 11px; }

/* dark tiles */
.arc-concept .imsg-cases .t-dark { background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--acc2) 22%, #121216), #0c0c0e 70%); }
.arc-concept .imsg-cases .t-dark :is(.bx-title, .ds) { color: #f5f5f7; }
.arc-concept .imsg-cases .t-dark .ds { color: rgba(245,245,247,.62); }
.arc-concept .imsg-cases .t-dark .eb { color: var(--acc2); }
.arc-concept .imsg-cases .t-dark .bx-arrow { color: rgba(255,255,255,.8); background: rgba(255,255,255,.12); }
.arc-concept .imsg-cases .t-dark .v8-clock { color: #fff; opacity: 1; font-weight: 500; }
.arc-concept .imsg-cases .t-dark .v8-nt { background: rgba(44,44,48,.9); color: #fff; }
.arc-concept .imsg-cases .t-dark .v8-nt p:first-child span { color: rgba(255,255,255,.55); }
.arc-concept .imsg-cases .t-dark .v8-group > i { background: rgba(60,60,66,.7); }
.arc-concept .imsg-cases .t-dark .v8-group > i + i { background: rgba(60,60,66,.45); }

/* the agent's actions: a column of glass pills running off the top and bottom */
.arc-concept .imsg-cases .v9-pills { position: absolute; right: 44px; width: 330px; top: -20px; bottom: -20px; margin: 0; padding: 0; list-style: none; flex-direction: column; justify-content: center; align-items: center; gap: 12px;
  font-family: var(--bx-ui); -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.arc-concept .imsg-cases .v9-pills li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border-radius: 999px; font-size: 15px; color: #f5f5f7; white-space: nowrap;
  background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14); }
.arc-concept .imsg-cases .v9-pills li svg { width: 18px; height: 18px; color: var(--acc2); flex: none; }

/* the review ask */
.arc-concept .imsg-cases .v9-rv { position: absolute; left: 20px; right: 20px; top: 50%; --cy: -50%; }
.arc-concept .imsg-cases .v9-rv .v8-link { width: 86%; }
.arc-concept .imsg-cases .v9-stars { color: #ffb400 !important; letter-spacing: .08em; font-size: 13px; }
.arc-concept .imsg-cases .t-review .art > .v8-thread { display: flex; }

/* the words on wide and big tiles take the left column; the pieces above sit right of it */
.arc-concept .imsg-cases .t-list.bx-wide .tl, .arc-concept .imsg-cases .t-pills.bx-xl .tl { max-width: 40%; }

/* a tile turned tall by a filter */
.arc-concept .imsg-cases .bx-tall .v9-list { left: 20px; right: 20px; top: 116px; }
.arc-concept .imsg-cases .bx-tall .v9-pills { left: 20px; right: 20px; width: auto; top: 110px; }
.arc-concept .imsg-cases .bx-tall .v9-pills li { font-size: 14px; }
.arc-concept .imsg-cases .bx-tall:has(.v9-half) .v9-half { left: 0; top: 46%; }
.arc-concept .imsg-cases .bx-tall:has(.v9-half) .v9-on { left: 20px; right: 20px; width: auto; bottom: 20px; }
.arc-concept .imsg-cases .bx-tall .v9-q { font-size: 32px; }

@media (max-width: 700px) {
  .arc-concept .imsg-cases .t-day .art { top: 86px; }
  .arc-concept .imsg-cases .v9-q { font-size: 30px; }
  .arc-concept .imsg-cases .v9-pills { right: 16px; width: 260px; }
  .arc-concept .imsg-cases .v9-pills li { font-size: 13px; padding: 9px 14px 9px 12px; }
  .arc-concept .imsg-cases .v9-list { left: 44%; right: 16px; }
  .arc-concept .imsg-cases .v9-list li { padding: 8px 12px; gap: 9px; }
  .arc-concept .imsg-cases .v9-list .av { width: 28px; height: 28px; }
  .arc-concept .imsg-cases .v9-list li p { font-size: 13px; }
  .arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on { left: calc(46% - 90px); width: 220px; }
  .arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on .pg-b { font-size: 13px; }
}

/* the arrow over a photo is glass, whatever sits under it */
.arc-concept .imsg-cases .t-bleed:has(.v9-half) .bx-arrow { color: #fff; background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* a message floating on a tinted tile is white (black in dark mode), the way Apple sets a lone bubble on a page;
   bubbles inside a phone, a conversation card or over a photo keep their own fills */
.arc-concept .imsg-cases { --bub-float: #fff; }
[data-theme="dark"] .arc-concept .imsg-cases { --bub-float: #000; }
.arc-concept .imsg-cases .art > :is(.v8-thread, .v8-cal-wrap, .v8-pills, .v8-macro) .pg-b.in,
.arc-concept .imsg-cases .art > :is(.v8-thread, .v8-link-wrap) .v8-link { background: var(--bub-float); color: var(--pg-phone-ink); box-shadow: 0 1px 2px rgba(20,24,40,.06), 0 10px 24px -14px rgba(20,24,40,.25); }

/* arrows on dark and photo tiles keep their glass circle on hover */
@media (hover: hover) {
  .arc-concept .imsg-cases .t-dark:hover .bx-arrow { color: #fff; background: rgba(255,255,255,.22); }
  .arc-concept .imsg-cases .t-bleed:hover .bx-arrow { color: #fff; background: rgba(255,255,255,.32); }
  .arc-concept .imsg-cases .t-bleed:has(.v9-half):hover .bx-arrow { background: rgba(0,0,0,.4); }
}

/* elevation: the site's use-case card shadow (--case-elev, css/landing.css), so a pale tile still reads as a card on the page */
.arc-concept .imsg-cases .bx-tile { box-shadow: var(--case-elev, 0 1px 2px rgba(0,0,0,.04), 0 4px 12px -4px rgba(0,0,0,.09)); }
@media (hover: hover) { .arc-concept .imsg-cases .bx-tile:hover { box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 14px 30px -12px rgba(0,0,0,.18); } }
/* the slate tint was nearly the page colour; a step deeper */
.arc-concept .imsg-cases [data-for="apps"] { --h1: #dfe5ed; }

/* the agent's pills: one focal action (the reply in Messages, iMessage blue, a size up, glowing); the rest recede by distance */
.arc-concept .imsg-cases .v9-pills li.d0 { padding: 14px 24px 14px 18px; font-size: 17px; font-weight: 600; color: #fff; background: #0b84fe;
  box-shadow: 0 0 0 .5px rgba(255,255,255,.25) inset, 0 12px 34px -8px rgba(11,132,254,.65), 0 0 60px -10px rgba(11,132,254,.45); margin-block: 6px; }
.arc-concept .imsg-cases .v9-pills li.d0 svg { color: #fff; width: 20px; height: 20px; }
.arc-concept .imsg-cases .v9-pills li.d1 { opacity: .62; }
.arc-concept .imsg-cases .v9-pills li.d2 { opacity: .38; }
.arc-concept .imsg-cases .v9-pills li.d3 { opacity: .22; }
.arc-concept .imsg-cases .v9-pills li:not(.d0) { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1); }
.arc-concept .imsg-cases .v9-pills li:not(.d0) svg { color: rgba(255,255,255,.7); }
.arc-concept .imsg-cases .bx-tall .v9-pills li.d0 { font-size: 15.5px; padding: 12px 20px 12px 16px; }

/* booking: the confirmation with its calendar invite, as Messages shows an attached event */
.arc-concept .imsg-cases .art > .v9-bk { position: absolute; left: 20px; right: 20px; top: 50%; --cy: -50%; }
.arc-concept .imsg-cases .v9-ics { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; width: 88%; margin-top: 6px; padding: 12px; border-radius: 18px;
  background: var(--bub-float); color: var(--pg-phone-ink); box-shadow: 0 1px 2px rgba(20,24,40,.06), 0 10px 24px -14px rgba(20,24,40,.25); font: 13px/1.3 var(--bx-ui); }
.arc-concept .imsg-cases .v9-ics p { margin: 0; } .arc-concept .imsg-cases .v9-ics p:not(.v9-ics-t) { color: var(--v8-meta); }
.arc-concept .imsg-cases .v9-ics-t { font-weight: 600; font-size: 14px; }
.arc-concept .imsg-cases .v9-ics-d { display: grid; justify-items: center; width: 44px; padding: 4px 0; border-radius: 10px; background: color-mix(in srgb, var(--pg-phone-ink) 5%, transparent); }
.arc-concept .imsg-cases .v9-ics-d em { font-style: normal; font-size: 10px; font-weight: 600; color: #ff3b30; }
.arc-concept .imsg-cases .v9-ics-d b { font-size: 20px; font-weight: 400; line-height: 1.05; }
.arc-concept .imsg-cases .v9-ics-add { grid-column: 1 / -1; padding: 7px 0 0; border-top: .5px solid color-mix(in srgb, var(--pg-phone-ink) 12%, transparent); text-align: center; font-weight: 600; color: #0b84fe; }
.arc-concept .imsg-cases .v9-bk .pg-b.in { background: var(--bub-float); color: var(--pg-phone-ink); }

/* the shoes: the photo sits inset in the tile with its own rounded corners, like a picture placed on the card */
.arc-concept .imsg-cases .v9-half { left: 46%; top: 14px; right: 14px; bottom: 14px; border-radius: 20px; box-shadow: 0 0 0 .5px rgba(0,0,0,.06); }
.arc-concept .imsg-cases .bx-tall:has(.v9-half) .v9-half { left: 14px; top: 46%; }

/* ---- 5. wallpaper and glass ----
   The tiles with no photo read as web widgets on a flat tint. On a phone the same UI sits on a wallpaper, in glass. So a plain tile
   gets a soft wallpaper of its group's colours, and the UI on it becomes iOS glass: a translucent fill, a bright rim and a soft
   shadow. The wallpaper is already smooth, so the glass needs no runtime blur (no backdrop-filter in the drifting strip; see the iOS
   flick-blanking notes). Bubbles stay opaque, as they are in Messages. */
.arc-concept .imsg-cases .bx-tile { --wa: #bcd2ff; --wb: #d6ccff; }
.arc-concept .imsg-cases [data-for="marketing"] { --wa: #ffc8a6; --wb: #ffd3df; }
.arc-concept .imsg-cases [data-for="classes"] { --wa: #b9e6cb; --wb: #c9ece6; }
.arc-concept .imsg-cases [data-for="support"] { --wa: #d3c6ff; --wb: #f2cdeb; }
.arc-concept .imsg-cases [data-for="services"] { --wa: #b5e4ec; --wb: #c9ddf5; }
.arc-concept .imsg-cases [data-for="apps"] { --wa: #c3d0ea; --wb: #d9d1f2; }
.arc-concept .imsg-cases .bx-tile:not(.t-bleed, .t-dark, .t-phone) {
  --glass: rgba(255,255,255,.56);
  --glass-rim: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.55), 0 0 0 .5px rgba(30,40,70,.06), 0 14px 34px -18px rgba(30,40,70,.32);
  background:
    radial-gradient(70% 60% at 6% 0%, color-mix(in srgb, var(--wb) 70%, #fff), transparent 72%),
    radial-gradient(70% 80% at 100% 100%, var(--wa), transparent 72%),
    radial-gradient(55% 55% at 94% 6%, color-mix(in srgb, var(--wb) 55%, #fff), transparent 75%),
    color-mix(in srgb, var(--wa) 30%, #fff);
}
[data-theme="dark"] .arc-concept .imsg-cases .bx-tile:not(.t-bleed, .t-dark, .t-phone) {
  --glass: rgba(44,44,50,.52);
  --glass-rim: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.07), 0 14px 34px -18px rgba(0,0,0,.7);
  background:
    radial-gradient(70% 60% at 8% 0%, color-mix(in srgb, var(--acc2) 22%, #141416), transparent 72%),
    radial-gradient(65% 75% at 100% 100%, color-mix(in srgb, var(--acc2) 30%, #141416), transparent 70%),
    #121214;
}
.arc-concept .imsg-cases .bx-tile:not(.t-bleed, .t-dark, .t-phone) :is(.v9-list, .v8-nt, .v9-ics, .v8-cal, .v8-sheet, .v8-link) {
  background: var(--glass); box-shadow: var(--glass-rim);
  background-image: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,255,255,0) 45%); }
[data-theme="dark"] .arc-concept .imsg-cases .bx-tile:not(.t-bleed, .t-dark, .t-phone) :is(.v9-list, .v8-nt, .v9-ics, .v8-cal, .v8-sheet, .v8-link) {
  background-image: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,0) 45%); }
.arc-concept .imsg-cases .bx-tile:not(.t-bleed, .t-dark, .t-phone) .v9-list li { border-top-color: color-mix(in srgb, var(--pg-phone-ink) 8%, transparent); }
/* the Live Activity is dark glass, as on the Lock Screen */
.arc-concept .imsg-cases .v9-live { background: rgba(24,24,28,.72); background-image: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,0) 40%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px -18px rgba(0,0,0,.55); }
/* the calendar day on a wallpaper: the hour lines start after their labels (the labels no longer need a fill to mask the line),
   and the event is a tinted glass block */
.arc-concept .imsg-cases .v9-day li { position: relative; border-top: 0; }
.arc-concept .imsg-cases .v9-day li::after { content: ""; position: absolute; top: 0; left: 46px; right: 0; border-top: .5px solid color-mix(in srgb, var(--pg-phone-ink) 16%, transparent); }
.arc-concept .imsg-cases .v9-day li span, [data-theme="dark"] .arc-concept .imsg-cases .v9-day li span { background: none; padding: 0; }
.arc-concept .imsg-cases .v9-ev { background: color-mix(in srgb, var(--acc2) 22%, rgba(255,255,255,.5)); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 28px -18px rgba(30,40,70,.35); }
[data-theme="dark"] .arc-concept .imsg-cases .v9-ev { background: color-mix(in srgb, var(--acc2) 26%, rgba(40,40,46,.6)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }

/* the big figures: proportional digits (tabular spacing is for columns and counters; a lone display figure set tabular opens a
   gap after the 1), and a unit set smaller and close, as Apple sets "12s" on its stat tiles */
.arc-concept .imsg-cases .is-big .st { font-variant-numeric: proportional-nums; }
.arc-concept .imsg-cases .is-big .st-u { font-size: .62em; margin-left: .04em; letter-spacing: 0; }
.arc-concept .imsg-cases .is-big :is(.st-u, .st-w) { font-family: var(--font-display); }

/* the shoes: the conversation sits in the tile's own colour, under the words, beside the photo rather than straddling it */
.arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on { left: 28px; width: calc(46% - 48px); bottom: 26px; }
.arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on .pg-b { max-width: 100%; }
.arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on .pg-b.in { background: #fff; box-shadow: 0 1px 2px rgba(20,24,40,.06), 0 10px 24px -14px rgba(20,24,40,.25); }
[data-theme="dark"] .arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on .pg-b.in { background: #26262a; }
@media (max-width: 700px) { .arc-concept .imsg-cases .t-bleed:has(.v9-half) .v9-on { left: 22px; width: calc(44% - 34px); } }
.arc-concept .imsg-cases .bx-tall:has(.v9-half) .v9-on { left: 20px; right: 20px; width: auto; bottom: 20px; }

/* the Lock Screen clock: the date small above, the time heavy, tight and drawn tall, as iOS sets it (the stretch is a scale, so it
   holds on devices without Apple's font) */
.arc-concept .imsg-cases .v8-date { margin: 0 0 2px; text-align: center; font: 600 15px/1.2 var(--bx-ui); letter-spacing: -.01em; color: rgba(255,255,255,.78); }
.arc-concept .imsg-cases .t-dark .v8-clock { margin: 0 0 16px; font: 700 76px/1 var(--bx-ui); font-stretch: condensed; letter-spacing: -.035em;
  font-variant-numeric: proportional-nums; color: rgba(255,255,255,.94); transform: scaleY(1.24); transform-origin: 50% 0; padding-bottom: .2em; }
.arc-concept .imsg-cases .t-stack.u-night .v8-stack { top: 52%; }
@media (max-width: 700px) {
  .arc-concept .imsg-cases .t-dark .v8-clock { font-size: 56px; margin-bottom: 12px; }
  .arc-concept .imsg-cases .t-stack.u-night .v8-stack { top: 53%; }
  .arc-concept .imsg-cases .v8-date { font-size: 13px; }
}

/* After hours as the Lock Screen: a wallpaper (the aurora chat background, dimmed for night), the iOS 26 clock (thin, very tall,
   frosted glass with a bright rim) and a glass notification. True blur only where it is cheap and safe: desktop pointers
   (no backdrop-filter in the drifting strip on touch, see the iOS flick-blanking notes); touch gets the same glass without the blur. */
.arc-concept .imsg-cases .u-night { background: linear-gradient(rgba(6,8,20,.42), rgba(6,8,20,.2) 40%, rgba(6,8,20,.5)), url(/images/imessage/chat-backgrounds/aurora.jpg) 50% 40% / cover; }
.arc-concept .imsg-cases .u-night .v8-date { color: rgba(255,255,255,.9); font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.arc-concept .imsg-cases .t-dark.u-night .v8-clock { font-weight: 400; font-size: 66px; letter-spacing: -.02em; transform: scaleY(1.12); padding-bottom: .1em; margin-bottom: 12px; line-height: .92;
  color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(225,232,255,.5) 55%, rgba(255,255,255,.62));
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: .7px rgba(255,255,255,.75);
  filter: drop-shadow(0 1px .5px rgba(255,255,255,.35)) drop-shadow(0 2px 6px rgba(0,0,20,.28)); }
.arc-concept .imsg-cases .t-dark.u-night .v8-nt { color: #fff; background: rgba(70,74,96,.42); background-image: linear-gradient(170deg, rgba(255,255,255,.16), rgba(255,255,255,.02) 50%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 .5px rgba(255,255,255,.2), 0 10px 30px -12px rgba(0,0,20,.45); }
.arc-concept .imsg-cases .t-dark.u-night .v8-nt p:first-child span { color: rgba(255,255,255,.62); }
.arc-concept .imsg-cases .t-dark.u-night .v8-group > i { background: rgba(70,74,96,.32); box-shadow: inset 0 -.5px 0 rgba(255,255,255,.14); }
.arc-concept .imsg-cases .t-dark.u-night .v8-group > i + i { background: rgba(70,74,96,.2); }
@media (hover: hover) and (pointer: fine) {
  .arc-concept .imsg-cases .t-dark.u-night .v8-nt { background-color: rgba(60,64,84,.28); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); }
}
@media (max-width: 700px) { .arc-concept .imsg-cases .t-dark.u-night .v8-clock { font-size: 58px; margin-bottom: 10px; } }
/* the night banner: a touch roomier than the shared .v8-nt, with the iOS weight split (sender semibold, body regular) */
.arc-concept .imsg-cases .u-night .v8-nt { gap: 11px; padding: 11px 14px 12px 11px; border-radius: 24px; font-size: 14px; line-height: 1.28; align-items: center; }
.arc-concept .imsg-cases .u-night .v8-nt .av { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,20,.25); }
.arc-concept .imsg-cases .u-night .v8-nt p:first-child { align-items: baseline; margin-bottom: 1px; }
.arc-concept .imsg-cases .u-night .v8-nt b { font-weight: 600; letter-spacing: -.01em; }
.arc-concept .imsg-cases .u-night .v8-nt p:first-child span { font-size: 12px; }
.arc-concept .imsg-cases .u-night .v8-nt p + p { color: rgba(255,255,255,.92); }

/* hover zoom. A zoomed tile needs its own layer or it repaints every frame, but a standing layer on every tile (~80 with the
   strip's copies) left Safari too little memory to paint the page after a fast scroll (white screen). So only the tile under the
   pointer gets a layer: js/tile-zoom.js adds .is-lift on pointer enter, .is-zoom a frame later (the layer is painted before the
   zoom starts, so no hitch mid-zoom), and drops the layer once the tile has settled back. Plain :hover never scales. */
@media (hover: hover) {
  .arc-concept .imsg-cases .bx-tile:hover, .arc-concept .imsg-cases .bx-xl:hover { scale: none; }
  .arc-concept .imsg-cases .bx-tile:hover .v9-bg img { scale: none; }
}
@media (hover: hover) and (pointer: fine) {
  .arc-concept .imsg-cases .bx-tile { transition: scale .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s cubic-bezier(.2,.8,.2,1); }
  .arc-concept .imsg-cases .bx-tile.is-lift, .arc-concept .imsg-cases .bx-tile.is-lift .v9-bg img { will-change: transform; }
  .arc-concept .imsg-cases .bx-tile.is-zoom { scale: 1.02; }
  .arc-concept .imsg-cases .bx-xl.is-zoom { scale: 1.012; }
  .arc-concept .imsg-cases .bx-tile.is-zoom .v9-bg img { scale: 1.04; }
}
@media (hover: hover) and (pointer: fine) {
  /* inside a hovered tile only layered things move: the tile's own scale, the photo's zoom and the arrow. The pieces no longer
     lift (a translate inside the tile repainted the whole tile every frame of the hover) */
  .arc-concept .imsg-cases .bx-tile:hover .art > :not(.pg-phc, .ft, .v9-bg) { --lift: 0px; }
  .arc-concept .imsg-cases .bx-tile:hover .pg-phc .imsg-phone { translate: none; }
  .arc-concept .imsg-cases .bx-arrow { transition: translate .3s var(--bx-ease); }
}

/* Home services: an attachment chip above the words of a bubble */
.arc-concept .imsg-cases .v9-file { display: flex; align-items: center; gap: 6px; width: fit-content; margin-bottom: 6px; padding: 4px 9px; border-radius: 9px; background: rgba(255,255,255,.22); font-size: .62em; font-weight: 600; letter-spacing: .01em; }
.arc-concept .imsg-cases .v9-file::before { content: ""; flex: none; width: 9px; height: 11px; border-radius: 2px; background: currentColor; opacity: .85; }
.arc-concept .imsg-cases .u-svc-list .v9-list { bottom: 28px; padding-bottom: 8px; }
