/* October 16 approved Play. Shared palette is inherited from the app canvas. */
#arenaFull #arenaBody .ap-presented,#arenaFull #arenaBody .ap-library{--ap-ink:var(--app-ivory,#f8f4ea);--ap-edge:var(--app-edge,#4b9bbc);--ap-muted:#c1d5e3;color:var(--ap-ink);background:radial-gradient(ellipse at 70% 0%,#073e5b55,transparent 65%),linear-gradient(130deg,#04213888,#00132388);border:1px solid var(--ap-edge);border-radius:10px;padding:7px 5px 6px;margin:0 0 9px;box-shadow:inset 0 1px 0 #c9e7fa0b}
#arenaFull #arenaBody .ap-presented>h2,#arenaFull #arenaBody .ap-library .ag-heading h2{font-family:'EB Garamond',Georgia,serif;font-variant:small-caps;font-size:21px;font-weight:700;line-height:1.12;letter-spacing:-.2px;color:var(--ap-ink);margin:0 5px 0}
#arenaFull #arenaBody .ap-presented .ar-play-intro{font-family:'EB Garamond',Georgia,serif;font-size:13.5px;line-height:1.2;color:var(--ap-muted);margin:1px 5px 8px}
#arenaFull #arenaBody .ap-presented .ar-play-cards{display:grid;gap:6px}
#arenaFull #arenaBody .ap-presented .ar-scheduled-card{display:grid;grid-template-columns:42% minmax(0,1fr);align-items:stretch;min-height:132px;padding:8px 6px 7px 0;border:1px solid var(--ap-edge);border-radius:10px;background:radial-gradient(ellipse at 20% 45%,#13547b55,transparent 65%),linear-gradient(125deg,#03233a,#001422);box-shadow:inset 0 1px 1px #c9e7fa0b;overflow:hidden;gap:0}
#arenaFull #arenaBody .ap-presented .ar-scheduled-card>.neoes-game-art{display:block;min-width:0;width:100%;height:auto;min-height:116px;align-self:stretch;background-repeat:no-repeat}
#arenaFull #arenaBody .ap-presented .ar-scheduled-main{min-width:0;border-left:1px solid #69bed6a8;padding:2px 4px 1px 15px;display:flex;flex-direction:column;align-items:stretch;text-align:left}
#arenaFull #arenaBody .ap-presented .ar-game-cadence{font-size:8px;font-weight:400;letter-spacing:2px;text-transform:uppercase;color:#c1dfec;line-height:13px}
#arenaFull #arenaBody .ap-presented .ar-scheduled-main h3{font-family:'EB Garamond',Georgia,serif;font-size:26px;font-weight:700;letter-spacing:-.7px;line-height:1.05;margin:0 0 2px;color:var(--ap-ink);overflow-wrap:anywhere}
#arenaFull #arenaBody .ap-presented .ar-scheduled-main>p{font-family:'EB Garamond',Georgia,serif;font-size:13px;line-height:1.16;color:#dae6f0;margin:0 0 6px;overflow-wrap:anywhere}
#arenaFull #arenaBody .ap-presented .ar-game-status{display:flex;align-items:center;gap:5px;font-family:'EB Garamond',Georgia,serif;font-size:13px;line-height:1.2;font-weight:400;color:#1ee1dc;margin:0 0 7px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
#arenaFull #arenaBody .ap-presented .ar-game-status::before{content:'';width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor;box-shadow:inset 0 1px 1px #fff6}
#arenaFull #arenaBody .ap-presented .ar-game-status.played{color:#b9d7ec}
#arenaFull #arenaBody .ap-presented .ar-game-status.progress{color:#f2ce86}
#arenaFull #arenaBody .ap-presented .ar-game-action{width:100%;min-height:34px;margin-top:auto;padding:1px 5px 2px;border:1px solid #c7d9e3;border-radius:9px;box-shadow:inset 0 0 0 2px #05243c,inset 0 3px 5px #b8dfff7a,0 2px 2px #0008;background:linear-gradient(180deg,#286da3,#084374 55%,#00305b);font-family:'EB Garamond',Georgia,serif;font-size:20px;font-weight:700;line-height:1.15;color:#fff9ee;text-shadow:0 1px 2px #000}
#arenaFull #arenaBody .ap-presented .ar-result-unavailable{font-size:10px;color:#bacdd9;line-height:1.2;margin-top:auto}
#arenaFull #arenaBody .ap-presented .ar-play-foot{font-family:'EB Garamond',Georgia,serif;font-size:11.5px;line-height:1.3;text-align:center;color:#c1d5e3;margin:6px 0 0}
#arenaFull #arenaBody .ap-library .ag-heading{display:block;padding:0;margin:0 0 1px}
#arenaFull #arenaBody .ap-library .ag-heading>span{display:none;font-family:'EB Garamond',Georgia,serif;font-size:12px;line-height:1.3;color:var(--ap-muted);margin-left:5px;font-weight:400}
#arenaFull #arenaBody .ap-library .ag-intro{display:block;font-family:'EB Garamond',Georgia,serif;font-size:12px;line-height:1.3;color:var(--ap-muted);margin:0;padding:0}
#arenaFull #arenaBody .ap-library .ag-intro::before{content:none}
#arenaFull #arenaBody .ap-library .ag-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:8px}
#arenaFull #arenaBody .ap-library .ag-card-wrap{display:flex;flex-direction:column;min-width:0;gap:2px}
#arenaFull #arenaBody .ap-library .ag-card{display:grid;grid-template-columns:53% minmax(0,1fr);align-items:center;min-width:0;width:100%;min-height:64px;padding:0 3px 0 0;gap:0;border:1px solid var(--ap-edge);border-radius:9px;background:radial-gradient(ellipse at 25% 55%,#164b6c80,transparent 65%),linear-gradient(125deg,#03253c,#00192c);color:var(--ap-ink);box-shadow:inset 0 1px 1px #c9e7fa0b;overflow:hidden;text-align:left;flex:1}
#arenaFull #arenaBody .ap-library .ag-cover{display:block;grid-row:1;grid-column:1;height:62px;min-width:0;width:100%;padding:0;border:0;box-shadow:none;background:transparent;border-radius:0;overflow:hidden}
#arenaFull #arenaBody .ap-library .ag-cover>.neoes-game-art{display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto;background-repeat:no-repeat}
#arenaFull #arenaBody .ap-library .ag-card>b{grid-row:1;grid-column:2;display:block;font-family:'EB Garamond',Georgia,serif;font-size:13px;line-height:1.1;letter-spacing:-.25px;overflow-wrap:anywhere;font-weight:700;color:var(--ap-ink);padding:0 0 0 2px;margin:0}
/* Descriptions remain accessible, while the compact illustrated tiles follow
   the approved phone composition. Resume remains a visible, truthful marker. */
