/* Site styles: name bar, frames mosaic, and the parked journal sections (index.html, trip.html). */

:root {
  color-scheme: dark;
  --ink: #111210;
  --panel: #191a17;
  --paper: #f2ede4;
  --soft: #cfcabf;
  --muted: #a8a59a;
  --line: rgba(242, 237, 228, .16);
  --amber: #ffa333;
  --teal: #6bbcb1;
  --accent: var(--amber);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --display: 'Instrument Serif', Georgia, serif;
  --body: 'Inter Tight', system-ui, sans-serif;
  --label: 'DM Mono', ui-monospace, monospace;
  --display-weight: 400;
  --display-track: -.015em;
}

/* The page takes on the light of the visitor's hour (clock.js sets data-start). Keep in step with clock.js. */
:root[data-start="1"] { --ink: #141310; } /* afternoon: a touch warmer */
:root[data-start="2"] { --ink: #19140f; } /* golden hour: warm amber-brown */
:root[data-start="3"] { --ink: #15131b; } /* evening: dusk violet */
:root[data-start="4"] { --ink: #0b0f17; } /* night: deep blue */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ol { margin: 0; }
ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.label { font: 500 11px/1.5 var(--label); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.label b { color: var(--accent); font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 30; padding: 10px 14px; background: var(--paper); color: var(--ink); font: 500 13px var(--body); }
.skip:focus { top: 12px; }

/* Grain: static. A stepped, animated version repainted the whole viewport every frame. */
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E"); }

/* Prototype banner + header */
.proto-bar { padding: 8px var(--gutter); background: var(--accent); color: var(--ink); font: 500 10.5px/1.4 var(--label); letter-spacing: .1em; text-align: center; }
.top { position: sticky; top: 0; z-index: 15; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: blur(14px); }
.top .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* Name alone in the bar: center it. Restoring the nav brings back name-left, links-right. */
.top .wrap:has(> .name:only-child) { justify-content: center; }
/* Letter-spacing trails the last letter; balance it so the name sits optically centered */
.top .wrap:has(> .name:only-child) .name { padding-left: .16em; }
.wordmark { display: flex; align-items: center; gap: 10px; font: 600 11px/1.05 var(--body); letter-spacing: .16em; }
.wordmark img { filter: sepia(.4) saturate(1.8); }
/* Wordmark: wide, tracked capitals, like the lettering engraved on a camera body */
.name { margin: 0; font: 500 clamp(14px, 1.35vw, 18px)/1 'Archivo', var(--body); font-stretch: 125%; text-transform: uppercase; letter-spacing: .16em; }
.name a { display: inline-flex; align-items: center; gap: 14px; }
.top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px clamp(14px, 2.4vw, 32px); font-size: 13.5px; color: var(--soft); }
.top nav a { padding: 6px 0; transition: color .2s; }
.top nav a:hover { color: var(--accent); }

/* ---------- Placeholder frames ----------
   Abstract CSS landscapes standing in for Jason's selected stills.
   Palette class sets colors; data-shape sets the terrain. */
.frame { position: relative; overflow: hidden; background: var(--panel); isolation: isolate; }
.ph {
  --sky: #2c3b4c; --sky2: #e49a55; --sun: #ffe0aa; --ridge: #3a3a34; --land: #121310;
  --sx: 68%; --sy: 60%; --h: 66%;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at var(--sx) var(--sy), var(--sun) 0 2.4%, color-mix(in oklab, var(--sun) 45%, transparent) 4.5%, transparent 26%),
    linear-gradient(to bottom, var(--sky) 0%, var(--sky2) var(--h), var(--sky2) 100%);
}
.ph::before, .ph::after { content: ''; position: absolute; inset: 0; }
.ph::before { background: var(--ridge); clip-path: polygon(0 72%, 14% 56%, 24% 63%, 38% 46%, 52% 61%, 63% 53%, 78% 64%, 90% 55%, 100% 63%, 100% 100%, 0 100%); }
.ph::after { background: linear-gradient(to bottom, var(--land), #0b0b0a); clip-path: polygon(0 84%, 22% 78%, 45% 86%, 70% 80%, 100% 88%, 100% 100%, 0 100%); }
.ph[data-shape="2"]::before { clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%); background: linear-gradient(to bottom, color-mix(in oklab, var(--sky2) 60%, var(--ridge)), var(--ridge)); }
.ph[data-shape="2"]::after { clip-path: polygon(0 90%, 30% 86%, 62% 92%, 100% 87%, 100% 100%, 0 100%); }
.ph[data-shape="3"]::before { clip-path: polygon(0 70%, 8% 66%, 18% 64%, 28% 67%, 40% 72%, 52% 70%, 62% 64%, 72% 61%, 84% 64%, 94% 70%, 100% 72%, 100% 100%, 0 100%); }
.ph[data-shape="3"]::after { clip-path: polygon(0 88%, 10% 82%, 22% 79%, 34% 81%, 48% 87%, 60% 85%, 74% 79%, 88% 81%, 100% 86%, 100% 100%, 0 100%); }
.ph[data-shape="4"]::before { clip-path: polygon(0 100%, 0 62%, 6% 62%, 6% 50%, 12% 50%, 12% 58%, 20% 58%, 20% 41%, 25% 41%, 25% 55%, 34% 55%, 34% 47%, 42% 47%, 42% 60%, 55% 60%, 55% 38%, 60% 38%, 60% 52%, 70% 52%, 70% 57%, 81% 57%, 81% 45%, 88% 45%, 88% 60%, 100% 60%, 100% 100%); }

.dusk   { --sky: #26344a; --sky2: #e8955a; --sun: #ffe1ad; --ridge: #3c3934; --land: #151412; }
.coast  { --sky: #8fb3bf; --sky2: #e7dcc6; --sun: #fff6e0; --ridge: #47707a; --land: #20302f; --sx: 30%; --sy: 40%; }
.desert { --sky: #c9824e; --sky2: #f2c78d; --sun: #fff1cf; --ridge: #9c5a37; --land: #4a2a1b; --sx: 52%; --sy: 30%; }
.alpine { --sky: #6f8ea8; --sky2: #d9e1e3; --sun: #ffffff; --ridge: #55606a; --land: #1d2328; --sx: 22%; --sy: 22%; }
.fog    { --sky: #9fa7a4; --sky2: #cfd0c8; --sun: #f1efe6; --ridge: #7c847f; --land: #3c423e; --sx: 75%; --sy: 35%; }
.night  { --sky: #0b1220; --sky2: #2c3550; --sun: #ffbf6b; --ridge: #151a24; --land: #07080b; --sx: 80%; --sy: 52%; }

/* Vignette + placeholder tag sit on a wrapper so they develop with the frame */
.shot { position: relative; }
.shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0, 0, 0, .42)); }
.shot .tag { position: absolute; z-index: 1; left: 10px; bottom: 8px; font: 500 9.5px/1 var(--label); letter-spacing: .1em; color: rgba(242, 237, 228, .78); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

/* ---------- Develop the frame ----------
   Frames start flat and lifted, like log footage, and grade as they arrive.
   Without support or with reduced motion they simply show graded. */
@property --dev { syntax: '<integer>'; inherits: true; initial-value: 100; }
@keyframes develop {
  from { filter: saturate(.12) contrast(.6) brightness(1.18) sepia(.08); }
  to { filter: saturate(1.04) contrast(1.05) brightness(1); }
}
/* With no text on the page, the first row develops on its own as the page opens */
@media (prefers-reduced-motion: no-preference) {
  .lead { animation: develop 1.8s var(--ease) .3s both; }
}
@keyframes dev { from { --dev: 0; } to { --dev: 100; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { animation: dev linear both; animation-timeline: scroll(root); animation-range: 0 40vh; }
    .develop { animation: develop linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .route-line { animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 60%; }
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}

/* ---------- Journal home ---------- */
.hero { display: grid; grid-template-columns: 1fr minmax(260px, 340px); align-items: end; gap: 20px 6vw; padding-block: clamp(36px, 7vh, 72px) clamp(28px, 5vh, 48px); }
h1, h2, .display { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-optical-sizing: auto; }
.hero h1 { font-size: clamp(44px, 6.4vw, 104px); line-height: .92; max-width: 11ch; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.hero-intro { color: var(--soft); font-size: 16px; }
.hero-intro .readout { margin-top: 18px; }

/* Frames mosaic: full width, gapless, no captions */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); }
.mosaic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.mosaic .shot::after { content: none; }

/* Rearranging (journal.js). Long-press must lift the photo, not open the image menu or select text. */
.mosaic.is-interactive img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media (hover: hover) and (pointer: fine) { .mosaic.is-interactive img { cursor: grab; } }
.is-dragging, .is-dragging * { cursor: grabbing !important; user-select: none; }
.mosaic.is-interactive img { position: relative; transition: filter .3s ease, scale .28s cubic-bezier(.3, 1.45, .5, 1), box-shadow .25s ease; }
/* While a photo is held, the rest of the wall steps back */
.mosaic.is-arranging .shot:not(.is-lifted):not(.is-target) img { filter: brightness(.55) saturate(.75); }
.mosaic .shot.is-lifted { z-index: 5; }
.mosaic .shot.is-lifted img { pointer-events: none; box-shadow: 0 28px 70px rgba(0, 0, 0, .65), 0 0 0 1px rgba(242, 237, 228, .12); }
/* The spot under the photo shrinks back, making room */
.mosaic .shot.is-target img { scale: .92; }
.mosaic .shot.is-target::after, .mosaic .shot.is-picked::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: none; box-shadow: inset 0 0 0 2px var(--accent); }
/* An amber ring that fades where a photo lands */
.mosaic .shot.just-landed::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: none; box-shadow: inset 0 0 0 2px var(--accent); animation: landed .7s ease-out both; }
@keyframes landed { from { opacity: 1; } to { opacity: 0; box-shadow: inset 0 0 0 14px rgba(255, 163, 51, 0); } }
.mosaic img:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }

/* A tap hints that this is a movable print, without revealing the interaction. */
.mosaic .shot.is-curious { z-index: 4; }
.mosaic .shot.is-curious img { animation: curious-print .72s ease-out both; }
@keyframes curious-print {
  0%, 100% { transform: none; box-shadow: none; }
  30% { transform: translateY(-4px) rotate(-.6deg) scale(1.025); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
  55% { transform: translateY(-3px) rotate(-.35deg) scale(1.018); box-shadow: 0 9px 20px rgba(0, 0, 0, .22); }
}
@media (prefers-reduced-motion: reduce) {
  .mosaic .shot.is-curious img { animation: none; }
  .mosaic .shot.is-curious::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: none; box-shadow: inset 0 0 0 1px var(--accent); }
}

.reset-order { position: absolute; top: 50%; right: var(--gutter); transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--soft); cursor: pointer; transition: color .2s, border-color .2s; animation: fade-in .3s ease both; }
@keyframes fade-in { from { opacity: 0; } }
.reset-order:hover { color: var(--accent); border-color: var(--accent); }
.reset-order[hidden] { display: none; }
.readout { display: flex; align-items: center; gap: 12px; color: var(--soft); }
.meter { width: clamp(80px, 14vw, 180px); height: 1px; background: var(--line); position: relative; }
.meter i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(calc(var(--dev) / 100)); }
.dev-count::after { counter-reset: dev var(--dev); content: counter(dev, decimal-leading-zero) "%"; color: var(--accent); }

.section { border-top: 1px solid var(--line); padding-block: 22px clamp(72px, 12vh, 140px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(40px, 7vh, 80px); }
.section-head .label:first-child { color: var(--accent); }
.section h2 { font-size: clamp(40px, 6vw, 92px); line-height: .95; max-width: 12ch; }

/* Contact sheet */
.rolls { display: grid; gap: clamp(48px, 8vh, 88px); margin-top: clamp(40px, 6vh, 72px); }
.roll-head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px 20px; margin-bottom: 14px; }
.roll-head h3 { font: var(--display-weight) clamp(28px, 3.4vw, 44px)/1 var(--display); letter-spacing: var(--display-track); }
.strip {
  --hole: rgba(242, 237, 228, .22);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 22px 6px; background-color: #0c0c0b;
  background-image:
    repeating-linear-gradient(90deg, var(--hole) 0 9px, transparent 9px 22px),
    repeating-linear-gradient(90deg, var(--hole) 0 9px, transparent 9px 22px);
  background-size: 100% 6px, 100% 6px; background-position: 0 8px, 0 calc(100% - 8px); background-repeat: no-repeat;
  border-radius: 2px;
}
.cell { position: relative; }
.cell .num { display: block; margin-top: 6px; font: 500 9.5px/1 var(--label); letter-spacing: .1em; color: #8d8a80; }
.select { display: block; position: relative; }
.select .ring { position: absolute; inset: -14% -12%; width: 124%; height: 128%; overflow: visible; pointer-events: none; z-index: 2; }
.ring path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.select:hover .frame, .select:focus-visible .frame { transform: scale(1.03); }
.select .frame { transition: transform .4s var(--ease); }
.cell.dim { opacity: .62; }
.roll-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.roll-foot a { color: var(--paper); border-bottom: 1px solid var(--accent); padding-bottom: 2px; font-size: 15px; }
.roll-foot a:hover { color: var(--accent); }

/* Field note */
.note { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 24px 6vw; align-items: start; }
.note-body { max-width: 34ch; font: var(--display-weight) clamp(26px, 3vw, 40px)/1.25 var(--display); letter-spacing: var(--display-track); }
.note-side { display: grid; gap: 18px; }
.note-side .shot .frame { aspect-ratio: 4 / 5; }
/* Tools */
.tool { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px 6vw; align-items: center; }
.tool img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.tool figcaption { padding-top: 10px; }
.tool h2 { margin: 14px 0 18px; }
.tool p:not(.label) { color: var(--soft); max-width: 40ch; margin-bottom: 22px; }
.status { display: flex; align-items: center; gap: 8px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px rgba(107, 188, 177, .6); }
.text-link { border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.text-link:hover { color: var(--accent); }

.note-aside { margin-top: 28px; color: var(--muted); font-size: 15px; max-width: 52ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot a:hover { color: var(--accent); }


/* ---------- Trip page ---------- */
.trip { --accent: var(--teal); }
.back { display: inline-flex; gap: 8px; margin-top: 28px; color: var(--soft); font-size: 14px; }
.back:hover { color: var(--accent); }
.trip-head { padding-block: clamp(36px, 7vh, 80px) clamp(28px, 5vh, 48px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; }
.trip-head h1 { font-size: clamp(52px, 8.5vw, 140px); line-height: .9; }
.meta { display: grid; gap: 6px; text-align: right; }
.trip-hero .frame { aspect-ratio: 2.39 / 1; }
.trip-hero figcaption, .seq figcaption { padding-top: 10px; }

.route { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 32px 6vw; align-items: center; padding-block: clamp(64px, 11vh, 120px); }
.route p:not(.label) { color: var(--soft); margin-top: 14px; max-width: 40ch; }
.route svg { width: 100%; height: auto; overflow: visible; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.route-ghost { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.stop circle { fill: var(--ink); stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.stop text { fill: var(--muted); font: 500 11px var(--label); letter-spacing: .08em; }

.seq { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); padding-bottom: clamp(72px, 12vh, 140px); }
.seq .full { grid-column: 1 / -1; }
.seq .full .frame { aspect-ratio: 2 / 1; }
.seq .pair-a { grid-column: 1 / span 7; }
.seq .pair-b { grid-column: 8 / span 5; align-self: end; }
.seq .pair-b .frame { aspect-ratio: 4 / 5; }
.seq .seq-note { grid-column: 3 / span 8; padding-block: clamp(32px, 7vh, 80px); }
.seq .single { grid-column: 5 / span 8; }

.trip-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding-block: 28px 56px; }
.trip-nav a { color: var(--paper); }
.trip-nav a:hover { color: var(--accent); }
.trip-nav .later { color: var(--muted); }

/* Frame → trip shared-element transition (Chrome/Edge 126+, Safari 18.2+) */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero, .note, .route, .trip-head, .tool { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .meta { text-align: left; }
  .strip { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .roll-head { grid-template-columns: auto 1fr; }
  .roll-head .label:last-child { grid-column: 1 / -1; }
  .note-side { grid-template-columns: 1fr 1fr; align-items: end; }
  .seq .pair-a, .seq .pair-b, .seq .seq-note, .seq .single { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .wrap { padding-block: 10px; }
  .top nav .optional { display: none; }
}

/* 404 page: one quiet frame and a way home */
.lost { min-height: calc(100vh - 65px); display: grid; place-content: center; justify-items: center; gap: 22px; padding-block: 48px; text-align: center; }
.lost img { display: block; width: min(320px, 70vw); height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 65%; }
.lost h1 { margin: 6px 0 0; }

/* Hidden rewards (journal.js): light leaks, a flare, palms in the wind, and a small found counter */
.mosaic .shot.reward::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mosaic .shot.reward-leak::before { background: linear-gradient(105deg, transparent 30%, rgba(255, 190, 120, .55) 50%, transparent 70%) 0 0 / 250% 100%; mix-blend-mode: screen; animation: leak 1.6s ease-in-out both; }
@keyframes leak { from { background-position: 120% 0; opacity: 0; } 20% { opacity: 1; } to { background-position: -30% 0; opacity: 0; } }
.mosaic .shot.reward-flare::before { background: radial-gradient(circle at 50% 30%, rgba(255, 150, 70, .75), transparent 62%); mix-blend-mode: screen; animation: flare 1.5s ease-out both; }
@keyframes flare { from { opacity: 0; } 15% { opacity: 1; } to { opacity: 0; } }
.mosaic .shot.reward-sway img { transform-origin: 50% 100%; animation: sway 2.4s ease-in-out both; }
@keyframes sway { 0%, 100% { rotate: 0deg; } 20% { rotate: 1.6deg; } 45% { rotate: -1.3deg; } 70% { rotate: .8deg; } }
.name.reward-name a { color: var(--accent); }
.name a { transition: color .4s; }
.reward-toast { position: fixed; left: 50%; bottom: 22px; z-index: 30; margin: 0; padding: 10px 15px; max-width: calc(100vw - 32px); translate: -50% 12px; opacity: 0; border: 1px solid rgba(255, 163, 51, .4); border-radius: 999px; background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(10px); color: var(--paper); font: 500 10.5px/1.2 var(--label); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; transition: opacity .35s ease, translate .35s var(--ease); }
.reward-toast.show { opacity: 1; translate: -50% 0; }
.reward-toast::before { content: '◆'; margin-right: 8px; color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .mosaic .shot.reward::before, .mosaic .shot.reward-sway img { animation: none; }
  .reward-toast { transition: none; }
}

/* End of the day: the only link on the page */
.end { margin: 0; padding: 44px var(--gutter) 64px; text-align: center; font: 500 11px/1 var(--label); letter-spacing: .08em; }
.end a { color: var(--muted); padding: 8px 4px; transition: color .2s; }
.end a:hover { color: var(--accent); }

