/* Copyright (c) 2026 Karaoke Set Go. All rights reserved. */
body.phone-experience .site-header,body.phone-experience .site-footer,body.phone-experience>.public-attribution{display:none}
.phone-experience .wrap{max-width:680px;padding:12px 16px calc(96px + env(safe-area-inset-bottom))}
.phone-experience .jh{padding:4px 0 12px;display:grid;grid-template-columns:44px 1fr;gap:4px 12px;text-align:left;align-items:center}
.phone-experience .jh img{width:44px;height:44px;border-radius:10px;grid-row:1/3}
.phone-experience .jh .title-neon{font-size:22px;margin:0;overflow-wrap:anywhere}
.phone-experience .jh .now{margin:0;font-size:14px}
.phone-experience .jh>:not(img):not(h1):not(.now){grid-column:1/-1}
.phone-experience .card,.phone-experience .mine{padding:16px;margin-bottom:12px;min-width:0}
.phone-experience :is(input,select,button,a.btn){min-height:44px;max-width:100%}
.phone-experience :is(input,select){font-size:16px;min-width:0}
.phone-experience :is(h1,h2,h3,p,.song,.art){overflow-wrap:anywhere}
.phone-experience .foot{margin-top:16px}
.phone-experience .phone-nav{position:fixed;bottom:0;left:0;right:0;z-index:80;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line)}
.phone-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:13px;line-height:1.3;padding:6px 2px;min-height:56px}
.phone-nav button[aria-current=page]{background:var(--panel2);color:var(--neon)}
.phone-nav svg{width:22px;height:22px}
.phone-experience .phone-nav{max-width:680px;margin:0 auto;box-sizing:border-box}.phone-experience .jh .link,.phone-experience .foot a{display:inline-flex;align-items:center;min-height:44px}.phone-toolbar summary,.phone-experience summary{min-height:44px;align-content:center}

