/* voyage crew: the stag-do and New Year's Eve pages. Loaded after shared/styles.css and
   shared/theme-sun.css and built on their tokens and .pub-* components. Every class here
   starts with occ- so nothing collides with the shared ones; dark tiles use .on-dark. */

/* ---------- page ---------- */
.occ-page {
  --occ-map-bg: #f2ebe1;
  --occ-map-street: rgba(15, 65, 74, 0.1);
  --occ-map-river: #bcd6de;
  --occ-map-park: rgba(216, 186, 152, 0.5);
  background: var(--bg);
}
html { scroll-padding-top: calc(var(--occ-stick, 0px) + 16px); }
@media (max-width: 759px) { html { scroll-padding-bottom: 96px; } }
.occ-page [hidden] { display: none !important; }
.occ-page :focus-visible { outline: 2px solid var(--pub-focus); outline-offset: 2px; }
.occ-page h2[tabindex="-1"]:focus:not(:focus-visible), .occ-page h1[tabindex="-1"]:focus:not(:focus-visible), .occ-page h3[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.occ-page code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.occ-i { display: inline-block; flex: none; width: 18px; height: 18px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.occ-i--big { width: 56px; height: 56px; stroke-width: 1.5; }
.occ-star { display: block; }
.occ-noscript { margin: 32px auto; }
/* Lenis (desktop smooth scroll from shared/motion.js). Its stylesheet lives on a CDN the
   production CSP does not allow for styles, so the few rules it needs are here. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

@keyframes occ-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes occ-fade { from { opacity: 0; } }
@keyframes occ-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes occ-pop { from { opacity: 0; transform: translateY(6px) scale(0.97); } }
@keyframes occ-bump { 40% { transform: scale(1.25); } }
@keyframes occ-spin { to { transform: rotate(360deg); } }
@keyframes occ-draw { to { stroke-dashoffset: 0; } }
@keyframes occ-stamp { 0% { opacity: 0; transform: scale(2.2) rotate(-14deg); } 60% { opacity: 1; transform: scale(0.94) rotate(-8deg); } 100% { opacity: 1; transform: rotate(-8deg); } }
.is-bump { animation: occ-bump var(--dur-3) var(--ease-out-expo); }

/* ---------- hero band ----------
   The hero sits at the top of <main>, not inside the <header>, so the header holds only
   the bar and its menu: tabbing or clicking into the hero closes an open menu. The band
   carries on the header's midnight ground, and the umbrella edge moves down to its foot. */
.occ-head::after { display: none; }
.occ-band { background: var(--sea); color: var(--text); }
.occ-band::after { content: ''; display: block; height: 14px; background: repeating-linear-gradient(90deg, var(--sand) 0 40px, var(--sky) 40px 80px); }
.occ-band .pub-intro { padding-top: clamp(20px, 4vw, 40px); padding-bottom: clamp(40px, 6vw, 72px); }
.occ-switch { margin-bottom: clamp(22px, 3.5vw, 36px); }
.occ-hero { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .occ-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: center; gap: 56px; } }
.occ-hero .pub-title { max-width: 14ch; }
.occ-hero .pub-lede { max-width: 52ch; }
.occ-hero-tags { gap: 8px 12px; margin-top: 22px; }
.occ-hero-meta { font: 500 15px/1.4 var(--font-body); color: var(--on-sea-muted); }
.occ-hero-crew { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.occ-crew-note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--on-sea-muted); }
.occ-crew-note b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--alabaster); }
.occ-crew-note .occ-i { width: 16px; height: 16px; color: var(--sand); }
.occ-hero-card { --text-muted: var(--on-sea-muted); padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); }
.occ-hw { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.occ-mini-phone { position: relative; display: grid; place-items: center; width: 60px; height: 100px; border: 3px solid rgba(239, 232, 223, 0.75); border-radius: 16px; color: var(--sand); }
.occ-mini-phone::before { content: ''; position: absolute; top: 6px; width: 18px; height: 4px; border-radius: 4px; background: rgba(239, 232, 223, 0.5); }
.occ-mini-phone .occ-i { width: 26px; height: 26px; }
.occ-hero-k { margin: 0; font: 600 15px/1.3 var(--font-body); color: var(--text); }
.occ-hero-v { margin: 4px 0 14px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.occ-cd-label { display: flex; justify-content: space-between; gap: 12px; margin: 0; font: 600 12px/1.3 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.occ-cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.occ-cd-cell { display: flex; flex-direction: column; align-items: center; padding: 12px 4px 10px; border-radius: var(--radius-lg); background: var(--surface-elevated); }
.occ-cd-cell b { font: 500 clamp(28px, 4vw, 36px)/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.occ-cd-cell span { margin-top: 7px; font: 600 11px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.occ-cd-done { display: none; margin: 14px 0 0; font: 500 22px/1.2 var(--font-display); color: var(--text); }
.occ-cd-card.is-done .occ-cd { display: none; }
.occ-cd-card.is-done .occ-cd-done { display: block; }
.occ-cd-card .pub-btn { margin-top: 16px; }

/* ---------- stepper ---------- */
.occ-stepper { background: var(--bg); border-bottom: 1px solid var(--border); }
@media (min-width: 760px) { .occ-stepper { position: sticky; top: 0; z-index: var(--z-sticky); } }
.occ-stepper-in { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.occ-steps { display: flex; flex: 1; gap: 4px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.occ-step { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 8px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--text-muted); font: 600 14px/1.2 var(--font-body); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.occ-step:hover { background: rgba(15, 65, 74, 0.06); color: var(--text); }
.occ-step-n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1.5px solid var(--border-strong); border-radius: 50%; font-size: 12.5px; transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.occ-step-n .occ-i { width: 14px; height: 14px; stroke-width: 3; }
.occ-step[aria-current="step"] { color: var(--text); }
.occ-step[aria-current="step"] .occ-step-n { border-color: var(--sea); background: var(--sea); color: var(--alabaster); }
.occ-step.is-done .occ-step-n { border-color: transparent; background: var(--status-ok-bg); color: var(--status-ok); }
.occ-stepper-tag { flex: none; }
.occ-deck-btn { flex: none; }
.occ-deck-btn .occ-i { width: 16px; height: 16px; color: var(--sea); }
.occ-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--sea); color: var(--alabaster); font: 700 12px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.occ-stepper-bar { display: block; height: 3px; background: var(--border); }
.occ-stepper-bar i { display: block; width: 0; height: 100%; background: var(--sea); transition: width var(--dur-3) var(--ease-out); }
.occ-step-l .sr-only { position: absolute !important; }
@media (max-width: 759px) {
  .occ-steps { gap: 6px; }
  .occ-step { padding: 0 8px; }
  .occ-step-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .occ-stepper-tag, .occ-deck-btn { display: none; }
}
@media (min-width: 380px) and (max-width: 759px) {
  .occ-step[aria-current="step"] { padding-right: 12px; font-size: 13.5px; }
  .occ-step[aria-current="step"] .occ-step-l { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .occ-step:not([aria-current="step"]) { padding-right: 8px; }
  .occ-step:not([aria-current="step"]) .occ-step-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- stage + step head ---------- */
.occ-stage { min-height: 50vh; padding-top: clamp(28px, 4vw, 48px); padding-bottom: 8px; }
@media (max-width: 759px) { .occ-stage { padding-bottom: 24px; } }
.occ-page .pub-cta { margin-top: clamp(32px, 6vw, 80px); }
.occ-stage.is-enter { animation: occ-in var(--dur-3) var(--ease-out); }
.occ-step-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.occ-step-head-t { min-width: 0; max-width: 64ch; }
.occ-step-head .pub-h2 { margin-bottom: 12px; scroll-margin-top: calc(var(--occ-stick, 0px) + 16px); }
.occ-step-head .pub-h2:focus-visible { outline-offset: 6px; border-radius: 6px; }
.occ-step-lede > .pub-tag { margin-right: 4px; }
.occ-step-lede { max-width: 62ch; }
.occ-step-aside { flex: none; max-width: 100%; }
.occ-stepnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--border); }
.occ-stepnav .pub-btn { white-space: normal; }
.occ-panel-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.occ-panel-h .pub-h3 { margin: 0; }
.occ-hint { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.occ-note { max-width: 82ch; margin: 28px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.occ-note > .pub-tag, .occ-sheet-fine > .pub-tag { margin-right: 4px; }
/* Sea avatars would vanish on dark grounds: lift them a step and ring them. */
.occ-page .on-dark .pub-av:not(.pub-av--sand):not(.pub-av--sky):not(.pub-av--sun):not(.pub-av-more) { background: var(--sea-glow); box-shadow: inset 0 0 0 1px rgba(239, 232, 223, 0.4); }
.occ-empty { padding: 16px; border: 1px dashed var(--border-strong); border-radius: var(--radius-md); font-size: 14px; color: var(--text-muted); list-style: none; }
.occ-st { max-width: 100%; }
.occ-linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--sea); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.occ-linkbtn:hover { text-decoration-color: currentColor; }
.on-dark .occ-linkbtn { color: var(--alabaster); }
.occ-tl-note .occ-linkbtn { display: inline; min-height: 0; padding: 12px 0; }
.occ-page .pub-btn--quiet[aria-pressed="true"] { border-color: transparent; background: var(--status-ok-bg); color: var(--status-ok); }
.occ-page .pub-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* ---------- covers ---------- */
.occ-cover { position: relative; display: grid; place-items: center; overflow: hidden; }
.occ-cover--sea { background: var(--sea); color: var(--sand); }
.occ-cover--deep { background: var(--sea-deep); color: var(--sky); }
.occ-cover--sky { background: var(--sky); color: var(--sea); }
.occ-cover--sand { background: var(--sand); color: var(--sea); }
.occ-cover--none { background: var(--surface-floating); color: var(--status-off); }
.occ-vcard-kind { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(10, 47, 54, 0.8); color: var(--alabaster); font: 600 11px/1.2 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; }
.occ-vcard-tag { position: absolute; top: 14px; right: 14px; z-index: 2; }
.occ-vcard-tag .pub-tag { background: var(--status-watch-bg); color: var(--status-watch); box-shadow: var(--shadow-pill); }
.occ-vcard-in { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.occ-cover .occ-vcard-in .pub-chip { box-shadow: var(--shadow-pill); }

/* ---------- stag 1: the groom ---------- */
.occ-groom { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .occ-groom { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .occ-surprise { grid-column: span 5; }
  .occ-nos { grid-column: span 7; }
  .occ-wildp, .occ-chatp { grid-column: span 6; }
}
.occ-surprise { display: flex; flex-direction: column; gap: 12px; }
.occ-surprise-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.occ-surprise-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: rgba(239, 232, 223, 0.1); color: var(--sand); }
.occ-surprise-ico .occ-i { width: 24px; height: 24px; }
.occ-surprise .pub-h3 { margin: 8px 0 0; }
.occ-surprise-p { margin: 0 0 8px; max-width: 46ch; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.occ-surprise .pub-btn { align-self: flex-start; margin-top: auto; }
.occ-wild { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.occ-wild-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 44px; padding: 14px 6px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface-elevated); color: var(--text); font: 600 13.5px/1.2 var(--font-body); cursor: pointer; transition: border-color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out); }
.occ-wild-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.occ-wild-opt:has(input:checked) { border-color: var(--sea); background: rgba(150, 192, 206, 0.24); box-shadow: inset 0 0 0 1px var(--sea); }
.occ-wild-opt:has(input:focus-visible) { outline: 2px solid var(--pub-focus); outline-offset: 2px; }
.occ-wbars { display: flex; align-items: flex-end; gap: 4px; height: 26px; }
.occ-wbars i { width: 8px; border-radius: 3px; background: var(--border-strong); }
.occ-wbars i:nth-child(1) { height: 10px; }
.occ-wbars i:nth-child(2) { height: 18px; }
.occ-wbars i:nth-child(3) { height: 26px; }
.occ-wbars i.is-on { background: var(--sky); }
.occ-wild-opt:has(input:checked) .occ-wbars i.is-on { background: var(--sea); }
.occ-field-l { display: block; margin: 22px 0 6px; font: 600 14px/1.3 var(--font-body); color: var(--text); }
.occ-range { display: flex; align-items: center; gap: 14px; }
.occ-range input { flex: 1; min-width: 0; height: 44px; margin: 0; accent-color: var(--sea); }
.occ-range output { min-width: 3.4ch; font: 500 26px/1 var(--font-display); text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.occ-crew-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.occ-chatp { border-color: transparent; background: rgba(216, 186, 152, 0.22); --pub-av-ring: #eadecf; }
.occ-chat { display: grid; gap: 14px; }
.occ-chat-pair { display: flex; flex-direction: column; gap: 6px; }
.occ-chat-q { align-self: flex-start; max-width: 88%; margin: 0; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-elevated); font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.occ-chat-a { align-self: flex-end; max-width: 92%; margin: 0; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--sea); color: var(--alabaster); font: 400 17px/1.35 var(--font-display); }

/* ---------- stag 2: the swipe deck (as in trip/vote.html) ---------- */
.occ-fun { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .occ-fun { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .occ-votelist { position: sticky; top: calc(var(--occ-stick, 0px) + 16px); }
}
.occ-deck-col, .occ-deck-view { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; min-width: 0; }
.occ-deck { position: relative; width: min(100%, 400px); height: clamp(360px, calc(100svh - 250px), 470px); border-radius: var(--radius-xl); container-type: size; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.occ-deck:focus-visible { outline-offset: 6px; }
.occ-vcard { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-xl); background: var(--surface-elevated); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35); transform-origin: center bottom; transition: transform 360ms var(--ease-out), opacity 360ms var(--ease-out); cursor: grab; will-change: transform; }
.occ-vcard[data-d="1"] { transform: scale(0.94) translateY(8px); opacity: 0.7; pointer-events: none; }
.occ-vcard[data-d="2"] { transform: scale(0.88) translateY(16px); opacity: 0.4; pointer-events: none; }
.occ-vcard.is-drag { transition: none; cursor: grabbing; }
.occ-vcard.is-out-r { transform: translateX(140%) rotate(20deg) !important; opacity: 0; }
.occ-vcard.is-out-l { transform: translateX(-140%) rotate(-20deg) !important; opacity: 0; }
.occ-vcard-cover { flex: none; height: clamp(110px, 36%, 190px); }
.occ-vcard-stamp { position: absolute; top: 22px; z-index: 3; padding: 8px 16px; border: 3px solid currentColor; border-radius: var(--radius-sm); background: rgba(253, 251, 248, 0.94); font: 600 26px/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none; }
.occ-vcard-stamp.is-love { right: 22px; color: var(--status-ok); transform: rotate(15deg); opacity: var(--love, 0); }
.occ-vcard-stamp.is-skip { left: 22px; color: var(--status-off); transform: rotate(-15deg); opacity: var(--skip, 0); }
.occ-vcard-body { display: flex; flex: 1; flex-direction: column; gap: 8px; min-height: 0; padding: 16px 20px; overflow: hidden; }
.occ-vcard-title { margin: 0; font: 500 22px/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
.occ-vcard-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--text-muted); }
.occ-vcard-meta li { display: inline-flex; align-items: center; gap: 5px; }
.occ-vcard-meta .occ-i { width: 14px; height: 14px; }
.occ-vcard-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.occ-vcard-why { display: flex; align-items: flex-start; gap: 8px; margin: auto 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(216, 186, 152, 0.24); font-size: 13px; line-height: 1.45; color: var(--text); }
.occ-vcard-why .occ-i { width: 16px; height: 16px; margin-top: 1px; color: var(--status-watch); }
.occ-vcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--border); }
.occ-vcard-price { margin: 0; font: 500 30px/1 var(--font-display); color: var(--text); }
.occ-vcard-price small, .occ-mini-p small { font: 500 13px/1 var(--font-body); color: var(--text-muted); }
.occ-vcard-fine { margin: 0; font-size: 12.5px; color: var(--text-muted); }
@container (max-height: 440px) { .occ-vcard-desc { display: none; } }
.occ-actions { display: flex; align-items: center; justify-content: center; gap: 22px; }
.occ-action { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 2px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out); }
.occ-action .occ-i { width: 24px; height: 24px; stroke-width: 2.4; }
.occ-action:hover { transform: scale(1.06); }
.occ-action:active { transform: scale(0.94); }
.occ-action.is-skip { border-color: rgba(15, 65, 74, 0.35); color: var(--sea); }
.occ-action.is-skip:hover { border-color: var(--sea); background: rgba(15, 65, 74, 0.06); }
.occ-action.is-love { width: 78px; height: 78px; border-color: transparent; background: var(--sun); color: var(--on-sun); box-shadow: 0 3px 0 #c98a1e; }
.occ-action.is-love .occ-i { width: 30px; height: 30px; }
.occ-action.is-love:hover { background: var(--sun-press); }
.occ-action.is-undo { width: 48px; height: 48px; border-color: var(--border); color: var(--text-muted); }
.occ-action.is-undo .occ-i { width: 18px; height: 18px; }
.occ-action[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; transform: none; }
.occ-action:focus-visible { outline-offset: 3px; }
.occ-deck-prog { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13.5px; color: var(--text-muted); }
.occ-dots { display: flex; gap: 6px; }
.occ-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
.occ-dots i.is-seen { background: rgba(15, 65, 74, 0.4); }
.occ-dots i.is-in { background: var(--status-ok); }
.occ-dots i.is-on { background: var(--sea); transform: scale(1.35); }
.occ-deck-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; border: 2px dashed var(--border-strong); border-radius: var(--radius-xl); text-align: center; animation: occ-pop var(--dur-3) var(--ease-out-expo); }
.occ-deck-end .occ-i--big { width: 48px; height: 48px; color: var(--status-ok); }
.occ-deck-end .pub-h3, .occ-deck-end p { margin: 0; }
.occ-deck-end p { color: var(--text-muted); }
.occ-hidden-note { display: flex; align-items: flex-start; gap: 8px; max-width: 420px; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.occ-hidden-note:empty { display: none; }
.occ-hidden-note .occ-i { width: 15px; height: 15px; margin-top: 2px; }
.occ-vote-mini { margin: 0; padding: 0; list-style: none; }
.occ-vote-item { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 44px; align-items: center; gap: 10px; padding: 4px 0; border-top: 1px solid var(--border); font-size: 15px; }
.occ-vote-item:first-child { border-top: 0; }
.occ-vote-dot { width: 12px; height: 12px; border-radius: 4px; }
.occ-vote-t { min-width: 0; font-weight: 600; }
.occ-vote-p { font-size: 13px; color: var(--text-muted); }
.occ-x { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-muted); cursor: pointer; }
.occ-x::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--border-strong); border-radius: 50%; transition: border-color var(--dur-1) var(--ease-out); }
.occ-x:hover { color: var(--text); }
.occ-x:hover::before { border-color: var(--sea); }
.occ-x .occ-i { width: 14px; height: 14px; }
.occ-mini-grid { display: grid; gap: 14px; width: 100%; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.occ-mini { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-elevated); box-shadow: var(--shadow-card); }
.occ-mini .occ-cover { height: 92px; }
.occ-mini .occ-i--big { width: 40px; height: 40px; }
.occ-mini .occ-vcard-tag { top: 10px; right: 10px; }
.occ-mini-b { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.occ-mini-t { margin: 0; font: 500 18px/1.2 var(--font-display); color: var(--text); }
.occ-mini-m { margin: 0; font-size: 13px; color: var(--text-muted); }
.occ-mini-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.occ-mini-p { font: 500 22px/1 var(--font-display); color: var(--text); }

/* stag 2: open now */
.occ-open-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.occ-sim { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font: 500 14.5px/1.4 var(--font-body); color: var(--text-muted); }
.occ-sim b { color: var(--text); font-variant-numeric: tabular-nums; }
.occ-dice { display: inline-grid; }
.occ-dice.is-spin .occ-i { animation: occ-spin 700ms var(--ease-out); }
.occ-spots { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.occ-spot { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.occ-spot-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); }
.occ-spot-ico .occ-i { width: 22px; height: 22px; }
.occ-spot-t { margin: 0; font: 600 16px/1.3 var(--font-body); color: var(--text); }
.occ-spot-k { margin: 2px 0 0; font-size: 13.5px; color: var(--text-muted); }
.occ-spot-meta { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.occ-spot-walk { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); }
.occ-spot-walk .occ-i { width: 15px; height: 15px; }
.occ-closes { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--status-ok-bg); color: var(--status-ok); font-weight: 600; font-variant-numeric: tabular-nums; }
.occ-wild-out:empty { display: none; }
.occ-wildcard { display: grid; gap: 14px; margin-bottom: 20px; padding: 22px; border-radius: var(--radius-xl); background: var(--sea); color: var(--text); grid-template-columns: minmax(0, 1fr); animation: occ-pop var(--dur-3) var(--ease-out-expo); }
@media (min-width: 760px) { .occ-wildcard { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } }
.occ-wildcard-k { margin: 0; font: 600 13px/1.3 var(--font-body); color: var(--text-muted); }
.occ-wildcard-spot { margin: 6px 0 0; font: 500 26px/1.15 var(--font-display); color: var(--text); }
.occ-wildcard-sub { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); }
.occ-dare { margin: 0; padding: 16px; border-radius: var(--radius-lg); background: var(--alabaster); color: var(--sea); font: 400 19px/1.35 var(--font-display); }
.occ-dare span { display: block; margin-bottom: 6px; font: 700 11px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--status-watch); }

