/* Oddpin Alley: an after-hours duckpin alley. Night-purple walls, warm maple, cream pins with
   coral bands and a mint house ball. */
:root{color-scheme:dark;--bg:#1f1433;--bg2:#281a42;--panel:#2f2150;--panel2:#3a2a61;--ink:#fff3dc;--muted:#cdbfe0;--line:#5a4787;--accent:#ff7a59;--go:#3dd6b0;--go-ink:#0f2d27;--them:#ffb83d;--ratio:.62;font-family:"Avenir Next","Trebuchet MS","Segoe UI",system-ui,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none !important}
html,body{margin:0;background:var(--bg);color:var(--ink)}
body{line-height:1.45;overflow-x:clip;-webkit-text-size-adjust:100%;background:radial-gradient(120% 60% at 50% 0,#33215a 0,var(--bg) 70%) no-repeat,var(--bg)}
button,a,canvas{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer;color:var(--ink);background:var(--panel);border:2px solid var(--line);border-radius:14px;padding:8px 14px;min-height:46px;min-width:46px;font-weight:650;line-height:1.25}
button:hover:not(:disabled){border-color:var(--ink)}
button:disabled{opacity:.55;cursor:default}
button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.primary{background:var(--go);border-color:var(--go);color:var(--go-ink)}
.primary:hover:not(:disabled){border-color:#fff}
.quiet{background:transparent;font-weight:550}
a{color:inherit;text-underline-offset:3px}
h1,h2{margin:0;line-height:1.15;text-wrap:balance}
p{margin:0 0 10px}
.small{font-size:.9rem;color:var(--muted)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.notice{margin:16px;padding:14px;border:2px solid var(--accent);border-radius:12px}

.game{width:min(100%,520px);margin-inline:auto;padding:0 12px 8px}
html.is-playing body,.play,.game.is-fullscreen{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0}
.title{font-size:1.35rem;font-weight:800;letter-spacing:.01em}
.game-name{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;color:inherit}
.game-mark{width:38px;height:38px;flex:none;display:block}
.lede{font-size:1.15rem;font-weight:700;margin:6px 0 4px}
.group{font-size:1rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:18px 0 0}
.sub{font-size:.9rem;font-weight:750;color:var(--muted);margin:12px 0 0}

/* Menu */
.levels{display:grid;gap:10px;margin:10px 0}
.levels:empty{display:none}
.level{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;text-align:left;padding:12px 16px;border-radius:16px;background:var(--panel)}
.level .name{font-size:1.15rem;font-weight:800}
.level .meta{grid-column:1;font-size:.92rem;font-weight:550;color:var(--muted)}
.level .go{grid-column:2;grid-row:1/3;font-weight:800;color:var(--go)}
.level.last{border-color:var(--go);background:linear-gradient(135deg,#2c5a57,var(--panel2))}
#mode-daily .name{font-size:1.3rem}
.versus{grid-template-columns:repeat(3,minmax(0,1fr))}
.versus .level{grid-template-columns:1fr;padding:10px 12px;text-align:center}
.versus .level .go{display:none}
.versus .level .meta{font-size:.82rem}
.menu-tools{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}

/* Play: the scoreboard */
.hud{display:flex;gap:6px;align-items:stretch;position:relative}
.board{flex:1 1 auto;min-width:0;display:grid;gap:4px}
.hud-buttons{flex:none;display:flex;flex-direction:column;gap:4px}
.hud-button{min-height:44px;min-width:44px;padding:4px 8px}
.bowler{display:grid;grid-template-columns:3.4em minmax(0,1fr);align-items:stretch;gap:4px;padding:3px;border:2px solid var(--line);border-radius:12px;background:var(--bg2)}
.bowler.turn{border-color:var(--go);background:#24384a}
.board[data-players="2"] .bowler:not([data-seat="0"]) .who .name{color:var(--them)}
.who{display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative;padding-left:2px}
.who .name{font-size:.78rem;font-weight:750;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.who .total{font-size:1.2rem;font-weight:850;line-height:1.1;font-variant-numeric:tabular-nums}
.who .clock{font-size:.75rem;font-weight:800;color:var(--go)}
.who .clock.low{color:var(--accent)}
.bubble{position:absolute;left:100%;top:-4px;z-index:3;white-space:nowrap;background:var(--ink);color:var(--bg);padding:2px 8px;border-radius:10px;font-size:.8rem;font-weight:700}
.frames{display:grid;grid-template-columns:repeat(9,minmax(0,1fr)) minmax(0,1.5fr);margin:0;padding:0;list-style:none;border-radius:8px;overflow:hidden;background:#140d24}
.frame{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:36px;border-left:1px solid #3c2c62;font-variant-numeric:tabular-nums;line-height:1.05}
.frame:first-child{border-left:0}
.frame .mark{font-size:.78rem;font-weight:800;color:var(--muted);min-height:1.05em;letter-spacing:.02em}
.frame .run{font-size:.86rem;font-weight:800;min-height:1.05em}
.frame.now{background:#2a5450}
.frame.now .mark{color:var(--ink)}
.board[data-players="1"] .frame{min-height:40px}
/* A running total can reach three digits, which a tenth of a phone's width cannot hold: on any
   scorecard narrower than that, frames 1-5 and 6-10 sit in two rows. */
.bowler{container:bowler/inline-size}
@container bowler (max-width:400px){
  .frames{grid-template-columns:repeat(5,minmax(0,1fr))}
  .frame:nth-child(6){border-left:0}
  .frame:nth-child(n+6){border-top:1px solid #3c2c62}
  .board .frame,.board[data-players="1"] .frame{min-height:28px}
}
.net{position:absolute;right:0;top:100%;z-index:3;margin:2px 0 0;padding:2px 8px;border-radius:8px;background:var(--accent);color:#2a0d05;font-size:.85rem;font-weight:700}
.quick-chat{position:absolute;right:0;top:100%;z-index:4;margin-top:4px;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;border:2px solid var(--line);border-radius:14px;background:var(--panel);width:min(300px,90vw)}
.quick-chat button{min-height:44px;font-size:.9rem}
/* Two lines reserved so the lane does not jump; longer text (enlarged sizes) grows the line instead of clipping. */
.line{margin:6px 0 4px;font-size:.92rem;line-height:1.25;color:var(--muted);min-height:2.5em}
#lane{display:block;width:min(100%,calc((100dvh - 218px) * var(--ratio)));aspect-ratio:var(--ratio);min-width:220px;height:auto;margin-inline:auto;touch-action:none;border-radius:16px;user-select:none;-webkit-user-select:none;background:#1f1433}
.controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 4px}
.controls button{min-height:44px;padding:4px 2px;min-width:0;font-size:clamp(.78rem,3.6vw,.9rem);overflow-wrap:anywhere}
.controls #roll{background:var(--accent);border-color:var(--accent);color:#2a0d05}
@media (pointer:coarse){.controls{display:none!important}}
/* With a mouse the two rows of roll buttons sit under the lane, so the lane gives them room on short screens. */
@media not all and (pointer:coarse){#lane{width:min(100%,calc((100dvh - 318px) * var(--ratio)));min-width:150px}}
.hud .fullscreen-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:44px;min-height:44px;padding:4px}
.fullscreen-label{width:0;min-width:100%;max-width:100%;font-size:.75rem;font-weight:750;line-height:1.1;white-space:normal;overflow-wrap:anywhere}
/* Phones: the title bar gives its room to the game while a game is on. */
@media (max-width:600px) and (orientation:portrait),(max-height:760px) and (orientation:portrait),(orientation:landscape) and (max-height:520px){html.is-playing .top{display:none}}
.sheet{margin:10px 0;padding:14px;border:2px solid var(--ink);border-radius:18px;background:var(--panel);display:grid;gap:8px}
/* The result floats over the controls so it is on screen without scrolling; the lane stays visible above it. */
.play .sheet{position:fixed;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100vw - 24px),360px);margin:0;z-index:4;grid-template-columns:1fr 1fr;box-shadow:0 10px 30px rgba(0,0,0,.6)}
.play .sheet h2,.play .sheet p,.play .sheet .wide,.play .sheet .result-social{grid-column:1/-1}
.sheet h2{font-size:1.5rem}
.sheet p{margin:0}
.result-social .sheet-actions{display:flex;flex-wrap:wrap;gap:6px}

/* Pause menu */
.pause{border:2px solid var(--ink);border-radius:18px;background:var(--panel);color:var(--ink);padding:16px;width:min(92vw,360px)}
.pause::backdrop{background:rgba(5,2,12,.72)}
.pause-actions{display:grid;gap:8px;margin-top:10px}
#leave-confirm{margin-top:10px;display:grid;gap:8px}

/* Online play: invite and join sheets, people, challenges (the shared lobby, online/lobby.mjs). */
.sheet-dialog{border:2px solid var(--ink);border-radius:18px;background:var(--panel);color:var(--ink);padding:16px;width:min(92vw,380px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.sheet-dialog::backdrop{background:rgba(5,2,12,.72)}
.sheet-dialog h2{font-size:1.35rem;margin:0 0 10px}
.sheet-dialog input{width:100%;min-height:46px;padding:0 12px;border:2px solid var(--line);border-radius:12px;background:var(--bg2);color:var(--ink);font:inherit;margin:4px 0 10px}
.sheet-dialog input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.sheet-dialog label{font-weight:700}
.sheet-actions{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.sheet-actions button{flex:1 1 8rem}
.sheet-error{color:#ff9d85;font-weight:650}
.invite-status{color:var(--muted)}
.sheet-dialog h3{font-size:1.05rem;margin:16px 0 6px}
.sheet-link{display:inline-flex;align-items:center;min-height:44px;color:var(--ink)}
.people{display:grid;gap:2px}
.people .small{margin:4px 0}
.person{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:6px 0;border-bottom:1px solid var(--line)}
.person-name{font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.person-status{grid-column:1;grid-row:2;font-size:.85rem;color:var(--muted)}
.person-status.online{color:var(--go)}
.person-actions{grid-column:2;grid-row:1/3;display:flex;gap:6px}
.person-actions button{min-height:44px;padding:4px 12px}
.person-note{grid-column:1/-1;font-size:.85rem;color:var(--muted)}
/* Two buttons (Challenge and Add friend) move under the name, so the name keeps its width. */
.person.two .person-actions{grid-column:1/-1;grid-row:3}
.person.two .person-actions button{flex:1 1 0}
.play-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9.5em),1fr));gap:8px;margin:4px 0 6px}
.tile{display:grid;align-content:center;gap:2px;min-height:72px;padding:10px 12px;border-radius:14px;text-align:left}
.tile-name{font-weight:800;font-size:1.05rem;line-height:1.2}
.tile-meta{font-size:.85rem;font-weight:600;opacity:.85}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-top:12px}
.switch-label{font-weight:700}
.switch-value{font-weight:600;color:var(--muted)}
/* The button is a 60x44 tap target; the track it draws inside is 56x32. */
.switch{flex:none;position:relative;width:60px;min-height:44px;height:44px;padding:0;border:0;background:none;box-shadow:none}
.switch::before{content:"";position:absolute;left:2px;right:2px;top:6px;bottom:6px;border-radius:16px;background:var(--line);transition:background .15s}
.switch-knob{position:absolute;top:9px;left:5px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004;transition:transform .15s}
.switch[aria-checked="true"]::before{background:var(--go)}
.switch[aria-checked="true"] .switch-knob{transform:translateX(24px)}
.switch:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:18px}
.person-note:empty{display:none}
.find-form{display:flex;gap:8px}
.find-form input{flex:1 1 auto;min-width:0;margin:0}
.find-form button{flex:none;min-height:46px}
.result-social .sheet-actions{margin:2px 0 0;gap:6px;flex-wrap:wrap}
.result-social .sheet-actions button{flex:1 1 6em;min-width:0;min-height:44px;padding:4px 6px;font-size:.9rem}
.result-social .small{margin:4px 0 0}
.result-social .small:empty{display:none}
/* Online results: the two actions sit side by side at normal text and stack when text is
   enlarged, labels wrap between words (never inside one), and a tall card scrolls. */
.play .sheet{box-sizing:border-box;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5em),1fr));max-height:calc(100dvh - 24px);overflow-y:auto}
.play .sheet>button{min-width:0;white-space:normal;overflow-wrap:normal}
.play .sheet .result-social{grid-column:1/-1}
.level.online{width:100%;background:linear-gradient(135deg,#5b3a12,var(--panel2));border-color:var(--them)}
.level.online .go{color:var(--them)}
.game[data-mode="online"] .hud{margin-top:2px}
#result-series{margin:0}
/* Short landscape phones: the lane on the left at the height left, everything else beside it. */
@media (orientation:landscape) and (max-height:520px){
  .game:not(.is-fullscreen){width:min(100%,900px)}
  .game:not(.is-fullscreen) .play:not([hidden]){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-content:start;align-items:start}
  .play #lane{grid-column:1;grid-row:1/6;width:calc((100dvh - 24px) * var(--ratio));min-width:0;max-width:50vw;margin:6px 0 0}
  .game:not(.is-fullscreen) .play .hud,.game:not(.is-fullscreen) .play .line,.game:not(.is-fullscreen) .play .controls,.game:not(.is-fullscreen) .play .sheet{grid-column:2}
  .game:not(.is-fullscreen) .play .sheet{left:auto;right:max(12px,env(safe-area-inset-right));transform:none;width:min(46vw,360px)}
  .line{min-height:0}
}


/* Information pages */
.document-top{width:min(100%,720px);margin:0 auto;padding:6px 16px}
.document{width:min(100%,720px);margin:0 auto;padding:8px 16px 24px}
.document h1{font-size:1.7rem;margin:10px 0 12px}
.document h2{font-size:1.2rem;margin:22px 0 8px}
.document details{margin:12px 0}
.document label{display:flex;gap:8px;align-items:center;min-height:44px}

/* Tutorial colours */
:root{--dpt-bg:#2f2150;--dpt-ink:#fff3dc;--dpt-muted:#cdbfe0;--dpt-line:#5a4787;--dpt-tint:#2a1b45;--dpt-accent:#3dd6b0;--dpt-accent-ink:#0f2d27}

/* Analytics card (shared prompt) */
.privacy-consent{background:var(--panel);color:var(--ink);border:2px solid var(--ink);border-radius:14px;padding:12px}
.privacy-consent button{min-height:44px}
.privacy-consent-floating{position:fixed;left:12px;right:12px;bottom:12px;z-index:5;max-width:420px}

/* Full screen: the whole game inside one screen; the lane takes the space left. */
.fullscreen-fit{display:contents}
html.game-fullscreen-lock{overflow:hidden;overscroll-behavior:none}
.game.is-fullscreen{position:fixed;inset:0;z-index:2147483001;width:auto;max-width:none;margin:0;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:var(--bg);overflow:auto;overscroll-behavior:none;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;align-content:stretch}
.game.is-fullscreen .top{display:none}
.game.is-fullscreen .view{display:contents}
.game.is-fullscreen .view[hidden]{display:none}
.game.is-fullscreen .line{margin:0;min-height:0}
.game.is-fullscreen .fullscreen-fit{display:grid;place-items:center;container-type:size;min-height:0;min-width:0}
.game.is-fullscreen #lane{width:min(100cqw,calc(100cqh * var(--ratio)));max-height:none;height:auto;min-width:0}
.game.is-fullscreen .hud{grid-row:1;margin-bottom:6px}
.game.is-fullscreen .line{grid-row:2}
.game.is-fullscreen .fullscreen-fit{grid-row:3;overflow:hidden}
.game.is-fullscreen .controls{grid-row:4}
.game.is-fullscreen .sheet{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(92vw,340px);margin:0;z-index:2}
/* Top left, clear of the menu and full screen buttons on the right. */
.fullscreen-tip{position:fixed;z-index:3;top:max(8px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));width:min(calc(100vw - 84px),400px);display:flex;align-items:center;gap:8px;padding:8px 6px 8px 14px;border-radius:12px;background:var(--ink);color:var(--bg)}
.fullscreen-tip p{margin:0;font-size:.9rem;line-height:1.35}
.fullscreen-tip button{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit}
@media (orientation:landscape) and (max-height:520px){
  .game.is-fullscreen{grid-template-columns:minmax(0,1fr) clamp(220px,42vw,360px);grid-template-rows:auto auto auto minmax(0,1fr);column-gap:12px}
  .game.is-fullscreen .fullscreen-fit{grid-column:1;grid-row:1/5}
  .game.is-fullscreen .hud{grid-column:2;grid-row:1}
  .game.is-fullscreen .line{grid-column:2;grid-row:2;font-size:.9rem}
  .game.is-fullscreen .controls{grid-column:2;grid-row:3}
  .game.is-fullscreen .sheet{position:static;transform:none;width:auto;grid-column:2;grid-row:4;align-self:start;box-shadow:none}
  .fullscreen-tip{top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));transform:none;width:min(calc(100vw - 380px),400px)}
}
/* Wide screens: the scoreboard and line sit beside the lane. */
@media (min-width:900px) and (min-height:560px){
  .game{width:min(100%,920px)}
  .game:not(.is-fullscreen) .play:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) 380px;grid-template-rows:auto auto auto 1fr;column-gap:20px;align-items:start}
  .game:not(.is-fullscreen) .play #lane{grid-column:1;grid-row:1/5;width:min(100%,calc((100dvh - 110px) * var(--ratio)))}
  .game:not(.is-fullscreen) .play .hud,.game:not(.is-fullscreen) .play .line,.game:not(.is-fullscreen) .play .controls,.game:not(.is-fullscreen) .play .sheet{grid-column:2}
  .game:not(.is-fullscreen) .play .sheet{position:static;transform:none;width:auto;box-shadow:none}
}
html.reduce-motion *,html.reduce-motion *::before,html.reduce-motion *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Dayplay footer colours and width for this game (the shared block below reads them). */
:root{--dpf-card:var(--panel);--dpf-ink:var(--ink);--dpf-muted:var(--muted);--dpf-line:var(--line);--dpf-accent:var(--go);--dpf-width:min(100% - 24px,520px);--dpf-margin:12px auto 0}

/* dayplay-footer:start — shared Dayplay Games footer (lib/dayplay-footer.css; synced into every
   game stylesheet, checked by lib/dayplay-footer.test.mjs). Each game sets --dpf-* in its own
   :root so the footer wears the game's colours; structure and spacing stay the same everywhere. */
footer.dp-footer{box-sizing:border-box;width:var(--dpf-width,min(100% - 32px,560px));margin:var(--dpf-margin,32px auto 0);padding:20px var(--dpf-pad,0px) max(24px,env(safe-area-inset-bottom));border-top:1px solid var(--dpf-line,#d8d2c4);color:var(--dpf-muted,#5f5a52);font-size:15px;line-height:1.45;text-align:left;overflow-wrap:anywhere}
footer.dp-footer>*+*{margin-top:14px}
.dp-footer .dp-home{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;max-width:440px;min-height:64px;margin-inline:0;margin-bottom:0;padding:10px 14px 10px 10px;border:1.5px solid var(--dpf-line,#d8d2c4);border-radius:14px;background:var(--dpf-card,#fffdf8);color:var(--dpf-ink,#2c2a26);font:inherit;text-decoration:none;box-shadow:0 1px 0 var(--dpf-line,#d8d2c4);transition:border-color .15s,box-shadow .15s}
.dp-footer .dp-home img{display:block;flex:none;width:40px;height:40px;margin:0;padding:6px;box-sizing:border-box;border-radius:10px;background:#fef8f0;box-shadow:inset 0 0 0 1px rgba(44,34,64,.1)}
.dp-footer .dp-home-text{display:flex;flex-direction:column;flex:1;min-width:0;gap:1px}
.dp-footer .dp-home-text strong{font-size:16px;font-weight:700;line-height:1.25;color:var(--dpf-ink,#2c2a26)}
.dp-footer .dp-home-text span{font-size:14px;line-height:1.3;color:var(--dpf-muted,#5f5a52)}
.dp-footer .dp-home svg{flex:none;width:20px;height:20px;color:var(--dpf-accent,currentColor);transition:transform .15s}
.dp-footer .dp-home:hover{border-color:var(--dpf-accent,currentColor);box-shadow:0 2px 0 var(--dpf-accent,currentColor)}
.dp-footer .dp-home:hover svg{transform:translateX(3px)}
.dp-footer .dp-home:focus-visible,.dp-footer .dp-links a:focus-visible,.dp-footer .dp-links button:focus-visible{outline:3px solid var(--dpf-accent,currentColor);outline-offset:3px}
.dp-footer .dp-links{display:flex;flex-wrap:wrap;align-items:center;gap:0 22px;margin-bottom:0;padding:0}
.dp-footer .dp-links a,.dp-footer .dp-links button{display:inline-flex;align-items:center;min-height:44px;min-width:44px;flex-shrink:1;overflow-wrap:anywhere;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font:inherit;font-size:15px;font-weight:600;line-height:1.3;color:var(--dpf-ink,#2c2a26);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--dpf-line,#c9c2b4);cursor:pointer;white-space:nowrap}
.dp-footer .dp-links a:hover,.dp-footer .dp-links button:hover{text-decoration-color:currentColor}
.dp-footer .dp-note{margin:4px 0 0;font-size:14px;line-height:1.5;color:var(--dpf-muted,#5f5a52)}
.dp-footer .dp-note+.dp-note{margin-top:2px}
/* Phones: an aligned grid instead of a ragged wrap (three columns, two on the narrowest screens). */
@media(max-width:560px){.dp-footer .dp-links{display:grid;grid-template-columns:repeat(3,minmax(0,max-content));column-gap:24px}.dp-footer .dp-links a,.dp-footer .dp-links button{white-space:normal;text-align:left}}
@media(max-width:560px){.dp-footer .dp-links:not(:has(>:nth-child(5))){grid-template-columns:repeat(2,minmax(0,max-content));column-gap:32px}}
@media(max-width:360px){.dp-footer .dp-links{grid-template-columns:repeat(2,minmax(0,max-content))}}
@media(prefers-reduced-motion:reduce){.dp-footer .dp-home,.dp-footer .dp-home svg{transition:none}.dp-footer .dp-home:hover svg{transform:none}}
/* dayplay-footer:end */

