/* Version D: removable screen-scoped presentation, composed over the Version C files. */
.ad-screen{--ad-cream:#f9f3df;--ad-ink:#102f24;--ad-edge:#dfd5b9;--ad-orange:#f36a19}
.ad-screen .ad-icon{width:30px;height:30px;display:inline-block;vertical-align:middle;flex:none;overflow:hidden;filter:drop-shadow(0 1px 1px #102c2322)}
.ad-screen .ci{background:#eee5c8!important;border:1px solid #e2d4af!important;border-bottom:3px solid #bbaa7f!important;border-radius:7px;box-shadow:inset 0 1px 0 #fff7e1!important;overflow:hidden}.ad-screen .ci>.ad-icon{width:100%!important;height:100%!important;padding:2px;box-sizing:border-box}
.ad-screen .d-inline-icon.ad-icon{width:1.45em;height:1.45em}.ad-screen .d-mini-icon.ad-icon{width:30px;height:30px}
.ad-screen [data-ad-position]{border:0!important;border-radius:4px!important;box-shadow:inset 0 1px 1px #ffffff55,0 1px 1px #0b2d2522!important;color:#fff9e9!important;text-shadow:0 1px 1px #163b3233;font-family:DioramaSport;font-weight:600;letter-spacing:.1px;line-height:1.15;display:inline-flex;align-items:center;justify-content:center}
.ad-screen [data-ad-position=GK]{background:linear-gradient(#3a75af,#26538a)!important}.ad-screen [data-ad-position=DEF]{background:linear-gradient(#ff9b24,#ed7609)!important}.ad-screen [data-ad-position=MID]{background:linear-gradient(#188b68,#076746)!important}.ad-screen [data-ad-position=FWD]{background:linear-gradient(#ee4836,#cc2525)!important}
.ad-screen [data-ad-rating=high]{color:#14823a!important}.ad-screen [data-ad-rating=mid]{color:#a67b0d!important}.ad-screen [data-ad-rating=low]{color:#b52c1e!important}
.ad-screen .d-player-stats{border-top:1px solid #d9cda9}.ad-screen .d-player-stats>div{border-right:1px solid #ded2af}.ad-screen .d-player-stats>div:last-child{border-right:0}
.ad-screen :is(.d-hub-paper,.d-career-paper,.d-season-paper,.d-title-paper,.d-opponent,.d-sponsor){background:linear-gradient(110deg,#fff9e8,#eee6cc);border:1px solid #e0d4b4;border-radius:6px;box-shadow:0 2px 0 #071e1933;color:var(--ad-ink)}
.ad-screen .d-tabs button{background:linear-gradient(115deg,#174b38,#072f25);border:1px solid #376c54;border-radius:5px;box-shadow:inset 0 1px 0 #71947c55,0 2px 0 #05291f;font-weight:600;color:#fff6de}
.ad-screen .d-tabs button[aria-selected=true]{background:linear-gradient(120deg,#ff842d,#e7530e);border-color:#ffb165;box-shadow:inset 0 0 0 2px #ff9b45,0 2px 0 #743413}
.ad-screen :is(button.go,button.big){background:linear-gradient(120deg,#ff7b25,#e7500c);border-color:#ffab59;border-bottom-color:#a83e11;box-shadow:inset 0 0 0 1px #ffae5c,0 2px 0 #062b20;font-weight:600}
/* Let the existing detailed scene illustrations establish each hub's composition. */
.ad-screen .d-hub-scene{height:clamp(145px,24vh,230px);max-height:none;flex:none;background-size:cover;background-position:center;border-bottom:1px solid #c3ab74}
.ad-screen .d-hub-tabs{margin:0}.ad-screen .d-hub-paper{padding:8px}.ad-screen .d-staff-row{border:1px solid #e2d7b8;background:#faf3dd;border-radius:5px;margin:5px 0;box-shadow:0 1px 1px #1b34231c}.ad-screen .d-staff-open{min-height:78px;padding:5px 7px;gap:10px;background:transparent}.ad-screen .d-staff-open>.ad-staff{width:66px;height:68px;border-radius:4px;flex:none}.ad-screen .d-staff-open small{font:500 13px/1.15 DioramaSport}.ad-screen .d-staff-open b{font:600 23px/1.1 DioramaSport}.ad-screen .d-staff-stars{color:#e7a51a;text-shadow:0 1px #946420}.ad-screen .d-chairman{background:linear-gradient(110deg,#f7cc93,#f7a762);border:2px solid #e9661a;border-radius:5px}.ad-screen .d-dept{border-top:1px solid #dfd1ad;background:#efe4c9;color:#174c36}
.ad-screen .d-staff-profile-art{height:clamp(175px,31vh,285px);background:url('assets/diorama/office.webp') center/cover;border:5px solid #f0e5c8;clip-path:polygon(3% 0,97% 0,100% 5%,100% 100%,0 100%,0 5%)}.ad-screen .d-staff-profile-art>.ad-staff{width:100%;height:100%}.ad-screen .d-staff-identity{background:#f9f1db}.ad-screen .d-staff-profile-info{background:#f8f0d8}
.ad-screen .d-facilities article{background:#fcf6e4;border:1px solid #e1d6b7;border-radius:5px}.ad-screen .d-fac-art{aspect-ratio:1.65}.ad-screen .d-facilities p{font:15px/1.2 DioramaSport}.ad-screen .d-facilities header{font:600 19px DioramaSport}
.ad-screen .d-division-table.d-full-table td{font:500 16px/1.15 DioramaSport;padding:10px 2px;border-bottom:1px solid #dcd1b3}.ad-screen .d-division-table th{font:500 13px DioramaSport;color:#4d6250}.ad-screen .d-division-table.d-full-table .d-team-mark,.ad-screen .d-division-table.d-full-table .d-crest{display:inline-block;width:18px;height:23px;margin-right:4px}.ad-screen .d-division-table tr.me{background:linear-gradient(90deg,#b9de8c,#dcecc0)}.ad-screen .d-cup-journey,.ad-screen .d-season-records article{background:#faf3dd;border-color:#dbcfad}
.ad-screen .d-fin-row{padding:10px 4px;gap:8px;border-color:#d8cdb0;font:500 20px DioramaSport}.ad-screen .d-fin-row>.ad-icon{width:36px;height:36px}.ad-screen .d-fin-row>b{font:600 29px DioramaSport}.ad-screen .d-fin-total{border-top:2px solid #9eac7e;background:#e1e9bd;border-radius:3px}.ad-screen .d-sponsor.vacant{background:#f0ead6}.ad-screen .d-net-grid>div{background:#fcf7e5}
.ad-screen.d-speaker-picker .card{background:linear-gradient(115deg,#fff9e9,#eee3c4);border-color:#dac9a2;border-bottom-color:#a39368}.ad-screen.d-speaker-picker .card h3{font-weight:600}.ad-screen.d-speaker-picker .ci{width:64px;height:64px}.ad-screen .d-opponent p{padding:7px 3px;border-bottom:1px solid #ded3b6;font-size:16px}.ad-screen .d-opponent .d-ribbon{margin:10px 0}
.ad-screen.d-result .result{background:linear-gradient(115deg,#fffae8,#e7dfc1);border-color:#d4c49f}.ad-screen.d-result .panel{background:#faf4e1;border-color:#ded1ad}.ad-screen.d-result .li{font-weight:500}.ad-screen .d-career-paper h1{font-weight:600}.ad-screen .d-gain{border-color:#d5c8a3}.ad-screen .d-training-tier{box-shadow:inset 0 1px 0 #ffe6a6,0 2px 0 #b78a30}.ad-screen .d-save-list .svrow{background:linear-gradient(110deg,#fff8e5,#e9dfc1);border-color:#cdbc95}.ad-screen .sc-report-card{border-color:#e2d3ad;background:#f8f0d6}.ad-screen .sc-stage footer button{border-radius:5px}
@media(max-height:700px){.ad-screen .d-hub-scene{height:140px;max-height:140px}.ad-screen .d-staff-open{min-height:64px}.ad-screen .d-staff-open>.ad-staff{width:54px;height:56px}.ad-screen .d-division-table.d-full-table td{padding:7px 2px}.ad-screen .d-fin-row{padding:7px 3px}.ad-screen .d-staff-profile-art{height:175px}}
@media(max-height:600px){.ad-screen .d-hub-scene{height:105px;max-height:105px}.ad-screen .d-staff-profile-art{height:140px}.ad-screen.d-speaker-picker .ci{width:50px;height:50px}}
@media(prefers-reduced-motion:no-preference){.ad-screen .d-hub-scene{animation:ad-arrive .35s ease-out both}@keyframes ad-arrive{from{opacity:.75}to{opacity:1}}}
.ad-screen .d-home-stats .ad-icon,.ad-screen .d-home-stats .d-squad-object{width:40px;height:42px;flex:none}.ad-screen.d-home .d-fixture{background:linear-gradient(115deg,#fff9e6,#eee4c8);border-color:#dfcfa8}.ad-screen.d-home .d-home-stats{background:linear-gradient(115deg,#fff9e6,#eee4c8);border-color:#dfcfa8}.ad-screen .d-home-stats>div{background:#faf3dd;border-color:#e2d6b8;border-radius:5px}.ad-screen .d-home-stats b{font-weight:600}
.ad-screen .d-control{filter:drop-shadow(0 1px 0 #ffffff33)}.ad-screen .match .sc{border-color:#cbbb93;background:linear-gradient(110deg,#fff8e4,#eae0c4)}.ad-screen .match .dock{background:linear-gradient(110deg,#fff8e5,#eee4c8)}
.ad-screen .ci[data-ad-scene]{border:1px solid #d1c198!important;padding:0!important}.ad-screen .ci .ad-choice-scene{width:100%;height:100%;display:block}.ad-screen .d-hub-club[data-section=Museum]{background-image:url('assets/diorama/trophy-room-generic.webp');background-position:center 48%}.ad-screen .d-hub-league[data-section=Cups]{background-image:url('assets/diorama/trophy-room-generic.webp');background-position:center 48%}
.ad-screen .d-decision-details>.d-page-area{background:linear-gradient(115deg,#fff9e6,#ede2c4);border:1px solid #d8c59e;border-radius:5px;color:#15392a;padding:12px}.ad-screen .d-decision-details .dtxt{color:#435843!important;line-height:1.4}.ad-screen .d-decision-details h3{font:600 24px/1.1 DioramaSport;color:#15392a;border-top:1px solid #cbbb94;padding-top:12px;margin-top:14px}.ad-screen .d-decision-details .cl{font:15px/1.35 Arial;color:#263f30}.ad-screen .d-decision-details .pl{display:grid;grid-template-columns:35px minmax(0,1fr) 32px 59px;gap:6px;align-items:center;width:100%;margin:8px 0;padding:7px 0;border-bottom:1px solid #ded0ac}.ad-screen .d-decision-details .pln{font:600 19px/1.1 DioramaSport;min-width:0;overflow-wrap:anywhere}.ad-screen .d-decision-details .pln em{display:block;font:12px/1.2 Arial;color:#5e6a4e}.ad-screen .d-decision-details .hl{display:flex;flex-wrap:wrap;align-items:center;font:12px/1.2 Arial;gap:2px;margin-top:4px;white-space:normal}.ad-screen .d-decision-details .hl .ad-icon{width:21px;height:21px}.ad-screen .d-decision-details .pos{font:600 13px DioramaSport;padding:4px}.ad-screen .d-decision-details .pl-rating{color:#163b29}.ad-screen .d-decision-details .pl-fitness{color:#3f5843;font:11px Arial}
