/* Clear controls and an iPhone-first working surface. */
.holy-log-results .tc-grid{width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.holy-log-results .tc-record{grid-row:auto}.tc-donut{width:min(100%,260px);height:auto;aspect-ratio:1}.tc-donut>div{width:80%;height:auto;aspect-ratio:1}.tc-donut strong{font-size:clamp(38px,4vw,52px)}
@media(min-width:1100px){.holy-log-columns{grid-template-columns:300px minmax(0,1fr);gap:24px}}
@media(max-width:1000px){.holy-log-results .tc-grid{grid-template-columns:1fr}}
html:not(.theme-dark){--holy-paper:#f9f4e8;--ink:#f9f4e8;--ink-2:#efe8db;--panel:rgba(255,250,239,.85);--panel-solid:#fffaf0;--holy-line:#ddd6c8}
html:not(.theme-dark) .topbar{background:rgba(249,244,232,.96)}
html:not(.theme-dark) :is(.about-page,.stats-page){background-color:var(--holy-paper)}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 15px!important;border:1px solid var(--holy-ink)!important;border-radius:999px!important;background:var(--holy-ink)!important;color:var(--holy-paper)!important;box-shadow:0 3px 12px #0001}
.theme-toggle b{display:block!important;font:700 12px var(--sans);white-space:nowrap}.theme-toggle>span{font-size:20px;line-height:1}.theme-toggle:hover{box-shadow:0 4px 18px #0003}.theme-toggle:focus-visible{outline:3px solid var(--holy-green);outline-offset:4px}.header-tools{gap:12px}
@media(max-width:760px){
 .topbar{height:72px;padding:8px max(14px,env(safe-area-inset-left));gap:8px}.brand{gap:8px}.brand b{font-size:11px}.brand-avatar{width:35px;height:39px}.header-tools{gap:8px}.theme-toggle{padding:9px 11px!important;min-height:44px}.theme-toggle b{font-size:11px}.theme-toggle>span{font-size:18px}.account-chip{min-width:44px;min-height:44px;justify-content:center}.account-chip img{width:30px;height:30px}
 .mainnav{bottom:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom));display:flex!important;justify-content:space-around;gap:2px;border-top:1px solid var(--holy-line);background:var(--holy-paper)!important;box-shadow:0 -6px 25px #00000008;overflow-x:auto;overscroll-behavior-x:contain}.mainnav button{flex:1 0 auto;min-height:46px;padding:10px 9px;font-size:11px;white-space:nowrap;color:var(--holy-muted)}.mainnav button.is-active{color:var(--holy-ink);background:color-mix(in srgb,var(--holy-green) 12%,transparent);box-shadow:inset 0 -3px var(--holy-green)}
 #home{padding:28px 22px calc(110px + env(safe-area-inset-bottom));gap:24px;min-height:calc(100svh - 72px)}#home .overline{font-size:10px;line-height:1.8;letter-spacing:.06em}#home .hero-copy h1{font-size:clamp(43px,10.7vw,64px);margin:18px 0;line-height:1.08}#home .hero-lead{font-size:17px;line-height:1.75}#home .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}#home .hero-actions .action-primary,#home .holy-secondary{font-size:12px;padding:16px 10px;border-radius:8px;min-height:56px}#home .hero-socials{gap:12px}#home .holy-season-strip{gap:12px;padding:20px 0;margin:24px 0}#home .holy-season-strip b{font-size:23px}#home .hero-visual{width:min(420px,100%);margin:8px auto 0}#home .profile-orbit{width:88%;margin-right:8%}#home .holy-bonney-card{top:47%;width:29%}
 .holy-page{padding:26px 18px calc(115px + env(safe-area-inset-bottom));font-size:17px}.holy-page-head h2{font-size:clamp(32px,9vw,42px);line-height:1.14}.holy-page-head p{font-size:16px;line-height:1.75}.holy-tabs{position:sticky;top:72px;z-index:8;background:var(--holy-paper);padding-top:5px;margin-bottom:24px}.holy-tabs button{font-size:16px;flex:1;padding:15px 12px}.holy-deck-unlock{padding:15px;box-shadow:0 0 35px 18px var(--holy-paper)}.holy-deck-unlock h3{font-size:26px}.holy-deck-unlock p{font-size:16px}.holy-deck-locked{min-height:360px;padding:25px 16px}.holy-sign-in,.holy-save{min-height:52px;border-radius:7px;font-size:14px}.holy-game-form input,.holy-game-form select,.holy-game-form textarea,.holy-filters select{font-size:16px!important;min-height:46px}.holy-game-form textarea{min-height:130px}.holy-radio-row label{min-height:48px;padding:10px}.holy-game{border-radius:9px;padding:18px}.holy-game details p{font-size:16px;line-height:1.8;overflow-wrap:anywhere}.holy-game time{line-height:1.7}.holy-game-actions{flex-wrap:wrap;gap:9px}.holy-game-actions a,.holy-game-actions button{min-height:44px}.holy-log-summary{gap:10px}.holy-log-summary article{border-radius:9px}.holy-log-summary small{font-size:10px}.holy-filters label{font-size:12px;min-width:0}.holy-filters select{max-width:100%;width:100%}.holy-log-results{min-width:0}.holy-log-results .tc-panel{min-width:0}.account-panel{padding-bottom:calc(28px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0}.account-panel input{font-size:16px!important}
}
@media(max-width:365px){.theme-toggle b{font-size:10px}.theme-toggle{gap:5px;padding:8px!important}.brand b{font-size:10px}#home .hero-actions{grid-template-columns:1fr}.mainnav button{font-size:10px;padding-inline:7px}}