#arenaFull #arenaBody .ap-library .ag-description,#arenaFull #arenaBody .ap-library .ag-foot{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#arenaFull #arenaBody .ap-library .ag-resume>b::after{content:'Continue';display:block;margin-top:3px;font-family:system-ui,sans-serif;font-size:8px;line-height:1.2;font-weight:400;letter-spacing:0;color:#f2ce86}
#arenaFull #arenaBody .ap-library .ag-mode{min-height:30px;font-size:10px;border-radius:6px;color:#d7e9f5;background:#07324f;border-color:#476a83;margin:0}
#arenaFull #arenaBody .ap-library .ap-all-games{margin:8px -1px -1px;border-top:1px solid #4b9bbc88;padding-top:5px}
#arenaFull #arenaBody .ap-library .ap-all-games>summary{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:1px 6px;cursor:pointer;list-style:none;font-family:'EB Garamond',Georgia,serif;font-weight:600;font-size:16px;color:var(--ap-ink)}
#arenaFull #arenaBody .ap-library .ap-all-games>summary::-webkit-details-marker{display:none}
#arenaFull #arenaBody .ap-library .ap-all-games>summary::after{content:'›';font-family:system-ui,sans-serif;font-size:27px;line-height:1;transition:transform .15s}
#arenaFull #arenaBody .ap-library .ap-all-games[open]>summary::after{transform:rotate(90deg)}
#arenaFull #arenaBody .ap-library :is(button,summary):focus-visible,#arenaFull #arenaBody .ap-presented button:focus-visible{outline:2px solid #9bdaf4;outline-offset:2px}
@media(max-width:374px){#arenaFull #arenaBody .ap-presented .ar-scheduled-main{padding-left:11px}#arenaFull #arenaBody .ap-presented .ar-scheduled-main h3{font-size:24px}#arenaFull #arenaBody .ap-presented .ar-scheduled-main>p{font-size:12px}#arenaFull #arenaBody .ap-library .ag-card>b{font-size:12px}}
html:not(.dark) #arenaFull #arenaBody .ap-presented,html:not(.dark) #arenaFull #arenaBody .ap-library{--ap-ink:#183d5c;--ap-edge:#698da7;--ap-muted:#355c77;background:linear-gradient(125deg,#eef5fa,#dce9f2)}
html:not(.dark) #arenaFull #arenaBody .ap-presented .ar-scheduled-card,html:not(.dark) #arenaFull #arenaBody .ap-library .ag-card{background:linear-gradient(125deg,#d7e7f2,#eef5fa)}
html:not(.dark) #arenaFull #arenaBody .ap-presented :is(.ar-game-cadence,.ar-scheduled-main>p,.ar-play-foot,.ar-result-unavailable){color:#355c77}
html:not(.dark) #arenaFull #arenaBody .ap-presented .ar-game-status{color:#007c83}
html:not(.dark) #arenaFull #arenaBody .ap-presented .ar-game-status.progress,html:not(.dark) #arenaFull #arenaBody .ap-library .ag-resume>b::after{color:#875a09}
html:not(.dark) #arenaFull #arenaBody .ap-presented .ar-game-status.played{color:#355c77}
@media(prefers-reduced-motion:reduce){#arenaFull #arenaBody .ap-library .ap-all-games>summary::after{transition:none}}

/* Legacy shelf art had a 115px minimum; contain the approved sprite square in its actual 62px viewport. */
#arenaFull #arenaBody .ap-library .ag-cover>.neoes-game-art::before{width:min(100%,62px);left:50%;right:auto;transform:translate(-50%,-50%)} 
#arenaFull #arenaBody .ap-library .ag-cover[data-game='line-up']>.neoes-game-art::before{width:100%}

/* Daily and weekly cards share the approved illustrated composition. */
#arenaFull #arenaBody .ap-presented .ar-week-range{font-size:10px;line-height:1.3;color:var(--ap-muted);margin:0 0 5px;overflow-wrap:anywhere}
#arenaFull #arenaBody .ap-presented .ar-game-action{min-height:44px}
.aw-history-entry{min-height:44px;width:100%;margin:8px 0}
.aw-saved-rounds{margin:16px 0;padding:12px 0;border-top:1px solid var(--line,#cbd5df)}
.aw-saved-rounds h3{font-size:17px;margin:0 0 6px}
.aw-saved-rounds p{font-size:12px;line-height:1.4}
.aw-saved-rounds .ar-navbtn{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;width:100%;margin:6px 0;text-align:left}
.aw-saved-rounds small{font-size:11px;flex-shrink:0}
