:root,[data-theme=pink]{--ground:#f6eef2;--card:#fff;--chip:#f5dde5;--ink:#232228;--muted:#5c5a60}[data-theme=teal]{--ground:#edf1ea;--card:#fff;--chip:#d1dccc;--ink:#1f2320;--muted:#555b56}[data-theme=grey]{--ground:#f3f1ec;--card:#fff;--chip:#e3e0d9;--ink:#1e1d1b;--muted:#5c5a56}:root{--together:#f6cb4f;--together-ink:#232228;--together-soft:#fcf0a9;--inworld:#5ab379;--inworld-pale:#e1f3e9;--inworld-ink:#2b5a3b;--slt:#204849;--slt-row:#d7ecec;--slt-row-ink:#204849;--needle:#ff2e7e;--danger:#b4475f;--tod-day:#fff0a0;--tod-dawn:#ffd9b0;--tod-night:#b9c6f6;--sun:#e0a019;--moon:#5b5fc7;--edge:#fff;--on-colour:#fff;--offset-bg:#000;--offset-ink:#fff;--you-cell:#d3cdd1;--you-paint:color-mix(in srgb, var(--ink) 72%, var(--card));--blue:#4065d8;--blue-deep:#4065d8;--blue-soft:#bbc5f2;--rose:#c8516e;--rose-deep:#b4475f;--rose-soft:#dda6b9;--orange:#d0683a;--orange-deep:#b0532b;--orange-soft:#f0c3a8;--plum:#8a4fa8;--plum-deep:#8a4fa8;--plum-soft:#d3b8e0;--ochre:#bc7d2f;--ochre-deep:#93601f;--ochre-soft:#e8cc9e;--nav-height:56px;--nav-gap:14px}[data-theme=black]{--ground:#18171b;--card:#242329;--chip:#2e2d34;--ink:#f4f1f3;--muted:#a9a5ae;--inworld-pale:#1f3a2a;--inworld-ink:#9fddb5;--slt:#8fd1cf;--slt-row:#1e3a3a;--slt-row-ink:#8fd1cf;--tod-day:#6e6220;--tod-dawn:#6e4a2c;--tod-night:#2e3a73;--moon:#a3a6f7;--offset-bg:#f4f1f3;--offset-ink:#18171b;--on-colour:#18171b;--you-cell:#726d78;--you-paint:color-mix(in srgb, var(--ink) 62%, var(--card));--blue:#7b95f0;--blue-deep:var(--blue);--blue-soft:color-mix(in srgb, var(--blue) 45%, var(--card));--rose:#e07a93;--rose-deep:var(--rose);--rose-soft:color-mix(in srgb, var(--rose) 45%, var(--card));--orange:#e8936a;--orange-deep:var(--orange);--orange-soft:color-mix(in srgb, var(--orange) 45%, var(--card));--plum:#b784d0;--plum-deep:var(--plum);--plum-soft:color-mix(in srgb, var(--plum) 45%, var(--card));--ochre:#dda75e;--ochre-deep:var(--ochre);--ochre-soft:color-mix(in srgb, var(--ochre) 45%, var(--card));--danger:#e07a93;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.hue-blue{--hue:var(--blue);--hue-deep:var(--blue-deep);--hue-soft:var(--blue-soft)}.hue-rose{--hue:var(--rose);--hue-deep:var(--rose-deep);--hue-soft:var(--rose-soft)}.hue-orange{--hue:var(--orange);--hue-deep:var(--orange-deep);--hue-soft:var(--orange-soft)}.hue-plum{--hue:var(--plum);--hue-deep:var(--plum-deep);--hue-soft:var(--plum-soft)}.hue-ochre{--hue:var(--ochre);--hue-deep:var(--ochre-deep);--hue-soft:var(--ochre-soft)}*{box-sizing:border-box}html,body{background:var(--ground)}body{color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font:500 16px/1.45 Poppins,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit;color:inherit}h1,h2,p{margin:0}.app{background:var(--ground);min-height:100dvh;color:var(--ink)}.main{max-width:560px;padding:20px 16px calc(var(--nav-gap) + var(--nav-height) + env(safe-area-inset-bottom) + 16px);flex-direction:column;gap:16px;margin:0 auto;display:flex}.nav{left:50%;bottom:calc(var(--nav-gap) + env(safe-area-inset-bottom));width:min(360px,100% - 32px);height:var(--nav-height);background:var(--card);z-index:20;border-radius:999px;gap:4px;padding:6px;display:flex;position:fixed;transform:translate(-50%)}.nav-item{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;flex:1;font-size:14px;font-weight:700}.nav-item.is-active{background:var(--ground);color:var(--ink)}.muted{color:var(--muted)}.small{font-size:13px}.page-title{letter-spacing:-.02em;font-size:34px;font-weight:800;line-height:1.1}.card{background:var(--card);border-radius:22px;flex-direction:column;gap:12px;padding:18px;display:flex}.card-title{font-size:15px;font-weight:700}.pills{flex-wrap:wrap;gap:6px;display:flex}.pill{white-space:nowrap;background:var(--chip);min-height:30px;color:var(--ink);border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:13px;font-weight:600;display:inline-flex}.pill.is-together{background:var(--together);color:var(--together-ink)}.pill.is-inworld{background:var(--inworld-pale);color:var(--inworld-ink)}.pill.is-inworld:before{content:"";background:var(--inworld);border-radius:50%;width:8px;height:8px}.button{background:var(--ink);min-height:44px;color:var(--ground);cursor:pointer;border:0;border-radius:999px;align-self:flex-start;padding:10px 20px;font-weight:700}.button.is-quiet{background:var(--chip);color:var(--ink)}.button:focus-visible,.nav-item:focus-visible,.chip:focus-visible{outline:3px solid var(--needle);outline-offset:2px}.back{align-self:flex-start}.avatar{background:var(--hue);width:52px;height:52px;color:var(--on-colour);border-radius:50%;flex:none;place-items:center;font-size:22px;font-weight:700;display:grid;position:relative}.avatar-dot{background:var(--inworld);border:3px solid var(--card);border-radius:50%;width:16px;height:16px;position:absolute;bottom:-1px;right:-1px}.field{flex-direction:column;gap:6px;font-weight:600;display:flex}.field input,.field select{background:var(--ground);border:0;border-radius:999px;max-width:100%;min-height:44px;padding:10px 16px;font-weight:500}.row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.toggle{cursor:pointer;align-items:center;gap:12px;min-height:44px;display:flex}.toggle-text{flex-direction:column;flex:1;font-weight:600;display:flex}.toggle-text .small{font-weight:500}.toggle input{opacity:0;pointer-events:none;position:absolute}.toggle-track{background:var(--chip);border-radius:999px;flex:none;width:50px;height:30px;transition:background .15s;position:relative}.toggle-knob{background:var(--edge);border-radius:50%;width:24px;height:24px;transition:transform .15s;position:absolute;top:3px;left:3px}.toggle input:checked+.toggle-track{background:var(--inworld)}.toggle input:checked+.toggle-track .toggle-knob{transform:translate(20px)}.toggle input:focus-visible+.toggle-track{outline:3px solid var(--needle);outline-offset:2px}.syncline{color:var(--muted);text-align:center;background:var(--chip);border-radius:999px;padding:6px 12px;font-size:13px}.syncline-button{cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.button.is-danger{background:var(--danger);color:var(--on-colour)}.button:disabled{opacity:.6;cursor:default}.device-link input{background:var(--ground);border:0;border-radius:999px;flex:1;min-width:0;min-height:44px;padding:10px 16px;font-size:13px}.device-link{align-items:center}.field-problem{color:var(--danger);margin-top:-4px;font-weight:600}.clock-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.clock-item{align-items:center;gap:12px;min-height:44px;display:flex}.clock-item-city{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:700;overflow:hidden}.clock-remove{cursor:pointer;border:0;min-height:36px}.clock-remove:focus-visible{outline:3px solid var(--needle);outline-offset:2px}.topline{justify-content:space-between;align-items:center;gap:12px;display:flex}.tag{background:var(--card);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:4px 12px 4px 5px;font-size:14px;font-weight:700;display:inline-flex}.topline-clock{white-space:nowrap;font-size:13px;font-weight:600}.slt-text{color:var(--slt)}.title-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.gear{background:var(--card);width:48px;height:48px;color:var(--ink);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.gear:focus-visible{outline:3px solid var(--needle);outline-offset:2px}.cards{flex-direction:column;gap:12px;display:flex}.person-card{text-align:left;cursor:pointer;width:100%;color:var(--ink);border:0}.person-card:focus-visible{outline:3px solid var(--needle);outline-offset:2px}.person-top{align-items:center;gap:14px;display:flex}.person-info{flex-direction:column;flex:1;min-width:0;display:flex}.person-meta{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.big-time{white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-weight:700;line-height:1.05}.big-time-period{letter-spacing:0;font-size:.5em;font-weight:600}.person-time{font-size:38px}.sun-moon{flex:none}.sun-moon.is-sun{stroke:var(--sun)}.sun-moon.is-moon{stroke:var(--moon)}.inworld{flex-direction:column;gap:8px;display:flex}.inworld-button{background:var(--ink);width:100%;min-height:56px;color:var(--ground);cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:10px;font-size:16px;font-weight:700;display:flex}.inworld-button:focus-visible{outline:3px solid var(--needle);outline-offset:2px}.inworld-dot{background:var(--muted);border-radius:50%;width:12px;height:12px}.inworld-button.is-on{background:var(--inworld-pale);color:var(--inworld-ink)}.inworld-button.is-on .inworld-dot{background:var(--inworld)}.inworld-note{text-align:center}.screen{flex-direction:column;gap:16px;display:flex}.person-head{align-items:center;gap:14px;display:flex}.person-name{font-size:26px;font-weight:800;line-height:1.15}.week-rows{flex-direction:column;gap:5px;display:flex}.week-row{grid-template-columns:36px 1fr;align-items:center;gap:8px;display:grid}.week-day{color:var(--muted);font-size:12px;font-weight:700}.week-row.is-today .week-day{color:var(--ink)}.week-cells{grid-template-columns:repeat(24,1fr);gap:2px;display:grid}.week-cell{background:var(--ground);border-radius:4px;height:20px;display:inline-block}.week-cell.is-both{background:var(--together-soft)}.week-cell.is-mine{background:var(--you-cell)}.week-cell.is-theirs{background:var(--hue-soft)}.week-marks .week-cells{height:16px}.week-mark{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:700}.legend{color:var(--muted);flex-wrap:wrap;gap:6px 14px;padding-top:8px;font-size:12px;font-weight:600;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.legend .week-cell{width:14px;height:14px}.button.is-big{min-height:56px;padding:14px 28px;font-size:17px}.empty-card{align-items:flex-start}.empty-card p{font-size:17px;font-weight:600}.invite{flex-direction:column;gap:8px;display:flex}.pill-button{background:var(--card);min-height:36px;color:var(--ink);cursor:pointer;border:0;border-radius:999px;align-self:flex-start;padding:6px 16px;font-size:14px;font-weight:700}.pill.is-demo{background:var(--ground);color:var(--muted)}.notes{flex-direction:column;gap:8px;display:flex}.note{background:var(--card);min-height:44px;color:var(--muted);text-align:left;cursor:pointer;border:0;border-radius:999px;justify-content:space-between;align-items:center;gap:12px;padding:8px 16px;font-size:14px;font-weight:600;display:flex}.note-x{font-size:18px;line-height:1}.text-button{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;align-self:center;padding:8px 12px;font-size:14px;font-weight:600;text-decoration:underline}.pill-button:focus-visible,.note:focus-visible,.text-button:focus-visible{outline:3px solid var(--needle);outline-offset:2px}.join-card{gap:14px}.join-title{font-size:26px;font-weight:800;line-height:1.15}.join-wait{text-align:center;padding:40px 0}.setup-step{letter-spacing:.02em;font-weight:700}.setup-city{font-size:26px;font-weight:800;line-height:1.15}.main.is-wheel{min-height:100dvh;padding-bottom:0}.wheel-screen{flex-direction:column;flex:1;gap:8px;display:flex}.offset-row{align-items:center;height:40px;display:flex}.offset-pill{background:var(--offset-bg);min-width:150px;height:40px;color:var(--offset-ink);white-space:nowrap;font-variant-numeric:tabular-nums;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0 18px;font-size:15px;font-weight:700;display:inline-flex}.hint{font-weight:600}.wheel-rows{flex-direction:column;gap:5px;display:flex}.wheel-row{background:var(--card);height:48px;color:var(--ink);border-radius:22px;justify-content:space-between;align-items:center;gap:12px;padding:0 16px;display:flex}.wheel-row-text{flex-direction:column;min-width:0;display:flex}.wheel-row-label{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:700;line-height:1.3;overflow:hidden}.wheel-row-status{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:600;line-height:1.3}.wheel-row-time{flex:none;font-size:30px}.wheel-row.is-free{background:var(--hue-deep);color:var(--on-colour)}.wheel-row.is-free .wheel-row-status{color:inherit;opacity:.85}.wheel-row.is-slt{background:var(--slt-row);color:var(--slt-row-ink)}.wheel-row.is-slt .wheel-row-status{color:inherit;opacity:.8}.wheel-row.is-clock{box-shadow:inset 0 0 0 1.5px var(--chip);background:0 0}.wheel-row.is-clock .wheel-row-label{color:var(--muted)}.wheel-row.is-clock .wheel-row-status{font-weight:500}.clock-row-right{flex:none;align-items:center;gap:8px;display:flex}.clock-row-time{color:var(--ink);font-size:26px}.banner-slot{height:44px}.banner{background:var(--together);height:44px;color:var(--together-ink);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;font-weight:700;display:flex}.wheel-area{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;height:300px;margin:auto -16px 0;position:relative;overflow:hidden}.wheel-area:active{cursor:grabbing}.wheel{width:480px;height:480px;margin-left:-240px;position:absolute;top:22px;left:50%}.wheel-ring{border:3px solid var(--edge);background:conic-gradient(var(--tod-night) 0deg 90deg, var(--tod-dawn) 90deg 105deg, var(--tod-day) 105deg 270deg, var(--tod-dawn) 270deg 285deg, var(--tod-night) 285deg 360deg);border-radius:50%;position:absolute;inset:0}.wheel-hole{background:var(--ground);border:3px solid var(--edge);border-radius:50%;position:absolute;inset:48px}.wheel-label{color:var(--muted);font-size:12px;font-weight:700;position:absolute;transform:translate(-50%,-50%)}.wheel-dot{background:var(--needle);border:2px solid var(--edge);border-radius:50%;width:12px;height:12px;position:absolute;transform:translate(-50%,-50%)}.wheel-needle{background:var(--needle);box-sizing:content-box;border:2px solid var(--edge);border-radius:999px;width:6px;height:64px;margin-left:-3px;position:absolute;top:12px;left:50%;transform:translate(-2px)}.wheel-centre{flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;top:100px;left:50%;transform:translate(-50%)}.wheel-centre-time{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:28px;font-weight:800;line-height:1.2}.back-to-now{cursor:pointer;min-width:0;min-height:44px;margin-top:4px;font-size:14px}.back-to-now.is-hidden{visibility:hidden}@media (height<=739px){.wheel-screen .hint{display:none}.wheel-area{height:282px}}.grid-wrap{background:var(--card);-webkit-user-select:none;user-select:none;border-radius:22px;padding:14px 12px}.grid-days,.grid-body{grid-template-columns:44px 1fr;display:grid}.grid-days{color:var(--muted);text-align:center;grid-template-columns:44px repeat(7,1fr);padding-bottom:6px;font-size:12px;font-weight:700}.grid-hours{color:var(--muted);grid-template-rows:repeat(24,26px);font-size:10px;font-weight:600;display:grid}.grid-hours span{transform:translateY(-6px)}.grid{touch-action:none;cursor:crosshair;grid-template-rows:repeat(48,13px);grid-template-columns:repeat(7,1fr);gap:0 3px;display:grid}.grid-cell{background:var(--chip);border-top:1px solid #0000}.grid-cell.is-hour{border-top-color:var(--card)}.grid-cell.is-free{background:var(--you-paint)}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--chip);min-width:52px;min-height:44px;color:var(--ink);cursor:pointer;border:0;border-radius:999px;padding:0 14px;font-weight:600}.chip.is-on{background:var(--ink);color:var(--ground)}.swatches{gap:10px;display:flex}.swatch{cursor:pointer;color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding:0;font-size:12px;font-weight:600;display:flex}.swatch-ring{border:3px solid #0000;border-radius:50%;width:52px;height:52px;padding:4px;display:block}.swatch.is-on{color:var(--ink)}.swatch.is-on .swatch-ring{border-color:var(--ink)}.swatch:focus-visible{outline:3px solid var(--needle);outline-offset:2px;border-radius:12px}.swatch-inner{background:linear-gradient(135deg, var(--ground) 50%, var(--chip) 50%);width:100%;height:100%;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent);border-radius:50%;display:block}.hud-pairing{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.hud-code{letter-spacing:.18em;font-variant-numeric:tabular-nums;background:var(--chip);border-radius:16px;margin:0;padding:10px 18px 10px calc(18px + .18em);font-family:ui-monospace,Menlo,Consolas,monospace;font-size:40px;font-weight:800}.hud-steps{text-align:left;flex-direction:column;gap:2px;margin:0;padding-left:20px;display:flex}.settings-footer{text-align:center;padding:8px 0 4px}
