/* Wide reading surface. Existing phone keys preserve apps, contacts and saves. */
/* Full artwork framing replaces the old portrait-phone crop. */
.tablet-page .phone-screen.phone-screen:before{background-image:linear-gradient(#06131a55,#06131acc),var(--phone-wallpaper);background-position:center,center;background-size:100% 100%,contain;background-repeat:no-repeat;background-color:#06111d;filter:none;transform:none}
.wallpaper-dialog .wallpaper-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.wallpaper-dialog .wallpaper-card img{aspect-ratio:16/9;object-fit:contain;background:#091825}
.tablet-page .phone-wallpaper-setting .phone-wallpaper-preview{width:min(100%,360px);height:auto;aspect-ratio:16/9;object-fit:contain;background:#091825}
.tablet-page>.heading{margin-bottom:14px;padding-bottom:0;min-height:0}
.tablet-page>.heading h1{font-size:clamp(25px,3vw,34px);margin-bottom:6px}
.tablet-page>.heading p{margin:0;font-size:15px}
.tablet-page .phone-page-actions{margin-bottom:12px;gap:8px}
.tablet-page .phone-stage{padding:0;gap:0;max-width:none;margin:auto}
.tablet-page .interactive-tablet{width:100%;max-width:none;height:calc(100dvh - 150px);min-width:0;flex-shrink:1;aspect-ratio:auto;border-radius:26px;border:3px solid #738b9d;filter:none;box-shadow:inset 0 0 0 3px #07111b,0 14px 32px #0006}
.tablet-page .interactive-tablet:after{width:6px;height:6px;top:6px;left:calc(50% - 3px);border-radius:50%}
.tablet-page .phone-screen{inset:19px 10px 10px;border-radius:15px;min-width:0}
.tablet-page .phone-screen:before{background-image:linear-gradient(#06131aa8,#06131ae8),var(--phone-wallpaper);background-position:center 35%}
.tablet-page .phone-status{min-height:28px;padding:3px 20px;font-size:12px}
.tablet-page .phone-content{padding:20px 28px 26px;font-size:16px;line-height:1.65;scrollbar-gutter:stable;min-width:0}
.tablet-page .phone-content:not(.phone-content-home){background:#081722f5}
.tablet-page .phone-content p,.tablet-page .phone-content .phone-empty,.tablet-page .phone-content .pulse-post p,.tablet-page .phone-content .pulse-reply{font-size:16px!important;line-height:1.7}
.tablet-page .phone-content small,.tablet-page .phone-content .tiny,.tablet-page .phone-content .phone-fineprint{font-size:13px!important;line-height:1.55!important;color:#c8dbe9!important}
.tablet-page .phone-content button,.tablet-page .phone-content summary,.tablet-page .phone-content .player-name-link{font-size:15px;min-height:44px;line-height:1.5}
.tablet-page .phone-content h3{font-size:25px;line-height:1.3}
.tablet-page .phone-content h4{font-size:19px}
.tablet-page .phone-content-home{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:14px 20px}
.tablet-page .phone-owner{gap:14px;min-width:0;align-self:center}
.tablet-page .phone-owner .immersive-avatar{width:52px;height:64px}
.tablet-page .phone-owner h3{font-size:24px;margin:3px 0}
.tablet-page .phone-owner span{font-size:14px}
.tablet-page .phone-clock{font-size:42px;margin:0;text-align:right;align-self:center}
.tablet-page .phone-clock small{white-space:normal;letter-spacing:0}
.tablet-page .phone-content-home>.phone-quiet,.tablet-page .phone-content-home>.phone-notification{grid-column:1/-1;margin:0;text-align:left}
.tablet-page .phone-app-grid{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:4px 0 0}
.tablet-page .phone-app-grid button{padding:14px 10px;gap:8px;border:1px solid #8ab6cc66;border-radius:14px;background:#0a2132f7;text-shadow:none;transition:background .15s,border-color .15s}
.tablet-page .phone-app-grid button:hover{background:#16364b;border-color:#81d5e0}
.tablet-page .phone-app-grid button:focus-visible{outline:3px solid #81d5e0;outline-offset:2px}
.tablet-page .phone-app-grid button strong{font-size:16px;line-height:1.35}
.tablet-page .phone-app-grid button small{display:block;font-size:13px!important}
.tablet-page .app-icon{width:50px;height:50px;font-size:28px}
.tablet-page .pulse-post,.tablet-page .pulse-composer,.tablet-page .phone-contact,.tablet-page .rumor-card{max-width:850px;margin-inline:auto;min-width:0}
.tablet-page .phone-contact{padding:16px 0;gap:12px;flex-wrap:wrap}
.tablet-page .phone-contact>div{min-width:0;flex:1 1 180px}
.tablet-page .phone-back{font-size:16px;min-height:44px;padding:9px 22px}
.tablet-page .phone-home-button{min-height:24px}
.tablet-page .phone-home-button:after{left:calc(50% - 45px);width:90px}
.tablet-page .pulse-tabs button{font-size:15px;padding:10px 8px}
.tablet-page .phone-skin-grid{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))}
.tablet-page .phone-wallpaper-preview{width:210px;height:125px;object-fit:contain;background:#07111b}
.agent-guide{padding:14px 18px;gap:16px;margin-bottom:18px;border-radius:12px}
.agent-guide .agent-guide-character{width:72px}
.agent-guide-character>img{height:80px}
.agent-guide-character>div{padding:5px}
.agent-guide-character small{font-size:8px;margin-top:2px}
.agent-guide h2{font-size:21px;line-height:1.3;margin:6px 0}
.agent-guide p{font-size:14px;line-height:1.55;margin:6px 0}
.agent-guide-bottom{margin-top:10px;gap:12px}
.agent-guide-bottom button{min-height:40px;padding:9px 14px}
.solo-hero{min-height:0;padding:16px 20px;gap:20px;margin-bottom:14px}
.solo-hero h2{font-size:30px;line-height:1.2;margin:5px 0;letter-spacing:2px}
.solo-hero h2>span{display:inline;font-size:11px;letter-spacing:1.5px;margin:0}
.solo-hero p{margin:6px 0;line-height:1.5}
.solo-hero .actions{margin-top:10px;gap:8px}
.solo-hero .actions button{min-height:40px;padding:8px 12px}
.solo-leader{gap:10px;flex-shrink:0}
.solo-leader .solo-crown{width:58px;height:58px}
.solo-leader strong{font-size:22px;margin-top:4px}
.solo-filters.panel{padding:14px 16px;gap:14px;margin-bottom:14px}
.solo-filters label{margin-bottom:5px;font-size:12px;letter-spacing:0}
.solo-filters input,.solo-filters select{padding:9px 10px;min-height:42px;font-size:14px;box-sizing:border-box}
.solo-filters>div{min-width:0}
.season-objectives-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px;line-height:1.6}
.season-objectives-choice strong{font-size:17px;color:#ecf2f7}
.season-objectives-choice span{font-size:14px;color:#ddc18d}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1100px){.tablet-page .phone-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tablet-page .phone-app-grid button{padding:10px 8px}.tablet-page .phone-app-grid button small{display:none}.tablet-page .phone-content{padding:16px 20px}}
@media(max-width:700px){.tablet-page .phone-content-home{gap:12px}.tablet-page .phone-clock{font-size:32px}.tablet-page .phone-owner small{display:none}.tablet-page .phone-owner h3{font-size:20px}.tablet-page .phone-content{padding:14px}.tablet-page .phone-app-grid{gap:9px}.tablet-page .phone-app-grid button strong{font-size:14px}.tablet-page .app-icon{width:44px;height:44px;font-size:25px}.tablet-page .phone-page-actions button{font-size:13px}.solo-hero{flex-wrap:wrap;padding:14px}.solo-leader{flex-shrink:1}.solo-filters.panel{grid-template-columns:1fr 1fr;gap:10px}.solo-filters>div:first-child{grid-column:1/-1}.agent-guide{padding:12px;gap:12px}.agent-guide .agent-guide-character{width:58px}.agent-guide-character>img{height:68px}.agent-guide h2{font-size:19px}.agent-guide-top{flex-wrap:wrap;gap:5px}.agent-guide-top .eyebrow{font-size:10px}.agent-guide-bottom{flex-wrap:wrap}}
@media(max-width:420px){.tablet-page .phone-content-home{grid-template-columns:1fr}.tablet-page .phone-clock{text-align:left;font-size:28px;display:flex;align-items:center;gap:12px}.tablet-page .phone-clock small{font-size:12px!important;margin:0}.tablet-page .phone-owner .immersive-avatar{width:42px;height:52px}.tablet-page .phone-content{padding:12px 9px}.tablet-page .phone-app-grid{gap:8px}.tablet-page .phone-app-grid button{padding:10px 3px}.tablet-page .phone-page-actions{justify-content:flex-start}.tablet-page .interactive-tablet{border-radius:20px}.tablet-page .phone-screen{inset:17px 7px 7px}.agent-guide .agent-guide-character{width:46px}.agent-guide-character>img{height:58px}.agent-guide-character small{display:none}}

/* The tablet owns the page; navigation and tools stay in a single compact row. */
body[data-screen="phone"] #main{padding:10px 14px 12px;max-width:none;min-height:0}
body[data-screen="phone"] .shell>header{min-height:40px;padding-block:8px}
.tablet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;min-width:0}
.tablet-toolbar h1{font-size:20px;line-height:1.3;margin:0;letter-spacing:0}
.tablet-toolbar .phone-page-actions{margin:0;justify-content:flex-end;gap:8px}
.tablet-toolbar .phone-page-actions button{min-height:40px;padding:8px 12px;font-size:13px}
.tablet-page .phone-content-home{grid-template-columns:minmax(0,1fr) auto;gap:12px 20px}
.tablet-page .phone-app-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.tablet-page .interactive-tablet{border-radius:22px}
.tablet-page .phone-screen{inset:15px 8px 8px}
.tablet-page .phone-content-home>.phone-quiet{font-size:14px!important}

@media(max-width:600px){
 body[data-screen="phone"] #main{padding:8px 6px}
 .tablet-toolbar{gap:6px}
 .tablet-toolbar h1{font-size:18px}
 .tablet-toolbar .phone-page-actions{gap:4px}
 .tablet-toolbar .phone-page-actions button{font-size:12px;padding:8px;min-height:44px}
 .tablet-page .phone-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .tablet-page .phone-content-home{gap:10px;grid-template-columns:1fr auto}
 .tablet-page .phone-owner .immersive-avatar{display:none}
 .tablet-page .phone-owner h3{font-size:19px}
 .tablet-page .phone-clock{font-size:26px;display:block;text-align:right}
 .tablet-page .phone-app-grid button{padding:10px 4px}
}
@media(max-height:650px){
 .tablet-page .phone-content-home{padding-top:8px;gap:8px}
 .tablet-page .phone-owner .immersive-avatar{display:none}
 .tablet-page .phone-owner h3{font-size:20px}
 .tablet-page .phone-clock{font-size:28px}
 .tablet-page .phone-content-home>.phone-quiet{display:none}
 .tablet-page .phone-app-grid button{padding:8px 4px;gap:4px}
 .tablet-page .app-icon{width:36px;height:36px;font-size:22px}
}
.ranked-practice-summary,.ranked-pacing-note{font-size:13px;line-height:1.6;color:#c8dbe9;margin:12px 0}
.ranked-practice-summary b{color:#a8e6bd}
.ranked-practice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px 18px;font-size:13px}
.ranked-practice-list span{display:flex;justify-content:space-between;gap:8px}
.ranked-practice-list b{color:#a8e6bd}
