/* One contextual prompt at an edge, away from the movement and attack controls. */
.pk-first-step { position:fixed;z-index:24;top:calc(var(--ui-safe-top,0px) + 88px);right:calc(var(--ui-safe-right,0px) + 16px);width:min(340px,calc(100vw - 32px));display:flex;align-items:center;gap:10px;padding:11px 12px 11px 8px;background:linear-gradient(110deg,#163c3cf2,#092c37f5);border:1px solid #a2bb8d99;border-radius:12px;box-shadow:0 6px 22px #00121d66;color:#e5e9d5;pointer-events:auto; }
.pk-first-step[hidden] { display:none; }.pk-first-step-oak { width:40px;height:48px;object-fit:contain;image-rendering:pixelated;flex:none; }.pk-first-step-copy { flex:1;min-width:0; }.pk-first-step-count { display:block;font:650 8px/1.4 var(--ui-font);color:#b9d29d;letter-spacing:.06em; }.pk-first-step-title { display:block;font:700 18px/1.1 var(--ui-display);color:#fff0b7;margin:3px 0 5px; }.pk-first-step-hint { margin:0;font:500 10px/1.45 var(--ui-font);color:#cee1d6; }.pk-first-step-skip { align-self:flex-start;flex:none;min-height:36px;border:0;background:none;padding:4px;color:#c1d2c3;font:600 9px var(--ui-font);text-decoration:underline;cursor:pointer; }
.pk-adventure-results .ui-scroll { padding-bottom:8px; }.pk-run-earned-title { grid-column:1/-1;color:#e6d9a6;font:700 19px/1.1 var(--ui-display);margin:4px 0 0;text-align:left; }.pk-run-details { grid-column:1/-1;border-top:1px solid #60868166;padding-top:3px; }.pk-run-details summary { cursor:pointer;min-height:36px;display:flex;align-items:center;gap:7px;color:#bbd2c3;font:600 10px var(--ui-font); }.pk-run-details summary::before { content:'＋'; }.pk-run-details[open] summary::before { content:'−'; }.pk-run-details>div { padding-block:5px; }.pk-run-details span { display:block; }.pk-run-details b { font-size:11px!important;line-height:1.5; }.pk-run-training-threshold { grid-column:1/-1;color:#b3ccc1;font:400 10px/1.45 var(--ui-font);margin:0; }.pk-run-next { flex:none;width:100%;margin:3px 0 10px;padding:12px;border:1px solid #b8b77e88;border-radius:10px;background:linear-gradient(115deg,#2e4b3e,#173e42);text-align:left; }.pk-run-next-kicker { color:#d7d9a0;font:700 8px/1.3 var(--ui-font);letter-spacing:.12em; }.pk-run-next-reason { margin:5px 0 10px;color:#d3dfcd;font:500 10px/1.4 var(--ui-font); }.pk-run-next-actions { display:flex;gap:8px; }.pk-run-next .btn { flex:1;min-width:0;min-height:42px;padding:7px 9px;font:650 15px/1.2 var(--ui-display); }.pk-adventure-results #btn-again { min-height:36px;font:600 11px var(--ui-font);margin:0;background:#17343c;box-shadow:none;color:#bed2ce;border-color:#678e8999;text-shadow:none; }
@media(orientation:portrait) { .pk-first-step { top:calc(var(--ui-safe-top,0px) + 124px);right:calc(var(--ui-safe-right,0px) + 12px);width:min(280px,calc(100vw - 24px)); }.pk-first-step-title { font-size:17px; }.pk-first-step-oak { width:34px;height:43px; } }
@media(max-height:520px) and (orientation:landscape) { .pk-first-step { top:calc(var(--ui-safe-top,0px) + 82px);right:calc(var(--ui-safe-right,0px) + 12px);width:280px;padding:7px; }.pk-first-step-title { font-size:16px;margin-block:2px 3px; }.pk-first-step-hint { font-size:9px; }.pk-first-step-oak { width:30px;height:38px; }.pk-first-step-skip { min-height:30px; }.pk-run-next { padding:8px;margin-bottom:7px; }.pk-run-next-reason { margin:3px 0 6px;font-size:9px; }.pk-run-next .btn { min-height:35px;font-size:14px; }.pk-run-earned-title { font-size:17px; }.pk-run-details summary { min-height:30px; }.pk-run-training-threshold { font-size:9px; } }
/* The report keeps the four run numbers together; earned rewards are a separate reading group. */
#scr-over.pk-adventure-results>.ui-panel { width:min(540px,100%)!important; }
#scr-over.pk-adventure-results .pk-run-report { grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0; }
#scr-over.pk-adventure-results .pk-run-report>div { padding:8px; }
#scr-over.pk-adventure-results .pk-run-report>div:nth-child(-n+4) { display:flex;flex-direction:column;justify-content:space-between;min-height:58px; }
#scr-over.pk-adventure-results .pk-run-report>div>span { font:500 9px/1.3 var(--ui-font); }
#scr-over.pk-adventure-results .pk-run-report>div>b { display:block;margin-top:4px;font:700 23px/1.1 var(--ui-display); }
#scr-over.pk-adventure-results .pk-run-report>div>div[style] { font-size:9px!important;line-height:1.4; }
#scr-over.pk-adventure-results .pk-evo-run-gain { grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px; }
#scr-over.pk-adventure-results .pk-evo-run-gain>b { font-size:17px!important;margin:0!important; }
#scr-over.pk-adventure-results .ui-scroll { padding:14px 18px; }
#scr-over.pk-adventure-results .ui-panel-footer { padding:10px 18px 14px; }
@media(max-width:400px) { #scr-over.pk-adventure-results .ui-scroll { padding:10px 12px; }#scr-over.pk-adventure-results .ui-panel-footer { padding:8px 12px 10px; }.pk-run-next { padding:9px;margin-bottom:7px; }.pk-run-next .btn { font-size:14px;min-height:39px; } }
@media(max-height:520px) and (orientation:landscape) {
 #scr-over.pk-adventure-results>.ui-panel { width:min(860px,100%)!important;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr); }
 #scr-over.pk-adventure-results .pk-window-header { grid-column:1/-1; }
 #scr-over.pk-adventure-results .ui-scroll { grid-column:1;grid-row:2;padding:10px 14px; }
 #scr-over.pk-adventure-results .ui-panel-footer { grid-column:2;grid-row:2;display:flex;flex-direction:column;justify-content:center;padding:10px 12px;border-top:0;border-left:1px solid #6c96974d; }
 #scr-over.pk-adventure-results .pk-run-report>div:nth-child(-n+4) { min-height:48px;padding:6px; }
 #scr-over.pk-adventure-results .pk-run-report>div>span { font-size:8px; }
 #scr-over.pk-adventure-results .pk-run-report>div>b { font-size:20px; }
 #scr-over.pk-adventure-results .pk-run-next-actions { flex-direction:column; }.pk-run-next-kicker { font-size:8px; }
}
