/* ODYSSEUSS facelift — "the wine-dark sea" (6 Oct 2026).
   Night sky and moonlit sea behind (fx.js), bronze-glass surfaces in front, gold that catches
   light where the pointer is. Everything is scoped to body.face: "Look: classic" in the nav (or
   localStorage ody:face = "0") returns the previous design untouched. */
body.face {
  --glass: rgba(10, 16, 32, .70); --glass-2: rgba(16, 25, 46, .76); --glass-3: rgba(22, 34, 60, .82);
  --edge: rgba(212, 169, 74, .16); --edge-2: rgba(212, 169, 74, .30); --edge-hot: rgba(240, 207, 120, .62);
  --ember: #e0603f; --sea: #5b8def;
  --surface: var(--glass); --surface-2: var(--glass-2); --surface-3: var(--glass-3); --surface-4: rgba(30, 45, 78, .86);
  --line: rgba(120, 140, 190, .14); --line-strong: rgba(140, 160, 210, .22);
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 3, 12, .55), 0 1px 0 rgba(255, 255, 255, .04) inset;
  --rise: cubic-bezier(.2, .7, .2, 1);
  background: #03060e; background-image: none;
}
body.face ::selection { background: rgba(212, 169, 74, .35); color: #fff; }
body.face * { scrollbar-width: thin; scrollbar-color: rgba(212, 169, 74, .28) transparent; }

/* ---- the sky --------------------------------------------------------------------------- */
#ody-sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(1400px 700px at 70% 0%, #101c3a, #050913 60%, #03050c); }
#ody-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#ody-sky.no-gl canvas { display: none; }
.ody-const { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.ody-const line { stroke: rgba(233, 196, 106, .16); stroke-width: .8; }
.ody-const circle { fill: #f6e7bd; filter: drop-shadow(0 0 3px rgba(246, 231, 189, .8)); animation: face-twinkle 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
@keyframes face-twinkle { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }
body.face .shell, body.face .auth { position: relative; z-index: 1; }

/* ---- entrances (pure CSS: nothing paints before it animates) ---------------------------- */
@keyframes face-rise { from { opacity: 0; transform: translateY(12px) scale(.985); filter: blur(5px); } }
@keyframes face-fade { from { opacity: 0; } }
body.face :is(.cards > *, .sugs > .sug, .kanban > .col, .agent-grid > .agent, .msgs > .msg, .today-list > *, .objection, .section, .voyage, .blitz-card, .callout) { animation: face-rise .62s var(--rise) backwards; }
body.face table.list tbody tr:nth-child(-n+24) { animation: face-fade .5s ease backwards; }
body.face .kcard { animation: face-rise .55s var(--rise) backwards; }
body.face :is(.cards, .sugs, .kanban, .agent-grid, .msgs, .today-list, tbody, .col) > :nth-child(2) { animation-delay: 45ms; }
body.face :is(.cards, .sugs, .kanban, .agent-grid, .msgs, .today-list, tbody, .col) > :nth-child(3) { animation-delay: 90ms; }
body.face :is(.cards, .sugs, .kanban, .agent-grid, .msgs, .today-list, tbody, .col) > :nth-child(4) { animation-delay: 135ms; }
body.face :is(.cards, .sugs, .kanban, .agent-grid, .msgs, .today-list, tbody, .col) > :nth-child(5) { animation-delay: 180ms; }
body.face :is(.cards, .sugs, .kanban, .agent-grid, .msgs, .today-list, tbody, .col) > :nth-child(6) { animation-delay: 225ms; }
body.face :is(.cards, .sugs, .kanban, .agent-grid, .msgs, .today-list, tbody, .col) > :nth-child(7) { animation-delay: 270ms; }
body.face :is(.cards, .sugs, .kanban, .agent-grid, .msgs, .today-list, tbody, .col) > :nth-child(8) { animation-delay: 315ms; }
body.face :is(.cards, .sugs, .kanban, .agent-grid, .msgs, .today-list, tbody, .col) > :nth-child(n+9) { animation-delay: 360ms; }

/* ---- the lantern: light where the pointer is ------------------------------------------- */
@property --mx { syntax: '<length-percentage>'; inherits: false; initial-value: 50%; }
@property --my { syntax: '<length-percentage>'; inherits: false; initial-value: 0%; }
body.face :is(.card, .sug, .kcard, .agent, .msg, .blitz-card, .col, .voyage, .objection, .athena, .today-row) { position: relative; isolation: isolate; }
body.face :is(.card, .sug, .kcard, .agent, .msg, .blitz-card, .col, .voyage, .objection, .athena, .today-row)::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 207, 120, .10), transparent 45%);
}
body.face .lit::before { opacity: 1; }

