/* PnM Space: a shared notebook for Pravit and Mariell. */
:root {
  color-scheme: light;
  --bg: #e8e0d5;
  --surface: #fffdf7;
  --ink: #3e3338;
  --muted: #71656a;
  --line: #e5dcd2;
  --accent: #754653;
  --soft: #f3e9e7;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
#app { position: relative; z-index: 1; }
.ambient-background { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient-wash { position: absolute; display: block; width: min(72vw, 900px); height: min(78vw, 940px); min-width: 420px; min-height: 450px; transform-origin: center; }
.ambient-lilac { top: -190px; right: -180px; background: radial-gradient(ellipse at 50% 45%, #d9c1ed59 0%, #eee2f82e 48%, transparent 73%); }
.ambient-blush { bottom: -280px; left: -240px; background: radial-gradient(ellipse at 50% 55%, #edd4e94d 0%, #f6e9ed26 49%, transparent 73%); }
html[data-motion="on"] .ambient-lilac { animation: lilac-drift 28s ease-in-out infinite alternate; }
html[data-motion="on"] .ambient-blush { animation: blush-drift 34s ease-in-out infinite alternate; }
html[data-page-hidden="true"] .ambient-wash { animation-play-state: paused; }
@keyframes lilac-drift { from { transform: translate3d(-24px, 0, 0) scale(1); } to { transform: translate3d(44px, 40px, 0) scale(1.07); } }
@keyframes blush-drift { from { transform: translate3d(0, 25px, 0) scale(1.02); } to { transform: translate3d(55px, -30px, 0) scale(.96); } }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: var(--accent); text-underline-offset: 4px; }
button, a { touch-action: manipulation; transition: color .12s, background .12s, border-color .12s; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #d9cce1; color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
svg.icon { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.65; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.eyebrow:empty { display: none; }
.eyebrow { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.skip-link { position: fixed; z-index: 200; top: -100px; left: 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--accent); padding: 10px 18px; }
.skip-link:focus { top: 12px; }
.app-shell { min-height: 100svh; }
.sidebar { display: flex; align-items: center; gap: 50px; width: min(1100px, calc(100% - 80px)); margin: 0 auto; padding: 29px 0 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; flex: none; }
.brand-name { color: #584263; font-family: var(--serif); font-size: 25px; letter-spacing: -.8px; font-weight: 600; line-height: 1.25; }
.brand-subtitle { color: var(--muted); font-size: 11px; margin-top: 4px; }
.navigation { display: flex; align-items: center; gap: 23px; }
.nav-button { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 43px; padding: 8px 0; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; white-space: nowrap; }
.nav-button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: #baa4cd; transform: scaleX(0); transform-origin: left; transition: transform .18s ease, background .18s ease; }
.nav-button .icon { display: none; }
.nav-button:hover { color: var(--ink); }
.nav-button.active { color: var(--ink); font-weight: 600; }
.nav-button.active::after { transform: scaleX(1); background: var(--accent); }
.profile { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #e6dfea; color: #574760; font-size: 10px; font-weight: 600; border-radius: 50%; flex: none; }
.profile-name { font-size: 12px; max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-details .small { font-size: 10px; color: var(--muted); }
.main-wrap { width: min(1100px, calc(100% - 80px)); margin: 0 auto; padding: 29px 0 60px; }
main { min-width: 0; }
html[data-motion="on"] .page-enter { animation: page-arrive .22s ease-out; }
@keyframes page-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.notice { color: #665e6b; font-size: 12px; line-height: 1.7; border-left: 2px solid #bcabc6; padding: 8px 12px; background: #ece6ef; margin-bottom: 24px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.page-heading h1 { font-family: var(--serif); font-size: 35px; font-weight: 400; letter-spacing: -.8px; }
.page-heading p { color: var(--muted); font-size: 13px; margin-top: 7px; }
.page-actions { display: flex; align-items: center; gap: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 9px 15px; border: 1px solid #cdb9de; border-radius: 5px; color: #493650; background: #e2d4ee; font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.button .icon { width: 15px; height: 15px; }
.button:hover { background: #603540; border-color: #603540; }
.button { transition: color .15s, background .15s, border-color .15s, box-shadow .15s, transform .15s; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: #c0b6c6; }
.button.secondary:hover { background: #f5ece5; border-color: #af978c; }
.button.soft { color: #503f5a; background: #e8dfed; border-color: #c9bcd1; }
.button.soft:hover { background: #e7d3d5; }
.button.danger { color: #8b4439; background: #fbede6; border-color: #ccaea1; }
.button.danger:hover { background: #f1ddd3; }
.button.compact { min-height: 38px; font-size: 11px; padding: 7px 11px; }
.button.wide { width: 100%; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; padding: 7px 0; color: #5b4966; background: transparent; font-size: 12px; text-decoration: none; }
.text-button .icon { width: 15px; height: 15px; }
.text-button:hover { color: #33233c; text-decoration: underline; text-underline-offset: 4px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px; width: 38px; min-height: 38px; color: #746b79; background: transparent; border: 1px solid transparent; border-radius: 4px; flex: none; }
.icon-button .icon { width: 16px; height: 16px; }
.icon-button:hover { background: #e6dfea; color: #45344f; border-color: #c8bccf; }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.filter-group { display: flex; align-items: center; gap: 23px; max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.filter { display: inline-flex; align-items: center; min-height: 43px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; white-space: nowrap; }
.filter.active { color: #3d2e46; border-color: var(--accent); font-weight: 600; }
.filter:hover { color: #3d2e46; }
.count { margin-left: 7px; color: #6b6072; font-size: 11px; font-weight: 400; }
.watch-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 139px 9ch; align-items: center; gap: 12px; margin-bottom: 18px; min-width: 0; }
.watch-search { position: relative; min-width: 0; }
.watch-search > .icon { position: absolute; width: 15px; height: 15px; top: 13px; left: 11px; color: #807387; pointer-events: none; }
.watch-search input, #watch-type { min-height: 41px; padding: 9px 11px; border: 1px solid #c7bdcc; border-radius: 4px; background: #fffcff; color: var(--ink); font-size: 12px; }
.watch-search input { width: 100%; min-width: 0; padding-left: 33px; padding-right: 39px; }
.watch-search .reset-filters { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; min-height: 32px; padding: 7px; }
.watch-search input::placeholder { color: #6a5e71; }
.watch-type { min-width: 0; }
#watch-type { width: 139px; max-width: 100%; }
.collection-count { color: var(--muted); font-size: 11px; width: 9ch; margin: 0; justify-self: end; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.watch-collection { min-width: 0; }
.watch-results { grid-column: 1 / -1; min-width: 0; }
.watch-grid { border-top: 1px solid var(--line); }
.watch-card { border-bottom: 1px solid var(--line); transition: background .18s ease; }
.watch-body { display: grid; grid-template-columns: minmax(0, 1fr) 275px; column-gap: 48px; padding: 24px 0; min-width: 0; }
.watch-kind { grid-column: 1; font-size: 10px; color: #6c6271; line-height: 1.5; margin-bottom: 6px; }
.watch-title { grid-column: 1; color: #47374f; font-size: 20px; font-weight: 500; letter-spacing: -.3px; line-height: 1.4; overflow-wrap: anywhere; }
.watch-note { grid-column: 1; color: #67606b; font-size: 13px; line-height: 1.7; margin-top: 8px; max-width: 650px; white-space: pre-wrap; overflow-wrap: anywhere; }
.watch-added { grid-column: 1; font-size: 11px; color: #6c6271; margin-top: 11px; }
.watch-bottom { grid-column: 2; grid-row: 1 / span 5; align-self: center; min-width: 0; }
.watch-open-link { min-height: 32px; padding: 4px 0; border: 0 !important; border-radius: 0; color: var(--accent) !important; background: transparent !important; font-size: 12px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 5px; }
.watch-votes { display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; }
.watch-votes > span { font-size: 10px; color: #6c6271; }
.vote-button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; min-height: 34px; color: #6b5b74; border: 0; border-radius: 3px; background: transparent; font-size: 12px; }
.vote-button .icon { width: 15px; height: 15px; }
.vote-button.active { color: #553c64; }
.vote-button.active .icon { fill: #ded1e6; }
.vote-button:hover { color: #3e234e; }
.watch-controls { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.status-select { flex: 1; min-width: 0; max-width: 100%; min-height: 38px; padding: 6px 8px; border: 1px solid #c7bbce; border-radius: 4px; color: #53455b; background: transparent; font-size: 11px; }
.watch-card[data-status=watched] .watch-note { font-family: var(--serif); font-size: 15px; font-style: italic; color: #695d4f; }
.watch-card[data-status=watched] .watch-kind { color: #71604f; }
.watch-card[data-status=watched] .status-select { color: #695c49; border-color: #cec7ba; }
.card { min-width: 0; border: 1px solid var(--line); background: transparent; border-radius: 5px; }
.watch-card.card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.watch-card:focus-within { background: #f1ebf6; }
.empty { display: flex; align-items: center; flex-direction: column; text-align: center; padding: 42px 24px; }
.full-empty { padding: 55px 24px; }
.empty-symbol { color: #867690; margin-bottom: 17px; }
.empty-symbol .icon { width: 27px; height: 27px; }
.empty h3 { font-size: 19px; font-weight: 500; margin-bottom: 9px; }
.empty p { max-width: 390px; color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-heading h2 { font-size: 20px; font-weight: 500; }
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.game-card { padding: 25px; display: flex; flex-direction: column; background: #fcf9fd; }
.game-card, .more-card { transition: border-color .18s, box-shadow .18s, transform .18s; }
.game-logo { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 19px; color: #604371; background: #e5daec; border: 1px solid #c7b5d2; border-radius: 4px; font-family: var(--serif); font-size: 27px; font-weight: 600; }
.game-logo.waffle { background: #f2ebd9; color: #8b702e; border-color: #e0d5b7; }
.game-logo.bandle { background: #eee6ef; color: #77547b; border-color: #dacbdd; }
.game-logo .icon { width: 24px; height: 24px; }
.game-card h2 { font-size: 23px; font-weight: 500; letter-spacing: -.4px; }
.game-subtitle { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 10px 0 21px; min-height: 44px; }
.game-card > .button { margin-top: auto; }
.players { padding-top: 16px; margin-top: 23px; border-top: 1px solid var(--line); }
.player-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; }
.player-row .avatar { width: 25px; height: 25px; font-size: 9px; }
.player-row-name { flex: 1; font-size: 11px; }
.player-state { color: #6c6271; font-size: 10px; white-space: nowrap; }
.player-state.done { color: #5b3d6d; }
.spoiler-note { display: flex; align-items: flex-start; gap: 6px; font-size: 10px; color: #6c6271; line-height: 1.8; margin: 6px 0 13px 33px; }
.spoiler-note .icon { width: 12px; height: 12px; margin-top: 3px; }
.game-result { color: #4d4054; background: #efe9f2; border: 1px solid #d6cbdc; border-radius: 3px; padding: 11px; font-size: 11px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 12px; }
.game-actions { margin-top: 18px; }
.game-actions .button { width: 100%; }
.games-explainer, .section-note { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 25px; max-width: 760px; }
.games-explainer .icon, .section-note .icon { width: 15px; height: 15px; margin-top: 3px; color: #7f7088; }
.more-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.more-card { padding: 26px; background: #fcf9fd; }
.more-symbol { color: #776681; margin-bottom: 16px; }
.more-card h2 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.more-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.more-count { display: block; font-size: 12px; color: #6c5e74; margin-top: 16px; }
.more-card .button { margin-top: 21px; }
.delivery-status { display: flex; align-items: center; gap: 8px; font-size: 12px; margin: 22px 0 12px; color: #66576e; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #876e96; flex: none; }
.status-dot.offline { background: #b2945e; }
.delivery-card p.small { font-size: 12px; }
.motion-control { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 0; cursor: pointer; }
.motion-control input { appearance: auto; width: 18px; height: 18px; min-width: 18px; margin: 4px 0 0; accent-color: var(--accent); cursor: pointer; }
.motion-control input:disabled { cursor: default; }
.motion-copy { display: flex; flex-direction: column; gap: 6px; }
.motion-copy strong { color: #51405e; font-size: 14px; font-weight: 500; }
.motion-copy span { color: var(--muted); font-size: 12px; line-height: 1.75; }
.more-card .setting-note { color: var(--muted); font-size: 11px; line-height: 1.75; margin-top: 7px; }
.back-link { margin-bottom: 17px; }
.back-link .icon { transform: rotate(180deg); }
.reminder-card-list { padding: 23px; }
.reminder-row { display: flex; align-items: flex-start; gap: 14px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.reminder-row:first-child { padding-top: 0; }
.reminder-row:last-child { padding-bottom: 0; border-bottom: 0; }
.reminder-symbol { display: grid; place-items: center; width: 34px; height: 36px; background: #e8dfed; color: #6b5379; border: 1px solid #d0c2d8; border-radius: 4px; flex: none; }
.reminder-symbol.shared { background: #f0ebde; color: #89744e; border-color: #e0d7c3; }
.reminder-symbol .icon { width: 17px; height: 17px; }
.reminder-content { flex: 1; min-width: 0; }
.reminder-title { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.reminder-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; font-size: 11px; color: var(--muted); margin-top: 8px; }
.tag { display: inline-flex; padding: 2px 6px; font-size: 10px; color: #644f70; background: #e8dfee; border: 1px solid #d1c1da; border-radius: 3px; }
.tag.orange { color: #856840; background: #f1eada; border-color: #ddd0b7; }
.row-actions { display: flex; gap: 2px; }
dialog { width: min(530px, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: 0; color: var(--ink); background: var(--surface); border: 1px solid #c0b3c7; border-radius: 7px; box-shadow: 0 16px 80px #29242c33; }
dialog::backdrop { background: #312d3366; }
html[data-motion="on"] dialog[open] { animation: dialog-arrive .16s ease-out; }
@keyframes dialog-arrive { from { opacity: 0; transform: translateY(5px) scale(.99); } to { opacity: 1; transform: none; } }
.modal-inner { padding: 27px; }
.modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.modal-heading h2 { font-size: 24px; font-weight: 500; letter-spacing: -.4px; }
.modal-heading .icon-button { margin-right: -8px; }
.modal-subtitle { font-size: 12px; color: var(--muted); line-height: 1.8; margin-bottom: 21px; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-top: 19px; min-width: 0; }
.form-field > label, .field-label { color: #584c5f; font-size: 12px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; background: #fffdfd; color: var(--ink); border: 1px solid #baadc2; border-radius: 4px; font-size: 14px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #6a5e71; }
.form-field textarea { min-height: 84px; resize: vertical; }
.form-hint { color: var(--muted); font-size: 11px; line-height: 1.75; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.presets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.preset { min-height: 36px; padding: 7px 10px; color: #614b6d; background: #efe9f2; border: 1px solid #c9bad2; border-radius: 4px; font-size: 11px; }
.preset:hover { background: #e3d8ea; }
.audience-field { border: 1px solid #c7bbce; border-radius: 4px; margin: 24px 0 0; padding: 8px 12px 13px; }
.audience-field legend { padding: 0 5px; }
.choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.choice { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; padding: 7px 0; cursor: pointer; }
.choice input { width: 17px; height: 17px; min-height: 17px; margin: 4px 0 0; padding: 0; accent-color: var(--accent); }
.choice strong { display: block; font-size: 12px; font-weight: 500; }
.choice span { display: block; font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-error { color: #943f35; background: #faeee8; border: 1px solid #d6b2a8; border-radius: 4px; font-size: 12px; padding: 12px; margin-top: 18px; }
.check-label { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; }
.check-label input { width: 18px; height: 18px; accent-color: var(--accent); }
.notifications { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; width: min(450px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 9px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; color: #f5eff8; background: #584662; border: 1px solid #4e3a5a; border-radius: 5px; box-shadow: 0 4px 16px #392a4222; padding: 12px 17px; font-size: 12px; overflow-wrap: anywhere; }
.toast.error { color: #fff4ec; background: #8a5145; border-color: #754136; }
html[data-motion="on"] .toast { animation: toast-arrive .18s ease-out; }
@keyframes toast-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.toast .icon { width: 16px; height: 16px; }
.pick-result { text-align: center; padding: 7px; }
.watch-tile { display: grid; place-items: center; color: #7e6c88; }
.pick-result .watch-tile { margin: 5px auto 16px; }
.pick-result .watch-tile .icon { width: 30px; height: 30px; stroke-width: 1.3; }
.pick-result h3 { font-family: var(--serif); font-size: 29px; font-weight: 400; margin: 15px 0; overflow-wrap: anywhere; }
.pick-result p { font-size: 13px; color: var(--muted); line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.pick-result .watch-open-link { margin-top: 15px; }
.login-screen { min-height: 100svh; width: min(510px, calc(100% - 40px)); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 52px 0; }
.login-screen > .brand { margin-bottom: 31px; padding: 0 17px; }
.login-art { margin-bottom: 30px; }
.login-art > div:not(.brand) { margin-top: 22px; }
.login-art h1 { font-size: 27px; font-weight: 500; }
.login-art p { color: var(--muted); font-size: 13px; margin-top: 12px; }
.login-box { padding: 28px; background: var(--surface); }
.login-box h1, .login-box h2 { font-size: 25px; font-weight: 500; margin-bottom: 15px; }
.login-box > p { font-size: 13px; color: var(--muted); }
.login-box > .button { margin-top: 24px; }
.login-box .login-privacy { font-size: 11px; margin-top: 14px; }
.loading-screen { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #6c5b76; }
.loading-screen .brand-name { font-size: 27px; color: var(--ink); }
.loading-screen p { font-size: 13px; }
.error-screen { max-width: 490px; margin: 18vh auto; padding: 35px; text-align: center; }
.error-screen > .icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 18px; }
.error-screen h1 { font-size: 26px; font-weight: 500; }
.error-screen p { margin: 18px 0; color: var(--muted); }
.noscript { margin: 30px; padding: 24px; border: 1px solid var(--line); text-align: center; }
@media (hover: hover) and (pointer: fine) {
  .nav-button:hover::after { transform: scaleX(1); }
  .watch-card:hover { background: #f1eaf680; }
  .game-card:hover, .more-card:hover { border-color: #cbb9da; box-shadow: 0 5px 18px #6250700a; }
  html[data-motion="on"] .button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 3px 9px #67537412; }
  html[data-motion="on"] .button:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
  html[data-motion="on"] .game-card:hover { transform: translateY(-2px); }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .button:active { transform: none; }
@media (min-width: 1000px) {
  .watch-collection { display: grid; grid-template-columns: max-content minmax(360px, 1fr); gap: 18px 28px; }
  .watch-status-toolbar, .watch-toolbar { margin-bottom: 0; }
  .watch-toolbar { min-height: 43px; }
}
@media (max-width: 950px) {
  .sidebar { gap: 32px; }
  .navigation { gap: 19px; }
  .profile-details { display: none; }
  .watch-body { column-gap: 30px; grid-template-columns: minmax(0, 1fr) 255px; }
  .games-grid { gap: 16px; }
  .game-card { padding: 21px 17px; }
}
@media (max-width: 720px) {
  .sidebar, .main-wrap { width: calc(100% - 40px); }
  .sidebar { flex-wrap: wrap; gap: 17px; padding: 21px 0 0; }
  .brand-name { font-size: 24px; }
  .profile { margin-left: auto; }
  .navigation { order: 3; width: 100%; gap: 24px; overflow-x: auto; scrollbar-width: thin; }
  .nav-button { min-height: 43px; font-size: 13px; }
  .main-wrap { padding: 23px 0 45px; }
  .page-heading h1 { font-size: 32px; }
  .page-heading { gap: 20px; flex-wrap: wrap; margin-bottom: 25px; }
  .page-actions { gap: 18px; }
  .watch-body { display: block; padding: 22px 0; }
  .watch-title { font-size: 20px; }
  .watch-note { margin-top: 9px; font-size: 13px; }
  .watch-added { margin-top: 10px; }
  .watch-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; margin-top: 13px; }
  .watch-open-link { margin-bottom: 0; }
  .watch-votes { flex: 1; }
  .watch-controls { width: 100%; margin-top: 8px; }
  .status-select { flex: none; min-width: 128px; margin-right: auto; min-height: 42px; font-size: 12px; }
  .icon-button { width: 42px; min-height: 42px; }
  .button, .text-button, .vote-button, .preset { min-height: 44px; }
  .watch-open-link { min-height: 38px; }
  .games-grid { grid-template-columns: 1fr; gap: 19px; }
  .game-card { padding: 25px; }
  .game-subtitle { min-height: 0; }
  .player-row-name, .game-result { font-size: 12px; }
  .player-state, .spoiler-note { font-size: 11px; }
  .more-grid { grid-template-columns: 1fr; gap: 20px; }
  .reminder-card-list { padding: 20px; }
  .reminder-row { flex-wrap: wrap; gap: 11px; }
  .reminder-content { flex-basis: calc(100% - 45px); }
  .row-actions { width: 100%; justify-content: flex-end; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
  .choice-group { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .sidebar, .main-wrap { width: calc(100% - 34px); }
  .navigation { gap: 21px; }
  .nav-button { font-size: 12px; }
  .page-heading { display: block; }
  .page-actions { margin-top: 20px; }
  .page-heading > .button { margin-top: 18px; }
  .filter-group { gap: 20px; width: 100%; }
  .filter { font-size: 12px; min-height: 43px; }
  .count { font-size: 10px; margin-left: 5px; }
  .watch-toolbar { grid-template-columns: minmax(0, 1fr) 9ch; gap: 10px; }
  .watch-search { grid-column: 1 / -1; }
  .watch-search input { min-height: 44px; font-size: 16px; }
  .watch-search > .icon { top: 14px; }
  #watch-type { font-size: 16px; min-height: 44px; width: 165px; }
  .collection-count { font-size: 11px; }
  .watch-votes { flex-basis: 100%; }
  .modal-inner { padding: 22px; }
  .modal-heading h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .button:active, html[data-motion="on"] .button:hover, html[data-motion="on"] .game-card:hover { transform: none; }
}

/* The shared notebook: a cream sheet with quiet folder tabs. */
.ambient-lilac { top:-250px; right:-220px; background:radial-gradient(ellipse at 50% 45%,#c5b6b636 0%,#d7cabc1a 46%,transparent 73%); }
.ambient-blush { background:radial-gradient(ellipse at 50% 55%,#d2b9a42b 0%,#ddd0bb1f 49%,transparent 73%); }
html[data-motion="on"] .ambient-lilac { animation-duration:38s; }
html[data-motion="on"] .ambient-blush { animation-duration:44s; }
.app-shell { width:min(1080px,calc(100% - 64px)); margin:0 auto; padding:36px 0 54px; }
.sidebar { width:auto; margin:0; padding:0 11px 30px; border:0; gap:24px; justify-content:space-between; }
.brand-name { color:var(--ink); font-size:34px; font-weight:400; letter-spacing:-1.2px; }
.brand-accent { color:var(--accent); font-weight:400; }
.brand-subtitle { color:#645456; font-size:11px; margin-top:6px; }
.profile-details { display:block; }
.profile-details .small { color:#645456; }
.profile-name { max-width:145px; }
.avatar { background:#e0cdd0; color:#67424d; border:1px solid #c9b4b6; }
.notebook { position:relative; padding:0 8px 12px; }
.navigation { position:relative; z-index:3; display:flex; align-items:flex-end; gap:6px; padding:0 20px; margin-bottom:-1px; width:auto; overflow:visible; }
.nav-button { --tab:#e2d6dd; --tab-border:#c6b5be; min-width:132px; min-height:48px; padding:13px 22px 12px; justify-content:center; border:1px solid var(--tab-border); border-bottom-color:#cfc1b5; border-radius:9px 9px 0 0; background:var(--tab); color:#63525d; font-size:12px; font-weight:500; }
.nav-button[data-tab="play"] { --tab:#dce2d7; --tab-border:#bdc8b4; color:#52614b; }
.nav-button[data-tab="reminders"] { --tab:#e9ddc8; --tab-border:#ccbea6; color:#705f40; }
.nav-button[data-tab="more"] { --tab:#e4d6d2; --tab-border:#cbb9b2; color:#70574e; }
.nav-button::after { display:none; }
.nav-button.active { color:var(--accent); background:var(--surface); border-color:#cfc1b5; border-bottom-color:var(--surface); }
.nav-button:focus-visible { z-index:5; }
.main-wrap { position:relative; isolation:isolate; width:auto; margin:0; padding:39px 46px 23px; border:1px solid #cfc1b5; border-radius:7px 7px 6px 6px; background:var(--surface); box-shadow:0 3px 8px #49342b05,0 18px 45px #49342b12; }
.main-wrap::before,.main-wrap::after { content:''; position:absolute; pointer-events:none; border:1px solid #cfc3b6; border-top:0; border-radius:0 0 5px 5px; }
.main-wrap::before { z-index:-1; left:4px; right:-4px; bottom:-6px; height:6px; background:#f7f2e9; }
.main-wrap::after { z-index:-2; left:9px; right:1px; bottom:-10px; height:4px; background:#eee7db; }
.eyebrow { color:#82645f; font-size:10px; letter-spacing:.12em; text-transform:uppercase; margin-bottom:10px; }
.page-heading h1 { font-size:38px; letter-spacing:-1.05px; }
.page-heading { margin-bottom:30px; }
.notebook-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; border-top:1px solid var(--line); margin-top:28px; padding-top:17px; color:#7c6d6a; font-size:10px; letter-spacing:.02em; }
.notebook-owners { color:#816d69; font-family:var(--serif); font-style:italic; font-size:13px; }
.notebook-section { text-align:right; }
.button { background:var(--accent); color:#fffaf3; border-color:var(--accent); }
.button.secondary { color:var(--ink); background:transparent; border-color:#c1b1a7; }
.button.soft { color:#674652; background:#f0e4e4; border-color:#d6bcbd; }
.button.danger { color:#863f36; background:#faede6; border-color:#d5afa1; }
.text-button { color:var(--accent); }
.icon-button { color:#7a6267; }
.filter.active { color:var(--accent); border-color:var(--accent); }
.filter:focus-visible { outline-offset:-3px; border-radius:3px; }
.count { color:#82706d; font-variant-numeric:tabular-nums; }
.watch-search input,#watch-type,.status-select { background:#fffefa; border-color:#cab9af; color:var(--ink); }
.watch-search input::placeholder { color:#796c6b; }
.watch-search > .icon { color:#876d73; }
.collection-count { color:#7a6d6a; }
.watch-body { grid-template-columns:26px minmax(0,1fr) 255px; column-gap:22px; padding:25px 2px; }
.watch-number { grid-column:1; grid-row:1 / span 4; align-self:start; padding-top:1px; color:#7b6465; font-family:var(--serif); font-size:14px; font-variant-numeric:tabular-nums; line-height:1.5; }
.watch-kind,.watch-title,.watch-note,.watch-added { grid-column:2; }
.watch-kind { color:#7d656c; }
.watch-title { color:#4c3640; font-family:var(--serif); font-size:23px; font-weight:400; letter-spacing:-.45px; line-height:1.3; }
.watch-note { color:#6d6260; }
.watch-added { color:#756163; }
.watch-bottom { grid-column:3; grid-row:1 / span 5; }
.watch-votes > span { color:#7a6a6c; }
.vote-button { color:#82626b; }
.vote-button.active { color:#753b4c; }
.vote-button.active .icon { fill:#ead1d7; }
.watch-card.card:focus-within { background:#f7f0e9; }
.card { background:#fdfaf3; }
.watch-card.card { background:transparent; }
.game-card { border-top:3px solid #c1c8b0; }
.game-card:has(.waffle) { border-top-color:#d6c39f; }
.game-card:has(.bandle) { border-top-color:#cab8cc; }
.game-card h2,.more-card h2,.modal-heading h2,.empty h3 { font-family:var(--serif); font-weight:400; }
.game-card h2,.more-card h2 { font-size:27px; }
.game-logo { color:#5b6650; background:#e7ecdf; border-color:#c7cfb7; }
.game-result { color:#5b4d4e; background:#f1ece3; border-color:#e0d6c8; }
.motion-copy strong { color:#61454e; }
.reminder-symbol { background:#f0e3e4; color:#825d67; border-color:#dac1c5; }
.tag { color:#79545c; background:#f0e1e4; border-color:#dbc3c7; }
dialog { border-color:#c3ada6; }
dialog::backdrop { background:#382c326b; }
.modal-heading h2 { font-size:29px; }
.form-field input,.form-field textarea,.form-field select { background:#fffefa; border-color:#bfa99f; }
.preset { color:#75545c; background:#f3e9e6; border-color:#d4bbb5; }
.audience-field { border-color:#c8b6ab; }
.toast { color:#fff9f0; background:#65414b; border-color:#563741; }
.login-box { background:var(--surface); border-color:#cfc1b5; box-shadow:4px 5px 0 #f0e9df,4px 5px 0 1px #cfc1b5,0 14px 35px #49342b0d; }
.login-box h1,.login-box h2 { font-family:var(--serif); font-weight:400; font-size:29px; }
.login-notebook { position:relative; padding:0 7px 7px; }
.login-tab { position:relative; z-index:1; display:flex; align-items:center; gap:8px; width:fit-content; margin:0 0 -1px 23px; padding:11px 20px; color:#63525d; background:#e2d6dd; border:1px solid #c6b5be; border-bottom-color:#cfc1b5; border-radius:8px 8px 0 0; font-size:12px; }
.login-tab .icon { width:14px; height:14px; }
.login-box { padding:34px 34px 25px; border-radius:7px; }
.login-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:11px; }
.login-heading h1 { margin:0; font-size:32px; letter-spacing:-.7px; }
.login-initials { flex:none; font-family:var(--serif); font-style:italic; color:var(--accent); font-size:16px; }
.login-box .login-subtitle { font-size:13px; line-height:1.8; }
.login-box > .login-button { margin-top:28px; min-height:48px; font-size:13px; }
.login-button:disabled { cursor:default; opacity:.7; }
.login-box .login-status { margin-top:14px; color:#71656a; font-size:12px; line-height:1.75; }
.login-box .login-privacy { display:flex; align-items:flex-start; gap:8px; border-top:1px solid var(--line); padding-top:20px; margin-top:26px; font-size:11px; }
.login-privacy .icon { width:13px; height:13px; margin-top:3px; }
.login-box .login-error { margin:20px 0 0; background:#f3e9e7; color:#754653; border-left-color:#ad8088; }
.login-return { align-self:center; margin-top:21px; }
.login-return .icon { transform:rotate(180deg); }
@media (max-width:540px) {
  .login-screen { width:calc(100% - 30px); padding:35px 0; }
  .login-screen > .brand { padding-left:12px; margin-bottom:27px; }
  .login-box { padding:29px 23px 23px; }
  .login-heading { gap:12px; }
  .login-heading h1 { font-size:29px; }
  .login-tab { margin-left:17px; }
}
@media (max-width:360px) {
  .login-box { padding:26px 20px 21px; }
  .login-heading h1 { font-size:27px; }
  .login-initials { font-size:14px; }
}
@media (hover:hover) and (pointer:fine) {
  .nav-button:not(.active):hover { color:var(--ink); filter:brightness(1.025); }
  .button:hover:not(:disabled) { background:#603540; color:#fffaf3; border-color:#603540; }
  .button.secondary:hover { background:#f5ece5; color:var(--ink); border-color:#af978c; }
  .button.soft:hover { background:#e7d3d5; color:#674652; border-color:#c09caa; }
  .button.danger:hover { background:#f0dcd2; color:#863f36; border-color:#bd927f; }
  .icon-button:hover { color:#633f4a; background:#f1e5e2; border-color:#d5bdb8; }
  .text-button:hover { color:#57333e; }
  .watch-card:hover { background:#f8f3ed; }
  .game-card:hover,.more-card:hover { border-color:#cdbfb0; box-shadow:0 3px 12px #49342b06; }
  html[data-motion="on"] .game-card:hover,html[data-motion="on"] .button:hover:not(:disabled) { transform:none; }
}
@media (max-width:960px) {
  .app-shell { width:calc(100% - 48px); padding-top:30px; }
  .main-wrap { padding:34px 33px 22px; }
  .watch-body { grid-template-columns:22px minmax(0,1fr) 235px; column-gap:18px; }
}
@media (max-width:760px) {
  .app-shell { width:calc(100% - 32px); padding:25px 0 34px; }
  .sidebar { padding:0 9px 25px; gap:20px; flex-wrap:nowrap; }
  .brand-name { font-size:32px; }
  .navigation { gap:5px; padding:0 12px; }
  .nav-button { min-width:0; min-height:47px; padding:12px 18px 11px; font-size:12px; }
  .main-wrap { padding:30px 27px 21px; }
  .page-heading h1 { font-size:35px; }
  .watch-body { display:grid; grid-template-columns:23px minmax(0,1fr); column-gap:17px; padding:23px 0; }
  .watch-bottom { grid-column:2; grid-row:auto; display:flex; flex-wrap:wrap; align-items:center; gap:0 15px; margin-top:13px; }
  .watch-controls { width:100%; }
  .games-grid,.more-grid { grid-template-columns:1fr; }
}
@media (max-width:540px) {
  .app-shell { width:calc(100% - 24px); padding-top:23px; }
  .sidebar { gap:14px; padding:0 7px 24px; }
  .brand-name { font-size:30px; }
  .brand-subtitle { font-size:10px; }
  .profile { gap:6px; }
  .profile > .avatar { display:none; }
  .profile-name { max-width:95px; font-size:11px; }
  .profile-details .small { font-size:9px; }
  .notebook { padding:0 5px 12px; }
  .navigation { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; padding:0 3px; }
  .nav-button { min-height:49px; padding:11px 5px 10px; font-size:12px; white-space:normal; line-height:1.2; }
  .main-wrap { padding:27px 22px 20px; }
  .page-heading { display:block; }
  .page-heading h1 { font-size:33px; }
  .page-actions { margin-top:20px; gap:17px; }
  .watch-toolbar { grid-template-columns:minmax(0,1fr) 9ch; gap:10px; }
  .watch-search { grid-column:1 / -1; }
  .watch-search input { min-height:44px; font-size:16px; }
  #watch-type { font-size:16px; min-height:44px; width:165px; }
  .watch-body { grid-template-columns:20px minmax(0,1fr); column-gap:12px; }
  .watch-title { font-size:23px; }
  .watch-number { font-size:13px; }
  .watch-controls { gap:3px; }
  .status-select { min-width:0; width:125px; flex:1; }
  .watch-controls .icon-button { width:44px; min-height:44px; }
  .notebook-footer { gap:10px; }
  .notebook-owners { font-size:12px; }
}
@media (max-width:360px) {
  .sidebar { padding-left:5px; padding-right:5px; gap:10px; }
  .brand-name { font-size:27px; }
  .profile-name { max-width:75px; }
  .profile .icon-button { width:32px; padding:6px; }
  .nav-button { font-size:11px; }
  .main-wrap { padding-left:17px; padding-right:17px; }
  .page-heading h1 { font-size:31px; }
  .page-actions { gap:13px; }
  .page-actions .button { padding:9px 12px; }
  .page-actions .text-button { font-size:11px; }
  .filter-group { gap:14px; }
  .filter { font-size:11px; }
  .count { margin-left:4px; }
  #watch-type { width:156px; }
  .watch-title { font-size:22px; }
  .notebook-owners { font-size:11px; }
  .notebook-section { font-size:9px; }
}

/* Notes are pinned paper cards, with one local draft at a time. */
.nav-button[data-tab="notes"] { --tab:#eee3bd; --tab-border:#cfc097; color:#6a5b35; }
.nav-button[data-tab="notes"].active { color:var(--accent); background:var(--surface); border-color:#cfc1b5; border-bottom-color:var(--surface); }
.notes-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px; min-width:0; padding:8px 4px 16px; align-items:stretch; }
.note-add { display:flex; align-items:center; justify-content:center; min-height:224px; border:1px dashed #c8bcb1; border-radius:3px; background:transparent; color:#947b73; }
.note-add .icon { width:30px; height:30px; stroke-width:1.25; }
.note-add:disabled { cursor:default; opacity:.45; }
.note-card { --note-paper:#f5ebbd; --note-edge:#d9c994; position:relative; min-width:0; border:1px solid var(--note-edge); border-radius:2px 3px 3px 2px; background:var(--note-paper); box-shadow:1px 3px 6px #56412812,0 1px 2px #56412808; }
.note-card[data-color="rose"] { --note-paper:#efd9d5; --note-edge:#d4b5b1; }
.note-card[data-color="sage"] { --note-paper:#e0e6cf; --note-edge:#bdc7aa; }
.note-card[data-color="lilac"] { --note-paper:#e5ddee; --note-edge:#c7b9d4; }
.note-card[data-tilt="left"] { transform:rotate(-.65deg); }
.note-card[data-tilt="right"] { transform:rotate(.6deg); }
html[data-motion="on"] .note-arrive { transform-origin:50% 12px; animation:note-arrive .38s cubic-bezier(.22,1,.36,1) both; }
@keyframes note-arrive {
  from { opacity:0; transform:translateY(12px) scale(.97) rotate(-.65deg); }
  to { opacity:1; transform:translateY(0) scale(1) rotate(0); }
}
.note-open { display:flex; flex-direction:column; align-items:stretch; text-align:left; width:100%; min-height:222px; height:100%; padding:34px 22px 18px; border:0; border-radius:inherit; background:transparent; color:#483d38; cursor:pointer; }
.note-open:disabled { cursor:wait; }
.note-open:focus-visible { outline-offset:5px; }
.note-pin { position:absolute; top:11px; left:50%; width:10px; height:10px; margin-left:-5px; border:1px solid #8f6262; border-radius:50%; background:#b77f7a; box-shadow:1px 2px 2px #67413f2b; }
.note-pin::after { content:''; position:absolute; top:8px; left:4px; width:1px; height:6px; background:#967978; transform:rotate(15deg); transform-origin:top; }
.note-title { margin:0 0 11px; font-family:var(--serif); font-size:23px; font-weight:400; letter-spacing:-.3px; line-height:1.3; overflow-wrap:anywhere; white-space:pre-wrap; }
.note-body { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:8; overflow:hidden; color:#544940; font-size:13px; line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }
.note-meta { display:block; margin-top:auto; padding-top:21px; color:#695b51; font-size:10px; line-height:1.5; }
.note-blank { margin:auto 0; color:#6b5d49; font-family:var(--serif); font-size:18px; font-style:italic; }
.notes-draft-hint { color:var(--muted); font-size:11px; line-height:1.8; margin:15px 4px 0; }
.note-colors { display:flex; align-items:center; gap:13px; min-width:0; margin:23px 0 0; padding:10px 0 0; border:0; }
.note-colors legend { padding:0; margin-bottom:3px; }
.note-color-option { position:relative; display:flex; align-items:center; justify-content:center; width:44px; height:44px; cursor:pointer; }
.note-color-option input { position:absolute; width:1px; height:1px; margin:0; opacity:0; }
.note-swatch { display:block; width:30px; height:30px; border:1px solid #b9a98e; border-radius:50%; background:#f5ebbd; }
.note-swatch[data-color="rose"] { background:#efd9d5; border-color:#bd9e99; }
.note-swatch[data-color="sage"] { background:#e0e6cf; border-color:#a2b18c; }
.note-swatch[data-color="lilac"] { background:#e5ddee; border-color:#af9abe; }
.note-color-option input:checked + .note-swatch { outline:2px solid var(--accent); outline-offset:4px; }
.note-color-option input:focus-visible + .note-swatch { outline:2px solid var(--ink); outline-offset:5px; }
.note-color-option input:disabled + .note-swatch { opacity:.6; }
.note-editor textarea { line-height:1.7; }
.note-editor-actions { gap:8px 13px; align-items:center; }
.note-editor-actions > .text-button:first-child { margin-right:auto; }
.note-remove { color:#8a4b43; }
.note-delete-confirm,.note-reopen-confirm { margin-top:20px; padding:15px; border:1px solid #d7bab3; border-radius:4px; background:#f7ebe7; }
.note-delete-confirm > p,.note-reopen-confirm > p { margin-bottom:13px; color:#67474c; font-size:12px; }
.note-delete-confirm > button,.note-reopen-confirm > button { margin:0 8px 4px 0; }
.note-conflict-actions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-top:14px; }
.note-copy-text { display:block; width:100%; min-height:110px; padding:10px; color:var(--ink); background:#fffefa; border:1px solid #bfa99f; border-radius:4px; font-size:13px; }
@media (hover:hover) and (pointer:fine) {
  .note-add:hover:not(:disabled) { color:var(--accent); background:#f7f1e8; border-color:#a68b80; }
  .note-card:hover { box-shadow:1px 4px 9px #5641281c,0 1px 2px #56412808; }
}
@media (max-width:880px) {
  .notes-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .note-open { padding-left:20px; padding-right:20px; }
}
@media (max-width:820px) {
  .navigation { display:flex; flex-wrap:nowrap; gap:4px; max-width:100%; padding:5px 4px 0; overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; scroll-padding-inline:8px; }
  .nav-button { flex:0 0 auto; min-width:89px; min-height:48px; padding:12px 15px; white-space:nowrap; font-size:12px; }
  .nav-button:focus-visible { outline-offset:-4px; }
}
@media (max-width:480px) {
  .notes-grid { grid-template-columns:1fr; gap:24px; padding-left:3px; padding-right:3px; }
  .note-add { min-height:180px; }
  .note-open { min-height:224px; padding:34px 23px 20px; }
  .note-title { font-size:24px; }
  .note-body { font-size:14px; }
  .note-editor .form-field input,.note-editor .form-field textarea { font-size:16px; }
  .note-editor-actions { justify-content:flex-start; }
  .note-editor-actions > .text-button:first-child { margin-right:0; }
  .note-copy-text { font-size:16px; }
}

/* Shared phone controls across Watch, games, reminders, Notes and account views. */
@media (max-width:720px) {
  .icon-button,.profile .icon-button { width:44px; min-height:44px; }
  .watch-search input,#watch-type,.status-select { font-size:16px; min-height:44px; }
  .watch-search input { padding-right:50px; }
  .watch-search .reset-filters { right:2px; width:44px; min-height:44px; }
  .filter { min-height:44px; }
}