/* ---------- stag 3: rituals ---------- */
.occ-draft { display: grid; padding: 0; overflow: hidden; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .occ-draft { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.occ-draft-l { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); }
.occ-draft-l > .pub-chip { align-self: flex-start; }
.occ-draft-title { margin: 0; font: 500 clamp(30px, 3.6vw, 40px)/1.05 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
.occ-draft-p { margin: 0; max-width: 46ch; line-height: 1.6; color: var(--text-muted); }
.occ-og { display: flex; flex-direction: column; gap: 8px; }
.occ-og-l { font: 600 13px/1.3 var(--font-body); color: var(--text-muted); }
.occ-draft-r { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: clamp(22px, 3vw, 32px); background: rgba(4, 27, 32, 0.28); }
.occ-table { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.occ-dt { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.occ-dt-card { width: 78px; height: 112px; perspective: 900px; }
.occ-dt-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 700ms var(--ease-out-expo); transition-delay: calc(var(--i) * 120ms); }
.occ-dt-card.is-flipped .occ-dt-in { transform: rotateY(180deg); }
.occ-dt-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: var(--radius-md); text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.occ-dt-back { border: 2px solid rgba(239, 232, 223, 0.22); background: var(--sea-deep); color: var(--sand); }
.occ-dt-back .occ-star { width: 34px; height: 34px; }
.occ-dt-front { transform: rotateY(180deg); background: var(--alabaster); color: var(--sea); }
.occ-dt-front .occ-i { width: 22px; height: 22px; }
.occ-dt.is-me .occ-dt-front { background: var(--sky); }
.occ-dt-k { font: 700 10.5px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }
.occ-dt-front b { font: 500 20px/1 var(--font-display); }
.occ-dt-name { font: 600 12.5px/1 var(--font-body); color: var(--text-muted); }
.occ-dt.is-me .occ-dt-name { color: var(--text); }
.occ-table.is-shuffling .occ-dt-card { animation: occ-shuffle 950ms var(--ease-in-out) backwards; animation-delay: calc(var(--i) * 40ms); }
@keyframes occ-shuffle { 20% { transform: translate(calc(var(--sx) * 1px), -18px) rotate(calc(var(--sr) * 1deg)); } 45% { transform: translate(calc(var(--sx) * -1px), 10px) rotate(calc(var(--sr) * -1deg)); } 70% { transform: translate(calc(var(--sx) * 0.5px), -6px); } }
.occ-draw-note { max-width: 42ch; min-height: 3.1em; margin: 0; font-size: 14px; line-height: 1.55; text-align: center; color: var(--text-muted); }
.occ-draw-note b { color: var(--text); }
.occ-rules { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.occ-rule { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-pill); background: var(--surface-floating); font: 600 13.5px/1.3 var(--font-body); color: var(--text); }
.occ-rule .occ-i { color: var(--sea); }
.occ-sub-h { margin: clamp(40px, 5vw, 56px) 0 16px; }
.occ-rits { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.occ-rit { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-elevated); }
.occ-rit .occ-cover { height: 92px; }
.occ-rit .occ-i--big { width: 40px; height: 40px; }
.occ-rit-b { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px; }
.occ-rit-t { margin: 0; font: 500 19px/1.2 var(--font-display); color: var(--text); }
.occ-rit-b > p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.occ-rit-b > .occ-rit-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.occ-rit-meta span { padding: 5px 9px; border-radius: var(--radius-pill); background: var(--surface-floating); font: 600 12px/1.2 var(--font-body); color: var(--text); }
.occ-rit .pub-btn { align-self: flex-start; }
@media (max-width: 639px) {
  .occ-rits { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .occ-rit { scroll-snap-align: start; }
}

/* ---------- plans: budget + timeline ---------- */
.occ-budget { display: flex; flex-direction: column; gap: 8px; min-width: min(100%, 240px); }
.occ-budget-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.occ-budget-v b { font: 500 30px/1 var(--font-display); color: var(--text); }
.occ-budget-v span { font-size: 13.5px; color: var(--text-muted); }
.occ-budget-bar { display: block; height: 8px; overflow: hidden; border-radius: 8px; background: var(--border); }
.occ-budget-bar i { display: block; width: 0; height: 100%; border-radius: 8px; background: var(--status-ok); transition: width 900ms var(--ease-out-expo) 200ms; }
.is-go .occ-budget-bar i { width: var(--w); }
.occ-budget.is-over .occ-budget-bar i { background: var(--sand); }
.occ-budget.is-over .occ-budget-v span { font-weight: 600; color: var(--status-watch); }
.occ-plan-top { margin-bottom: 8px; }
.occ-tl { position: relative; max-width: 860px; margin: 16px 0 0; padding: 0; list-style: none; }
.occ-tl.is-enter { animation: occ-in var(--dur-3) var(--ease-out); }
.occ-tl::before { content: ''; position: absolute; top: 26px; bottom: 26px; left: 83px; border-left: 2px dashed var(--border-strong); }
.occ-tl-it { display: grid; grid-template-columns: 64px 40px minmax(0, 1fr); align-items: start; padding: 8px 0; }
.occ-tl-time { padding-top: 16px; font: 500 21px/1.2 var(--font-display); text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.occ-tl-dot { position: relative; z-index: 1; justify-self: center; width: 16px; height: 16px; margin-top: 21px; border: 3px solid var(--sea); border-radius: 50%; background: var(--bg); }
.k-ritual .occ-tl-dot { border-color: var(--sand); background: var(--sand); }
.k-free .occ-tl-dot, .k-watch .occ-tl-dot { border-style: dashed; border-color: var(--text-muted); }
.k-meet .occ-tl-dot { background: var(--sea); }
.occ-tl-card { position: relative; min-width: 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-elevated); box-shadow: var(--shadow-card); }
.k-free .occ-tl-card, .k-watch .occ-tl-card { border-style: dashed; border-color: var(--border-strong); background: transparent; box-shadow: none; }
.k-meet .occ-tl-card { border-color: var(--sea); background: var(--sea); }
.occ-tl-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-right: 92px; }
.occ-tl-title { margin: 0 4px 0 0; font: 500 20px/1.25 var(--font-display); color: var(--text); }
.occ-tl-note { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.occ-tl-drop { display: flex; align-items: flex-start; gap: 8px; }
.occ-tl-drop .occ-i { width: 15px; height: 15px; margin-top: 2px; }
.occ-stamp { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 6px 10px; border: 3px solid currentColor; border-radius: var(--radius-sm); color: var(--status-ok); font: 800 12px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(-8deg); }
.is-go .occ-tl-card .occ-stamp { animation: occ-stamp 550ms var(--ease-spring) 350ms backwards; }
.occ-opts { display: grid; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.occ-opt { display: grid; gap: 8px; padding: 10px 12px; border: 1.5px solid transparent; border-radius: var(--radius-md); background: transparent; --pub-av-ring: var(--surface-elevated); }
.occ-opt:not(.is-win) + .occ-opt:not(.is-win) { border-top-color: transparent; box-shadow: 0 -1px 0 var(--border); border-radius: 0; }
.occ-opt.is-win { border-color: var(--sea); background: rgba(150, 192, 206, 0.16); --pub-av-ring: #ecf2f1; }
.occ-opt-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.occ-votes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.occ-vn { display: inline-flex; align-items: center; gap: 4px; font: 700 13px/1 var(--font-body); color: var(--text); }
.occ-vn .occ-i { width: 13px; height: 13px; color: var(--sea); }
.occ-opt-price { margin-left: auto; font-size: 13px; color: var(--text-muted); }
.occ-vbar { display: block; height: 5px; overflow: hidden; border-radius: 5px; background: var(--border); }
.occ-vbar i { display: block; width: 0; height: 100%; border-radius: 5px; background: var(--sea); transition: width 900ms var(--ease-out-expo) 250ms; }
.is-go .occ-vbar i { width: var(--w); }
@media (max-width: 639px) {
  .occ-tl::before { left: 7px; }
  .occ-tl-it { grid-template-columns: 16px minmax(0, 1fr); column-gap: 12px; }
  .occ-tl-time { grid-column: 2; grid-row: 1; padding: 0; font-size: 18px; text-align: left; }
  .occ-tl-dot { grid-column: 1; grid-row: 1 / 3; width: 14px; height: 14px; margin-top: 5px; }
  .occ-tl-card { grid-column: 2; grid-row: 2; margin-top: 6px; padding: 14px; }
  .occ-tl-h { padding-right: 0; }
  .occ-stamp { position: static; display: inline-block; margin-top: 12px; }
}

/* ---------- NYE 1: the night ---------- */
.occ-night { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .occ-night { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.occ-wants { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.occ-wants li { display: grid; grid-template-columns: 36px minmax(0, 9em) minmax(0, 1fr) 2.4em; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.occ-w-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--surface-floating); color: var(--sea); }
.occ-w-bar { height: 10px; overflow: hidden; border-radius: 10px; background: var(--border); }
.occ-w-bar i { display: block; width: 0; height: 100%; border-radius: 10px; background: var(--sea); transition: width 900ms var(--ease-out-expo) 250ms; }
.is-go .occ-w-bar i { width: var(--w); }
.occ-wants b { font: 500 21px/1 var(--font-display); text-align: right; }
.occ-pairs { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.occ-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface-floating); font-weight: 600; color: var(--text); --pub-av-ring: var(--surface-floating); }
.occ-pair-k { margin-left: auto; font: 600 12.5px/1 var(--font-body); color: var(--text-muted); }
.occ-pair-t { flex-basis: 100%; font-weight: 400; font-size: 13.5px; line-height: 1.4; color: var(--text-muted); }
.occ-range + div .occ-fit-sum { margin-top: 18px; }
.occ-fit-sum { margin: 18px 0 0; font: 600 13.5px/1.3 var(--font-body); color: var(--text-muted); }
.occ-fitlist { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.occ-fitlist li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--radius-md); background: var(--surface-floating); font-size: 14px; color: var(--text); }
.occ-fitlist li.is-fit .occ-i { color: var(--status-ok); }
.occ-fitlist li.is-over { border-color: var(--border-strong); border-style: dashed; background: transparent; color: var(--text-muted); }
.occ-fitlist li.is-over .occ-i { color: var(--status-off); }
.occ-fitlist b { font: 500 18px/1 var(--font-display); }
.occ-tracksp .occ-panel-h { margin-bottom: 8px; }
.occ-tracks-p { margin: 0; line-height: 1.6; color: var(--text-muted); }
.occ-tracksp { display: flex; flex-direction: column; }
.occ-trk-art { display: block; width: 100%; max-width: 300px; height: auto; margin-top: 14px; }
.occ-trk-art path { fill: none; stroke-width: 5; stroke-linecap: round; }
.occ-trk-art .occ-t-split, .occ-trk-art .occ-t-one { transition: opacity var(--dur-3) var(--ease-out); }
.occ-trk-art.is-merged .occ-t-split, .occ-trk-art:not(.is-merged) .occ-t-one { opacity: 0; }
.occ-trk-art .occ-drawn { stroke-dasharray: 1; stroke-dashoffset: 1; animation: occ-draw 1.2s var(--ease-out) 300ms forwards; }
.occ-trk-legend { display: grid; gap: 0; margin: auto 0 0; padding: 12px 0 0; list-style: none; font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.occ-trk-legend li { display: grid; grid-template-columns: 12px 3.2em minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.occ-trk-legend time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.occ-trk-legend b { font-weight: 600; color: var(--text); }
.occ-sw { flex: none; width: 12px; height: 12px; border-radius: 4px; }

/* ---------- NYE 2: what's on ---------- */
.occ-filters { margin-bottom: 4px; }
.occ-filter b { margin-left: 2px; font-weight: 700; font-variant-numeric: tabular-nums; }
.occ-filter--ok { --chip-dot: var(--status-ok); }
.occ-filter--info { --chip-dot: var(--sky); }
.occ-filter--watch { --chip-dot: var(--sand); }
.occ-filter--off { --chip-dot: var(--status-off); }
.occ-filter[aria-pressed="true"] .pub-chip-dot { background: currentColor; }
.occ-trust { display: flex; align-items: flex-start; gap: 10px; max-width: 82ch; margin: 18px 0 26px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.occ-trust > .occ-i { margin-top: 2px; color: var(--status-ok); }
.occ-trust b { color: var(--text); }
.occ-trust .pub-tag { margin: 0 4px; }
.occ-evs { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.occ-ev { min-width: 0; perspective: 1600px; }
.occ-flip { display: grid; height: 100%; transform-style: preserve-3d; transition: transform 600ms var(--ease-out-expo); }
.occ-ev.is-flipped .occ-flip { transform: rotateY(180deg); }
.occ-face { display: flex; flex-direction: column; grid-area: 1 / 1; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface-elevated); box-shadow: var(--shadow-card); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.occ-face--back { gap: 12px; padding: 22px; border-color: transparent; background: var(--sea); color: var(--text); transform: rotateY(180deg); }
.occ-ev-cover { flex: none; height: 128px; }
.occ-ev--out .occ-ev-cover > .occ-i--big { opacity: 0.45; }
.occ-stamp--out { top: auto; right: auto; bottom: 14px; left: 50%; background: var(--surface-elevated); color: var(--status-off); transform: translateX(-50%) rotate(-8deg); }
.occ-ev-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px; }
.occ-ev-body > .pub-chip { align-self: flex-start; }
.occ-ev-title { margin: 2px 0 0; font: 500 23px/1.12 var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.occ-ev-area { margin: 0; font-size: 14px; color: var(--text-muted); }
.occ-ev-facts { display: grid; gap: 7px; margin: 4px 0 0; padding: 0; list-style: none; }
.occ-ev-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--text); }
.occ-ev-facts .occ-i { width: 17px; height: 17px; margin-top: 1px; color: var(--status-ok); }
.occ-ev-facts li.is-miss { color: var(--text-muted); }
.occ-ev-facts li.is-miss .occ-i { color: var(--status-off); }
.occ-ev-body > p { margin: 0; }
.occ-fit { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-muted); }
.occ-fit .occ-i { width: 15px; height: 15px; }
.occ-ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.occ-src-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--sea); font: 600 13.5px/1 var(--font-body); text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.occ-src-btn .occ-i { width: 15px; height: 15px; }
.occ-b-k { margin: 0; font: 600 13px/1.3 var(--font-body); color: var(--text-muted); }
.occ-b-where { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.occ-b-where b { font: 500 21px/1.15 var(--font-display); color: var(--text); }
.occ-b-where span { font-size: 13px; color: var(--text-muted); }
.occ-b-url { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font-size: 14px; }
.occ-b-url code { min-width: 0; padding: 2px 6px; border-radius: 6px; background: rgba(239, 232, 223, 0.1); color: var(--text); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.occ-quote { margin: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font: 500 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.occ-quote.is-none { color: var(--text-muted); font-family: var(--font-body); }
.occ-matched { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.occ-matched li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: var(--radius-pill); background: rgba(150, 192, 206, 0.2); color: var(--text); font: 600 12.5px/1.1 var(--font-body); }
.occ-matched li.is-no { border: 1px dashed var(--border-strong); background: transparent; color: var(--text-muted); }
.occ-matched .occ-i { width: 12px; height: 12px; stroke-width: 3; }
.occ-flip-back { align-self: flex-start; margin-top: auto; }
.occ-teaser { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 26px; border: 2px dashed var(--border-strong); border-radius: var(--radius-xl); }
.occ-teaser .occ-i--big { width: 40px; height: 40px; color: var(--sea); }
.occ-teaser .pub-h3, .occ-teaser p { margin: 0; }
.occ-teaser p { line-height: 1.55; color: var(--text-muted); }

/* ---------- NYE 3: FOMO watch ---------- */
.occ-radar-card { display: grid; gap: 28px; overflow: hidden; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .occ-radar-card { grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 44px; } }
.occ-radar { position: relative; width: min(100%, 220px); aspect-ratio: 1; margin: 0 auto; border: 1px solid rgba(150, 192, 206, 0.35); border-radius: 50%; }
.occ-radar::before, .occ-radar::after { content: ''; position: absolute; border: 1px solid rgba(150, 192, 206, 0.22); border-radius: 50%; }
.occ-radar::before { inset: 16%; }
.occ-radar::after { inset: 33%; }
.occ-radar-axis { position: absolute; inset: 0; }
.occ-radar-axis::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid rgba(150, 192, 206, 0.18); }
.occ-radar-axis::after { content: ''; position: absolute; top: 50%; right: 0; left: 0; border-top: 1px solid rgba(150, 192, 206, 0.18); }
.occ-sweep { position: absolute; inset: 0; animation: occ-spin 4s linear infinite; }
.occ-sweep::before { content: ''; position: absolute; top: 0; left: calc(50% - 1px); height: 50%; border-left: 2px solid var(--sky); }
.occ-blip { position: absolute; top: var(--y); left: var(--x); width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--sand); opacity: 0.3; animation: occ-blip 4s linear infinite; animation-delay: calc(var(--a) * 4s / 360); }
.occ-blip.is-ev { width: 11px; height: 11px; margin: -5.5px; background: var(--sky); }
@keyframes occ-blip { 0% { opacity: 1; transform: scale(1.6); } 25% { opacity: 0.75; transform: none; } 100% { opacity: 0.25; transform: none; } }
.occ-radar-card.is-paused .occ-sweep, .occ-radar-card.is-paused .occ-blip { animation-play-state: paused; }
.occ-r-center { position: absolute; inset: 35%; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(150, 192, 206, 0.35); border-radius: 50%; background: var(--sea); color: var(--text-muted); font: 600 10.5px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }
.occ-r-center b { font: 500 24px/1 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--text); }
.occ-rc-r { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.occ-rc-r .pub-h3 { margin: 0; }
.occ-rc-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.occ-rc-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.occ-rc-stats li { padding: 8px 12px; border-radius: var(--radius-pill); background: var(--surface-elevated); color: var(--text); font: 600 13px/1.2 var(--font-body); }
.occ-fomo-grid { display: grid; gap: 16px; margin-top: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .occ-fomo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.occ-col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.occ-lockcard { display: flex; flex-direction: column; gap: 14px; }
.occ-lockcard .occ-panel-h { margin-bottom: 0; }
.occ-lockcard .occ-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.occ-lock { width: min(100%, 300px); margin: 0 auto; padding: 10px; border-radius: 44px; background: #172a2f; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 30px 60px -28px rgba(0, 0, 0, 0.45); }
.occ-lock.is-buzz { animation: occ-buzz 450ms linear; }
@keyframes occ-buzz { 15% { transform: translateX(-3px) rotate(-0.6deg); } 30% { transform: translateX(3px) rotate(0.6deg); } 45% { transform: translateX(-3px) rotate(-0.4deg); } 60% { transform: translateX(2px); } 80% { transform: translateX(-1px); } }
.occ-lock-in { display: flex; flex-direction: column; gap: 10px; min-height: 430px; padding: 26px 14px 18px; border-radius: 36px; background: var(--sea-deep); color: var(--alabaster); }
.occ-lk-time { margin: 0; font: 400 56px/1 var(--font-display); letter-spacing: -0.02em; text-align: center; font-variant-numeric: tabular-nums; }
.occ-lk-date { margin: 0 0 14px; font: 600 13px/1 var(--font-body); text-align: center; color: var(--on-sea-muted); }
.occ-push { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; max-height: 170px; margin-bottom: 10px; padding: 12px; overflow: hidden; border-radius: var(--radius-lg); background: rgba(253, 251, 248, 0.95); color: var(--text); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6); transition: max-height 500ms var(--ease-out), opacity var(--dur-3) var(--ease-out), transform 500ms var(--ease-out-expo), margin 500ms var(--ease-out), padding 500ms var(--ease-out); }
.occ-push.is-wait { max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; opacity: 0; transform: translateY(-16px) scale(0.96); }
.occ-push-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sea-deep); color: var(--sand); }
.occ-push-ico .occ-star { width: 18px; height: 18px; }
.occ-push-h { display: flex; justify-content: space-between; gap: 8px; margin: 0; font: 600 12px/1.2 var(--font-body); color: var(--text-muted); }
.occ-push p:not(.occ-push-h) { margin: 2px 0 0; font-size: 13.5px; line-height: 1.4; }
.occ-pay { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.occ-pay-h { margin: 0; font: 500 clamp(26px, 3vw, 34px)/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.occ-pay-h em { font-style: italic; }
.occ-pay-list { margin: 0; padding: 0; list-style: none; }
.occ-pay-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.5; color: var(--text); }
.occ-pay-list li:last-child { border-bottom: 1px solid var(--border); }
.occ-pay-list .occ-i { margin-top: 2px; color: var(--status-ok); }
.occ-pay-box { display: flex; flex-direction: column; gap: 8px; }
.occ-pay-box:focus:not(:focus-visible) { outline: none; }
.occ-pay-box.is-flash { animation: occ-flash 1.2s var(--ease-out); }
@keyframes occ-flash { 0%, 55% { outline: 3px solid var(--sky); outline-offset: 4px; } 100% { outline: 3px solid transparent; outline-offset: 4px; } }
.occ-pay-seg { align-self: flex-start; margin-bottom: 8px; }
@media (max-width: 479px) { .occ-pay-seg { display: flex; align-self: stretch; } .occ-pay-seg .pub-seg-opt { flex: 1 1 0; padding: 4px 10px; white-space: normal; } }
.occ-pay-box .occ-pay-price { margin: 0; font: 500 60px/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); }
.occ-pay-box .occ-pay-price small { margin-left: 6px; font: 600 15px/1 var(--font-body); letter-spacing: 0; color: var(--text-muted); }
.occ-pay-box p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.occ-pay-box .pub-btn--sun { margin-top: 12px; white-space: normal; }
.occ-pay-box .occ-pay-fine { font-size: 13px; }
.occ-split { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.occ-split > .pub-tag, .occ-split > .pub-btn { align-self: flex-start; }
.occ-split-avs { display: flex; flex-wrap: wrap; gap: 6px; }
.occ-sp-av { position: relative; display: inline-grid; }
.occ-sp-av .pub-av { opacity: 0.45; transition: opacity var(--dur-2) var(--ease-out); }
.occ-sp-av.is-paid .pub-av { opacity: 1; }
.occ-sp-av i { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--status-ok-dot, #6fc39d); color: var(--sea-deep); transform: scale(0); transition: transform var(--dur-3) var(--ease-out-expo); }
.occ-sp-av.is-paid i { transform: scale(1); }
.occ-sp-av i .occ-i { width: 11px; height: 11px; stroke-width: 3.2; }
.occ-split-bar { display: block; height: 8px; overflow: hidden; border-radius: 8px; background: rgba(239, 232, 223, 0.14); }
.occ-split-bar i { display: block; height: 100%; border-radius: 8px; background: var(--sky); transition: width var(--dur-3) var(--ease-out); }
.occ-pay-box .occ-split-txt { font-weight: 600; color: var(--text); }
.occ-sale .occ-panel-h .pub-h3 { max-width: 26ch; }
.occ-sale > .pub-chip { margin-top: 2px; }
.occ-cd--light { margin-top: 2px; }
.occ-cd--light .occ-cd-cell { background: var(--surface-floating); }
.occ-sale-sub { margin: 12px 0 14px; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.occ-lockrow { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 12px 14px 4px; border-radius: var(--radius-md); background: var(--surface-floating); }
.occ-lockrow > .occ-i { color: var(--sea); }
.occ-lockrow b { display: block; font-weight: 600; color: var(--text); }
.occ-lockrow small { display: block; font-size: 13px; color: var(--text-muted); }
.occ-lockrow .occ-linkbtn { grid-column: 2; justify-self: start; }
.occ-watched { margin: 0; padding: 0; list-style: none; }
.occ-watched-it { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.occ-watched-it:first-child { border-top: 0; }
.occ-w-eye { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-floating); color: var(--sea); }
.occ-w-eye .occ-i { width: 17px; height: 17px; }
.occ-watched-it b { display: block; font-size: 15px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.occ-watched-it div > span { display: block; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.occ-addw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.occ-addw label { grid-column: 1 / -1; font: 600 14px/1.3 var(--font-body); color: var(--text); }
.occ-addw input { min-width: 0; min-height: 44px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface-elevated); color: var(--text); font: 500 16px var(--font-body); }
.occ-addw input::placeholder { color: var(--text-muted); opacity: 1; }
.occ-addw input[aria-invalid="true"] { border-color: var(--status-watch); }
.occ-addw-msg { grid-column: 1 / -1; min-height: 1.5em; margin: 0; }
.occ-addw-msg.is-err { font-weight: 600; color: var(--status-watch); }
@media (max-width: 400px) { .occ-addw { grid-template-columns: minmax(0, 1fr); } }
.occ-feed-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--status-info-bg); color: var(--status-info); font-size: 14px; line-height: 1.5; }
.occ-feed-note .occ-i { margin-top: 1px; }
.occ-feed { margin: 0; padding: 0; list-style: none; }
.occ-feed li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.occ-feed li:first-child { border-top: 0; }
.occ-f-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); }
.occ-f-new .occ-f-ic { background: var(--sky); color: var(--sea); }
.occ-f-price .occ-f-ic { background: var(--sand); color: var(--sea); }
.occ-f-out .occ-f-ic { background: var(--status-off-bg); color: var(--status-off); }
.occ-f-rescue .occ-f-ic { background: var(--status-ok-bg); color: var(--status-ok); }
.occ-f-quiet .occ-f-ic, .occ-f-start .occ-f-ic { background: var(--surface-floating); color: var(--text-muted); }
.occ-feed time { font: 600 12.5px/1.2 var(--font-body); color: var(--text-muted); }
.occ-feed p { margin: 2px 0 0; font-size: 15px; line-height: 1.45; color: var(--text); }
.occ-feed s { color: var(--text-muted); }
.occ-settings { margin-top: 16px; padding: 0; }
.occ-settings summary { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 20px 22px; border-radius: var(--radius-xl); list-style: none; cursor: pointer; }
.occ-settings summary::-webkit-details-marker { display: none; }
.occ-settings summary > span:first-child { flex: 1; min-width: 0; }
.occ-settings summary b { display: block; font: 500 21px/1.2 var(--font-display); color: var(--text); }
.occ-settings summary small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-muted); }
.occ-settings summary > .occ-i { flex: none; transition: transform var(--dur-2) var(--ease-out); }
.occ-settings[open] summary > .occ-i { transform: rotate(180deg); }
.occ-settings summary:focus-visible { outline-offset: -2px; }
.occ-set-body { display: flex; flex-direction: column; gap: 16px; padding: 0 22px 22px; }
.occ-set-h { margin: 0; font: 600 14px/1.3 var(--font-body); color: var(--text); }
.occ-ch-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.occ-set-body .occ-hint { margin: 0; }
.occ-quiet { align-self: flex-start; }

/* ---------- NYE 4: midnight ---------- */
.occ-mid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .occ-mid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }
.occ-map-fig { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.occ-map-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.occ-map { display: block; width: 100%; height: auto; }
.occ-map .occ-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-go .occ-map .occ-draw { animation: occ-draw 1.4s var(--ease-out) forwards; }
.is-go .occ-map .occ-r1 { animation-delay: 400ms; }
.is-go .occ-map .occ-r2 { animation-delay: 1600ms; }
.occ-pin { transform-box: fill-box; transform-origin: 50% 50%; }
.is-go .occ-pin { animation: occ-pin-in 500ms var(--ease-out-expo) backwards; animation-delay: calc(200ms + var(--i) * 450ms); }
@keyframes occ-pin-in { from { opacity: 0; transform: scale(0.4); } }
.occ-map text { font-family: var(--font-body); }
.occ-route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; color: var(--text); }
.occ-route li { display: inline-flex; align-items: center; gap: 8px; }
.occ-route-n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 2px solid var(--sea); border-radius: 50%; background: var(--surface-elevated); color: var(--sea); font: 700 12.5px/1 var(--font-body); }
.occ-route-n.is-best { background: var(--sea); color: var(--alabaster); }
.occ-route-leg { font-size: 13px; color: var(--text-muted); }
.occ-route-leg .occ-i { width: 15px; height: 15px; }
@media (max-width: 639px) {
  .occ-route { flex-direction: column; align-items: flex-start; gap: 6px; }
  .occ-route-leg { padding-left: 34px; }
}
.occ-map-fig figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13.5px; color: var(--text-muted); }
.occ-mid-r { display: grid; gap: 14px; min-width: 0; }
.occ-ranks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.occ-rank-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-elevated); }
.occ-rank-card.is-best { border-color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea); }
.occ-rank { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-floating); color: var(--text); font: 500 20px/1 var(--font-display); }
.is-best .occ-rank { background: var(--sea); color: var(--alabaster); }
.occ-rank-t { margin: 0; font: 500 19px/1.2 var(--font-display); color: var(--text); }
.occ-rank-card p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.occ-rank-card .occ-rk-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.occ-rk-meta > span:not(.pub-chip) { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: var(--radius-pill); background: var(--surface-floating); color: var(--text); font: 600 12.5px/1.2 var(--font-body); }
.occ-rk-meta .occ-i { width: 13px; height: 13px; }
.occ-meet { display: flex; flex-direction: column; gap: 6px; }
.occ-meet-k { margin: 0; font: 600 13px/1.3 var(--font-body); color: var(--text-muted); }
.occ-meet-time { margin: 2px 0 0; font: 500 56px/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.occ-meet-place { margin: 0; font: 500 21px/1.2 var(--font-display); color: var(--text); }
.occ-meet-sub { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.occ-meet-sub .occ-i { width: 16px; height: 16px; margin-top: 1px; }
.occ-meet .pub-btn { align-self: flex-start; margin-top: 12px; }

/* ---------- NYE 5: the plan ---------- */
.occ-plan-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .occ-plan-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.occ-plan-grid > div { min-width: 0; }
.occ-plan-grid > div.is-enter { animation: occ-in var(--dur-3) var(--ease-out); }
.occ-tracks { display: grid; gap: 12px; margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.occ-track { min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-elevated); }
.occ-track-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 8px; font-weight: 700; color: var(--text); }
.occ-track ol { margin: 0; padding: 0; list-style: none; }
.occ-track li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-top: 1px dashed var(--border-strong); font-size: 14.5px; color: var(--text); }
.occ-track li:first-child { border-top: 0; }
.occ-track time { font-weight: 700; font-variant-numeric: tabular-nums; }
.occ-track li span { display: block; font-size: 13px; color: var(--text-muted); }
.occ-merge { display: block; width: 100%; height: 56px; }
.occ-merge path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: occ-draw 1s var(--ease-out) 400ms forwards; }
@media (max-width: 639px) { .occ-tracks { grid-template-columns: minmax(0, 1fr); } .occ-merge { display: none; } }
.occ-bookby { margin: 8px 0 0; padding: 0; list-style: none; }
.occ-bookby li { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.occ-bookby li:first-child { border-top: 0; }
.occ-cal { display: flex; flex-direction: column; align-items: center; width: 50px; height: 54px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-elevated); color: var(--text); font: 700 10.5px/1 var(--font-body); text-transform: uppercase; }
.occ-cal > span { display: block; width: 100%; padding: 4px 0; background: var(--sea); color: var(--alabaster); letter-spacing: 0.06em; text-align: center; }
.occ-cal b { margin-top: 5px; font: 500 22px/1 var(--font-display); }
.occ-cal .occ-i { width: 20px; height: 20px; margin-top: 6px; }
.occ-cal.is-now > span { background: var(--status-ok); }
.occ-cal.is-few > span { background: var(--sand); color: var(--sea); }
.occ-bookby strong { display: block; font-size: 15px; color: var(--text); }
.occ-bookby small { display: block; font-size: 13px; line-height: 1.4; color: var(--text-muted); }