/* ---- the nav: a constellation ---------------------------------------------------------- */
body.face .nav { background: linear-gradient(180deg, rgba(6, 10, 22, .78), rgba(4, 7, 16, .70)); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-right: 1px solid transparent; border-image: linear-gradient(180deg, rgba(212, 169, 74, .45), rgba(212, 169, 74, .05) 60%, rgba(212, 169, 74, .25)) 1; gap: 1px; }
body.face .brand-mark { background: radial-gradient(circle at 30% 25%, #2a3c64, #0b1222 70%); border-color: rgba(240, 207, 120, .5); box-shadow: 0 0 0 4px rgba(212, 169, 74, .06), 0 0 24px rgba(212, 169, 74, .18); }
body.face .brand h1 { background: linear-gradient(180deg, #fff6e0, #e9c46a 70%, #b98a2e); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .26em; }
body.face .nav .meander { opacity: .8; position: relative; overflow: hidden; }
body.face .nav .meander::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 236, 180, .55), transparent); transform: translateX(-100%); animation: face-sweep 2.4s .6s ease-out backwards 1; mix-blend-mode: screen; }
@keyframes face-sweep { to { transform: translateX(100%); } }
body.face .nav-sec { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(226, 190, 112, .82); font-weight: 600; margin: 14px 12px 4px; display: flex; align-items: center; gap: 8px; }
body.face .nav-sec::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(212, 169, 74, .25), transparent); }
body.face .nav a { position: relative; min-height: 36px; padding: 7px 12px; color: #aab5cc; transition: color .2s, background .25s, border-color .25s; }
body.face .nav a::before { display: none; }
body.face .nav-star { width: 8px; height: 8px; flex: 0 0 8px; background: currentColor; opacity: .4; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); transition: transform .3s var(--rise), opacity .2s, filter .3s; }
body.face .nav a:hover { color: #f3ead2; background: rgba(255, 255, 255, .035); }
body.face .nav a:hover .nav-star { opacity: .9; transform: rotate(45deg) scale(1.2); }
body.face .nav a[aria-current="page"] { color: #f6dfa0; background: linear-gradient(90deg, rgba(212, 169, 74, .20), rgba(212, 169, 74, .04) 70%, transparent); border-color: transparent; font-weight: 600; }
body.face .nav a[aria-current="page"]::after { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #f0cf78, #b98a2e); box-shadow: 0 0 12px rgba(240, 207, 120, .8); }
body.face .nav a[aria-current="page"] .nav-star { opacity: 1; color: #f0cf78; transform: scale(1.35); filter: drop-shadow(0 0 5px rgba(240, 207, 120, .95)); }
body.face .nav-badge { background: linear-gradient(180deg, #f07a52, #c8442a); box-shadow: 0 0 0 3px rgba(224, 96, 63, .18), 0 0 14px rgba(224, 96, 63, .55); }
body.face .fx-chip { margin: 8px 8px 4px; align-self: flex-start; font-size: 11px; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--edge-2); background: rgba(212, 169, 74, .06); color: #d9c48f; cursor: pointer; }
body.face .fx-chip:hover { border-color: var(--edge-hot); color: #f6dfa0; }
.fx-chip { display: none; } body.face .fx-chip, .nav .fx-chip { display: inline-block; }
body.face .nav .user { display: grid; gap: 1px; border-top: 1px solid var(--edge); }
body.face .user-name { color: #eef1f7; font-weight: 600; } body.face .user-role { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(212, 169, 74, .75); }
.nav .user-name, .nav .user-role { display: block; }

/* ---- page chrome ----------------------------------------------------------------------- */
body.face .main { padding-top: 30px; }
body.face .topbar h2 { font-size: 36px; font-weight: 600; letter-spacing: .015em; background: linear-gradient(180deg, #fffaf0 10%, #e9d7a6 60%, #c79b3f); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; padding-bottom: 6px; }
body.face .topbar h2::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; border-radius: 2px; background: linear-gradient(90deg, #d4a94a, rgba(212, 169, 74, 0)); transform-origin: left; animation: face-draw .9s .15s var(--rise) backwards; }
@keyframes face-draw { from { transform: scaleX(0); } }
body.face .topbar .muted { color: #8f9bb6; font-style: italic; font-family: var(--display); font-size: 16px; }

/* ---- surfaces -------------------------------------------------------------------------- */
/* Cards are near-opaque glass WITHOUT backdrop-filter: a live sky behind dozens of blurred cards
   would re-blur each of them every frame. Only the few big panes (nav, table, drawer, modal,
   sign-in card) blur what is behind them. */
body.face :is(.card, .sug, .agent, .msg, .col, .empty, .blitz-card, .objection, .athena, .today-row) {
  background: linear-gradient(180deg, rgba(20, 30, 54, .86), rgba(9, 15, 30, .88)); border: 1px solid var(--edge); box-shadow: var(--shadow);
}
body.face .card { border-radius: 18px; padding: 18px 18px 16px; transition: transform .35s var(--rise), border-color .3s, box-shadow .35s; }
body.face .card::after { height: 1px; background: linear-gradient(90deg, rgba(240, 207, 120, .9), rgba(240, 207, 120, 0) 75%); opacity: 1; }
@media (hover: hover) { body.face .card:hover { transform: translateY(-3px); border-color: var(--edge-2); box-shadow: 0 30px 70px rgba(0, 3, 12, .6), 0 0 0 1px rgba(240, 207, 120, .08), 0 0 40px rgba(212, 169, 74, .08); } }
body.face .card .k { color: rgba(212, 169, 74, .82); letter-spacing: .16em; font-size: 11px; }
body.face .card .v, body.face .blitz-phone, .voy-n { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: 'lnum' 1, 'tnum' 1; }
body.face .card .v { font-size: 42px; font-weight: 600; margin-top: 4px; background: linear-gradient(180deg, #ffffff 20%, #ecd9a4 75%, #c99d42); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.face .card .v[style*="danger"] { background: linear-gradient(180deg, #ffb59f, #e0603f); -webkit-background-clip: text; background-clip: text; }
body.face .card .s { color: #8f9bb6; }
body.face .cards { gap: 14px; }
body.face .empty { border-style: solid; border-color: var(--edge); color: #aab5cc; }
body.face .section h4 { color: rgba(212, 169, 74, .78); letter-spacing: .2em; font-size: 11.5px; display: flex; align-items: center; gap: 10px; margin-top: 26px; }
body.face .section h4::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(212, 169, 74, .3), transparent); }

/* ---- controls -------------------------------------------------------------------------- */
body.face .btn { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(34, 50, 86, .8), rgba(18, 28, 50, .8)); border-color: var(--line-strong); border-radius: 10px; transition: border-color .25s, box-shadow .25s, transform .15s, background .25s; }
body.face .btn:hover { border-color: var(--edge-hot); box-shadow: 0 0 0 1px rgba(240, 207, 120, .12), 0 8px 24px rgba(0, 0, 0, .35); background: linear-gradient(180deg, rgba(44, 63, 104, .85), rgba(22, 34, 60, .85)); }
body.face .btn-ghost { background: transparent; border-color: transparent; } body.face .btn-ghost:hover { background: rgba(255, 255, 255, .04); border-color: var(--edge); box-shadow: none; }
body.face .btn-primary { background: linear-gradient(180deg, #f6d98a, #d4a94a 55%, #b8892e); color: #1b1407; border-color: #9d7628; box-shadow: 0 6px 22px rgba(212, 169, 74, .28), 0 1px 0 rgba(255, 255, 255, .45) inset; }
body.face .btn-primary:hover { background: linear-gradient(180deg, #fbe3a2, #e2b85a 55%, #c2943a); border-color: #b8892e; box-shadow: 0 10px 30px rgba(212, 169, 74, .4), 0 1px 0 rgba(255, 255, 255, .5) inset; }
body.face .btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); transition: left .7s var(--rise); pointer-events: none; }
body.face .btn:hover::after { left: 120%; }
body.face .btn-danger { color: #ff9b85; border-color: rgba(224, 96, 63, .55); }
body.face .input { background: rgba(6, 11, 24, .62); border-color: var(--line-strong); border-radius: 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
body.face .input:hover { border-color: rgba(212, 169, 74, .3); }
body.face .input:focus { border-color: #e2b85a; box-shadow: 0 0 0 3px rgba(212, 169, 74, .16), 0 0 24px rgba(212, 169, 74, .12); }
body.face .pill { background: color-mix(in srgb, currentColor 13%, transparent); border-color: color-mix(in srgb, currentColor 45%, transparent) !important; font-size: 11.5px; letter-spacing: .03em; padding: 2px 10px; }
body.face .tabs { border-bottom-color: var(--edge); }
body.face .tabs button[aria-selected="true"] { color: #f6dfa0; border-bottom-color: #e2b85a; text-shadow: 0 0 14px rgba(240, 207, 120, .45); }
body.face .menu { background: rgba(10, 16, 32, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--edge-2); animation: face-rise .22s var(--rise) backwards; }

/* ---- lists ----------------------------------------------------------------------------- */
body.face table.list { background: linear-gradient(180deg, rgba(16, 25, 46, .74), rgba(9, 14, 28, .74)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--edge); border-radius: 16px; box-shadow: var(--shadow); }
body.face table.list th { background: rgba(212, 169, 74, .07); color: rgba(212, 169, 74, .85); letter-spacing: .14em; border-bottom-color: var(--edge-2); }
body.face table.list td { border-bottom-color: rgba(120, 140, 190, .10); transition: background .25s; }
body.face table.list tbody tr:hover td { background: linear-gradient(90deg, rgba(212, 169, 74, .10), rgba(212, 169, 74, .02) 60%, transparent); }
body.face table.list tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 #e2b85a; }
body.face .heat { background: rgba(255, 255, 255, .06); }
body.face .timeline li { border-left-color: rgba(212, 169, 74, .3); }

/* ---- the deal room --------------------------------------------------------------------- */
body.face .callout { background: linear-gradient(90deg, rgba(224, 96, 63, .22), rgba(224, 96, 63, .05) 60%, rgba(10, 16, 32, .6)); border-color: rgba(224, 96, 63, .55); border-radius: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 40px rgba(224, 96, 63, .10); }
body.face .callout b { color: #ffd2c4; }
body.face .sug { border-radius: 16px; border-left-width: 3px; transition: transform .3s var(--rise), box-shadow .3s, border-color .3s; }
@media (hover: hover) { body.face .sug:hover { transform: translateY(-2px); box-shadow: 0 30px 70px rgba(0, 3, 12, .6); } }
body.face .sug-head .t { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.2; color: #f4ecd6; }
body.face .quote { background: rgba(4, 8, 18, .55); border-color: var(--line); border-left-color: rgba(212, 169, 74, .5); }
body.face .kanban { gap: 14px; }
body.face .col { border-radius: 16px; padding: 12px; }
body.face .col h4 .count { font-family: var(--font); font-size: 12px; color: #8f9bb6; }
body.face .col h4 { font-family: var(--display); font-size: 17px; letter-spacing: .02em; padding-bottom: 8px; border-bottom: 1px solid var(--edge); }
body.face .kcard { background: linear-gradient(180deg, rgba(30, 44, 76, .85), rgba(16, 25, 46, .85)); border-color: var(--edge); border-radius: 12px; transition: transform .3s var(--rise), box-shadow .3s, border-color .3s; }
@media (hover: hover) { body.face .kcard:hover { transform: translateY(-3px) rotate(-.3deg); border-color: var(--edge-hot); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 24px rgba(212, 169, 74, .12); } }
body.face .kcard .t { font-family: var(--display); font-size: 17px; line-height: 1.2; color: #f4ecd6; }
body.face .agent-chip, body.face .chip { background: rgba(10, 16, 32, .7); border-color: var(--edge); }
body.face .blitz-phone { background: linear-gradient(180deg, #fff, #e9c46a); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.face .status-strip { border-top-color: var(--edge); color: #8f9bb6; }

/* ---- overlays -------------------------------------------------------------------------- */
body.face .modal-back { background: radial-gradient(circle at 50% 30%, rgba(4, 8, 20, .55), rgba(2, 4, 10, .78)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: face-fade .2s ease backwards; }
body.face .modal { background: linear-gradient(180deg, rgba(20, 30, 54, .92), rgba(10, 16, 32, .94)); border-color: var(--edge-2); border-radius: 18px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: face-pop .32s var(--rise) backwards; box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 1px rgba(240, 207, 120, .06); }
@keyframes face-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
body.face .drawer { background: linear-gradient(180deg, rgba(14, 22, 42, .94), rgba(7, 12, 24, .96)); border-left-color: var(--edge-2); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); animation: face-slide .38s var(--rise) backwards; box-shadow: -40px 0 120px rgba(0, 0, 0, .6); }
@keyframes face-slide { from { transform: translateX(40px); opacity: 0; } }
body.face .drawer-head { background: transparent; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--edge); }
body.face .drawer-head h3 { font-size: 24px; background: linear-gradient(180deg, #fffaf0, #e9d7a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.face .toast { background: rgba(14, 22, 42, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--edge-2); border-radius: 12px; animation: face-pop .3s var(--rise) backwards; }

/* ---- sign-in: an astrolabe turning behind the card -------------------------------------- */
body.face .auth { overflow: hidden; }
body.face .auth::before { content: ""; position: absolute; width: min(1100px, 150vmin); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(212, 169, 74, .22) 0 .25deg, transparent .25deg 5deg),
              radial-gradient(circle, transparent 0 39.6%, rgba(212, 169, 74, .30) 39.8% 40%, transparent 40.2% 47.6%, rgba(212, 169, 74, .18) 47.8% 48%, transparent 48.2% 64.6%, rgba(212, 169, 74, .12) 64.8% 65%, transparent 65.2%);
  -webkit-mask: radial-gradient(circle, transparent 0 38%, #000 40% 66%, transparent 68%); mask: radial-gradient(circle, transparent 0 38%, #000 40% 66%, transparent 68%);
  animation: face-turn 240s linear infinite; opacity: .55; }
@keyframes face-turn { to { rotate: 360deg; } }
body.face .auth-card { background: linear-gradient(180deg, rgba(18, 28, 52, .78), rgba(8, 13, 27, .82)); border: 1px solid var(--edge-2); border-radius: 22px; backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 50px 140px rgba(0, 0, 0, .65), 0 0 0 1px rgba(240, 207, 120, .05), 0 0 80px rgba(212, 169, 74, .07); animation: face-pop .7s .2s var(--rise) backwards; }
body.face .auth-card .tagline { color: #d9c48f; font-size: 19px; }
body.face .apps .btn { font-size: 12.5px; }

/* ---- the voyage chart ------------------------------------------------------------------ */
.voyage { display: none; }
body.face .voyage { display: block; margin: 0 0 16px; padding: 16px 18px 6px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(900px 260px at 50% 120%, rgba(91, 141, 239, .10), transparent 70%), linear-gradient(180deg, rgba(14, 22, 42, .78), rgba(6, 10, 22, .78)); }
.voyage-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.voyage-head .eyebrow { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(212, 169, 74, .8); font-weight: 600; }
.voyage-head h3 { margin: 2px 0 0; font-size: 24px; color: #f4ecd6; font-weight: 600; }
.voyage-meta { font-size: 12px; color: #7f8aa3; font-style: italic; font-family: var(--display); font-size: 14px; }
.voyage-svg { display: block; width: 100%; min-width: 980px; height: auto; margin-top: 4px; }
.vg-grid line { stroke: rgba(212, 169, 74, .06); stroke-width: 1; }
.vg-ahead { fill: none; stroke: rgba(212, 169, 74, .32); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.vg-done { fill: none; stroke: url(#vg-gold); stroke-width: 3; stroke-linecap: round; filter: url(#vg-glow); stroke-dasharray: 1000; stroke-dashoffset: 0; animation: vg-draw 2.6s .3s var(--rise, ease) backwards; }
@keyframes vg-draw { from { stroke-dashoffset: 1000; } }
.vg-leg rect { fill: rgba(5, 9, 20, .88); stroke: rgba(212, 169, 74, .38); }
.vg-leg text { fill: #e9c46a; font: 600 11.5px var(--mono); text-anchor: middle; }
.voyage-isle { cursor: pointer; outline: none; transform-box: fill-box; transform-origin: center; animation: vg-isle .7s var(--rise, ease) backwards; animation-delay: calc(var(--i) * 110ms + .2s); transition: filter .3s; }
@keyframes vg-isle { from { opacity: 0; transform: translateY(8px) scale(.9); } }
.voyage-isle .land { stroke: rgba(240, 207, 120, .38); stroke-width: 1.2; transition: stroke .3s; }
.voyage-isle .ridge { fill: rgba(255, 255, 255, .045); }
.voyage-isle:not(.reached) { opacity: .78; } .voyage-isle:not(.reached) .land { stroke-dasharray: 3 4; }
.voyage-isle.reached .land { stroke: rgba(240, 207, 120, .7); }
.voyage-isle.home .land { stroke: #f0cf78; } .voyage-isle .temple { fill: #f0cf78; }
.voyage-isle .focus-ring { fill: none; stroke: transparent; stroke-width: 2; stroke-dasharray: 4 4; }
.voyage-isle:focus-visible .focus-ring { stroke: #ffe2a0; }
.voyage-isle:hover, .voyage-isle:focus-visible { filter: drop-shadow(0 0 12px rgba(240, 207, 120, .55)); }
.voyage-isle:hover .land, .voyage-isle:focus-visible .land { stroke: #ffe2a0; }
.voy-n { fill: #f8efd8; font: 600 30px var(--display); text-anchor: middle; font-variant-numeric: tabular-nums; }
.voy-k { fill: rgba(226, 190, 112, .95); font: 600 10.5px var(--font); letter-spacing: .22em; text-anchor: middle; }
.voy-note { fill: #9aa6bf; font: italic 500 13px var(--display); text-anchor: middle; }
.vg-ship { filter: drop-shadow(0 0 6px rgba(240, 207, 120, .35)); }
.vg-ship .hull { fill: #c9973c; stroke: #f0cf78; stroke-width: .8; } .vg-ship .oars { stroke: #b38634; stroke-width: 1.2; stroke-linecap: round; }
.vg-ship .mast { stroke: #e9c46a; stroke-width: 1.6; fill: none; } .vg-ship .sail { fill: #f6ead0; stroke: #e9c46a; stroke-width: .6; }
.vg-ship .sail-mark { fill: none; stroke: #b0382a; stroke-width: 1.6; stroke-linecap: round; } .vg-ship .flag { fill: #e0603f; }
.vg-ship .wake { fill: none; stroke: rgba(233, 196, 106, .5); stroke-width: 1.4; stroke-linecap: round; }
.vg-ship .bob { animation: vg-bob 4.2s ease-in-out infinite; }
@keyframes vg-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3px) rotate(2deg); } }
.vg-rose circle { fill: none; stroke: rgba(212, 169, 74, .35); } .vg-rose path { fill: rgba(212, 169, 74, .55); } .vg-rose text { fill: rgba(212, 169, 74, .8); font: 600 10px var(--font); text-anchor: middle; }

/* ---- boot: the compass finds north ----------------------------------------------------- */
.ody-boot { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 14px; pointer-events: none;
  background: radial-gradient(900px 600px at 50% 45%, #0e1932, #050912 70%, #02040a); transition: opacity .75s ease, transform .75s ease; }
.ody-boot.out { opacity: 0; transform: scale(1.04); }
.ody-rose { width: min(240px, 46vmin); height: auto; overflow: visible; }
.ody-rose .ring { fill: none; stroke: rgba(240, 207, 120, .7); stroke-width: 1; stroke-dasharray: 700; animation: boot-ring 1.1s var(--rise, ease) backwards; }
.ody-rose .r2 { stroke-opacity: .35; animation-delay: .12s; } .ody-rose .r3 { stroke-opacity: .5; animation-delay: .24s; }
@keyframes boot-ring { from { stroke-dashoffset: 700; } }
.ody-rose .tick { stroke: rgba(240, 207, 120, .55); stroke-width: 1; animation: face-fade .6s .35s backwards; }
.ody-rose .star path { fill: #e9c46a; } .ody-rose .star path.dk { fill: #8f6a22; }
.ody-rose .star { transform-origin: 0 0; animation: boot-star .9s .3s var(--rise, ease) backwards; }
@keyframes boot-star { from { opacity: 0; transform: scale(.4) rotate(-45deg); } }
.ody-rose .needle path { fill: #fff3d0; filter: drop-shadow(0 0 6px rgba(255, 240, 200, .9)); }
.ody-rose .needle { transform-origin: 0 0; animation: boot-needle 1.3s .25s cubic-bezier(.3, 1.6, .5, 1) backwards; }
@keyframes boot-needle { from { transform: rotate(-150deg); } }
.ody-rose .hub { fill: #1a1407; stroke: #e9c46a; }
.ody-rose .cardinal { fill: #f0cf78; font: 600 14px var(--display); text-anchor: middle; }
.ody-boot-word { font: 600 clamp(28px, 5vw, 46px) var(--display); letter-spacing: .5em; margin-right: -.5em; background: linear-gradient(180deg, #fffaf0, #e9c46a 70%, #a8802a); -webkit-background-clip: text; background-clip: text; color: transparent; animation: face-rise .9s .5s var(--rise, ease) backwards; }
.ody-boot-sub { font: italic 500 18px var(--display); color: #b9a77a; animation: face-fade .8s .8s backwards; }

/* ---- small screens --------------------------------------------------------------------- */
@media (max-width: 900px) {
  body.face .nav { border-image: none; border-top: 1px solid var(--edge-2); background: rgba(5, 9, 20, .9); }
  body.face .nav-sec { display: none; }
  body.face .fx-chip { flex: 0 0 auto; align-self: center; margin: 0 6px; min-height: 36px; }
  body.face .nav a[aria-current="page"]::after { left: 8px; right: 8px; top: auto; bottom: 0; width: auto; height: 2px; border-radius: 2px; }
  body.face .topbar h2 { font-size: 28px; }
  body.face .card .v { font-size: 34px; }
  .voyage-head h3 { font-size: 19px; }
  body.face .nav .user, body.face .nav .version { display: none; }
  body.face .nav a { min-height: 44px; }
}
/* On a phone the chart keeps its full size and scrolls sideways under the finger. */
.voyage-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.voyage-scroll::-webkit-scrollbar { display: none; }
.voyage-hint { display: none; font-size: 11.5px; color: #7f8aa3; margin: 2px 0 6px; }
@media (max-width: 1240px) { .voyage-hint { display: block; } }

/* A still sky means a still page: no endless motion anywhere (also forced by reduced motion). */
body.fx-still .ody-const circle, body.fx-still .vg-ship .bob, body.fx-still .auth::before { animation: none; }