.phone-heading{margin:12px 0;font-size:23px}.phone-summary{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);color:var(--text);font:inherit}
.phone-panel[hidden]{display:none!important}.phone-panel{min-width:0}
.phone-experience #install-card{margin-top:16px}.phone-experience #saved-reaction-packs,.phone-experience #reactions-card>.reaction-search,.phone-experience #reaction-buttons+div{display:none}
.phone-experience #reactions-card{border:0;padding:0;background:none}.phone-experience #reaction-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.phone-experience #reaction-buttons .btn{min-height:64px;margin:0;display:grid;place-items:center;font-size:30px}.phone-experience #reaction-buttons img{height:48px;width:100%;object-fit:contain}
.phone-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.phone-toolbar>.input{flex:1 1 170px}.phone-toolbar label{display:flex;align-items:center;gap:8px;min-height:44px}.phone-toolbar input[type=checkbox]{width:22px;min-height:22px}
.phone-switch{display:flex;gap:6px}.phone-switch .btn[aria-pressed=true]{border-color:var(--neon);color:var(--neon)}
.phone-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
.phone-library-grid .reaction-tile{width:100%;min-width:0;display:flex;flex-direction:column;text-align:left;position:relative;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);font:inherit}
.phone-library-grid .reaction-tile-art{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:var(--panel2)}
.phone-library-grid img{height:100%;width:100%;object-fit:cover}.phone-library-grid h3{font-size:15px;line-height:1.4;margin:8px 0 0;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.phone-library-grid .reaction-lock{position:absolute;right:4px;top:4px;background:var(--bg);padding:5px;border-radius:8px}.phone-library-grid svg{width:18px;height:18px}
.phone-experience .phone-pack-detail img{width:100%;max-height:220px;object-fit:contain}.phone-pack-detail .reaction-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.phone-pack-detail article{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0;display:flex;flex-direction:column;gap:8px}.phone-pack-detail article img{aspect-ratio:1;max-height:160px}.phone-pack-detail article h3{font-size:15px;margin:0;min-height:2.8em}.phone-pack-detail article .btn{margin-top:auto;white-space:normal}.phone-pack-detail .grid-two{display:none}
.phone-experience .reaction-preference{margin:12px 0}.phone-experience .check{min-height:44px}.phone-experience .mine .actions{flex-wrap:wrap}.phone-experience #alert-overlay .t{font-size:clamp(26px,8vw,40px)}
.phone-saved-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0}.phone-saved-row>div{min-width:0}.phone-saved-row p{margin:4px 0}.phone-saved-row b{overflow-wrap:anywhere}
.phone-saved-actions{display:flex;gap:6px;flex:none}.phone-saved-actions svg{width:20px;height:20px}.phone-saved-actions .btn{padding:8px;min-width:44px}
.phone-experience dialog{max-width:min(92vw,480px);background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:16px}.phone-experience dialog::backdrop{background:#000b}
@media(max-width:380px){.phone-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phone-experience .wrap{padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){.phone-experience *{animation:none!important;scroll-behavior:auto!important}}

.phone-experience #reactions-card>h2,.phone-reaction-library>h3{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.phone-experience #reaction-buttons{display:flex;overflow-x:auto;gap:6px;padding-bottom:6px}.phone-experience #reaction-buttons .btn{flex:0 0 52px;min-height:52px;font-size:28px;padding:6px}.phone-experience #reaction-buttons img{height:36px;width:36px}.phone-experience #reaction-status{font-size:13px;line-height:1.4;margin:6px 0}.phone-toolbar label{font-size:14px}.phone-toolbar{gap:6px}

/* Keep ownership icons inside the artwork rather than in the card flow. */
.phone-pack-detail .phone-reaction-art{position:relative;aspect-ratio:1;display:grid;place-items:center;min-width:0;overflow:hidden;border-radius:8px}
.phone-pack-detail .phone-reaction-art img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.phone-pack-detail .reaction-lock{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--bg);pointer-events:none}
.phone-pack-detail .reaction-lock [data-ui-icon],.phone-pack-detail .reaction-lock svg{display:block;width:18px;height:18px;flex:none}
.phone-pack-detail article>h3{line-height:1.35;min-height:2.7em;max-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.phone-pack-detail article>.btn{margin-top:0;min-height:44px;padding:8px 10px}
.phone-pack-detail article>.notice{font-size:13px;line-height:1.4}
.phone-pack-detail>.spaced .notice{font-size:13px;line-height:1.45;margin:8px 0}

.phone-cancel-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.phone-cancel-confirm>span{flex-basis:100%;font-size:14px}

.phone-request-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.phone-request-head>div{min-width:0}.phone-request-remove{flex:0 0 44px;width:44px;height:44px;padding:10px;display:grid;place-items:center}.phone-request-remove svg{width:20px;height:20px}.phone-request-footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}.phone-experience .mine .state{margin-top:10px}.phone-experience .mine .reaction-preference{display:flex;align-items:flex-start;gap:8px;line-height:1.4}.phone-experience .mine .reaction-preference input{flex:none;min-height:22px;margin:0}.phone-request-footer:empty{display:none}.phone-request-footer .phone-cancel-confirm{flex-basis:100%}

/* Bottom bar: as many equal tabs as are showing (Games only appears while a game is on), and the page always ends above it. */
.phone-experience .phone-nav{grid-template-columns:repeat(var(--phone-tabs,4),minmax(0,1fr))}
.phone-nav button[hidden]{display:none}
body.phone-experience main#main.wrap{padding-bottom:calc(var(--phone-nav-h,96px) + 28px)}
.phone-games-note{margin-bottom:12px}
html.kiosk:not(.kiosk-seat) .phone-nav [data-phone-view=games],html.kiosk:not(.kiosk-seat) .phone-nav [data-phone-view=photos],html.kiosk:not(.kiosk-seat) .phone-games-note{display:none!important}
.phone-nav button{position:relative}
.phone-nav button.has-new::after{content:"";position:absolute;top:8px;left:calc(50% + 10px);width:10px;height:10px;border-radius:50%;background:var(--neon);box-shadow:0 0 0 3px var(--panel)}
.phone-name-form{display:grid;gap:10px}
.phone-name-form .lbl{margin:0}
html.kiosk #phone-name{display:none!important}

/* The lock badge keeps one small size on every phone page (it used to grow to fill the tile where nothing sized its icon). */
.reaction-lock{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:28px;height:28px;max-width:28px;max-height:28px;overflow:hidden;border-radius:8px;box-sizing:border-box;line-height:0}
.reaction-lock [data-ui-icon],.reaction-lock svg,.reaction-lock .ui-icon,.reaction-lock img{display:block;width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important;flex:none}

/* Frame pictures in the frame library (2026-11-18): no drag, no long-press save, no selection. */
.frames-kind .reaction-tile img,.frames-kind .phone-reaction-art img,.frames-kind .phone-art-preview img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}

/* Show licence (2026-11-19): packs the host opened to everyone at this show */
.reaction-show-tag{display:inline-block;font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;border:1px solid var(--line)}
.reaction-show-note{padding:10px 12px;border-radius:12px;border:1px solid var(--line)}