/* ---------- bottom bar (phones) ---------- */
.occ-mbar { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); left: max(12px, env(safe-area-inset-left)); z-index: var(--z-sticky); display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface-elevated); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 18px 40px -16px rgba(0, 0, 0, 0.4); }
.occ-mbar:not([hidden]) { animation: occ-up var(--dur-3) var(--ease-out-expo); }
@media (min-width: 760px) { .occ-mbar { display: none !important; } }
@media (max-width: 759px) { .occ-stepnav .pub-btn { flex: 1 1 auto; } }
body:has(#voyage-install-banner) .occ-mbar { display: none !important; }
.occ-mbar-btn { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: transparent; color: var(--text); cursor: pointer; }
.occ-mbar-btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.occ-mbar-deck .occ-i { color: var(--sea); }
.occ-mbar-deck .occ-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; font-size: 11px; box-shadow: 0 0 0 2px var(--surface-elevated); }
.occ-mbar-mid { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; margin: 0; padding-left: 2px; }
.occ-mbar-k { display: flex; align-items: center; gap: 6px; font: 600 12px/1.2 var(--font-body); white-space: nowrap; color: var(--text-muted); }
.occ-mbar-mid b { overflow: hidden; font: 600 15px/1.25 var(--font-body); white-space: nowrap; text-overflow: ellipsis; color: var(--text); }
.occ-mbar-next { flex: none; padding: 0 16px; }
@media (max-width: 359px) {
  .occ-mbar-nl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .occ-mbar-next { width: 44px; padding: 0; }
}

