/* PodGuard shared styles for the app product-tour pages.
   Tokens and control language match site/index.html exactly. */

*{box-sizing:border-box}
[hidden]{display:none !important}
html[data-pg-auth-pending] .page,html[data-pg-auth-error] .page{visibility:hidden}
html[data-pg-auth-error] .pg-auth-error{position:fixed;inset:0;display:grid;place-content:center;gap:14px;padding:28px;background:#12332C;color:#fff;text-align:center;z-index:100}
html[data-pg-auth-error] .pg-auth-error h1,html[data-pg-auth-error] .pg-auth-error p{margin:0}
html[data-pg-auth-error] .pg-auth-error button{justify-self:center;padding:12px 18px;border:1px solid #B5D641;border-radius:3px;background:#B5D641;color:#12332C;font:600 14px/1 'Public Sans',system-ui;cursor:pointer}
html{scroll-behavior:smooth}
body{margin:0;background:#F6F5F3;color:#1C1A16;font-family:'Public Sans',system-ui,-apple-system,sans-serif;overflow-x:hidden}
img{display:block}
a{color:#2A8574;text-decoration:none;transition:color .2s ease-out,background-color .2s ease-out,border-color .2s ease-out,box-shadow .2s ease-out}
a:hover{color:#1F6B5D}
:focus-visible{outline:3px solid #B5D641;outline-offset:3px;border-radius:6px}
::-webkit-scrollbar{height:8px}
::-webkit-scrollbar-thumb{background:rgba(0,0,0,.16);border-radius:4px}
.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}
.wrap{max-width:1220px;margin:0 auto;padding:0 28px;width:100%}
.page{min-height:100vh;display:flex;flex-direction:column}
.icon{width:22px;height:22px;flex:none}

/* App top bar */
.appbar{position:sticky;top:0;z-index:20;background:rgba(246,245,243,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,0,0,.08)}
.appbar-inner{height:70px;display:flex;align-items:center;gap:26px}
.appbar-brand{display:flex;align-items:center;gap:9px;flex:none}
.appbar-brand img{width:26px;height:26px;object-fit:contain}
.appbar-brand span{font:700 17px/1 'Public Sans',system-ui;color:#12332C;letter-spacing:-.02em}
.appbar-brand:hover span{color:#1F6B5D}
.apptabs{display:flex;align-items:center;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}
.apptabs::-webkit-scrollbar{display:none}
.apptab{padding:9px 10px;font:600 15px/1 'Public Sans',system-ui;color:#6B665D;border-bottom:2px solid transparent;white-space:nowrap;border-radius:3px 3px 0 0}
.apptab:hover{color:#12332C;border-bottom-color:rgba(181,214,65,.5)}
.apptab[aria-current="page"]{color:#12332C;border-bottom-color:#B5D641}
.appbar-spacer{flex:1}
.appbar-right{display:flex;align-items:center;gap:12px;flex:none}
.chip-preview{display:flex;align-items:center;gap:7px;font:600 13px/1 'Public Sans',system-ui;color:#1F6B5D;background:#EDF5D9;border:1px solid rgba(31,107,93,.22);padding:9px 12px;border-radius:3px;white-space:nowrap}
.chip-preview .icon{width:16px;height:16px}
/* Buttons carry the brand guide's physical edge: a hairline outline in the
   deep teal ink, a 2px under-edge in the same ink, a soft teal-tinted cast,
   and a 1px inner top highlight. Hover lifts 1px over 140ms; press sinks the
   button onto its own edge in 60ms, under-edge and cast collapsing to 0, and
   springs back over 140ms. Fills never change on hover; the lift is the
   feedback. Transparent buttons have no edge to lose, so they only move. */
.btn-quiet{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#12332C;border:1px solid rgba(18,51,44,.35);border-radius:3px;padding:11px 14px;font:600 14px/1 'Public Sans',system-ui;cursor:pointer;white-space:nowrap;box-shadow:0 2px 0 rgba(18,51,44,.22),0 4px 8px -3px rgba(18,51,44,.14),inset 0 1px 0 rgba(255,255,255,.7);transition:transform 140ms cubic-bezier(.2,.8,.3,1),box-shadow 140ms cubic-bezier(.2,.8,.3,1),border-color 140ms ease,background-color 140ms ease}
.btn-quiet:hover{border-color:rgba(18,51,44,.55);background:#EDF5D9;transform:translateY(-1px);box-shadow:0 3px 0 rgba(18,51,44,.22),0 8px 14px -4px rgba(18,51,44,.16),inset 0 1px 0 rgba(255,255,255,.8)}
.btn-quiet:active{transform:translateY(2px);box-shadow:0 0 0 rgba(18,51,44,.22),0 0 0 rgba(18,51,44,0),inset 0 1px 0 rgba(255,255,255,.5);transition-duration:60ms,60ms,60ms,60ms}

/* Product-tour notice */
.notice{margin-top:22px;background:#fff;border:1px solid rgba(0,0,0,.12);border-left:4px solid #2A8574;border-radius:6px;padding:16px 20px;display:flex;gap:14px;align-items:flex-start}
.notice .icon{color:#1F6B5D;margin-top:1px}
.notice-body{display:flex;flex-direction:column;gap:5px;min-width:0}
.notice-title{font:700 15px/1.3 'Public Sans',system-ui;color:#12332C}
.notice-text{font:400 14px/1.55 'Public Sans',system-ui;color:#5A554C;text-wrap:pretty}
.notice-text a{text-decoration:underline;text-underline-offset:2px}

/* Page shell */
.app-main{flex:1;padding-top:30px;padding-bottom:190px;display:flex;flex-direction:column;gap:40px}
.page-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.page-h1{font:800 40px/1.05 'Public Sans',system-ui;letter-spacing:-.03em;color:#12332C;margin:0}
.sec{display:flex;flex-direction:column;gap:14px}
.sec-h{font:700 20px/1.2 'Public Sans',system-ui;color:#12332C;margin:0}
.sec-hrow{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.sec-note{font:400 14px/1.4 'Public Sans',system-ui;color:#6B665D}
.eyebrow{font:600 12px/1 ui-monospace,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase;color:#6B665D}

/* Segmented switcher (Shows / Downloaded) */
.switcher{display:flex;background:rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.10);border-radius:3px;padding:3px;gap:3px}
.switcher button{border:0;background:transparent;border-radius:2px;padding:9px 16px;font:600 13px/1 'Public Sans',system-ui;color:#6B665D;cursor:pointer;transition:background-color .2s ease-out,color .2s ease-out,box-shadow .2s ease-out}
.switcher button:hover{color:#12332C}
.switcher button[aria-selected="true"]{background:#fff;color:#12332C;box-shadow:0 1px 3px rgba(0,0,0,.12)}

/* Dark resume panel */
.resume{background:#12332C;border-radius:6px;padding:20px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.resume-art{flex:none;width:82px;height:82px;border-radius:6px;overflow:hidden;background:#1B4238}
.resume-art img{width:100%;height:100%;object-fit:cover}
.resume-body{flex:1;min-width:200px;display:flex;flex-direction:column;gap:8px}
.resume-title{font:700 19px/1.3 'Public Sans',system-ui;color:#fff}
.resume-show{font:400 14px/1.2 'Public Sans',system-ui;color:rgba(255,255,255,.66)}
.track{height:4px;background:rgba(255,255,255,.18);border-radius:2px;overflow:hidden}
.track span{display:block;height:4px;background:#B5D641;border-radius:2px}
.resume-left{font:400 13px/1.2 'Public Sans',system-ui;color:rgba(255,255,255,.6)}
.btn-play{flex:none;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:3px;border:1px solid rgba(18,51,44,.55);background:#B5D641;color:#12332C;cursor:pointer;box-shadow:0 2px 0 rgba(18,51,44,.55),0 4px 8px -3px rgba(18,51,44,.3),inset 0 1px 0 rgba(255,255,255,.4);transition:transform 140ms cubic-bezier(.2,.8,.3,1),box-shadow 140ms cubic-bezier(.2,.8,.3,1)}
.btn-play:hover{transform:translateY(-1px);box-shadow:0 3px 0 rgba(18,51,44,.55),0 8px 14px -4px rgba(18,51,44,.32),inset 0 1px 0 rgba(255,255,255,.45)}
.btn-play:active{transform:translateY(2px);box-shadow:0 0 0 rgba(18,51,44,.55),0 0 0 rgba(18,51,44,0),inset 0 1px 0 rgba(255,255,255,.25);transition-duration:60ms,60ms}

/* Episode list */
.list{background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:6px;overflow:hidden}
.row{display:flex;align-items:center;gap:16px;padding:14px 18px;border-top:1px solid rgba(0,0,0,.08)}
.row:first-child{border-top:0}
.row-art{flex:none;width:52px;height:52px;border-radius:5px;overflow:hidden;background:#E6E3DE}
.row-art img{width:100%;height:100%;object-fit:cover}
.row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.row-title{font:600 16px/1.3 'Public Sans',system-ui;color:#12332C;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row-meta{font:400 13px/1.35 'Public Sans',system-ui;color:#6B665D;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tag{flex:none;font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.06em;text-transform:uppercase;color:#1F6B5D;background:#EDF5D9;border:1px solid rgba(31,107,93,.2);padding:7px 9px;border-radius:3px;white-space:nowrap}
.btn-row{flex:none;display:flex;align-items:center;justify-content:center;gap:8px;height:44px;min-width:44px;padding:0 12px;border-radius:3px;border:1px solid rgba(18,51,44,.30);background:#fff;color:#12332C;font:600 14px/1 'Public Sans',system-ui;cursor:pointer;box-shadow:0 2px 0 rgba(18,51,44,.18),0 4px 8px -3px rgba(18,51,44,.12),inset 0 1px 0 rgba(255,255,255,.7);transition:transform 140ms cubic-bezier(.2,.8,.3,1),box-shadow 140ms cubic-bezier(.2,.8,.3,1),border-color 140ms ease,background-color 140ms ease}
.btn-row:hover{background:#EDF5D9;border-color:rgba(18,51,44,.5);transform:translateY(-1px);box-shadow:0 3px 0 rgba(18,51,44,.18),0 8px 14px -4px rgba(18,51,44,.14),inset 0 1px 0 rgba(255,255,255,.8)}
.btn-row:active{transform:translateY(2px);box-shadow:0 0 0 rgba(18,51,44,.18),0 0 0 rgba(18,51,44,0),inset 0 1px 0 rgba(255,255,255,.5);transition-duration:60ms,60ms,60ms,60ms}

/* Show grid + rails */
.grid{display:grid;grid-template-columns:repeat(6,1fr);gap:22px}
.tile{display:flex;flex-direction:column;gap:10px}
.tile-art{aspect-ratio:1;border-radius:12px;overflow:hidden;background:#E6E3DE;box-shadow:0 12px 24px -18px rgba(18,51,44,.55);transition:transform .2s ease-out,box-shadow .2s ease-out}
.tile:hover .tile-art{transform:translateY(-3px);box-shadow:0 18px 30px -18px rgba(18,51,44,.6)}
.tile-art img{width:100%;height:100%;object-fit:cover}
.tile-title{font:600 15px/1.3 'Public Sans',system-ui;color:#12332C}
.tile-pub{font:400 12px/1.3 'Public Sans',system-ui;color:#6B665D}
.rail-scroll{display:flex;gap:18px;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent)}
.rail-scroll::-webkit-scrollbar{display:none}
.rail-card{flex:none;width:172px;display:flex;flex-direction:column;gap:10px;scroll-snap-align:start}
.rail-card .tile-art{width:172px;height:172px;aspect-ratio:auto;position:relative}
.rank{position:absolute;left:8px;top:8px;background:rgba(18,51,44,.86);color:#B5D641;font:700 12px/1 ui-monospace,Menlo,monospace;padding:6px 8px;border-radius:3px}
.source{font:400 13px/1.4 'Public Sans',system-ui;color:#6B665D}

/* Storage banner */
.storage{background:#12332C;border-radius:6px;padding:22px;display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.storage-col{flex:1;min-width:240px;display:flex;flex-direction:column;gap:10px}
.storage-h{font:700 18px/1.2 'Public Sans',system-ui;color:#fff}
.storage-track{height:6px;background:rgba(255,255,255,.16);border-radius:3px;overflow:hidden}
.storage-track span{display:block;height:6px;background:#B5D641;border-radius:3px}
.storage-used{font:400 13px/1.2 'Public Sans',system-ui;color:rgba(255,255,255,.66)}
.storage-text{flex:1;min-width:250px;font:400 14px/1.5 'Public Sans',system-ui;color:rgba(255,255,255,.8);text-wrap:pretty}
.btn-onDark{flex:none;display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid rgba(255,255,255,.3);color:#fff;font:600 14px/1 'Public Sans',system-ui;padding:13px 18px;border-radius:3px;cursor:pointer;transition:border-color 140ms ease,color 140ms ease,transform 140ms cubic-bezier(.2,.8,.3,1)}
.btn-onDark:hover{border-color:#B5D641;color:#B5D641}
.btn-onDark:active{transform:translateY(2px);transition-duration:60ms,60ms,60ms}

/* Empty state */
.empty{background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:6px;padding:56px 28px 72px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.empty-h{font:700 24px/1.15 'Public Sans',system-ui;color:#12332C}
.empty-text{font:400 16px/1.5 'Public Sans',system-ui;color:#6B665D;max-width:430px;text-wrap:pretty}
.btn-soft{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#EDF5D9;color:#1F6B5D;border:1px solid rgba(31,107,93,.4);border-radius:3px;padding:14px 20px;font:600 15px/1 'Public Sans',system-ui;cursor:pointer;box-shadow:0 2px 0 rgba(31,107,93,.28),0 4px 8px -3px rgba(18,51,44,.16),inset 0 1px 0 rgba(255,255,255,.7);transition:transform 140ms cubic-bezier(.2,.8,.3,1),box-shadow 140ms cubic-bezier(.2,.8,.3,1)}
.btn-soft:hover{transform:translateY(-1px);box-shadow:0 3px 0 rgba(31,107,93,.28),0 8px 14px -4px rgba(18,51,44,.18),inset 0 1px 0 rgba(255,255,255,.8)}
.btn-soft:active{transform:translateY(2px);box-shadow:0 0 0 rgba(31,107,93,.28),0 0 0 rgba(18,51,44,0),inset 0 1px 0 rgba(255,255,255,.5);transition-duration:60ms,60ms}
.btn-lime{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#B5D641;color:#12332C;border:1px solid rgba(18,51,44,.55);border-radius:3px;padding:16px 21px;font:700 16px/1 'Public Sans',system-ui;cursor:pointer;box-shadow:0 2px 0 rgba(18,51,44,.55),0 4px 8px -3px rgba(18,51,44,.3),inset 0 1px 0 rgba(255,255,255,.4);transition:transform 140ms cubic-bezier(.2,.8,.3,1),box-shadow 140ms cubic-bezier(.2,.8,.3,1)}
.btn-lime:hover{transform:translateY(-1px);box-shadow:0 3px 0 rgba(18,51,44,.55),0 8px 14px -4px rgba(18,51,44,.32),inset 0 1px 0 rgba(255,255,255,.45)}
.btn-lime:active{transform:translateY(2px);box-shadow:0 0 0 rgba(18,51,44,.55),0 0 0 rgba(18,51,44,0),inset 0 1px 0 rgba(255,255,255,.25);transition-duration:60ms,60ms}

/* Console search bar (dark, lime border) */
.console{display:flex;align-items:stretch;border:2px solid rgba(181,214,65,.55);border-radius:3px;background:#12332C;box-shadow:inset 0 2px 10px rgba(0,0,0,.35);transition:border-color .2s ease-out,box-shadow .2s ease-out}
.console:hover{border-color:rgba(181,214,65,.8)}
.console:focus-within{border-color:#B5D641;box-shadow:inset 0 2px 10px rgba(0,0,0,.35),0 0 0 3px rgba(181,214,65,.22)}
.console-glyph{flex:none;width:52px;display:flex;align-items:center;justify-content:center;color:rgba(181,214,65,.65);transition:color .25s ease-out,transform .35s cubic-bezier(.2,.7,.3,1)}
.console:focus-within .console-glyph{color:#B5D641;transform:rotate(90deg)}
.console input{flex:1;min-width:0;border:0;outline:0;background:transparent;text-align:center;font:500 17px/1 'Public Sans',system-ui;color:#fff;caret-color:#B5D641;padding:17px 8px}
.console input::placeholder{color:rgba(255,255,255,.5)}
.console button{flex:none;width:52px;margin:5px;background:#B5D641;border:0;border-radius:3px;color:#12332C;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease-out,transform .12s ease-out}
.console button:hover{background:#C6E357}
.console button:active{background:#A3C22F;transform:translateY(1px)}
.chips{display:flex;gap:10px;flex-wrap:wrap}
.chip{background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:6px;padding:12px 16px;font:600 14px/1 'Public Sans',system-ui;color:#1C1A16}
.chip:hover{border-color:#2A8574;color:#1F6B5D}
.chip:active{background:#EDF5D9}

/* Settings cards */
.card{background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:6px;padding:4px 20px}
.card-pad{padding:20px}
.crow{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid rgba(0,0,0,.08)}
.crow:last-child{border-bottom:0}
.crow-label{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.crow-name{font:600 16px/1.3 'Public Sans',system-ui;color:#12332C}
.crow-note{font:400 14px/1.4 'Public Sans',system-ui;color:#6B665D;text-wrap:pretty}
.crow-stack{flex-direction:column;align-items:stretch;gap:12px}

/* Toggle + segmented picker, exactly as on the homepage */
.toggle{flex:none;width:50px;height:30px;border-radius:3px;padding:2px;border:2px solid rgba(0,0,0,.3);cursor:pointer;display:flex;background-color:#4A4740;justify-content:flex-start;transition:background-color .2s ease-out,border-color .2s ease-out}
.toggle .knob{width:22px;height:22px;border-radius:2px;background-color:#B5D641;opacity:.75;box-shadow:0 1px 3px rgba(18,51,44,.3);transition:transform .2s ease-out,opacity .2s ease-out}
.toggle[aria-pressed="true"]{border-color:#B5D641;background-color:#12332C}
.toggle[aria-pressed="true"] .knob{opacity:1;transform:translateX(20px)}
.toggle:hover{filter:brightness(1.06)}
.seg{flex:none;display:flex;border:2px solid rgba(0,0,0,.3);border-radius:3px;overflow:hidden;background-color:#4A4740}
.seg-btn{border:0;border-left:1px solid rgba(0,0,0,.28);background:transparent;color:rgba(255,255,255,.78);font:600 13px/1 'Public Sans',system-ui;padding:10px 13px;cursor:pointer;transition:background-color .2s ease-out,color .2s ease-out}
.seg-btn:first-child{border-left:0}
.seg-btn:hover{color:#fff;background-color:rgba(181,214,65,.22)}
.seg-btn[aria-checked="true"]{background-color:#B5D641;color:#12332C}
.caption{margin:0;padding:16px 0 4px;border-top:1px solid rgba(0,0,0,.08);font:400 14px/1.5 'Public Sans',system-ui;color:#6B665D;text-wrap:pretty}

/* Word group rows (custom filter, subtractive) */
.group{display:flex;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid rgba(0,0,0,.08)}
.group:last-child{border-bottom:0}
.group-eg{font:400 13px/1.4 ui-monospace,Menlo,monospace;color:#6B665D}

/* Mini player */
.mini{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#0D2721;border-top:1px solid rgba(255,255,255,.08)}
/* The player floats over the page, so the page has to end where the player
   begins: without this the footer's last line sits underneath it. The
   app-main's own bottom padding handles the middle of the page. */
body:has(.mini) .foot{padding-bottom:96px}
.mini-track{height:3px;background:rgba(255,255,255,.12)}
.mini-track span{display:block;height:3px;background:#B5D641}
.mini-inner{padding:12px 28px;max-width:1220px;margin:0 auto;display:flex;align-items:center;gap:16px}
.mini-art{flex:none;width:46px;height:46px;border-radius:5px;overflow:hidden;background:#1B4238}
.mini-art img{width:100%;height:100%;object-fit:cover}
.mini-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.mini-title{font:600 15px/1.25 'Public Sans',system-ui;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini-state{font:400 12px/1.3 'Public Sans',system-ui;color:rgba(255,255,255,.6);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini .btn-play{width:44px;height:44px}

/* Panel reveal, used when a hidden panel is shown */
@keyframes panel-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.is-revealed{animation:panel-in .18s ease-out both}

/* Toast */
.toast{position:fixed;left:50%;bottom:28px;z-index:60;transform:translate(-50%,12px);background:#12332C;color:#fff;font:600 15px/1 'Public Sans',system-ui;padding:14px 22px;border-radius:12px;box-shadow:0 16px 32px -18px rgba(18,51,44,.8);opacity:0;pointer-events:none;transition:opacity .2s ease-in,transform .2s ease-in;max-width:calc(100vw - 40px);text-align:center}
body.has-mini .toast{bottom:104px}
.toast.is-on{opacity:1;transform:translate(-50%,0);transition:opacity .2s ease-out,transform .2s ease-out}

/* Footer */
.foot{background:#F6F5F3;border-top:1px solid rgba(0,0,0,.07)}
.foot-inner{padding-top:34px;padding-bottom:34px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.foot-brand{display:flex;align-items:center;gap:9px;flex:1}
.foot-brand img{width:24px;height:24px;object-fit:contain}
.foot-brand span{font:700 16px/1 'Public Sans',system-ui;color:#12332C;letter-spacing:-.02em}
.foot-links{display:flex;gap:22px;font:500 14px/1 'Public Sans',system-ui;flex-wrap:wrap}
.foot-copy{font:400 13px/1 'Public Sans',system-ui;color:#6B665D}
.has-mini .foot-inner{padding-bottom:110px}

@media (max-width:1024px){
  .grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:900px){
  .wrap{padding:0 20px}
  .mini-inner{padding-left:20px;padding-right:20px}
  .page-h1{font-size:32px}
  .appbar-inner{gap:16px}
  .grid{grid-template-columns:repeat(3,1fr);gap:18px}
}
@media (max-width:640px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .row{flex-wrap:wrap}
  .row-body{flex:1 1 100%;order:2}
  .row-art{order:1}
  .row .tag,.row .btn-row{order:3}
  .appbar-inner{height:auto;padding-top:12px;padding-bottom:12px;flex-wrap:wrap;gap:12px}
  .appbar-spacer{display:none}
  .apptabs{order:3;flex:1 1 100%}
  .page-h1{font-size:28px}
  .resume{gap:14px}
  .storage{padding:18px}
  .foot-inner{align-items:flex-start;flex-direction:column;gap:18px}
  .foot-brand{flex:none}
  .foot-links{gap:14px 18px;line-height:1.3}
  .foot-copy{line-height:1.3}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001s !important;animation-delay:0s !important;transition-duration:.001s !important}
  .tile:hover .tile-art{transform:none}
  .btn-quiet:hover,.btn-row:hover,.btn-play:hover,.btn-soft:hover,.btn-lime:hover{transform:none}
}
html[data-pg-auth-pending] .page,html[data-pg-auth-error] .page{visibility:hidden}
html[data-pg-auth-error] .pg-auth-error{position:fixed;inset:0;display:grid;place-content:center;gap:14px;padding:28px;background:#12332C;color:#fff;text-align:center;z-index:100}
html[data-pg-auth-error] .pg-auth-error h1,html[data-pg-auth-error] .pg-auth-error p{margin:0}
html[data-pg-auth-error] .pg-auth-error button{justify-self:center;padding:12px 18px;border:1px solid #B5D641;border-radius:3px;background:#B5D641;color:#12332C;font:600 14px/1 'Public Sans',system-ui;cursor:pointer}