/* ---------- dialogs ---------- */
.occ-page dialog::backdrop { background: rgba(10, 47, 54, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.occ-sheet { width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--surface-elevated); color: var(--text); box-shadow: -24px 0 60px -24px rgba(0, 0, 0, 0.45); }
.occ-sheet[open] { animation: occ-sheet-in var(--dur-3) var(--ease-out-expo); }
@keyframes occ-sheet-in { from { opacity: 0; transform: translateX(32px); } }
.occ-sheet-in { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 22px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
@media (max-width: 639px) {
  .occ-sheet { inset: auto 0 0 0; width: 100vw; height: auto; max-height: 88dvh; margin: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .occ-sheet[open] { animation-name: occ-up; }
  .occ-sheet-in { height: auto; }
  .occ-deck-list { max-height: 46dvh; }
}
.occ-sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.occ-sheet-h .pub-h2 { margin: 0; }
.occ-icon-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.occ-icon-btn:hover { background: rgba(15, 65, 74, 0.06); }
.occ-sheet-sub { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.occ-deck-list { display: grid; flex: 1; align-content: start; gap: 10px; min-height: 0; margin: 0; padding: 0; overflow: auto; list-style: none; }
.occ-deck-it { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.occ-deck-it .occ-cover { width: 44px; height: 44px; border-radius: var(--radius-md); }
.occ-deck-it b { display: block; font-size: 15px; }
.occ-deck-it div > span { display: block; font-size: 13px; color: var(--text-muted); }
.occ-sheet-f { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.occ-sheet-fine { margin: 0; line-height: 1.6; font-size: 13px; color: var(--text-muted); }
.occ-phone-dlg { max-width: 100vw; max-height: 100dvh; margin: auto; padding: 12px; overflow: auto; border: 0; background: transparent; color: var(--alabaster); }
.occ-phone-dlg[open] { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: occ-up var(--dur-3) var(--ease-out-expo); }
.occ-phone { width: min(330px, calc(100vw - 24px)); padding: 10px; border-radius: 44px; background: #172a2f; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.occ-ph-in { max-height: calc(100dvh - 150px); padding: 26px 18px 20px; overflow: auto; border-radius: 36px; background: var(--sea-deep); }
@media (max-width: 400px) { .occ-ph-in { max-height: calc(100dvh - 196px); } }
.occ-ph-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.occ-ph-who { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 13px/1.2 var(--font-body); color: var(--on-sea-muted); }
.occ-ph-clock { padding: 6px 10px; border-radius: var(--radius-pill); background: rgba(239, 232, 223, 0.1); color: var(--alabaster); font: 600 13px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.occ-ph-h { margin: 14px 0 0; font: 500 27px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--alabaster); }
.occ-ph-h em { font-style: italic; }
.occ-ph-list { margin: 16px 0 0; padding: 0; list-style: none; }
.occ-ph-list li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid rgba(239, 232, 223, 0.14); font-size: 14px; line-height: 1.45; color: var(--alabaster); }
.occ-ph-t { font-weight: 700; color: var(--sky); }
.occ-ph-list li > span:last-child { display: flex; align-items: center; gap: 8px; }
.occ-ph-list li > span:last-child .occ-i { width: 15px; height: 15px; }
.occ-ph-list li.is-locked { color: var(--on-sea-faint); }
.occ-ph-list li.is-reveal { animation: occ-flip-in 600ms var(--ease-out-expo) backwards; }
@keyframes occ-flip-in { from { opacity: 0; transform: perspective(600px) rotateX(-70deg); } }
.occ-ph-prog { margin: 14px 0 0; font-size: 13px; color: var(--on-sea-muted); }
.occ-ph-bar { display: block; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 6px; background: rgba(239, 232, 223, 0.14); }
.occ-ph-bar i { display: block; width: 11.1%; height: 100%; border-radius: 6px; background: var(--sky); transition: width var(--dur-3) var(--ease-out); }
.occ-ph-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.occ-mn { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; overflow: hidden; border: 0; background: #041b20; color: var(--alabaster); }
.occ-mn[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: occ-fade var(--dur-3) var(--ease-out); }
.occ-page .occ-mn::backdrop { background: #041b20; -webkit-backdrop-filter: none; backdrop-filter: none; }
.occ-mn-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.occ-mn-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); text-align: center; }
.occ-mn-k { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 0; font: 600 13px/1.3 var(--font-body); color: var(--on-sea-muted); }
.occ-mn-num { margin: 6px 0 0; font: 400 clamp(120px, 26vw, 220px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--alabaster); font-variant-numeric: tabular-nums; }
.occ-mn-num.is-tick { animation: occ-mn-tick 800ms var(--ease-out); }
@keyframes occ-mn-tick { 0% { opacity: 0; transform: scale(1.3); } 35% { opacity: 1; transform: none; } 100% { opacity: 0.9; transform: scale(0.96); } }
.occ-mn-end { display: flex; flex-direction: column; align-items: center; }
.occ-mn-year { margin: 0; font: 400 clamp(88px, 18vw, 180px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--sand); animation: occ-pop 700ms var(--ease-out-expo); }
.occ-mn-h { margin: 6px 0 0; font: 500 clamp(30px, 5vw, 52px)/1.05 var(--font-display); color: var(--alabaster); }
.occ-mn-h em { font-style: italic; }
.occ-mn-sub { max-width: 40ch; margin: 12px 0 0; line-height: 1.55; color: var(--on-sea-muted); }
.occ-mn-f { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 16px max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.occ-toast { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; z-index: var(--z-toast); width: max-content; max-width: min(92vw, 460px); padding: 12px 18px; border-radius: var(--radius-md); background: var(--sea); color: var(--alabaster); font: 500 14px/1.45 var(--font-body); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 18px 40px -18px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out-expo); }
.occ-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 759px) { .occ-toast { bottom: calc(88px + env(safe-area-inset-bottom)); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .occ-page *, .occ-page *::before, .occ-page *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .occ-sweep, .occ-blip { animation: none !important; }
  .occ-sweep { display: none; }
  .occ-flip { transform: none !important; }
  .occ-face { backface-visibility: visible; -webkit-backface-visibility: visible; }
  .occ-face--back { visibility: hidden; transform: none; }
  .occ-ev.is-flipped .occ-face--back { visibility: visible; }
  .occ-ev.is-flipped .occ-face--front { visibility: hidden; }
}
