/* v13.7.285 split build: original inline CSS in original cascade order. */

/* original style block 1/96 */
:root{color-scheme:dark;--bg:#111a27;--panel:#1a2939;--muted:#a2b6c4;--edge:#34485a;--accent:#44c0aa;--txt:#f0f5f6;--gold:#e9ba66}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh;background:linear-gradient(140deg,#112434 0,#111a27 36%,#151928 100%);color:var(--txt);font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;line-height:1.48}
header{position:sticky;top:0;background:#111a27ed;backdrop-filter:blur(12px);border-bottom:1px solid var(--edge);z-index:5;display:flex;align-items:center;justify-content:space-between;padding:11px max(16px,calc((100vw - 950px)/2))}
.brand{font-weight:900;letter-spacing:.02em;font-size:14px}.brand small{color:var(--accent);font-size:11px;font-weight:700;display:block}
nav{display:flex;gap:5px;overflow-x:auto;max-width:72vw;-webkit-overflow-scrolling:touch}nav button{flex:0 0 auto}nav button{border:0;border-radius:9px;color:#c2d2da;background:transparent;font-size:12px;padding:9px 11px;cursor:pointer}nav button.on{color:#0e2928;background:var(--accent);font-weight:800}
main{width:min(850px,100%);margin:20px auto 70px;padding:0 14px;display:grid;gap:14px}.panel{background:var(--panel);border:1px solid var(--edge);border-radius:18px;padding:20px;box-shadow:0 15px 35px #00000015}.panel.main{padding:26px}.panel.hero{background:linear-gradient(135deg,#23384a,#162837)}.notice{background:#213f44;border-left:3px solid var(--accent);border-radius:8px;padding:12px 14px;margin:16px 0;font-size:13px}.em{color:#b5ffed;font-weight:800}
h1{font-size:28px;line-height:1.25;margin:7px 0 12px}h2{font-size:20px;line-height:1.35;margin:5px 0 14px}h3{font-size:14px;margin:20px 0 10px;color:#d6e8eb}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:var(--accent);font-weight:900}.sub{font-size:13px;color:var(--muted);line-height:1.75}.tiny{font-size:11px}.weak{color:var(--muted)}p{margin:8px 0 14px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}.act{border:1px solid #58717e;background:#283e50;color:#f0f8f8;padding:11px 13px;border-radius:11px;font-size:13px;font-weight:700;transition:background .15s,transform .1s;white-space:normal}.act:active:not(:disabled){transform:scale(.98)}.act.primary{background:var(--accent);color:#102f2a;border-color:#53dec6;font-weight:900}.act.selected{background:#315a55;border-color:var(--accent);color:#dbfff9}.act.ghost{background:transparent;color:#d3e9e9}.act.danger{background:transparent;border-color:#a3616b;color:#ffb6b6}.act.wide{width:100%;margin-top:12px;padding:15px;font-size:15px}.act.small{padding:6px 8px;font-size:11px;white-space:nowrap}.chips{display:flex;gap:8px;flex-wrap:wrap}.chips .act{flex:0 1 auto}.actions{display:grid;gap:8px}.actions .act.option{display:block;width:100%;text-align:left;padding:14px 16px;background:#233749}.act.option small{display:block;font-weight:400;font-size:11px;color:#b2c6d0;margin-top:5px;line-height:1.6}.chips .act.option{flex:1 1 132px;min-width:132px;text-align:left}.trip{width:100%}.trip .chips{padding:10px 2px}.trip summary{padding:9px 0}.row{display:flex;align-items:center;gap:10px}.row.spread{justify-content:space-between;flex-wrap:wrap}.badge{font-size:10px;color:#b6ffeb;background:#285447;border-radius:999px;padding:5px 9px;font-weight:800}.progress{height:6px;background:#102330;border-radius:999px;overflow:hidden;margin:14px 0 18px}.progress>div{height:100%;background:var(--accent);transition:width .2s}.two,.three,.four{display:grid;gap:10px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.four{grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0}.metric{display:grid;gap:5px;background:#142838;border:1px solid #2b4353;border-radius:11px;padding:10px}.metric span{font-size:10px;color:var(--muted)}.metric strong{font-size:14px;overflow-wrap:anywhere}.statbar{margin-bottom:10px}.statrow{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:5px}.track{height:7px;background:#12222d;border-radius:999px;overflow:hidden;flex:1}.track>div{height:100%;background:var(--accent)}.barline{display:flex;align-items:center;gap:11px;margin:11px 0;font-size:12px}.barline span{min-width:130px}.barline strong{min-width:43px;text-align:right;font-size:12px}.alloc,.itemrow{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #334657;padding:9px 0}.alloc span{font-size:12px}.alloc .act{padding:5px 10px}.alloc b{display:inline-block;min-width:30px;text-align:center}.alloc input{background:#152839;border:1px solid #58717e;color:white;padding:8px;border-radius:8px}.check{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);margin:14px 0}.check input{accent-color:var(--accent)}.candidate{color:#f0f5f6;background:#1c3744;border:1px solid #345768;border-radius:10px;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin:8px 0;width:100%;cursor:pointer}.candidate.selected{border-color:var(--accent);background:#244d4d}.candidate span{color:#b1cbd1}details{border-top:1px solid var(--edge);padding:9px 0}details>summary{cursor:pointer;color:#dce8ec;font-weight:800;font-size:13px}.inner{padding:9px 1px}.tablewrap{overflow:auto;max-height:530px;border-radius:8px;border:1px solid var(--edge)}table{border-collapse:collapse;width:100%;min-width:690px;font-size:11px;text-align:right}th,td{padding:9px 10px;border-bottom:1px solid var(--edge);white-space:nowrap}th{position:sticky;top:0;background:#254150;color:#b3e6e0}td:first-child,th:first-child{text-align:left}tr:hover{background:#213849}.loglist{margin-top:15px}.logitem{display:flex;gap:12px;border-bottom:1px solid var(--edge);padding:9px 0;font-size:12px}.logitem span{color:var(--accent);min-width:42px;font-weight:800}.logitem p{margin:0}.upload{display:inline-block;padding:10px;border:1px dashed var(--edge);border-radius:9px;font-size:12px;margin-top:10px}.upload input{max-width:150px}footer{max-width:850px;margin:40px auto;padding:16px;color:#92a9b7;font-size:10px;text-align:center}
@media(max-width:530px){header{padding:9px 12px;align-items:flex-start;flex-wrap:wrap;gap:6px}header nav{max-width:100%;width:100%}.brand{max-width:155px;font-size:12px}nav button{padding:9px 8px;font-size:11px}main{margin:9px auto 45px;padding:0 9px;gap:10px}.panel,.panel.main{padding:15px;border-radius:12px}h1{font-size:23px}h2{font-size:17px}.three,.four{grid-template-columns:repeat(2,minmax(0,1fr))}.metric strong{font-size:13px}.chips .act{font-size:12px}.barline span{min-width:88px}.statbar{margin-bottom:7px}}

/* v13.7.93: accessible inventory, abilities and storage */
.hud{padding:14px 18px}.hud-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.hud-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hud-cell{background:#132838;border:1px solid #30475a;padding:8px;border-radius:10px}.hud-cell span{display:block;font-size:11px;color:#c2d8e2}.hud-cell b{font-size:16px}.hud-cell small{font-size:10px;color:var(--muted)}
.slotgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.slotbox{border:1px solid #395668;background:#142c3b;border-radius:11px;padding:11px;font-size:12px}
.storagebox{border:1px solid #385665;background:#1b3241;border-radius:11px;padding:11px;margin:7px 0}
.growthrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center;border-bottom:1px solid var(--edge);padding:11px 0}
.growth-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}.growth-actions b{min-width:24px;text-align:center}
.growth-preview{font-size:12px;color:#b8eadd}.minitrack{height:5px;background:#0d202c;border-radius:20px;overflow:hidden;margin-top:5px}.minitrack span{display:block;height:100%;background:var(--accent)}.storage-chip{display:inline-block;border:1px solid #486679;color:#c2dce3;padding:4px 7px;border-radius:9px;font-size:11px;margin:2px}
@media(max-width:530px){.hud-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slotgrid{grid-template-columns:1fr}.growthrow{grid-template-columns:1fr}.growth-actions{justify-content:flex-start}}
/* v13.7.93: player-visible weekly staff shortage and event-result receipts */
.event-note{border:1px solid #587d83;border-left:4px solid #62cfbd;background:#203947;border-radius:13px;padding:15px;margin:12px 0}
.event-note h3{margin:2px 0 7px;font-size:16px;color:#e8fcf7}.event-note p{font-size:13px;margin:4px 0 9px;white-space:pre-wrap}
.event-note .tiny{color:#b8d4dd}.report-list{display:grid;gap:9px;margin-top:10px}
.report-entry{border:1px solid #345366;background:#162f3f;border-radius:10px;padding:12px}
.report-entry strong{display:block;font-size:13px}.report-entry .meta{color:#a2b6c4;font-size:11px}.report-entry p{white-space:pre-wrap;font-size:12px;margin:6px 0}
.shortage-line{border:1px solid #45616f;background:#142c3a;border-radius:10px;padding:10px;margin-top:12px;font-size:12px}

/* v13.7.95 - week-4 payslip receipt. Calculations are unchanged. */
.pay-sheet{background:#142d3a;border:1px solid #527987;border-radius:14px;padding:15px;margin:12px 0}
.pay-sheet h3{margin:0 0 12px;font-size:16px;color:#edfff8}
.pay-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #325364;font-size:13px}
.pay-line:last-child{border-bottom:none}.pay-line strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.pay-plus{color:#b8ffdc}.pay-minus{color:#ffc3c3}.pay-total{background:#1e4b4b;padding:12px;border-radius:10px;margin:12px 0}
.pay-random{border-left:4px solid #e9ba66;background:#342f31;border-radius:8px;padding:12px;margin:14px 0}
.pay-random strong{color:#ffe3a2}.pay-basis{color:#bed1db;font-size:12px;line-height:1.6}
@media(max-width:530px){.pay-sheet{padding:12px}.pay-line{font-size:12px;gap:8px}}

/* v13.7.116: high-contrast interview reward receipt; also used by history. */
.meeting-awards{border:2px solid #267385;background:#f4faff;color:#142d42;border-radius:14px;padding:15px;margin:14px 0;box-shadow:0 4px 12px #061a2621}
.meeting-awards h3{font-size:16px;color:#123d52;margin:0 0 9px;font-weight:900}
.meeting-awards .meeting-total{display:inline-block;background:#d6f4e7;border:1px solid #81c9aa;padding:5px 12px;border-radius:9px;font-size:23px;font-weight:900;color:#075b43;font-variant-numeric:tabular-nums}
.meeting-awards .meeting-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #b9d2db;padding:8px 0;font-size:12px;color:#183549}
.meeting-awards .meeting-row strong{color:#15394a;white-space:nowrap}
.meeting-awards .meeting-row .weak,.meeting-awards .meeting-row .tiny{color:#365365}
.meeting-awards .meeting-footnote{font-size:11px;color:#395768;margin:9px 0 0;line-height:1.6}
.meeting-awards .meeting-details{margin-top:10px;border-top:1px solid #adc9d3;padding-top:10px;color:#173449}
.meeting-awards .meeting-details summary{cursor:pointer;font-size:12px;font-weight:800;color:#144c66}
.meeting-awards .meeting-student{font-size:12px;line-height:1.65;padding:6px 2px;border-bottom:1px dotted #acc7d1;color:#17394b}
@media(max-width:530px){.meeting-awards{padding:12px}.meeting-awards .meeting-total{font-size:20px}}

/* v13.7.129: staged interview outcomes and total-first, grade-second summaries */
.interview-summary-section{margin:10px 0;padding:12px;background:#f1f8ff;color:#173a59;border:1px solid #88add2;border-radius:12px}
.interview-summary-section h3{margin:0 0 10px;color:#15466d;font-size:15px}.interview-summary-section h4{margin:13px 0 7px;color:#214563;font-size:12px}
.interview-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0}
.interview-totals>div{border:1px solid #b7cfe2;background:#fff;border-radius:8px;padding:9px 7px;min-width:0;display:grid;gap:5px}
.interview-totals span{color:#416584;font-size:10px}.interview-totals strong{color:#103f66;font-weight:900;font-size:14px;overflow-wrap:anywhere}
.interview-grade-rows{display:grid;gap:5px}.interview-grade-row{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:start;gap:9px;background:#fff;border:1px solid #cadce9;border-radius:8px;padding:8px 10px;color:#1a435f;font-size:12px}
.interview-grade-row>b{color:#0a4d78;font-size:13px}.interview-grade-row small{display:block;color:#4d6880;margin-top:3px;font-size:11px}
.interview-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.interview-tabs button{min-width:0;padding:10px 6px}
.interview-archive{margin:10px 0}.interview-archive>h3{margin:12px 0 6px}.interview-archive .interview-summary-section{padding:10px}
@media(max-width:700px){.interview-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.interview-totals strong{font-size:12px}.interview-summary-section{padding:9px}.interview-grade-row{font-size:11px;padding:7px 8px}}

/* v13.7.204: confirmed shopping result image implementation */
.shopping-result-poster{background:radial-gradient(circle at 50% 8%,#9b26ff 0%,#3f1d8b 36%,#0f1748 72%,#07102e 100%);border:3px solid #f3c555;border-radius:18px;padding:6px 8px 8px;box-shadow:0 10px 28px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.16);display:flex;flex-direction:column;gap:5px;color:#fff;overflow:hidden}
.shopping-poster-header{display:grid;grid-template-columns:160px 1fr 220px;gap:8px;align-items:center}
.shopping-poster-brand{background:linear-gradient(180deg,#0a0921,#0c193d);border:2px solid #d8c4ff;border-radius:12px;padding:6px 10px;font-weight:900;line-height:1.05;font-size:16px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.shopping-poster-brand b{font-size:18px;color:#ffe66f}
.shopping-poster-title-wrap{display:flex;justify-content:center;align-items:center}
.shopping-poster-title-wrap h2{margin:0;font-size:clamp(28px,4.1vw,54px);line-height:1;font-weight:1000;letter-spacing:.03em;color:#ffd66e;text-shadow:0 2px 0 #6d1f00,0 0 12px rgba(255,216,110,.35)}
.shopping-poster-copy{justify-self:end;background:linear-gradient(180deg,#cb173f,#8d132d);border:2px solid #ffd38d;border-radius:12px;padding:7px 12px;font-size:13px;font-weight:900;text-align:center;line-height:1.15;box-shadow:0 4px 12px rgba(0,0,0,.22)}
.shopping-poster-copy b{font-size:18px;color:#fff7b8}
.shopping-poster-spend{background:rgba(6,12,39,.68);border:1px solid rgba(239,233,255,.26);border-radius:11px;padding:4px 10px;font-size:12px;line-height:1.15;color:#f2f5ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shopping-poster-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.shopping-poster-slot{background:rgba(255,255,255,.07);border:2px solid rgba(255,210,114,.92);border-radius:12px;padding:3px;min-height:102px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.shopping-poster-slot.empty{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.04)}
.shopping-poster-frame{width:100%;height:100%;min-height:96px;border-radius:10px;overflow:hidden;background:radial-gradient(circle at 50% 25%,rgba(255,255,255,.24),rgba(142,173,255,.08) 35%,rgba(9,16,54,.55) 100%);display:flex;align-items:center;justify-content:center}
.shopping-poster-art{width:100%;height:100%;object-fit:contain;display:block;background:#091131}
.shopping-poster-fallback{padding:8px;color:#fff;text-align:center;font-size:11px;line-height:1.2}
.shopping-poster-fallback strong{display:block;margin-bottom:5px;font-size:13px;color:#ffe38b}
.shopping-poster-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;border:2px dashed rgba(255,255,255,.34);border-radius:10px;color:rgba(255,255,255,.5);font-weight:900;font-size:24px;letter-spacing:.06em}
.shopping-poster-footer{display:grid;grid-template-columns:max-content 1fr max-content;gap:8px;align-items:center}
.shopping-poster-total{background:linear-gradient(180deg,#141035,#0a0d26);border:2px solid #ffbf49;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:900;white-space:nowrap;color:#fff2a6;box-shadow:0 4px 12px rgba(0,0,0,.28)}
.shopping-poster-total b{font-size:18px;color:#fff}
.shopping-poster-rarities{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}
.poster-rarity{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:6px 10px;border-radius:999px;font-size:13px;font-weight:900;line-height:1;border:2px solid rgba(255,255,255,.32);background:rgba(9,16,48,.75);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.poster-rarity-SSR{color:#ffe786;border-color:#ffd76a}
.poster-rarity-SR{color:#ffd5ff;border-color:#f3b0ff}
.poster-rarity-R{color:#bce9ff;border-color:#81d3ff}
.poster-rarity-N{color:#f0f5ff;border-color:#cfd7e6}
.shopping-poster-actions{display:flex;gap:8px}
.shopping-poster-btn{border:0;border-radius:14px;padding:11px 18px;font-size:15px;font-weight:1000;line-height:1;cursor:pointer;box-shadow:0 5px 15px rgba(0,0,0,.25);white-space:nowrap}
.shopping-poster-btn-repeat{background:linear-gradient(180deg,#ff86ec,#d130d4);color:#fff9ff;border:2px solid #ffe0ff}
.shopping-poster-btn-ok{background:linear-gradient(180deg,#ffd867,#f6aa21);color:#3e2200;border:2px solid #fff0b7;padding-inline:24px}
.shopping-poster-btn[disabled]{opacity:.45;cursor:not-allowed;filter:grayscale(.15)}
@media (max-width: 900px){
 .shopping-result-poster{padding:5px 6px 6px;gap:4px}
 .shopping-poster-header{grid-template-columns:140px 1fr 184px;gap:6px}
 .shopping-poster-brand{font-size:14px;padding:6px 8px}.shopping-poster-brand b{font-size:16px}
 .shopping-poster-copy{font-size:12px;padding:6px 8px}.shopping-poster-copy b{font-size:16px}
 .shopping-poster-title-wrap h2{font-size:clamp(24px,4.2vw,40px)}
 .shopping-poster-spend{font-size:11px;padding:4px 8px}
 .shopping-poster-grid{gap:5px}
 .shopping-poster-slot{min-height:92px;padding:2px}.shopping-poster-frame{min-height:88px}
 .shopping-poster-total{font-size:13px;padding:5px 10px}.shopping-poster-total b{font-size:16px}
 .poster-rarity{min-width:60px;padding:5px 7px;font-size:12px}
 .shopping-poster-btn{padding:9px 14px;font-size:14px}
}


/* v13.7.243 Original 3 mother characters × 3 emotions; fully embedded offline. */
.mb-auto-progress{font-size:11px;color:#f1dfab;padding:6px;text-align:center;font-weight:700}
.mb-intro,.mb-dialogue{display:flex;gap:12px;align-items:stretch}
.mb-portrait{width:clamp(105px,25vw,195px);flex-shrink:0;border:2px solid #c2b09c;border-radius:14px;background:#f8f3ed;position:relative;overflow:hidden;align-self:stretch;min-height:168px}
.mb-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 26%;display:block}
.mb-portrait span{position:absolute;bottom:0;left:0;right:0;text-align:center;background:rgba(17,28,46,.84);color:#fff;font-weight:700;font-size:11px;padding:5px}
.mb-portrait.mb-tiny{width:65px;min-height:70px;border-radius:9px}
.mb-portrait.mb-tiny span{font-size:9px;padding:2px}
.mb-intro{max-width:850px}.mb-introtext{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px}
.mb-introtext .act{margin-top:8px}
.mb-game{border-radius:12px;background:#1e3047;color:#f4f5fb;padding:11px;box-shadow:0 4px 12px #0002;max-width:920px}
.mb-game.angry{background:#503729}.mb-game.rage{background:#5a2730}
.mb-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;margin-bottom:7px}
.mb-dialogue{min-height:152px;max-height:205px}
.mb-dialogue .mb-portrait{min-height:150px;width:clamp(104px,22vw,185px);border-color:#ddd}
.mb-speech{flex:1;background:rgba(255,255,255,.10);padding:13px 15px;border-radius:10px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.mb-state{font-size:11px;color:#e0d8c8;font-weight:800;margin-bottom:7px}
.mb-quote{font-weight:700;line-height:1.55;font-size:clamp(13px,2vw,17px);margin:4px 0;color:#fff}
.mb-speech h3,.mb-speech p{color:white}.mb-annotation{color:#e1dfda;font-size:10px}
.mb-cardlist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.mb-card{font-family:inherit;text-align:center;min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:space-around;border:2px solid #cbd4df;border-radius:10px;background:#f1f4f8;color:#202f41;cursor:pointer;padding:6px;gap:4px}
.mb-card:disabled{opacity:.42;cursor:not-allowed}.mb-card strong{font-size:12px;overflow-wrap:anywhere}.mb-card small{font-size:11px}.mb-card em{font-size:9px;color:#905f36}.mb-rarity{font-weight:900;color:#966934;font-size:11px}
.mb-swap{margin-top:8px;border:1px dashed #f5e0ac;border-radius:8px;padding:5px;display:flex;gap:5px;flex-wrap:wrap;align-items:center;font-size:11px}.mb-swap .act{font-size:10px;padding:5px 7px}
.mb-setup{background:#f2f1ed;border:1px solid #c4b8a8;border-radius:10px;padding:10px;margin:12px 0}.mb-setup h3{margin-top:0}.mb-config-row{display:flex;gap:7px;border-top:1px solid #ddd0c1;padding-top:7px;margin-top:7px}.mb-config-info{flex:1;display:flex;flex-wrap:wrap;gap:5px;align-items:center}.mb-config-info b{width:100%}.mb-config-info label{font-size:11px}.mb-config-info select{max-width:150px}.mb-teacher{padding:8px;background:#e6e1d5;border-radius:8px}
@media(max-height:450px){.mb-game{padding:6px}.mb-top{margin-bottom:3px}.mb-dialogue{min-height:110px;max-height:125px}.mb-dialogue .mb-portrait{min-height:112px;height:117px}.mb-speech{padding:6px 9px}.mb-state{margin-bottom:3px}.mb-cardlist{margin-top:5px;gap:5px}.mb-card{min-height:69px;padding:3px 4px;gap:1px}.mb-card strong{font-size:10px}.mb-card small{font-size:10px}.mb-card em{font-size:8px}.mb-quote{font-size:12px;line-height:1.38}.mb-annotation{font-size:9px}.mb-intro .mb-portrait{min-height:146px}}


/* v13.7.244: readable, thumb-friendly cards and opt-out animations. Economics are unchanged. */
.mb-game{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#16243a 0%,#253b55 100%);border:1px solid #c9d5e4}
.mb-game.angry{background:linear-gradient(125deg,#51302a,#754523)}
.mb-game.rage{background:linear-gradient(125deg,#521820,#8b2c3d)}
.mb-game.response{background:linear-gradient(125deg,#192a3e,#31415a)}
.mb-game .mb-top{position:relative;z-index:2;align-items:center;margin-bottom:4px}
.mb-game-title{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:800}
.mb-top-controls{display:flex;align-items:center;gap:7px;flex-shrink:0}
.mb-turn{white-space:nowrap;font-size:10px;color:#e6edf7}
.mb-points{background:#112037;border:1px solid #617e9c;padding:2px 7px;border-radius:14px;font-size:11px;font-weight:900;white-space:nowrap}
.mb-fx-toggle{border:1px solid #9fafc2;background:rgba(255,255,255,.14);color:#fff;border-radius:8px;font-size:10px;padding:4px 7px;font-weight:800;cursor:pointer;white-space:nowrap}
.mb-fx-toggle:hover{background:#ffffff40}
.mb-introtext .mb-fx-toggle{background:#293e58;color:white}
.mb-turn-track{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 0 6px}
.mb-turn-track span{height:4px;background:#586779;border-radius:8px}
.mb-turn-track .mb-track-done{background:#83c9a4}.mb-turn-track .mb-track-current{background:#edcb67;box-shadow:0 0 5px #efcb6790}
.mb-game .mb-dialogue{position:relative;z-index:2}
.mb-game .mb-portrait{box-shadow:inset 0 0 0 2px #ddd9d5}
.mb-game .mb-speech{background:rgba(13,25,43,.38);border:1px solid #cbd6e335}
.mb-game .mb-state{font-size:10px;color:#b9cfe4;letter-spacing:.015em}
.mb-game .mb-quote{font-size:clamp(12px,1.85vw,16px)}
.mb-game .mb-annotation{color:#c9d6e6}
.mb-warning{color:#fff1be;background:#b24d2f;padding:2px 5px;border-radius:4px;box-shadow:0 0 5px #e87f5a}
.mb-game .mb-cardlist{position:relative;z-index:3}
.mb-game .mb-card{min-width:0;min-height:100px;border:2px solid #8fabc4;box-shadow:0 3px 0 #14233780;transition:transform .14s,box-shadow .14s,border-color .14s;text-align:left;align-items:stretch;justify-content:start;background:linear-gradient(150deg,#f4f7fb,#dce6f2);padding:6px 8px;gap:2px;color:#203049}
.mb-game .mb-card:not(:disabled):active{transform:translateY(-2px) scale(1.02);box-shadow:0 4px 14px #f5dc6e60}
.mb-game .mb-card:disabled{opacity:.78;cursor:default}
.mb-card-head{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%}
.mb-game .mb-card .mb-rarity{font-size:10px;color:#765020;white-space:nowrap}
.mb-attr-mini{font-size:10px;font-weight:900;white-space:nowrap}
.mb-card-symbol{text-align:center;font-size:21px;line-height:1;color:#5c86ac;text-shadow:0 1px #fff9}
.mb-game .mb-card strong{text-align:center;font-size:clamp(10px,1.45vw,13px);line-height:1.2;min-height:1.3em;color:#18263c}
.mb-game .mb-card em{display:block;font-size:9px;font-weight:750;font-style:normal;text-align:center;border-radius:4px;background:#ffffffcc;padding:1px 3px;color:#5e397a;white-space:normal;line-height:1.2}
.mb-game .mb-card em.mb-no-effect{color:#8898a8;background:transparent}
.mb-game .mb-card.mb-tone-logic{border-left-color:#3e87c4}.mb-game .mb-card.mb-tone-empathy{border-left-color:#b95b85}.mb-game .mb-card.mb-tone-passion{border-left-color:#e59f3b}.mb-game .mb-card.mb-tone-all{border-left-color:#8b64c3}
.mb-game .mb-card.mb-tone-logic .mb-attr-mini,.mb-game .mb-card.mb-tone-logic .mb-card-symbol{color:#2d73b2}
.mb-game .mb-card.mb-tone-empathy .mb-attr-mini,.mb-game .mb-card.mb-tone-empathy .mb-card-symbol{color:#b34a7f}
.mb-game .mb-card.mb-tone-passion .mb-attr-mini,.mb-game .mb-card.mb-tone-passion .mb-card-symbol{color:#bb781b}
.mb-game .mb-card.mb-tone-all .mb-attr-mini,.mb-game .mb-card.mb-tone-all .mb-card-symbol{color:#7c4cb6}
.mb-game .mb-card.mb-rank-sr{border-top-color:#8987c4}.mb-game .mb-card.mb-rank-ssr{border-color:#d8b350;box-shadow:0 2px 8px #f1cb7275}
.mb-game .mb-card.mb-rank-special{border-color:#ad82d8;box-shadow:0 2px 8px #bc97fb65;background:linear-gradient(150deg,#faf4ff,#e7d8f5)}
.mb-card-confirm-note{font-size:10px;color:#e8e0ca}
.mb-feedback{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;margin:4px 0}
.mb-feedback-title{font-size:clamp(17px,3vw,25px);font-weight:950;color:#fff6d5}
.mb-feedback-title span{font-size:12px;font-weight:700;color:#c8d8e4}
.mb-feedback-pt{font-size:clamp(18px,3vw,25px);font-weight:950;color:#f9da83}
.mb-feedback-reveal{font-size:10px;color:#e7eff7;width:100%;line-height:1.35}
.mb-feedback-bad .mb-feedback-title,.mb-feedback-bad .mb-feedback-pt{color:#ffbbc0}
.mb-feedback-mid .mb-feedback-title,.mb-feedback-mid .mb-feedback-pt{color:#c6d9f0}
.mb-bottom-bar{position:relative;z-index:3;display:flex;justify-content:space-between;gap:5px;align-items:center;padding-top:9px}
.mb-current-total{font-size:10px;color:#e0e9f6}.mb-current-total b{font-size:13px;color:#fff}
.mb-ui-btn{font-family:inherit;font-weight:900;border:1px solid transparent;border-radius:8px;padding:7px 10px;cursor:pointer;min-height:31px}
.mb-ui-btn-action{background:linear-gradient(#f4d787,#d7a344);color:#392812;box-shadow:0 2px #99672f}
.mb-ui-btn-plain{background:#e8eef6;border-color:#9bacbf;color:#1f314e}
.mb-game .mb-next{font-size:11px;white-space:nowrap}
.mb-choice-backdrop{position:absolute;inset:0;z-index:20;background:rgba(9,20,34,.88);display:flex;justify-content:center;align-items:center;padding:7px;backdrop-filter:blur(3px)}
.mb-choice-dialog{width:100%;max-width:670px;display:flex;gap:12px;align-items:stretch;border:1px solid #8aa4c0;background:linear-gradient(135deg,#263955,#18283f);border-radius:12px;padding:11px;box-shadow:0 8px 25px #0008;max-height:100%}
.mb-choice-dialog.mb-tone-empathy{border-color:#dc8aae}.mb-choice-dialog.mb-tone-passion{border-color:#ebb86c}.mb-choice-dialog.mb-tone-all{border-color:#b8a0f5}
.mb-choice-card{width:23%;min-width:108px;min-height:156px;border:2px solid #e1bf6b;background:linear-gradient(135deg,#f4f7fc,#dce6f0);border-radius:9px;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;color:#1c2b43;text-align:center}
.mb-choice-rarity{font-size:11px;font-weight:900;align-self:flex-start;color:#986f2a}.mb-choice-glyph{font-size:35px;color:#5f8db7}.mb-choice-card-name{font-weight:900;font-size:clamp(12px,1.6vw,17px);overflow-wrap:anywhere}.mb-choice-card-attr{font-size:11px;font-weight:900;border-radius:10px;background:#d3e2f0;padding:3px 8px}
.mb-choice-copy{display:flex;flex-direction:column;justify-content:center;flex:1;min-width:0;gap:4px;color:#fff}
.mb-choice-title{font-size:12px;font-weight:900;color:#ffdf94}.mb-choice-skill{font-size:17px;font-weight:900}.mb-choice-meta{font-size:11px;color:#c7d8e7}
.mb-detail-effect{font-size:11px;font-weight:900;color:#f1ceff}.mb-detail-desc{font-size:11px;line-height:1.45;color:#f0f4fa}
.mb-choice-hint{font-size:9px;color:#b9cbdb}.mb-choice-actions{display:flex;gap:7px;justify-content:space-between;margin-top:6px}.mb-choice-actions .mb-ui-btn{flex:1;font-size:11px}
.mb-danger-glow{position:absolute;z-index:0;inset:0;pointer-events:none;box-shadow:inset 0 0 26px #ff9b5577}
.mb-game.rage .mb-danger-glow{box-shadow:inset 0 0 34px #ff627baa}
.mb-card-cast{position:absolute;z-index:10;left:38%;top:32%;width:35%;min-height:90px;border:2px solid #d3b57c;border-radius:9px;background:#f5ead6;color:#2e3242;pointer-events:none;display:flex;gap:3px;flex-direction:column;justify-content:center;align-items:center;padding:8px;box-shadow:0 0 30px #f4dfad}
.mb-card-cast small{font-size:10px;font-weight:900}.mb-card-cast span{font-size:25px}.mb-card-cast b{font-size:12px;text-align:center}.mb-cast-ssr{border-color:#f9d36f;box-shadow:0 0 32px #ffc853}.mb-cast-special{border-color:#c4a7ff;background:#eee4ff;box-shadow:0 0 32px #b38cff}
.mb-intro{position:relative}.mb-result-heading{display:flex;justify-content:space-between;gap:5px;align-items:center}.mb-result-heading h2{margin:0;font-size:clamp(14px,2.2vw,20px)}
.mb-result-wrap{border:2px solid #82a5ce;border-radius:10px;background:linear-gradient(120deg,#e7f0fa,#f6fbff);padding:9px;color:#172942;box-shadow:0 2px 11px #9fcaed4b}
.mb-result-great{border-color:#d2a43c;background:linear-gradient(125deg,#fff4cb,#fcfaf1)}.mb-result-success{border-color:#76a7df}.mb-result-partial{border-color:#7e9fb8}
.mb-result-failed{border-color:#b77c7c;background:#f8e9e8}.mb-result-disaster{border-color:#b74752;background:#fde2e4}
.mb-result-rank{font-size:24px;font-weight:950;letter-spacing:.07em;color:#b58528;text-align:center;text-shadow:0 1px white}
.mb-result-success .mb-result-rank{color:#2f6cbd}.mb-result-partial .mb-result-rank{color:#47748e}.mb-result-failed .mb-result-rank{color:#96535c}.mb-result-disaster .mb-result-rank{color:#b2213c}
.mb-result-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:4px}
.mb-result-stats>div{background:#ffffffb7;border-radius:6px;padding:5px 8px;display:flex;align-items:center;justify-content:space-between;gap:4px}
.mb-result-stats small{font-size:10px;color:#435b74}.mb-result-stats b{font-size:12px;white-space:nowrap}
.mb-result-foot{font-size:10px;margin-top:6px;line-height:1.4}.mb-result-foot span{color:#627183}.mb-history{font-size:10px}.mb-history summary{cursor:pointer}
.mb-fx-active .mb-card-cast{animation:mbCast .52s ease-out both}
.mb-fx-active .mb-dialogue{animation:mbSoftShow .28s ease-out both}
.mb-fx-active.angry .mb-danger-glow{animation:mbDanger 1.2s ease-in-out infinite alternate}
.mb-fx-active.rage .mb-danger-glow{animation:mbDanger .6s ease-in-out infinite alternate}
.mb-fx-active.angry .mb-portrait img{animation:mbTremble .4s ease-out}
.mb-fx-active.rage .mb-portrait img{animation:mbTremble .35s ease-out 2}
.mb-fx-active .mb-feedback-title,.mb-fx-active .mb-feedback-pt{animation:mbResultIn .65s cubic-bezier(.19,1,.42,1) both}
.mb-fx-active .mb-choice-dialog{animation:mbSoftShow .2s ease-out both}
.mb-fx-active .mb-result-rank{animation:mbResultIn .9s cubic-bezier(.19,1,.42,1) both}
.mb-fx-active .mb-result-great{animation:mbGlowGold 2s ease-in-out infinite alternate}
.mb-fx-active .mb-result-disaster{animation:mbTremble .38s ease-out}
.mb-fx-off *,.mb-fx-off::before,.mb-fx-off::after,.mb-fx-off *::before,.mb-fx-off *::after{animation:none!important;transition:none!important}
@keyframes mbCast{0%{transform:translateY(55px) scale(.65);opacity:1}55%{transform:translateY(-8px) scale(1.05);opacity:1}100%{transform:translateY(-25px) scale(1.1);opacity:0}}
@keyframes mbSoftShow{0%{opacity:.78;transform:translateY(4px)}100%{opacity:1;transform:translateY(0)}}
@keyframes mbResultIn{0%{opacity:.65;transform:scale(.85)}65%{opacity:1;transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes mbDanger{0%{opacity:.45}100%{opacity:1}}
@keyframes mbTremble{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}50%{transform:translateX(3px)}75%{transform:translateX(-1px)}}
@keyframes mbGlowGold{0%{box-shadow:0 0 5px #ffd26288}100%{box-shadow:0 0 20px #dfb53ba8}}
@media(max-height:450px){
 .mb-game{padding:5px 7px 7px}.mb-turn-track{margin-bottom:4px}.mb-game .mb-dialogue{height:115px;min-height:115px;max-height:115px}.mb-game .mb-dialogue .mb-portrait{height:113px;min-height:113px}.mb-game .mb-state{margin:0 0 2px}.mb-game .mb-quote{font-size:12px;line-height:1.32}.mb-game .mb-annotation{font-size:9px}
 .mb-game .mb-cardlist{margin-top:5px;gap:5px}.mb-game .mb-card{min-height:74px;padding:3px 6px;gap:0}.mb-game .mb-card-symbol{font-size:14px}.mb-game .mb-card strong{font-size:10px;min-height:0}.mb-game .mb-card .mb-rarity,.mb-attr-mini{font-size:9px}.mb-game .mb-card em{font-size:8px}.mb-bottom-bar{padding-top:5px}
 .mb-choice-dialog{padding:8px;gap:8px;max-height:248px}.mb-choice-card{min-height:190px;width:24%;padding:6px}.mb-choice-glyph{font-size:28px}.mb-choice-copy{gap:3px}.mb-choice-title{font-size:11px}.mb-choice-skill{font-size:15px}.mb-choice-actions{margin-top:3px}.mb-choice-actions .mb-ui-btn{font-size:10px;padding:6px 5px}.mb-detail-desc{font-size:10px}.mb-choice-hint{font-size:8px}
 .mb-detail-desc{font-size:11px}.mb-intro .mb-portrait{height:200px;min-height:200px}.mb-introtext{gap:4px}.mb-result-rank{font-size:20px}.mb-result-stats{gap:3px}.mb-result-stats>div{padding:3px 5px}.mb-result-stats small{font-size:9px}.mb-result-stats b{font-size:10px}.mb-result-foot{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.mb-fx-active *{animation:none!important;transition:none!important}}


/* v13.7.257: 3-step seasonal meeting screens, safe-area aware and no-scroll. */
.meeting-v257{position:fixed;inset:0;z-index:3300;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;gap:clamp(5px,1.4vh,10px);
 padding:calc(var(--game-safe-top, 0px) + 9px) calc(var(--game-safe-right, 0px) + 11px) calc(var(--game-safe-bottom, 0px) + 9px) calc(var(--game-safe-left, 0px) + 11px);
 background:linear-gradient(130deg,#e3eef9,#d5e0f0);color:#25496b;font-family:inherit}
.mv-head{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:32px;flex:0 0 auto;background:#244d7b;color:white;border-radius:10px;padding:5px 13px;font-size:clamp(12px,2.3vw,16px)}
.mv-head span{font-size:11px;font-weight:700;color:#dbeaff}
.mv-cta{border:1px solid #ad7b23;background:linear-gradient(#ffedaa,#f4b849);color:#5a3709;box-shadow:0 3px 0 #ae832b;min-height:36px;padding:8px 22px;border-radius:11px;font-weight:900;font-family:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.mv-cta:disabled{opacity:.45;cursor:not-allowed}
.meeting-intro-v257 .mv-intro-body{flex:1;min-height:0;display:grid;grid-template-columns:42% 1fr;gap:clamp(12px,4vw,40px);align-items:stretch}
.mv-director-portrait{position:relative;border:3px solid #7697bc;border-radius:15px;overflow:hidden;background:linear-gradient(#f5f2e9,#a6c4d8);min-height:0}
.mv-director-person{position:absolute;left:18%;right:18%;top:7%;bottom:0;display:flex;flex-direction:column;align-items:center}
.mv-person-head{width:min(32%,80px);aspect-ratio:1;border-radius:50%;background:#8196ae;box-shadow:0 0 0 8px #b3c7d8}
.mv-person-body{flex:1;width:72%;background:linear-gradient(140deg,#4b6c88,#223d58);border-radius:40% 40% 0 0;margin-top:8px}
.mv-portrait-label{position:absolute;bottom:0;left:0;right:0;background:#203a60d9;color:#fff;font-size:11px;padding:5px;text-align:center}
.mv-intro-message{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;gap:clamp(4px,1.3vh,9px)}
.mv-kicker{font-size:12px;font-weight:900;color:#4d7190}.mv-intro-message h2{color:#1a3a5f;font-size:clamp(20px,4vw,35px);line-height:1.25;margin:0}
.mv-intro-message p{font-size:12px;color:#426587;margin:3px 0 7px}.mv-intro-message .mv-cta{margin-top:5px}
.mv-result-title{font-weight:900;font-size:clamp(13px,3vw,21px);color:#1d4772;padding:4px 8px 0}
.mv-result-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,1.5vw,12px);flex:1;min-height:0}
.mv-result-metrics>div{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;border:2px solid #92b3d5;border-radius:12px;background:#fff;box-shadow:0 3px 0 #c5d6e7;padding:8px}
.mv-result-metrics span{font-size:clamp(11px,2vw,15px);font-weight:800;white-space:nowrap;color:#507299}
.mv-result-metrics strong{font-weight:900;font-size:clamp(22px,5vw,42px);color:#184775;line-height:1.1}.mv-result-metrics small{font-size:13px;margin-left:4px}
.mv-result-bottom{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:9px;padding:3px 5px 4px;font-size:13px;min-height:40px}
.mv-result-bottom span{line-height:1.3}.mv-result-bottom small{font-size:10px;color:#6684a0}.mv-result-bottom b{color:#1b5188}
.meeting-pick-v257{gap:clamp(4px,1.1vh,8px)}
.mv-affinity-board{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;background:#f8fbff;border:1px solid #a8c2dd;border-radius:10px;padding:5px 8px;color:#264b6d}.mv-affinity-title{font-size:11px;font-weight:900;color:#2c5680}.mv-affinity-title b{color:#173e65}.mv-affinity-chips{display:flex;gap:5px;flex-wrap:wrap}.mv-aff-chip{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:900;border:1px solid transparent;white-space:nowrap}.mv-aff-chip.good,.mv-cand-match.good{background:#d9f8e6;border-color:#79c49a;color:#15593a}.mv-aff-chip.neutral,.mv-cand-match.neutral{background:#eef4fb;border-color:#adc4dc;color:#325778}.mv-aff-chip.bad,.mv-cand-match.bad{background:#ffe7e7;border-color:#e3a0a0;color:#8b2d2d}
.mv-candidates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;flex:1 1 auto;min-height:0;max-height:136px}
.mv-candidate{border:2px solid #a9bdcf;border-radius:11px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:3px 2px;cursor:pointer;min-width:0;min-height:0;font:inherit;color:#2d506f;overflow:hidden;position:relative}.mv-candidate.is-picked{border-color:#2478ba;background:#e1f4ff;box-shadow:inset 0 0 0 1px #8dbde0}.mv-candidate.type-0{border-color:#d4a3a3;background:linear-gradient(180deg,#fffdfd,#fff4f4)}.mv-candidate.type-1{border-color:#d7b3d9;background:linear-gradient(180deg,#fffdfd,#faf4ff)}.mv-candidate.type-2{border-color:#9dbfc9;background:linear-gradient(180deg,#ffffff,#f2fafc)}.mv-candidate.match-good{box-shadow:0 0 0 2px #c1efcf inset}.mv-candidate.match-bad{box-shadow:0 0 0 2px #ffd4d4 inset}.mv-cand-top{display:flex;align-items:center;justify-content:space-between;gap:2px;width:100%;padding:0 2px}.mv-cand-rank{font-size:8px;color:#6582a0;white-space:nowrap}.mv-cand-match{font-size:8px;font-weight:900;border-radius:999px;padding:1px 4px;border:1px solid transparent;white-space:nowrap}.mv-cand-portrait{width:28px;height:28px;border-radius:50%;overflow:hidden;border:2px solid #c1d3e4;background:#fff;box-shadow:0 1px 3px #0001}.mv-cand-portrait img{width:100%;height:100%;object-fit:cover}.mv-candidate b{font-size:clamp(11px,2.2vw,16px);line-height:1.15;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-cand-type{font-size:10px;white-space:nowrap}.mv-candidate small{font-size:9px;color:#617e9a}.mv-cand-check{font-size:10px;font-weight:800;color:#286ea5}
.mv-pick-settings{background:#f8fbff;border:1px solid #a8c2dd;border-radius:11px;padding:5px 8px;display:grid;grid-template-columns:1fr;gap:4px;flex:0 0 auto;min-height:0}
.mv-pick-label{display:flex;justify-content:space-between;align-items:center;line-height:1.15}.mv-pick-label strong{font-size:12px;color:#2b547c}.mv-pick-label small{font-size:9px;color:#6384a2}
.mv-pick-row{display:grid;grid-template-columns:minmax(105px,1fr) minmax(100px,1.4fr) minmax(70px,.7fr);gap:5px;align-items:center;min-height:29px}.mv-picked-name{display:flex;align-items:center;gap:5px;min-width:0;color:#254b70}.mv-picked-name b{display:block;font-size:11px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-picked-sub{display:block;font-size:9px;color:#5f7c98;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-picked-mini{width:24px;height:24px;border-radius:50%;overflow:hidden;border:2px solid #bed0e1;flex:0 0 24px;background:#fff}.mv-picked-mini img{width:100%;height:100%;object-fit:cover}.mv-pick-row select{width:100%;height:29px;max-width:100%;min-width:0;border:1px solid #aabed2;border-radius:7px;color:#22466b;background:#eaf1f9;font-family:inherit;font-weight:700;font-size:12px;padding:2px 5px}
.mv-pick-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:34px;flex:0 0 auto}.mv-small-btn{border:1px solid #9bb6d0;border-radius:9px;background:#f9fcff;color:#315d87;padding:8px 13px;min-height:33px;font-size:11px;font-weight:800;font-family:inherit;cursor:pointer}
@media(max-height:380px){.meeting-v257{gap:4px;padding-top:calc(var(--game-safe-top, 0px) + 5px);padding-bottom:calc(var(--game-safe-bottom, 0px) + 5px)}.mv-head{min-height:27px;padding:3px 10px}.mv-candidates{max-height:90px}.mv-pick-settings{padding:4px 7px;gap:3px}.mv-pick-row{min-height:26px}.mv-pick-row select{height:26px}.mv-cta{min-height:31px;padding:5px 16px}.mv-small-btn{min-height:30px;padding:6px 10px}}
@media(max-height:315px){.mv-candidate small,.mv-cand-type{display:none}.mv-pick-label{display:none}.mv-candidates{max-height:70px}.mv-pick-row{min-height:22px}.mv-pick-row select{height:23px}.mv-affinity-board{padding:3px 6px}.mv-aff-chip{font-size:9px;padding:2px 5px}.mv-picked-sub{display:none}}
/* 3 card draw, then force bad usage, then angry parent. */
.mb-game.mb-bad-v257{position:relative}.mb-bad-v257 .mb-drawn-three{margin-top:5px}.mb-drawn-card{min-height:79px;border:2px solid #9cbad5;background:#f5f8ff;color:#24466a;border-radius:10px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:2px;padding:4px 3px;text-align:center;box-shadow:0 3px 0 #17355355;min-width:0}
.mb-drawn-card strong{font-size:clamp(10px,1.4vw,15px);line-height:1.12;overflow-wrap:anywhere}.mb-drawn-card small{font-size:10px}.mb-drawn-card .mb-rarity{font-size:10px}.mb-drawn-card.mb-tone-bad{background:#381d2b;border-color:#ff8c8c;color:#ffe8ec}.mb-drawn-card.mb-tone-bad .mb-rarity{color:#ffaaaa}.mb-drawn-card em{font-size:9px;color:#ffdadc;font-style:normal}
.mb-drawn-card.is-being-cast{animation:mvBadCast .75s ease-in-out both;box-shadow:0 0 22px #ff6a58;border-color:#ff4e4e}
.mb-bad-action-overlay{position:absolute;right:10px;top:46px;z-index:5;border:2px solid #ffc1b5;border-radius:10px;padding:8px 11px;background:#842f32f3;color:#fff;box-shadow:0 5px 24px #0009;display:grid;gap:3px;max-width:54%;pointer-events:none;animation:mvBadMessage .25s ease-out both}
.mb-bad-action-overlay strong{font-size:clamp(12px,1.8vw,18px)}.mb-bad-action-overlay span{font-size:11px}
.mb-bad-next{margin-top:5px;display:block;margin-left:auto;border:1px solid #d6aa61;background:#ffe8ae;color:#624019;border-radius:8px;padding:5px 13px;font-size:11px;font-weight:800;font-family:inherit;cursor:pointer}
@keyframes mvBadCast{0%{transform:scale(1)}40%{transform:translateY(-9px) scale(1.08)}100%{transform:translateY(-4px) scale(1.045)}}
@keyframes mvBadMessage{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
@media(max-height:450px){.mb-drawn-card{min-height:57px;gap:0;padding:2px}.mb-bad-v257 .mb-dialogue{min-height:95px;max-height:105px}.mb-bad-v257 .mb-dialogue .mb-portrait{min-height:94px;height:100px}.mb-bad-action-overlay{top:32px;padding:5px 7px}}
@media(prefers-reduced-motion:reduce){.mb-drawn-card.is-being-cast,.mb-bad-action-overlay{animation:none}}

/* v257 responsive stretch: use all remaining safe portrait-height for candidate buttons. */
.meeting-pick-v257 .mv-candidates{max-height:none;min-height:80px}
.meeting-pick-v257 .mv-pick-footer{margin-top:auto}


/* original style block 2/96 */

/* v13.7.120: navigation back to the game is a distinct, high-contrast blue CTA.
   Keep all existing outcome/result locks and navigation handlers untouched. */
.progress-return-dock{
  background:linear-gradient(90deg,#e0ecff,#f5f9ff);
  border-bottom:2px solid #9bbfe4;
}
.progress-return-dock button.return-progress,
.stage-scroll .act.return-progress{
  background:linear-gradient(180deg,#137ed2 0%,#08519d 100%)!important;
  border:2px solid #073d81!important;
  color:#ffffff!important;
  border-radius:12px;
  box-shadow:0 3px 0 #06336b,0 3px 12px rgba(3,54,112,.27);
  font-weight:950;
  font-size:clamp(13px,1.25vw,16px);
  line-height:1.2;
  letter-spacing:.025em;
  text-shadow:0 1px 0 rgba(1,38,77,.5);
  transition:filter .13s ease,transform .13s ease;
}
.progress-return-dock button.return-progress{
  min-height:42px;
  padding:8px 17px;
  white-space:nowrap;
}
.progress-return-dock button.return-progress::before,
.stage-scroll .act.return-progress::before{
  content:"↩";
  font-size:1.3em;
  font-weight:900;
  vertical-align:-.045em;
  margin-right:8px;
}
.stage-scroll .act.return-progress{
  display:block;
  width:100%;
  max-width:480px;
  min-height:47px;
  margin:16px auto 5px;
  padding:11px 16px;
}
.progress-return-dock button.return-progress:hover:not(:disabled),
.stage-scroll .act.return-progress:hover:not(:disabled){filter:brightness(1.12)}
.progress-return-dock button.return-progress:active:not(:disabled),
.stage-scroll .act.return-progress:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #06336b}
.progress-return-dock button.return-progress:focus-visible,
.stage-scroll .act.return-progress:focus-visible{outline:3px solid #ffcf62;outline-offset:3px}
.progress-return-dock button.return-progress:disabled,
.stage-scroll .act.return-progress:disabled{filter:grayscale(1);opacity:.4;box-shadow:none;cursor:not-allowed}
@media(max-height:590px) and (orientation:landscape){
  .progress-return-dock{padding:3px 7px}
  .progress-return-dock button.return-progress{min-height:36px;padding:5px 12px;font-size:13px}
  .stage-scroll .act.return-progress{min-height:40px;padding:8px 10px;margin:9px auto 4px}
}


/* original style block 3/96 */

/* First confirm the financial transaction; only then roll for ten items. */
.ten-draw-overlay{position:fixed;inset:0;z-index:12000;background:rgba(6,17,34,.82);display:flex;align-items:center;justify-content:center;padding:clamp(7px,2vh,18px);box-sizing:border-box}
.ten-draw-confirm{width:min(590px,100%);max-height:calc(100dvh - 14px);overflow-y:auto;overscroll-behavior:contain;border:3px solid #376fb6;border-radius:15px;background:#f7fbff;color:#162e4a;box-shadow:0 20px 60px #020f24b8;padding:clamp(10px,1.7vw,22px)}
.ten-draw-kicker{color:#245e98;font-size:11px;font-weight:950;letter-spacing:.04em}
.ten-draw-confirm h2{color:#133b68;font-weight:950;font-size:clamp(17px,2.2vw,25px);margin:3px 0 5px}
.ten-draw-confirm p{color:#435e78;font-size:clamp(10px,1.1vw,13px);margin:3px 0 9px;line-height:1.4}
.ten-draw-details{background:#eaf3ff;border:1px solid #b7cee6;border-radius:10px;padding:6px 12px}
.ten-draw-details>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #cbdcec;min-height:25px;padding:2px 0;font-size:clamp(11px,1.1vw,14px)}
.ten-draw-details>div:last-child{border-bottom:0}
.ten-draw-details span{color:#315571}
.ten-draw-details strong{color:#183c60;font-weight:900;text-align:right;font-variant-numeric:tabular-nums}
.ten-draw-details .ten-draw-fee{background:#d8eaff;border-radius:7px;margin:3px -4px;padding:3px 4px}
.ten-draw-details .ten-draw-fee strong{color:#07539d;font-size:clamp(16px,2vw,22px)}
.ten-draw-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:9px;margin-top:10px}
.ten-draw-actions button{min-height:40px;font-size:clamp(12px,1.25vw,15px);font-weight:900;border-radius:10px;padding:8px 10px;border:2px solid}
.ten-draw-cancel{background:#fff;color:#1d486b;border-color:#9ab5cc}
.ten-draw-buy{background:linear-gradient(180deg,#157ac6,#07549b);border-color:#064078!important;color:#fff;box-shadow:0 2px 0 #063c6b}
.ten-draw-actions button:focus-visible{outline:3px solid #e9a82b;outline-offset:2px}
@media(max-height:450px) and (orientation:landscape){.ten-draw-confirm{padding:9px 14px;max-width:600px}.ten-draw-confirm h2{font-size:17px;margin:2px 0}.ten-draw-confirm p{font-size:10px;margin:2px 0 5px}.ten-draw-details{padding:3px 10px}.ten-draw-details>div{min-height:23px;padding:1px 0}.ten-draw-actions{margin-top:6px}.ten-draw-actions button{min-height:34px;padding:4px 6px}}


/* original style block 4/96 */

/* Keep the new confirm action inside the existing sticky blue wallet, without
   changing the bottom confirm button or any ability-purchase calculations. */
.sticky-owned-pt .growth-wallet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 8px}
.sticky-owned-pt .growth-wallet-heading>strong{display:block;flex:1 1 185px;min-width:0;margin:0;color:#153c65;font-size:clamp(12px,1.3vw,17px);line-height:1.2}
.sticky-owned-pt .act.growth-wallet-confirm{
 background:linear-gradient(180deg,#197cce,#0b55a1)!important;
 color:#fff!important;border:2px solid #063c7b!important;
 border-radius:10px;font-weight:900;min-height:38px;padding:7px 12px;
 white-space:nowrap;flex-shrink:0;box-shadow:0 2px 0 #06346a;
}
.sticky-owned-pt .act.growth-wallet-confirm:disabled{background:#bacadd!important;color:#486178!important;border-color:#91a8c3!important;box-shadow:none;opacity:.85;cursor:not-allowed}
.sticky-owned-pt .act.growth-wallet-confirm:focus-visible{outline:3px solid #f1b545;outline-offset:2px}
@media(max-height:590px) and (orientation:landscape){
 .sticky-owned-pt .growth-wallet-heading{gap:5px;margin-bottom:4px}
 .sticky-owned-pt .growth-wallet-heading>strong{font-size:11px}
 .sticky-owned-pt .act.growth-wallet-confirm{min-height:32px;padding:5px 9px;font-size:11px}
}


/* original style block 5/96 */

/* v13.7.123: four purely visual classroom renovations; no economic multipliers. */
.renovation-feature{color:#18364f;background:#f1f7fd;border:2px solid #8ab0d4;border-radius:12px;padding:8px;margin:9px 0 13px}
.renovation-feature h3{color:#15466d!important;margin:4px 0 8px;font-size:13px}
.renovation-feature .reno-note{font-size:11px;color:#3b5570;margin:6px 0 0}
.room-illustration{--wall:#b4b4a9;--floor:#8d7962;--board:#52695e;--desk:#816448;--trim:#6a695c;position:relative;min-height:145px;overflow:hidden;border:3px solid #6c7882;border-radius:10px;background:linear-gradient(to bottom,var(--wall) 0 67%,var(--floor) 68% 100%);isolation:isolate;box-shadow:inset 0 5px 12px #0002}
.room-level-1{--wall:#c4c5b9;--floor:#9b8467;--board:#547266;--desk:#b98c54;--trim:#7c756b}
.room-level-2{--wall:#f0e4ce;--floor:#b9a27c;--board:#366e66;--desk:#bb9469;--trim:#7b9fa5;border-color:#86aaba}
.room-level-3{--wall:#eef1ec;--floor:#c5b49c;--board:#275c62;--desk:#ad916f;--trim:#7caeae;border-color:#609ca5}
.room-level-4{--wall:#f3f4eb;--floor:#c3ae90;--board:#1c5a63;--desk:#c2a278;--trim:#d5b56a;border-color:#bb9948;box-shadow:inset 0 5px 12px #0001,0 0 0 2px #f1d88f}
.room-window{position:absolute;left:6%;top:8%;width:19%;height:43%;border:5px solid var(--trim);background:linear-gradient(#b9dcf3,#e5f7fa);box-shadow:inset 0 0 0 1px #fff}
.room-window:before{content:'';position:absolute;left:48%;height:100%;width:3px;background:var(--trim)}
.room-window:after{content:'';position:absolute;top:50%;width:100%;height:3px;background:var(--trim)}
.room-blackboard{position:absolute;left:32%;right:7%;top:13%;height:44%;border:6px solid #806b55;background:var(--board);border-radius:4px;display:flex;align-items:center;justify-content:center;color:#e8f5e9;font-size:clamp(9px,1.4vw,15px);font-weight:800;text-shadow:0 1px #0029}
.room-level-2 .room-blackboard,.room-level-3 .room-blackboard,.room-level-4 .room-blackboard{border-color:#8eacb0}
.room-desks{position:absolute;left:10%;right:10%;bottom:8%;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;perspective:300px}
.room-desk{height:21px;border:3px solid #4b403b;background:linear-gradient(#e2c395,var(--desk));border-radius:5px;box-shadow:0 9px 0 -5px #504943,0 14px 0 -7px #504943;transform:perspective(70px) rotateX(12deg)}
.room-level-0 .room-desk{border-color:#5f5143;background:linear-gradient(#9f835f,#766048)}
.room-light{position:absolute;left:47%;top:0;width:26%;height:5px;border-radius:0 0 14px 14px;background:#9a8b74;box-shadow:0 5px 0 4px #e0d1a3;opacity:.25}
.room-level-2 .room-light,.room-level-3 .room-light,.room-level-4 .room-light{opacity:1;box-shadow:0 5px 0 4px #e9f4f5,0 12px 28px 8px #fff4c5a0}
.room-monitor{display:none;position:absolute;right:14%;top:19%;height:16px;width:24px;border:2px solid #83b6d4;background:#142f47;box-shadow:0 6px 0 -4px #7ea3a9}
.room-level-3 .room-monitor,.room-level-4 .room-monitor{display:block}
.room-plant{display:none;position:absolute;right:2%;bottom:20%;font-size:23px}
.room-level-4 .room-plant{display:block}
.room-badge{position:absolute;right:6px;bottom:5px;background:#142f43dd;color:#fff;border-radius:5px;padding:2px 5px;font-size:10px;font-weight:800}
.renovation-announcement{border:2px solid #c59a4a;background:#fff9e9;border-radius:13px;padding:10px;color:#273954;box-shadow:0 3px 12px #523e2526}
.renovation-announcement h2{color:#714b10!important;margin:1px 0 6px;font-size:clamp(17px,2.2vw,25px)}
.renovation-announcement p{font-size:12px;line-height:1.5;margin:6px 0;color:#263d53}
.reno-cinema{position:relative;height:clamp(125px,24vh,220px);overflow:hidden;border-radius:10px;background:#576475;margin:7px 0}
.reno-cinema>.reno-before,.reno-cinema>.reno-after,.reno-cinema>.reno-construction{position:absolute;inset:0}
.reno-cinema .room-illustration{height:100%;min-height:0}
.reno-before{animation:renoBefore 3.3s linear forwards}
.reno-construction{display:flex;align-items:center;justify-content:center;gap:8px;background:repeating-linear-gradient(-35deg,#393e50,#393e50 13px,#cba854 13px,#cba854 24px);color:#fff9da;font-size:clamp(20px,2.7vw,30px);font-weight:950;text-shadow:0 2px 4px #172a38;opacity:0;animation:renoBuild 3.3s linear forwards;z-index:2}
.reno-after{opacity:0;animation:renoAfter 3.3s linear forwards}
.renovation-announcement .reno-award{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:7px 0}
.reno-award>div{background:#fff;border:1px solid #d8b46e;padding:7px;border-radius:8px;color:#3a4654;font-size:11px}
.reno-award strong{display:block;color:#70450d;font-size:clamp(12px,1.8vw,17px)}
.renovation-announcement .reno-stage-label{color:#835a17;font-size:11px;font-weight:900}
.renovation-announcement .reno-zero{font-size:11px;color:#45617a}
.renovation-announcement .act.primary{min-height:34px;margin:6px 0 0;background:#f0bf5d;color:#433011;border-color:#b88a39}
@keyframes renoBefore{0%,22%{opacity:1}40%,100%{opacity:0}}
@keyframes renoBuild{0%,19%{opacity:0}30%,54%{opacity:1}72%,100%{opacity:0}}
@keyframes renoAfter{0%,60%{opacity:0}85%,100%{opacity:1}}
.dashboard.reno-stage-1 .stage{border-color:#668fba}
.dashboard.reno-stage-2 .stage{border-color:#6098a3}
.dashboard.reno-stage-3 .stage{border-color:#388b94}
.dashboard.reno-stage-4 .stage{border-color:#c09b4e;box-shadow:inset 0 0 0 4px #fff2ca,0 5px 0 #a68a58,0 9px 16px #18345335}
@media(max-height:450px) and (orientation:landscape){.renovation-announcement{padding:5px 8px}.renovation-announcement h2{margin:0;font-size:16px}.renovation-announcement p{font-size:10px;margin:3px 0}.reno-cinema{height:76px;margin:3px 0}.renovation-announcement .reno-award{gap:4px;margin:3px 0}.reno-award>div{padding:2px 6px;font-size:9px}.reno-award strong{font-size:11px}.room-blackboard{font-size:10px}.room-desks{bottom:13%}.room-desk{height:9px;box-shadow:none}.room-badge{font-size:8px;padding:1px 3px}.renovation-announcement .act.primary{padding:5px;min-height:27px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.reno-before{display:none}.reno-construction{display:none}.reno-after{animation:none;opacity:1}}

/* salary promotion dedicated cinematic, preserving confirmed payroll math */
.promotion-announcement{color:#172d46;background:linear-gradient(145deg,#e6effd,#fff9e7);border:3px solid #c7a357;border-radius:13px;padding:12px;box-shadow:0 2px 12px #2039622b}
.promotion-announcement h2{font-size:clamp(18px,2.1vw,25px);color:#173b69!important;margin:3px 0 6px}
.promotion-announcement p{color:#40536b;font-size:12px;line-height:1.5;margin:6px 0}
.promotion-kicker{font-weight:900;font-size:11px;color:#795215;letter-spacing:.06em}
.promotion-visual{border:2px solid #709aba;background:radial-gradient(circle at 70% 20%,#496f9c,#153752 63%,#142c47);color:#fff;min-height:112px;border-radius:11px;padding:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;overflow:hidden;position:relative}
.promotion-visual:before{content:'✦　✦　✦';position:absolute;inset:0;display:flex;align-items:center;justify-content:space-around;color:#ffdc79aa;font-size:clamp(20px,3vw,36px);animation:promotionSpark 1.8s ease-in-out infinite;pointer-events:none}
.promotion-visual .promotion-tag{font-size:11px;letter-spacing:.13em;color:#ffe49c;font-weight:900;z-index:1}
.promotion-amounts{display:flex;gap:18px;align-items:center;justify-content:center;z-index:1;font-weight:950;white-space:nowrap}
.promotion-amounts .old-pay{font-size:clamp(20px,2.7vw,31px);color:#d9e3ee}
.promotion-amounts .arrow{color:#ffe1a0;font-size:clamp(16px,2.2vw,24px)}
.promotion-amounts .new-pay{font-size:clamp(25px,3.7vw,45px);color:#ffe59b;text-shadow:0 2px 1px #715020,0 0 16px #e8bc5477;animation:promotionRise 1s ease-out both}
.promotion-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0}
.promotion-summary>div{border:1px solid #c3cddb;background:white;border-radius:9px;padding:7px;color:#2c4360;font-size:11px}
.promotion-summary b{display:block;color:#0d6052;font-size:clamp(12px,1.5vw,17px)}
@keyframes promotionRise{0%{opacity:.1;transform:translateY(15px) scale(.8)}75%{transform:translateY(-3px) scale(1.06)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes promotionSpark{0%,100%{opacity:.3;transform:scale(.92)}50%{opacity:.95;transform:scale(1.05)}}
@media(max-height:450px) and (orientation:landscape){.promotion-announcement{padding:7px 9px}.promotion-announcement h2{font-size:16px;margin:2px 0}.promotion-announcement p{font-size:10px;margin:4px 0}.promotion-visual{min-height:74px;padding:5px}.promotion-summary{margin:4px 0}.promotion-summary>div{padding:3px 6px;font-size:9px}.promotion-summary b{font-size:12px}}
@media(prefers-reduced-motion:reduce){.promotion-visual:before,.promotion-amounts .new-pay{animation:none}}


/* original style block 6/96 */

.opening-phase-flow{grid-area:1/1/2/6;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:4px;padding:5px;background:#eff4fd;border:2px solid #86a3c7;border-radius:10px;font-size:clamp(10px,1.35vw,14px);font-weight:850;color:#596e89}
.opening-phase-flow span{padding:5px 3px;border-radius:7px;text-align:center}.opening-phase-flow .done{background:#d7f2e4;color:#246444}.opening-phase-flow .active{background:#ffeab0;color:#69430a;box-shadow:inset 0 0 0 2px #d49f30}
.opening-event-panel{max-width:850px;margin:auto!important;color:#19334e}.opening-kicker{font-size:11px;font-weight:900;color:#3475b0;letter-spacing:.08em}.opening-event-panel h2{font-size:clamp(17px,2vw,27px);margin:5px 0}.opening-event-panel h2 small{font-size:12px;color:#54708c}.opening-scene-title{margin:8px 0;font-size:clamp(13px,1.6vw,20px);font-weight:900}.opening-lines{display:flex;flex-direction:column;gap:7px}.opening-line{display:grid;grid-template-columns:minmax(55px,72px) 1fr;gap:9px;align-items:start;border:1px solid #b2c6db;background:#edf5fd;border-radius:9px;padding:8px 10px;font-size:clamp(12px,1.35vw,16px)}.opening-line strong{color:#1a4e7f}.opening-line span{color:#142e4a}.opening-tip{color:#235e75;background:#e4f5f7;border-left:3px solid #57aabc;border-radius:6px;padding:8px}.opening-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.opening-choices button:disabled{opacity:.55;background:#e7e7e9!important;color:#697787!important;text-decoration:line-through;cursor:not-allowed}.opening-actions{margin:12px 0 8px}.opening-secondary{display:flex;gap:6px;flex-wrap:wrap;border-top:1px dashed #a8bed4;padding-top:7px}.opening-secondary .act{flex:1 1 145px;font-size:clamp(10px,1.15vw,13px);padding:8px}.opening-event-panel .tiny{line-height:1.5}
@media(max-width:850px) and (orientation:landscape){.opening-line{padding:5px 8px;gap:5px}.opening-event-panel h2{margin:2px 0}.opening-scene-title{margin:4px 0}.opening-lines{gap:4px}.opening-actions{margin:7px 0 4px}.opening-phase-flow span{padding:3px 2px}}


/* original style block 7/96 */

/* The same central stage, classroom background, and bottom decision dock as normal work. */
.dashboard.base-layout .stage .job-screen.sabo-work-screen .jobs-row.sabo-work-row{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.dashboard.base-layout .stage .job-screen.sabo-work-screen .sabo-work-card .name{
 font-size:clamp(10px,1.05vw,16px)!important;white-space:normal;
 overflow-wrap:normal;word-break:keep-all;text-align:center;line-height:1.14;
}
.dashboard.base-layout .stage .job-screen.sabo-work-screen .sabo-work-card .risk,
.dashboard.base-layout .stage .job-screen.sabo-work-screen .sabo-work-card .level{white-space:nowrap;}
.sabo-work-summary{display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:3px;min-width:0;padding:5px 7px;border:1px solid #cad8ed;border-radius:9px;
 background:rgba(244,248,255,.91);color:#315270;font-size:clamp(10px,1.1vw,14px);}
.sabo-work-summary strong{font-size:clamp(12px,1.25vw,17px);color:#193e67;}
.sabo-work-screen .sabo-work-details{display:flex;align-items:center;gap:8px;}
.sabo-work-screen .sabo-work-preview{min-width:0;flex:1;}
.sabo-work-screen .sabo-work-details .sabo-back{white-space:nowrap;flex:none;
 min-height:33px;padding:5px 9px;background:#e8f0fc;border:2px solid #93b2d6;
 color:#21486a;border-radius:9px;font-weight:850;cursor:pointer;}
.sabo-work-screen .sabo-work-details .sabo-confirm{flex:none;min-width:143px;}
.sabo-work-screen .sabo-work-details .sabo-confirm:disabled{opacity:.52;cursor:not-allowed;}
.dashboard.base-layout .stage .thumb-action-dock .job-details.sabo-work-details{
 gap:clamp(5px,.7vw,10px)!important;justify-content:space-between;
}
.dashboard.base-layout .stage .thumb-action-dock .job-details.sabo-work-details .sabo-back{
 min-width:0!important;max-width:none!important;min-height:32px!important;white-space:nowrap;
 font-size:clamp(10px,.95vw,13px)!important;padding:4px 8px!important;
}
.dashboard.base-layout .stage .thumb-action-dock .job-details.sabo-work-details .sabo-confirm{
 min-width:clamp(126px,17vw,190px)!important;margin-left:0!important;
}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .job-screen.sabo-work-screen .job-selected-name{font-size:clamp(19px,3vw,28px)!important;}
 .dashboard.base-layout .stage .job-screen.sabo-work-screen .job-lead{padding:3px 6px!important;}
 .dashboard.base-layout .stage .job-screen.sabo-work-screen .sabo-work-summary{gap:1px;padding:2px 5px;font-size:9px;}
 .dashboard.base-layout .stage .job-screen.sabo-work-screen .sabo-work-summary strong{font-size:11px;}
 .dashboard.base-layout .stage .job-screen.sabo-work-screen .jobs-row .job-bubble .symbol{font-size:18px!important;}
 .dashboard.base-layout .stage .job-screen.sabo-work-screen .jobs-row .job-bubble .name{font-size:10px!important;}
 .dashboard.base-layout .stage .job-screen.sabo-work-screen .jobs-row .job-bubble .risk,
 .dashboard.base-layout .stage .job-screen.sabo-work-screen .jobs-row .job-bubble .level{font-size:8px!important;}
 .dashboard.base-layout .stage .thumb-action-dock .job-details.sabo-work-details p{-webkit-line-clamp:2;}
}
@media (max-width:699px){
 .sabo-work-screen .sabo-work-summary{display:none;}
 .sabo-work-screen .jobs-row.sabo-work-row{grid-template-columns:repeat(5,minmax(0,1fr));}
 .sabo-work-screen .sabo-work-card .name{font-size:10px;}
 .sabo-work-screen .sabo-work-card .risk,.sabo-work-screen .sabo-work-card .level{font-size:8px;}
}


/* original style block 8/96 */

.sabo-cinematic{max-width:100%;text-align:center;}
.sabo-cinema-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px;border:1px solid #728caa;border-radius:12px;background:linear-gradient(135deg,#192f48,#314761);color:#fff;margin:7px 0;}
.sabo-cinema-visual span{font-size:33px;}
.sabo-cinema-visual strong{font-size:clamp(15px,2.7vw,23px);}
.sabo-cinema-controls{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;}
.sabo-cinema-controls button{margin:0;}
@media(orientation:landscape) and (max-height:440px){.sabo-cinema-visual{padding:6px;margin:3px 0;gap:1px}.sabo-cinema-visual span{font-size:24px}.sabo-cinematic h2{font-size:20px;margin:3px 0}.sabo-cinematic p{margin:4px 0}}


/* original style block 9/96 */

/* 休日の文字を読みやすく。狭い横画面でも見出しと所持資産を区別する。 */
.dashboard.base-layout .stage .holiday-heading{gap:7px;align-items:center;min-height:36px;}
.dashboard.base-layout .stage .holiday-heading .screen-title{font-size:clamp(20px,2.6vw,27px)!important;line-height:1.15!important;}
.dashboard.base-layout .stage .holiday-header-values{gap:7px!important;flex-wrap:nowrap!important;}
.dashboard.base-layout .stage .holiday-money-inline,
.dashboard.base-layout .stage .holiday-leave-inline{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  padding:5px 8px!important;line-height:1.15!important;
  font-size:clamp(13px,1.7vw,17px)!important;font-weight:850!important;
  border-width:2px!important;white-space:nowrap!important;
}
.dashboard.base-layout .stage .holiday-money-inline b,
.dashboard.base-layout .stage .holiday-leave-inline b{font-size:clamp(15px,2.05vw,21px)!important;font-weight:950!important;}
/* 解放前・資金不足のカードは、効果を表示したまま暗くし選択不可にする。 */
.dashboard.base-layout .stage .holiday-effect-choice:disabled,
.dashboard.base-layout .stage .holiday-mode-button:disabled{
  background:#5b6674!important;border-color:#465260!important;color:#f0f3f8!important;
  opacity:.84!important;filter:saturate(.25)!important;cursor:not-allowed!important;
  box-shadow:none!important;
}
.dashboard.base-layout .stage .holiday-effect-choice:disabled .holiday-action-top b,
.dashboard.base-layout .stage .holiday-effect-choice:disabled .holiday-action-top span,
.dashboard.base-layout .stage .holiday-effect-choice:disabled .holiday-action-stat{
  color:#eef2f7!important;
}
.dashboard.base-layout .stage .holiday-effect-choice:disabled .holiday-action-stat{opacity:.86;}
.dashboard.base-layout .stage .holiday-mode-button:disabled{opacity:.75!important;}
.dashboard.base-layout .stage .holiday-match-modes{margin:3px 0!important;gap:8px!important;}
.dashboard.base-layout .stage .holiday-match-modes .holiday-mode-button{min-height:34px!important;}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .holiday-heading{min-height:32px;margin:0 0 2px!important;}
 .dashboard.base-layout .stage .holiday-money-inline,
 .dashboard.base-layout .stage .holiday-leave-inline{padding:4px 6px!important;font-size:13px!important;}
 .dashboard.base-layout .stage .holiday-money-inline b,
 .dashboard.base-layout .stage .holiday-leave-inline b{font-size:16px!important;}
 .dashboard.base-layout .stage .holiday-match-modes .holiday-mode-button{min-height:31px!important;}
}
@media(max-width:699px){
 .dashboard.base-layout .stage .holiday-heading{flex-wrap:wrap;}
 .dashboard.base-layout .stage .holiday-header-values{width:100%;justify-content:flex-start;}
}


/* original style block 10/96 */

/* Nine finalized travel names need dedicated, readable cards (without changing other holiday cards). */
.dashboard .stage .holiday-travel-choices {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:8px!important;align-items:stretch!important;
}
.dashboard .stage .holiday-travel-choices .holiday-plan-choice{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 min-width:0!important;min-height:148px!important;padding:8px!important;
 text-align:left!important;gap:4px!important;overflow:hidden!important;
}
.dashboard .stage .holiday-travel-choices .holiday-action-top{
 display:flex!important;flex-direction:column!important;gap:3px!important;align-items:stretch!important;min-width:0!important;
}
.dashboard .stage .holiday-travel-choices .holiday-action-top b{
 display:block!important;white-space:normal!important;word-break:break-word!important;
 overflow-wrap:anywhere!important;font-size:clamp(11px,1.2vw,16px)!important;
 line-height:1.23!important;
}
.dashboard .stage .holiday-travel-choices .holiday-action-top span,
.dashboard .stage .holiday-travel-choices .holiday-action-stat{
 display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;
 font-size:clamp(10px,1.05vw,14px)!important;line-height:1.18!important;
}
@media(max-width:699px){
 .dashboard .stage .holiday-travel-choices{grid-template-columns:1fr!important;gap:7px!important;}
 .dashboard .stage .holiday-travel-choices .holiday-plan-choice{
  min-height:80px!important;padding:8px 12px!important;gap:3px!important;
 }
 .dashboard .stage .holiday-travel-choices .holiday-action-top{
  flex-direction:row!important;justify-content:space-between!important;align-items:flex-start!important;gap:8px!important;
 }
 .dashboard .stage .holiday-travel-choices .holiday-action-top b{
  font-size:14px!important;line-height:1.25!important;flex:1!important;
 }
 .dashboard .stage .holiday-travel-choices .holiday-action-stat{display:inline-block!important;font-size:11px!important;margin-right:7px!important;}
}


/* original style block 11/96 */

.initial-personality-setup .act.ghost{background:#fff!important;color:#17304a!important;border:1px solid #94aec4!important;}
.initial-personality-setup .act.selected{background:#267153!important;color:#fff!important;border:2px solid #145a40!important;}
.initial-personality-setup b{color:#17304a!important;}

.initial-setup-page .notice{background:#e9f2fa!important;color:#234967!important;border-color:#acc9db!important;}
.initial-setup-page h3{color:#1d4763!important;}
.initial-setup-page .act.ghost{background:#f8fbff!important;color:#1c435e!important;border-color:#99b6ca!important;}
.initial-setup-page .initial-personality-setup .act.selected{background:#267153!important;color:#fff!important;}


/* original style block 12/96 */

/* iOS WebKit may zoom a page on input focus when the editable field is under 16px. */
@supports (-webkit-touch-callout: none) {
 #app #skill-deck-search{font-size:16px!important;}
}


/* original style block 13/96 */

/* v13.7.255: A-E opens inside the unchanged six-choice work screen. */
.job-screen .sabo-inline-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;flex:0 0 auto;min-height:46px;}
.job-screen .sabo-inline-choice{min-width:0;min-height:46px;cursor:pointer;border:2px solid #9cb2d1;border-radius:10px;background:linear-gradient(#f7fbff,#e4edf9);color:#244567;display:flex;align-items:center;justify-content:center;gap:4px;padding:3px 2px;font:inherit;font-weight:850;white-space:nowrap;}
.job-screen .sabo-inline-choice.picked{background:linear-gradient(#fff3c9,#f6d27a);border-color:#bf8a29;box-shadow:inset 0 0 0 1px #fff5ce;color:#6b4309;}
.job-screen .sabo-inline-letter{font-size:13px;color:#2b568b;}
.job-screen .sabo-inline-icon{font-size:17px;line-height:1;}
.job-screen .sabo-inline-short{font-size:clamp(9px,1vw,12px);overflow:hidden;text-overflow:ellipsis;}
.dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row{margin-top:0!important;}
.dashboard.base-layout .stage .job-screen.sabo-inline-open .job-details>div{min-width:0;flex:1;}
.dashboard.base-layout .stage .job-screen.sabo-inline-open .job-details strong,
.dashboard.base-layout .stage .job-screen.sabo-inline-open .job-details p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;}
.dashboard.base-layout .stage .job-screen.sabo-inline-open .job-commit:disabled{opacity:.55;cursor:not-allowed;}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .job-screen.sabo-inline-open .job-lead{flex-basis:44px!important;}
 .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-strip{flex:0 0 44px;min-height:44px;gap:4px;}
 .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-choice{min-height:42px;padding:2px 1px;gap:3px;border-radius:8px;}
 .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-short{font-size:9px;}
 .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-letter{font-size:11px;}
 .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-icon{font-size:15px;}
 .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row{min-height:96px!important;flex:1 1 auto;}
 .dashboard.base-layout .stage .job-screen.sabo-inline-open .job-details{flex-basis:39px;}
}
@media(max-width:699px){
 .job-screen .sabo-inline-choice{flex-direction:column;gap:0;}
 .job-screen .sabo-inline-short{font-size:9px;}
}


/* original style block 14/96 */

/* v13.7.256: provisional title UI. It does not change game maths/save format. */
#gameTitleScreen[hidden],#titleMainMenu[hidden],#titleOptionPanel[hidden]{display:none!important}
#gameTitleScreen{position:fixed;inset:0;z-index:2147482500;display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 padding:max(8px,env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));
 background:radial-gradient(circle at 55% 18%,#496b87 0%,#172a40 52%,#111d32 100%);color:#1a2a3c;
 overflow:auto;overscroll-behavior:contain;font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}
#gameTitleScreen *,#gameTitleScreen *:before,#gameTitleScreen *:after{box-sizing:border-box}
.title-shell{width:min(1090px,100%);height:min(530px,100%);min-height:0;position:relative;
 display:grid;grid-template-columns:minmax(0,1.36fr) minmax(226px,0.92fr);overflow:hidden;
 border:3px solid #a7bfd3;border-radius:20px;background:#f7f4ed;box-shadow:0 12px 35px #08152680,inset 0 0 0 3px #f9ffff;
 }
.title-hero{position:relative;min-width:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:center;
 background:linear-gradient(160deg,#9b7a50 0 7%,#b79a68 7% 12%,#194b48 12% 86%,#a18a61 86% 91%,#8a6a46 91%);
 padding:clamp(16px,4vh,35px) clamp(8px,2vw,25px)}
.title-hero:before{content:'';position:absolute;inset:12% 10% 13%;border:2px solid #b2d7c5a1;box-shadow:inset 0 0 0 2px #103d42aa;pointer-events:none}
.title-hero:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 45% 29%,#f4f8db1c,transparent 62%);pointer-events:none}
.title-hero .chalk-top{position:absolute;left:12%;top:15%;font-size:clamp(10px,1.6vw,14px);letter-spacing:.20em;color:#e1f5dfba;z-index:1;white-space:nowrap}
.title-main-title{font-weight:900;color:#fff8dc;text-align:center;z-index:1;line-height:1.17;
 font-size:clamp(30px,4.8vw,68px);letter-spacing:.045em;text-shadow:0 3px 0 #0b3036,1px 1px 9px #ffffff77;margin:0}
.title-main-title span{display:block;font-size:.45em;font-weight:700;letter-spacing:.11em;margin-bottom:7px}
.title-main-title strong{display:block;font-size:.99em;font-weight:900;white-space:nowrap}
.title-hero-sub{color:#e9f2dd;z-index:1;font-weight:700;text-align:center;font-size:clamp(9px,1.2vw,15px);letter-spacing:.05em;margin:clamp(8px,2vh,15px) 0 0;line-height:1.5}
.title-hero-hint{position:absolute;bottom:10%;left:13%;right:13%;display:flex;justify-content:space-between;
 border-top:1px dashed #d8e8d080;padding-top:7px;color:#d8ece4a5;letter-spacing:.08em;font-size:clamp(8px,.95vw,12px);z-index:1}
.title-side{position:relative;background:linear-gradient(160deg,#fffefb,#e8edf4);padding:clamp(13px,2.4vw,29px);
 display:flex;flex-direction:column;justify-content:center;gap:clamp(8px,2vh,16px);min-width:0}
.title-side:before{content:'';height:5px;background:linear-gradient(90deg,#b8853f,#e6bb6c 65%,#b8853f);position:absolute;left:0;right:0;top:0}
.title-side-heading{text-align:center;color:#234667;font-size:clamp(12px,1.6vw,20px);font-weight:900;letter-spacing:.12em;margin:0}
.title-side-kicker{text-align:center;color:#748494;font-size:clamp(9px,1vw,12px);letter-spacing:.04em;margin:-6px 0 3px}
.title-menu{display:flex;flex-direction:column;gap:clamp(7px,1.5vh,13px)}
.title-choice{appearance:none;-webkit-appearance:none;min-height:clamp(49px,9vh,64px);border-radius:12px;border:2px solid #8baac6;
 box-shadow:0 3px 0 #6d8497;background:linear-gradient(#fff,#ecf3f9);color:#254969;font-size:clamp(14px,1.75vw,20px);font-weight:900;
 cursor:pointer;touch-action:manipulation;display:flex;align-items:center;justify-content:center;gap:12px;padding:5px 12px;letter-spacing:.08em}
.title-choice.primary{color:#4c3315;border-color:#bf8840;background:linear-gradient(#fff2bf,#efbf5e);box-shadow:0 3px 0 #98713b}
.title-choice:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #6d8497}
.title-choice:disabled{opacity:.42;cursor:not-allowed;box-shadow:none;filter:grayscale(.4)}
.title-choice .ticon{font-size:1.25em;line-height:1}
.title-save-label{text-align:center;color:#476784;font-size:clamp(9px,1.1vw,12px);font-weight:700;min-height:1.2em;margin:2px 0 0}
.title-version{position:absolute;bottom:8px;right:16px;color:#768394;font-size:10px;letter-spacing:.03em}
.title-help{color:#556b80;font-size:clamp(9px,1.15vw,12px);line-height:1.5;margin:0;text-align:center}
.title-option-panel{display:flex;flex-direction:column;gap:clamp(6px,1.1vh,11px);align-items:stretch}
.title-option-label{font-weight:900;font-size:12px;color:#294a69}
.title-speed-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.title-speed-choices button{font-size:11px;padding:7px 1px;min-height:32px;border-radius:7px;border:1px solid #a7bacf;background:#f7fbff;color:#345471;cursor:pointer}
.title-speed-choices button[aria-pressed="true"]{background:#2f6495;color:white;border-color:#2f6495;font-weight:900}
.title-option-row{display:flex;gap:6px;align-items:center;justify-content:space-between}
.title-option-mini{font-size:11px;border-radius:7px;border:1px solid #95aec4;background:#fff;padding:7px 9px;color:#27496b;font-weight:800;cursor:pointer;min-height:31px}
.title-option-mini:disabled{opacity:.42;cursor:not-allowed}
.title-option-mini.on{background:#e0f1e8;color:#205b41}
.title-option-file{position:relative;overflow:hidden;min-width:0;display:inline-flex;align-items:center;justify-content:center}
.title-option-file input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.title-option-back{border:0;border-radius:9px;min-height:36px;background:#2f6495;color:#fff;font-size:12px;font-weight:900;cursor:pointer}
.title-setup-back{display:block;margin:0 0 7px auto;min-height:28px;padding:4px 12px;border:1px solid #8caed0;border-radius:9px;background:#edf4ff;color:#285780;font-size:12px;font-weight:800;cursor:pointer;touch-action:manipulation}
#gameTitleScreen button:focus-visible,#gameTitleScreen input:focus-visible{outline:3px solid #2a9ce0;outline-offset:2px}
@media (max-height:430px) and (orientation:landscape){
 .title-shell{height:100%;border-radius:15px}.title-hero{padding:10px 8px}.title-hero:before{inset:10% 9% 11%}
 .title-hero .chalk-top{top:14%}.title-hero-hint{bottom:8%}.title-side{padding:12px 14px 17px;gap:7px}
 .title-menu{gap:7px}.title-side-kicker{margin:-3px 0 1px}.title-choice{min-height:47px}.title-version{bottom:3px}
 .title-option-panel{gap:5px}.title-option-mini{padding:5px 8px;min-height:29px}
}
@media(max-width:630px) and (orientation:portrait){
 .title-shell{height:100%;max-height:800px;grid-template-columns:1fr;grid-template-rows:minmax(140px,0.75fr) minmax(250px,1.2fr)}
 .title-hero .chalk-top{top:12%}.title-main-title{font-size:clamp(29px,8vw,48px)}
 .title-hero-hint{display:none}.title-side{gap:12px}.title-choice{min-height:50px}
}
@media(prefers-reduced-motion:reduce){#gameTitleScreen *{transition:none!important;animation:none!important}}


/* original style block 15/96 */

/* v13.7.263: only the test-course application outcome uses the compact fixed scene. */
.dashboard .stage .stage-scroll:has(> .test-result-screen-v263){overflow:hidden!important;display:flex!important;flex-direction:column!important;min-height:0!important;scrollbar-width:none!important;}
.dashboard .stage .stage-scroll:has(> .test-result-screen-v263)::-webkit-scrollbar{display:none!important;}
.dashboard .stage .stage-scroll > .test-result-screen-v263.panel.main{
 box-sizing:border-box;flex:1 1 auto!important;min-height:0!important;width:100%;height:100%;max-width:none;
 display:flex!important;flex-direction:column!important;overflow:hidden!important;margin:0!important;
 gap:clamp(3px,.7vh,10px);padding:clamp(5px,1.3vh,14px) clamp(6px,1.2vw,16px)!important;
 border:0!important;box-shadow:none!important;background:transparent!important;
}
.test-result-screen-v263 .test-result-title-v263{font-size:clamp(17px,2.4vw,30px)!important;font-weight:1000!important;color:#173f68!important;line-height:1.2!important;margin:0!important;text-align:center;flex:0 0 auto;}
.test-result-card-v263{box-sizing:border-box;min-height:0;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:clamp(3px,.7vh,9px);padding:clamp(5px,1.25vh,12px);background:#f4f8ff;border:2px solid #a2b8d1;border-radius:10px;color:#173551;overflow:hidden;}
.test-result-card-v263 h3{font-size:clamp(12px,1.45vw,18px)!important;line-height:1.1!important;font-weight:900!important;margin:0!important;color:#204b74!important;flex:0 0 auto;}
.test-result-table-v263{table-layout:fixed;width:100%;min-width:0!important;max-width:100%;border-collapse:collapse;font-size:clamp(9px,1.08vw,14px)!important;font-variant-numeric:tabular-nums;color:#183b5b;line-height:1.18;}
.test-result-table-v263 th,.test-result-table-v263 td{box-sizing:border-box;position:static!important;text-align:center!important;white-space:nowrap;overflow:hidden;text-overflow:clip;padding:clamp(3px,.7vh,8px) 1px!important;border:1px solid #c2d4e7!important;}
.test-result-table-v263 thead th{background:#245282!important;color:#fff!important;font-weight:900!important;}
.test-result-table-v263 tbody th{background:#e4eefb;color:#1b4266;font-weight:900;}
.test-result-table-v263 tbody td{background:#fff;color:#193958;}
.test-result-table-v263 .test-result-total-v263 th,.test-result-table-v263 .test-result-total-v263 td{background:#ffedbf!important;color:#473211!important;font-weight:1000!important;}
.test-result-table-v263 .test-result-money-v263{font-weight:900!important;}
.test-result-table-v263 .test-result-not-applicable-v263{color:#6a7483!important;background:#f4f6fa!important;}
.test-result-action-v263{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;min-height:0;}
.test-result-action-v263 button{width:clamp(90px,16vw,180px);min-height:clamp(29px,5vh,45px);padding:4px 10px!important;font-size:clamp(11px,1.15vw,15px)!important;background:#245282!important;color:#fff!important;border-color:#16446e!important;font-weight:900;}
/* This outcome needs no generic result label or speed controls. */
.dashboard .stage:has(.test-result-screen-v263) .thumb-action-left,
.dashboard .stage:has(.test-result-screen-v263) .result-action-dock strong:empty{display:none!important;}
.dashboard .stage:has(.test-result-screen-v263) .result-action-dock button{
 width:clamp(100px,13vw,155px)!important;min-width:100px!important;max-width:none!important;
 white-space:nowrap!important;min-height:30px!important;line-height:1.1!important;
}
@media (orientation:landscape) and (max-height:440px){
 .dashboard .stage .stage-scroll > .test-result-screen-v263.panel.main{gap:3px;padding:3px 5px!important;}
 .test-result-screen-v263 .test-result-title-v263{font-size:clamp(15px,2.05vw,23px)!important;}
 .test-result-card-v263{gap:3px;padding:4px 6px;}
 .test-result-card-v263 h3{font-size:clamp(11px,1.4vw,15px)!important;}
 .test-result-table-v263{font-size:clamp(9px,1.05vw,12px)!important;}
 .test-result-table-v263 th,.test-result-table-v263 td{padding:3px 1px!important;}
 .test-result-action-v263 button{min-height:30px;padding:2px 9px!important;}
}
@media (orientation:landscape) and (min-width:560px) and (max-width:699px) and (max-height:440px){
 .test-result-card-v263{padding:2px 4px!important;gap:0!important;justify-content:center!important;}
 .test-result-card-v263 h3{font-size:10px!important;line-height:1!important;margin:0!important;}
 .test-result-table-v263{font-size:9px!important;line-height:1!important;}
 .test-result-table-v263 th,.test-result-table-v263 td{padding:1px!important;line-height:1.1!important;}
}


/* original style block 16/96 */

/* Same original user-approved PNG bytes: no generated, modified, or rescaled file assets. */
#app .shopping-result-fullscreen{background:#2f160a!important;border:0!important;box-shadow:none!important}
#app .shopping-result-fullscreen>.shopping-luxe-result.luxe-wood-layered-v281{
  background:transparent!important;border:none!important;box-shadow:none!important;
  /* only one coordinate system, exactly 1672x941, across both artwork layers */
}
#app .shopping-result-fullscreen .luxe-wood-base-v281,
#app .shopping-result-fullscreen .luxe-wood-front-v281{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;
  background-size:100% 100%;background-repeat:no-repeat;background-position:center;
}
#app .shopping-result-fullscreen .luxe-wood-base-v281{z-index:0;background-image:none}
#app .shopping-result-fullscreen .luxe-wood-front-v281{z-index:6;background-image:none}
/* Product images and reveal glow exist BETWEEN the two original image layers. */
#app .shopping-result-fullscreen .luxe-item-slot{z-index:3!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#app .shopping-result-fullscreen .luxe-item-slot img{width:100%;height:100%;object-fit:cover!important;object-position:center center;}
#app .shopping-result-fullscreen .luxe-missing{background:linear-gradient(135deg,#fff4d4,#e4bd76)!important;color:#382013!important}
#app .shopping-result-fullscreen .luxe-missing small{color:#6c4424}
#app .shopping-result-fullscreen .luxe-ssr-target{z-index:5!important}
/* Printed lower counters are 0; cover just their digits when a result is revealed. */
#app .shopping-result-fullscreen .luxe-count{
 z-index:8!important;width:3.7%;height:5.2%;transform:translate(-50%,-50%);
 background:#2f160b!important;border-radius:5px;color:#ffe59b!important;
 font-size:clamp(10px,2.0vw,25px)!important;font-weight:1000!important;
 text-shadow:0 1px 2px #000!important;
}
#app .shopping-result-fullscreen .luxe-total-count{
 z-index:8!important;left:19.1%!important;top:85.4%!important;width:4.1%!important;height:6.0%!important;
 border-radius:4px;background:#321708!important;color:#ffe58b!important;
 font-size:clamp(11px,2.2vw,27px)!important;
}
/* The photo provides both buttons. Transparent actual buttons keep the DOM action and disabled state. */
#app .shopping-result-fullscreen .luxe-hit{z-index:10!important;background:transparent!important}
#app .shopping-result-fullscreen .luxe-hit-repeat{left:66.4%!important;top:82.4%!important;width:16.9%!important;height:10.3%!important}
#app .shopping-result-fullscreen .luxe-hit-ok{left:84.1%!important;top:82.4%!important;width:13.6%!important;height:10.3%!important}
#app .shopping-result-fullscreen .luxe-hit:disabled{background:rgba(40,20,7,.13)!important;cursor:default}
/* The old purple skip controls are restyled as walnut and gold; game control handlers unchanged. */
#app .shopping-result-fullscreen .luxe-reveal-control{z-index:11;right:1.8%;top:7.1%}
#app .shopping-result-fullscreen .luxe-reveal-control button{
 background:linear-gradient(#845124,#4b2615)!important;border:1px solid #e6b96b!important;
 color:#fff5d8!important;box-shadow:0 2px 5px #32170788!important;
 font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif;
}
/* SSR glow and full-screen hero remain above the front frame on purpose. */
#app .shopping-result-fullscreen .luxe-ssr-suspense{z-index:12!important}
#app .shopping-result-fullscreen .luxe-ssr-overlay{z-index:13!important}
#app .shopping-result-fullscreen .luxe-ssr-hint{z-index:14!important}


/* original style block 17/96 */

/* All skill rendering is CSS / plain ID text. No new picture assets. */
#app .shopping-result-fullscreen .luxe-skill-card-v282{
 --rank-bg:#394451;--rank-light:#f2f2ed;--rank-dark:#111922;
 box-sizing:border-box;width:100%;height:100%;position:relative;overflow:hidden;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2.2%;
 padding:5.5% 3%;color:#fff7e5;text-align:center;
 border:2px solid var(--rank-light);border-radius:5px;
 background:radial-gradient(ellipse at 50% 30%,var(--rank-bg) 0%,var(--rank-dark) 77%);
 box-shadow:inset 0 0 25px rgba(255,255,255,.14),0 0 10px var(--rank-light);
 font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif;
}
#app .shopping-result-fullscreen .luxe-skill-card-v282.rare-N{--rank-bg:#6b7682;--rank-dark:#24303e;--rank-light:#e6eef3}
#app .shopping-result-fullscreen .luxe-skill-card-v282.rare-R{--rank-bg:#23719f;--rank-dark:#071d3f;--rank-light:#5ccefa}
#app .shopping-result-fullscreen .luxe-skill-card-v282.rare-SR{--rank-bg:#8c42a8;--rank-dark:#260c42;--rank-light:#e4a3ff}
#app .shopping-result-fullscreen .luxe-skill-card-v282.rare-SSR{--rank-bg:#a37a24;--rank-dark:#402209;--rank-light:#ffe68e}
#app .shopping-result-fullscreen .luxe-skill-card-v282:before{
 content:"";position:absolute;inset:-30%;pointer-events:none;
 background:repeating-conic-gradient(from 0deg at 50% 45%,transparent 0deg,rgba(255,255,255,.12) 8deg,transparent 17deg,transparent 35deg);
 opacity:.68;animation:luxeSkillRotateV282 12s linear infinite;
}
@keyframes luxeSkillRotateV282{to{transform:rotate(360deg)}}
#app .shopping-result-fullscreen .luxe-skill-card-v282>*{position:relative;z-index:1;max-width:100%;}
#app .shopping-result-fullscreen .luxe-skill-aura-v282{color:var(--rank-light);font-size:clamp(23px,4.8vw,62px);line-height:1;text-shadow:0 0 13px var(--rank-light);}
#app .shopping-result-fullscreen .luxe-skill-rank-v282{font-weight:1000;color:var(--rank-light);font-size:clamp(12px,2.35vw,30px);line-height:1.05;text-shadow:0 2px 3px #150d16;}
#app .shopping-result-fullscreen .luxe-skill-id-v282{font-size:clamp(8px,1.08vw,18px);font-weight:900;line-height:1.2;color:#fff9e7;overflow-wrap:anywhere;letter-spacing:-.035em;text-shadow:0 1px 3px #000;}
#app .shopping-result-fullscreen .luxe-skill-status-v282{font-size:clamp(7px,.9vw,13px);font-weight:800;color:#fff1c5;line-height:1.15;text-shadow:0 1px 2px #000;}
#app .shopping-result-fullscreen .luxe-skill-hero-v282{
 width:min(55vw,480px)!important;height:min(75%,560px)!important;max-width:92%!important;
 margin:auto;flex-shrink:0;gap:1.5%;border-width:5px!important;border-radius:14px!important;
 box-shadow:0 0 30px 6px rgba(255,220,80,.7),0 0 75px 10px rgba(255,170,20,.35)!important;
}
#app .shopping-result-fullscreen .luxe-skill-hero-v282 .luxe-skill-aura-v282{font-size:clamp(55px,11vw,150px)!important}
#app .shopping-result-fullscreen .luxe-skill-hero-v282 .luxe-skill-rank-v282{font-size:clamp(24px,5vw,65px)!important}
#app .shopping-result-fullscreen .luxe-skill-hero-v282 .luxe-skill-id-v282{font-size:clamp(16px,3vw,38px)!important;letter-spacing:0}
#app .shopping-result-fullscreen .luxe-skill-hero-v282 .luxe-skill-status-v282{font-size:clamp(12px,1.7vw,23px)!important}
@media(max-height:420px) and (orientation:landscape){
 #app .shopping-result-fullscreen .luxe-skill-card-v282{padding:3% 2%;gap:1.1%}
 #app .shopping-result-fullscreen .luxe-skill-aura-v282{font-size:clamp(17px,4vw,36px)}
 #app .shopping-result-fullscreen .luxe-skill-rank-v282{font-size:clamp(10px,2vw,18px)}
 #app .shopping-result-fullscreen .luxe-skill-id-v282{font-size:clamp(7px,1.06vw,12px)}
 #app .shopping-result-fullscreen .luxe-skill-status-v282{font-size:clamp(6px,.87vw,10px)}
 #app .shopping-result-fullscreen .luxe-skill-hero-v282{width:min(55vw,350px)!important;height:75%!important}
}
@media(prefers-reduced-motion:reduce){#app .shopping-result-fullscreen .luxe-skill-card-v282:before{animation:none}}


/* original style block 18/96 */

.title-new-confirm-backdrop-v284{position:fixed;inset:0;z-index:2147483646;background:rgba(21,12,7,.76);display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px));box-sizing:border-box}
.title-new-confirm-v284{box-sizing:border-box;width:min(540px,94vw);max-height:calc(100dvh - 24px);overflow:auto;background:linear-gradient(150deg,#f9efd7,#eddbb5);border:3px solid #c79952;outline:3px solid #54351c;outline-offset:1px;border-radius:15px;box-shadow:0 18px 70px #000b, inset 0 0 0 2px #ffebbb;padding:clamp(12px,2vw,23px);color:#432b1b;font-family:inherit;line-height:1.45}
.title-new-confirm-caption-v284{display:inline-block;padding:2px 10px;margin-bottom:5px;background:#623a21;color:#fce2a4;border:1px solid #d7a960;border-radius:4px;font-weight:800;letter-spacing:.06em;font-size:clamp(11px,1.15vw,13px)}
.title-new-confirm-v284 h2{color:#44250e;margin:4px 0 8px;font-size:clamp(17px,2.1vw,24px);font-weight:900;line-height:1.2}
.title-new-confirm-v284 p{margin:6px 0;font-size:clamp(12px,1.23vw,15px)}
.title-new-confirm-warning-v284{padding:8px 10px;border-left:4px solid #a66b29;background:#fff6e6}
.title-new-confirm-actions-v284{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px}
.title-new-confirm-actions-v284 button{touch-action:manipulation;cursor:pointer;font-family:inherit;font-weight:900;font-size:clamp(13px,1.3vw,16px);min-height:42px;min-width:120px;padding:8px 15px;border-radius:8px;border:2px solid #b8905a;background:linear-gradient(#faf0d4,#e3cc9d);color:#4b2c17}
.title-new-confirm-actions-v284 .title-new-confirm-ok-v284{background:linear-gradient(#f5d38b,#d49b49);border:2px solid #835321;color:#44250e}
@media(max-height:430px){.title-new-confirm-v284{padding:10px 14px}.title-new-confirm-v284 p{font-size:12px;margin:4px 0}.title-new-confirm-v284 h2{font-size:18px;margin:3px 0}.title-new-confirm-actions-v284{margin-top:7px}.title-new-confirm-actions-v284 button{min-height:36px}}


/* original style block 19/96 */

:root{color-scheme:light;--bg:#dce7f4;--panel:#fffdf8;--muted:#465871;--edge:#aebbd1;--accent:#1374c3;--txt:#14223b;--gold:#e9ba66}
body{background:radial-gradient(ellipse at 100% 10%,#e7f5dd 0,transparent 42%),radial-gradient(ellipse at 0 100%,#d8e2f6 0,transparent 43%),linear-gradient(120deg,#c7d7e7,#f2e7d9);color:var(--txt);line-height:1.34}
header{display:none}footer{display:none}main#app{width:100%;max-width:none;margin:0;padding:clamp(5px,.9vw,12px);min-height:100dvh;display:block}
.dashboard{display:grid;grid-template-columns:minmax(0,3.15fr) minmax(225px,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(5px,.65vw,11px);min-height:calc(100dvh - 2 * clamp(5px,.9vw,12px));height:calc(100dvh - 2 * clamp(5px,.9vw,12px));max-width:1780px;margin:auto}
.dashboard .core-head{grid-area:1/1/2/2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;min-height:clamp(76px,12vh,122px)}
.top-ability{border:2px solid #a9b8c8;border-radius:13px;background:#fffefa;text-align:center;overflow:hidden;box-shadow:0 2px 0 #ffffffa8,0 2px 6px #1b304320}
.top-ability .top-label{background:linear-gradient(#244774,#152d54);color:#fff;font-weight:850;font-size:clamp(9px,1.2vw,17px);padding:8px 2px;white-space:nowrap;letter-spacing:-.025em}
.top-ability .top-value{padding:4px 0 6px;font-size:clamp(19px,3vw,34px);font-weight:900;letter-spacing:.01em;font-variant-numeric:tabular-nums}
.top-ability .grade{color:#6b568d;margin-right:5px}.top-ability:nth-child(2) .grade{color:#ba7b34}.top-ability:nth-child(4) .grade{color:#2585bd}
.stage{grid-area:2/1/3/2;min-width:0;min-height:0;display:flex;flex-direction:column;background:#fffdf8;border:3px solid #315b93;border-radius:16px;box-shadow:inset 0 0 0 4px #e6edf9,0 5px 0 #8b9ebd,0 9px 15px #1834533b;overflow:hidden}
.stage-scroll{min-height:0;overflow:auto;flex:1;padding:clamp(8px,1.5vw,20px);scrollbar-width:thin;overscroll-behavior:contain}
.stage-scroll>.panel,.stage-scroll>.actionpanel{box-shadow:none;background:transparent;border:0;padding:0;margin:0}.stage-scroll .panel+.panel{margin-top:14px;border-top:1px solid #c8d3e5;padding-top:10px}
.stage-scroll .hero{display:none}.stage-scroll .panel.main{padding:0}.stage-scroll .notice{background:#e6f4fa;color:#244661;border-left:4px solid #3d9bcd}.stage-scroll .event-note,.stage-scroll .storagebox,.stage-scroll .slotbox,.stage-scroll .report-entry{background:#f0f5fd;color:#18324f;border-color:#afc0d7}.stage-scroll .badge{background:#e6eefd;color:#1a4679}
.stage-scroll .metric{background:#eff4fb;color:#18324f;border-color:#c0cde0}.stage-scroll .metric span,.stage-scroll .sub,.stage-scroll .tiny.weak,.stage-scroll .weak{color:#4f6480}.stage-scroll h3{color:#203d66}.stage-scroll h2{color:#0e2d56}
.stage-scroll .act{background:#e5edf9;border-color:#abc1dc;color:#1b365c}.stage-scroll .act.primary{background:linear-gradient(#ffe6a2,#f8c04b);border-color:#cc912d;color:#493112}.stage-scroll .act.option{background:#edf3fb;color:#1a3556}.stage-scroll .act.danger{color:#9d3030}
.stage-scroll details>summary{color:#1d3d60}.stage-scroll .growthrow{border-color:#c6d3e4}.stage-scroll .growth-preview{color:#23635b}.stage-scroll .storage-chip{color:#21507c;border-color:#98b4d3}
.stage-scroll .alloc,.stage-scroll .itemrow{border-color:#d1dceb}.stage-scroll .alloc input{background:#fff;color:#173050}
.stage-scroll .tablewrap{border-color:#aac0d5}.stage-scroll table th{background:#244a76;color:#fff}.stage-scroll table td{color:#173050;border-color:#d4ddea}.stage-scroll table tr:hover{background:#f0f6ff}
.side{grid-area:1/2/3/3;background:#fffdf8;border:3px solid #355889;border-radius:16px;box-shadow:inset 0 0 0 4px #e3ebf8,0 6px 12px #16355429;overflow:auto;min-height:0;padding:9px}
.side-date{background:linear-gradient(#254e7d,#152c52);border:2px solid #759ac5;border-radius:11px;color:#fff;text-align:center;font-size:clamp(12px,1.7vw,21px);font-weight:900;padding:10px 4px;white-space:nowrap}
.side-line{display:flex;justify-content:space-between;gap:7px;align-items:center;border-bottom:1px solid #d7d8d8;padding:clamp(8px,1.2vw,16px) 5px;font-size:clamp(12px,1.25vw,18px);font-weight:750}.side-line strong{font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}
.side-bars{padding:9px 5px}.side-bars .statbar{margin:7px 0 16px}.side-bars .statrow{color:#162949;font-size:clamp(12px,1.27vw,17px);font-weight:800}.side-bars .track{height:clamp(12px,2vh,24px);background:#dee4ea;box-shadow:inset 0 0 0 1px #8194ad;border:2px solid #fff}.side-bars .track>div{background:linear-gradient(#8add67,#38a65b) !important}.side-bars .statbar:nth-child(2) .track>div{background:linear-gradient(#75d7ff,#268ac8) !important}
.side-note{font-size:clamp(10px,1vw,13px);color:#466380;padding:7px 5px;border-top:1px dashed #b7c4d4}
.bottom-nav{max-width:none;overflow:visible;grid-area:3/1/4/3;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(4px,.8vw,12px);background:linear-gradient(#2f5383,#132f59);border:3px solid #6e93bf;border-radius:16px;padding:clamp(5px,.7vw,10px);min-height:clamp(64px,12vh,106px);box-shadow:0 5px 0 #b0bfd1}
.nav-item{border:2px solid #e2e6f0;background:linear-gradient(#fffefa,#dbe2ec);color:#102849;border-radius:11px;font-size:clamp(10px,1.25vw,19px);font-weight:950;padding:4px 1px;text-align:center;min-width:0;box-shadow:0 2px 2px #001b3e5c;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;white-space:nowrap}
.nav-item.on{background:linear-gradient(#ffeca9,#e6ae39);color:#462b0d;border-color:#fff5d2;box-shadow:inset 0 0 0 2px #bf8b30,0 1px 2px #041d46}
.nav-item .nav-ico{font-size:clamp(17px,2vw,29px);line-height:1.05}.nav-item span:last-child{overflow:hidden;text-overflow:ellipsis;width:100%}
.job-lead{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:15px;align-items:stretch}
.job-current{display:flex;flex-direction:column;justify-content:center;min-width:0}.job-stage-label{font-size:12px;color:#436281;font-weight:700;margin-bottom:5px}
.job-selected-name{font-size:clamp(23px,3.3vw,52px);font-weight:950;letter-spacing:-.035em;white-space:nowrap;color:#142e58;text-align:center;padding:8px 1px 10px;border-bottom:7px solid #f9e7ab;overflow:hidden;text-overflow:ellipsis}
.job-selected-code{color:#405f83;font-size:clamp(10px,1.1vw,13px);text-align:center;padding-top:6px}
.job-points{min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #9cacc1;background:#f9fafc;border-radius:10px;overflow:hidden;align-self:center;width:100%}
.job-points>div{text-align:center;border-right:1px solid #bbc9d9;min-width:0}.job-points>div:last-child{border-right:0}.job-points small{display:block;background:#3a638c;color:#fff;font-weight:850;font-size:clamp(9px,1.1vw,13px);padding:5px 0}.job-points strong{font-size:clamp(17px,2.6vw,35px);display:block;padding:7px 0;font-variant-numeric:tabular-nums}.job-points em{display:block;min-height:18px;font-size:clamp(9px,1.05vw,14px);color:#1875a9;font-weight:850;font-style:normal}
.jobs-row{margin-top:clamp(10px,3vh,35px);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(4px,.6vw,12px)}
.job-bubble{cursor:pointer;min-width:0;aspect-ratio:1 / 1.12;border-radius:47%;border:3px solid var(--j-border,#9bb5df);background:linear-gradient(145deg,#fff,var(--j-bg,#e6f3ff));box-shadow:inset 0 0 0 3px #ffffffc9,0 3px 4px #17396330;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(1px,.4vw,5px);color:#10294e}
.job-bubble.active{box-shadow:0 0 0 3px #f4b441,inset 0 0 0 3px #fff,0 0 13px #edbd3c88;transform:translateY(-2px)}.job-bubble .symbol{font-size:clamp(17px,2.8vw,37px);line-height:1}.job-bubble .name{font-size:clamp(10px,1.45vw,22px);font-weight:900;white-space:nowrap}.job-bubble .risk,.job-bubble .level{font-weight:750;font-size:clamp(8px,1vw,13px);line-height:1.1}.job-bubble .risk{color:#962c35}
.job-details{margin-top:12px;display:flex;justify-content:space-between;gap:15px;align-items:center;padding:11px 13px;background:#f1f5fb;border:1px solid #d0dbe9;border-radius:11px;min-width:0}
.job-details p{font-size:clamp(11px,1vw,15px);margin:0;color:#455974}.job-details strong{font-size:clamp(12px,1.18vw,17px)}
.job-commit{border:2px solid #c28c24;background:linear-gradient(#ffe9a8,#f6b83b);border-radius:12px;padding:10px 18px;color:#492d0e;font-weight:950;font-size:clamp(12px,1.3vw,18px);white-space:nowrap;cursor:pointer}
.shop-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.shop-card{background:#f0f5fc;border:2px solid #b8cce3;border-radius:16px;padding:16px}.shop-card h3{margin:0 0 9px;font-size:19px}.shop-card .chips{margin-top:10px}.shop-card .act{flex:1 1 auto}
.screen-title{font-size:clamp(22px,2.2vw,32px);font-weight:950;color:#132f59;margin:2px 0 16px}.screen-sub{font-size:clamp(11px,1.1vw,15px);color:#52708d;margin-bottom:16px}
.inset-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 13px}.inset-actions button{border:1px solid #b1c4da;background:#edf4fe;color:#193f6a;border-radius:10px;padding:10px 13px;font-weight:800;cursor:pointer}.inset-actions button.on{background:#204c82;color:#fff}
.portrait-advice{display:none}.setup-wrap{height:100%;overflow:auto;background:#fffdf8;border-radius:17px;padding:24px;max-width:1100px;margin:auto;box-shadow:0 10px 20px #16355430}
@media(max-height:590px) and (orientation:landscape){.dashboard{grid-template-columns:minmax(0,3.4fr) minmax(195px,.92fr)}.top-ability .top-label{padding:5px 1px}.stage-scroll{padding:7px 9px}.job-lead{gap:8px}.job-selected-name{padding:1px;border-bottom-width:4px}.jobs-row{margin-top:7px;gap:5px}.job-bubble{aspect-ratio:1.35/1;gap:1px;border-width:2px}.job-bubble .symbol{font-size:17px}.job-points small{padding:2px 0}.job-points strong{padding:2px 0}.job-points em{min-height:11px;font-size:10px}.job-selected-name{font-size:clamp(19px,3vw,31px)}.job-details{margin-top:7px;padding:5px 8px;position:sticky;bottom:0;z-index:2}.job-details p{display:none}.job-details strong{font-size:12px}.job-commit{padding:6px 10px;font-size:12px}.side{padding:6px}.side-line{padding:6px 3px}.side-bars .statbar{margin-bottom:7px}}
@media(max-width:820px) and (orientation:landscape){.dashboard{grid-template-columns:minmax(0,3.3fr) minmax(180px,.9fr)}.top-ability .top-label{font-size:9px}.job-selected-name{font-size:clamp(18px,4vw,30px)}.job-bubble .name{font-size:clamp(9px,1.75vw,13px)}.job-bubble .risk,.job-bubble .level{font-size:9px}.nav-item{font-size:10px}}
@media(orientation:portrait){main#app{padding:5px}.dashboard{height:auto;min-height:calc(100dvh - 10px);grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(240px,1fr) auto}.core-head{grid-area:1/1/2/2!important;min-height:70px!important}.side{grid-area:2/1/3/2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);max-height:180px;gap:4px}.side-date{grid-column:1;grid-row:1}.side-line{padding:3px;font-size:11px}.side-bars{grid-column:2;grid-row:1/5}.side-note{display:none}.stage{grid-area:3/1/4/2;min-height:300px}.bottom-nav{grid-area:4/1/5/2;min-height:70px}.job-bubble .symbol{font-size:21px}.job-bubble .name{font-size:10px}.job-bubble .risk,.job-bubble .level{font-size:9px}.job-lead{grid-template-columns:1fr}.job-selected-name{font-size:28px}.nav-item .nav-ico{font-size:15px}.nav-item{font-size:9px}.portrait-advice{display:block;text-align:center;background:#fff8df;color:#765024;padding:4px;font-size:10px}}
@media(max-width:530px){.shop-cards{grid-template-columns:1fr}.jobs-row{gap:2px}.job-bubble{border-width:2px}.job-bubble .symbol{font-size:16px}.job-bubble .name{font-size:8px}.job-bubble .risk,.job-bubble .level{font-size:7px}.nav-item{font-size:8px;letter-spacing:-.05em}}

/* v13.7.105 extra sections: no game balance change */
.stage-scroll .hud-cell{background:#f0f5fb;color:#173c65;border-color:#b8cce1}
.stage-scroll .hud-cell span{color:#295575}.stage-scroll .hud-cell small{color:#395978}
.stage-scroll .act.option small{color:#3d5e7b}
.stage-scroll .growth-actions b{color:#15446b}

.owned-pt-panel{background:#e6f1ff;border:2px solid #8eb8e3;border-radius:14px;padding:12px;margin:10px 0;color:#153c65}
.owned-pt-panel>strong{display:block;font-size:clamp(13px,1.3vw,18px);margin-bottom:8px}
.owned-pt-panel .tiny{margin:8px 0 0;color:#456282}
.owned-pt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.owned-pt-cell{background:#fff;border:1px solid #b7cbe2;border-radius:9px;padding:8px;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:clamp(10px,.9vw,13px)}
.owned-pt-cell span{min-width:0}.owned-pt-cell b{font-size:clamp(13px,1.3vw,19px);white-space:nowrap;color:#104b8d}
.side .shortage-counter{background:#fff5df;border:1px solid #e6b878;border-radius:9px;color:#684117;margin:7px 0}.shortage-counter strong{color:#a15500}
.gear-type-0{--gear-tint:#daf7e7;--gear-border:#47ad82;--gear-ink:#176447}
.gear-type-1{--gear-tint:#ebe2ff;--gear-border:#9b7acb;--gear-ink:#62488d}
.gear-type-2{--gear-tint:#ffe5eb;--gear-border:#df859b;--gear-ink:#934259}
.gear-type-3{--gear-tint:#fff0c9;--gear-border:#d6a344;--gear-ink:#765316}
.stage-scroll .slotbox[class*="gear-type-"],.closet-entry[class*="gear-type-"],.stage-scroll .gear-row[class*="gear-type-"]{background:var(--gear-tint)!important;border:2px solid var(--gear-border)!important;color:var(--gear-ink)!important;border-radius:11px;padding:11px;margin-bottom:6px}
.stage-scroll .gear-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.gear-type-label{display:inline-block;border:1px solid var(--gear-border,#b5c6dd);background:#ffffffbf;color:var(--gear-ink,#28516d);border-radius:100px;font-weight:850;font-size:11px;padding:2px 7px;margin:2px 5px 2px 0}
.gear-shop-entry{background:var(--gear-tint);border:1px solid var(--gear-border);border-radius:9px;margin:4px;padding:7px;flex:1 1 180px}
.gear-shop-entry .act{width:100%;margin-top:3px}
.subnav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;max-width:100%;margin:12px 0}
.subnav button{border:2px solid #9eb8d7;background:linear-gradient(#fff,#e7eff8);color:#1d3e66;border-radius:10px;padding:clamp(7px,1vw,11px) 4px;font-weight:850;font-size:clamp(10px,1.05vw,16px);white-space:normal;cursor:pointer}
.subnav button.on{border-color:#1d5a9a;background:linear-gradient(#3774b7,#1c467d);color:#fff}
.holiday-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.holiday-options .act.option{min-height:68px;margin:0;text-align:left}
.holiday-options .act.option small{font-size:clamp(10px,.9vw,13px)}
.holiday-leave{background:#ebf3fc;border:1px solid #b2c8de;padding:9px 13px;border-radius:9px;color:#214569;font-size:clamp(12px,1.1vw,16px);margin:10px 0}
.holiday-leave b{color:#145a9c;font-size:1.1em}
.holiday-travel{margin:12px 0;background:#f0f5fc;border:1px solid #b3c8df;padding:9px 12px;border-radius:10px}
.holiday-travel summary{font-size:clamp(13px,1.25vw,18px)}
.holiday-travel .holiday-options{margin-top:10px}
.holiday-detail,.player-detail{padding:6px 1px 15px;color:#17324f}
.player-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}
.player-list-item{display:flex;gap:9px;justify-content:space-between;align-items:center;flex-wrap:wrap;border-bottom:1px solid #c6d3e3;padding:12px 7px;font-size:clamp(12px,1.1vw,16px)}
.closet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0}
.closet-entry strong{display:block;font-size:12px;margin-top:5px}
.closet-entry.item-storage{background:#eef4fc;border-color:#a9c2da}
.owned-title-summary{background:#ecf5fc;padding:12px;border-radius:10px}
@media(max-height:590px) and (orientation:landscape){.holiday-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.holiday-options .act.option{min-height:56px;padding:4px;font-size:10px;line-height:1.15;word-break:break-all}.holiday-options .act.option small{font-size:9px;line-height:1.2}.holiday-detail h3{margin:3px 0 7px}.holiday-detail{padding:0 1px 6px}.holiday-leave{font-size:11px}.screen-title{margin:2px 0 5px}.screen-sub{margin:5px 0 9px}.subnav{gap:4px;margin:6px 0}.subnav button{padding:6px 2px;font-size:10px}.holiday-options .act.option{min-height:54px}.holiday-leave{padding:6px;margin:6px 0}.owned-pt-cell{padding:5px}.player-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.owned-pt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.holiday-options{grid-template-columns:1fr}.subnav button{font-size:10px}.closet-grid{grid-template-columns:1fr}}

/* v13.7.105: sticky growth wallet, visible month continuation, unified ranks, company sale cart. */
.sticky-owned-pt{position:sticky;top:0;z-index:8;margin-top:0;background:#e5f1ff;box-shadow:0 6px 12px #183b6142}
.pt-original{font-size:11px!important;font-weight:600;color:#667c92;text-decoration:line-through}
.pt-pending{color:#b34c22!important;font-weight:950}
.owned-pt-cell b{display:inline-flex;align-items:baseline;gap:3px;flex-wrap:wrap;justify-content:flex-end}
.ability-grade{display:inline-block;border-radius:6px;padding:1px 7px;margin-right:4px;font-weight:950;border:1px solid currentColor;line-height:1.1;font-size:.85em}
.rank-E{background:#e4e7ec;color:#4d5866}.rank-D{background:#ffe9d2;color:#ad622a}.rank-C{background:#d9ecff;color:#1a68a3}.rank-B{background:#dff4e1;color:#287341}.rank-A{background:#eee2ff;color:#7143a8}.rank-S{background:#fff0ae;color:#906001}
.top-ability .top-value .ability-grade{font-size:.83em;vertical-align:middle}
.rank-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px}
.rank-summary-grid>div{border:1px solid #afc2d6;border-radius:9px;background:#eef4fb;padding:8px;display:flex;justify-content:space-between;align-items:center;gap:5px;flex-wrap:wrap}
.rank-summary-grid>div span{font-size:12px}.rank-summary-grid>div b{white-space:nowrap}
.month-next-dock{position:relative;flex-shrink:0;top:auto;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eaf4ff;border:2px solid #81addb;border-radius:11px;padding:8px 10px;margin-bottom:12px;box-shadow:0 3px 8px #183b6138;font-size:13px;font-weight:800}
.month-next-dock .act{background:linear-gradient(#ffe6a2,#f8c04b);border-color:#cc912d;color:#493112}
.sale-cart-panel{position:sticky;top:0;z-index:7;padding:10px;background:#fff4d9;border:2px solid #c59a41;border-radius:12px;margin:12px 0;box-shadow:0 3px 10px #4f3d2833;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.sale-cart-panel>div:first-child{display:flex;flex-direction:column;gap:2px}.sale-cart-panel b{font-weight:900}.sale-cart-panel span{color:#6c5328;font-size:12px}
.sale-cart-panel .chips{margin:0}.stage-scroll .act.selected{background:#bfe7d1;color:#165538;border-color:#379269}
@media(max-height:590px) and (orientation:landscape){.sticky-owned-pt{padding:6px}.sticky-owned-pt>strong{font-size:12px;margin:0 0 4px}.sticky-owned-pt .owned-pt-grid{gap:4px}.sticky-owned-pt .owned-pt-cell{padding:3px 6px}.sticky-owned-pt .tiny{font-size:9px}.month-next-dock{padding:4px 7px}.month-next-dock .act{padding:5px 10px}.sale-cart-panel{padding:5px 8px}}


/* original style block 20/96 */

/* Salary: enforce readable foreground on a warm LIGHT background, avoiding inherited dark text on dark slate. */
.pay-sheet,.stage-scroll .pay-sheet{color:#172b48;background:#fffdf7;border:2px solid #7895b8;box-shadow:0 2px 8px #233f6120}
.pay-sheet h3,.stage-scroll .pay-sheet h3{color:#173b68}
.pay-sheet .pay-line,.stage-scroll .pay-sheet .pay-line{color:#172b48;border-bottom-color:#bdcddd}
.pay-sheet .pay-line span,.stage-scroll .pay-sheet .pay-line span{color:#1d314b}
.pay-sheet .pay-plus,.stage-scroll .pay-sheet .pay-plus{color:#08633f;font-weight:850}
.pay-sheet .pay-minus,.stage-scroll .pay-sheet .pay-minus{color:#a02436;font-weight:850}
.pay-sheet .pay-total,.stage-scroll .pay-sheet .pay-total{color:#122b45;background:#d9f0e6;border:1px solid #9dbfae}
.pay-sheet .pay-random,.stage-scroll .pay-sheet .pay-random{color:#3e341f;background:#fff0c9;border:1px solid #cba052;border-left:5px solid #c17b21}
.pay-sheet .pay-random strong,.stage-scroll .pay-sheet .pay-random strong{color:#69410b}
.pay-sheet .pay-basis,.stage-scroll .pay-sheet .pay-basis{color:#39526f}
.pay-sheet .sub,.pay-sheet .weak,.stage-scroll .pay-sheet .sub,.stage-scroll .pay-sheet .weak{color:#405774}
.pay-sheet strong{font-weight:850}
/* Top row is a sibling of the scroller and therefore remains reachable with no scrolling. */
.result-action-dock{flex:0 0 auto;position:relative;z-index:11;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#e9f3ff;color:#19395b;border:2px solid #7aa3d0;border-radius:11px;padding:8px 12px;margin:0 0 6px;box-shadow:0 2px 7px #1c40612a}
.result-action-dock strong{font-size:clamp(11px,1.3vw,15px);line-height:1.2}
.result-action-dock .act{flex:0 0 auto;margin:0;background:linear-gradient(#ffebaf,#fbc152);border:2px solid #ba8b2e;color:#382812;font-weight:900;min-height:36px;padding:7px 13px;border-radius:9px;box-shadow:0 2px 0 #b18532;white-space:normal;text-align:center}
.romance-report .event-note{background:#fff0f6!important;color:#44233a!important;border:2px solid #e5a0bd!important;border-left:5px solid #d05c8f!important;border-radius:13px;padding:16px}
.romance-report .event-note p,.romance-report .event-note span{color:#4a2840!important}
.romance-report h2{color:#aa3466}
.romance-report.romance-warning .event-note{background:#fff1d8!important;border-color:#e6be76!important;border-left-color:#bf8425!important}
.romance-report.romance-breakup .event-note{background:#f3f0fa!important;border-color:#b8afcc!important;border-left-color:#79618e!important}
@media(max-height:590px) and (orientation:landscape){.result-action-dock{padding:3px 7px;margin-bottom:2px}.result-action-dock .act{min-height:29px;padding:3px 8px;font-size:11px}.result-action-dock strong{font-size:10px}}
@media(max-width:680px){.result-action-dock{gap:5px;padding:5px}.result-action-dock .act{font-size:11px;max-width:73%;min-height:31px}}

/* Only ONE displayed progression control: the dock above the scroller. */
.has-result-dock .stage-scroll #latestActionOutcome > .act:last-of-type{display:none}
.has-result-dock .stage-scroll > .panel.main > .act:last-of-type{display:none}
.has-result-dock .stage-scroll > .actionpanel > .actions:last-child{display:none}
.has-result-dock .stage-scroll > .panel.main > .actions:last-child{display:none}

/* v13.7.107: application detail tables include grade-by-grade estimated sales. Amazoo two-stage purchase retained. */
.course-result-detail{margin:12px 0;border:2px solid #8cb0d4;background:#f5faff;border-radius:12px;padding:10px;color:#162c43}
.course-result-detail h3{margin:0 0 9px;color:#143963;font-weight:900;font-size:clamp(13px,1.8vw,19px)}
.course-tablewrap{max-width:100%;overflow-x:auto;border-radius:9px;border:1px solid #94afc8;background:#fff}
.course-breakdown-table{width:100%;border-collapse:collapse;min-width:645px;color:#17354e;font-size:clamp(11px,1.2vw,14px);font-variant-numeric:tabular-nums}
.course-breakdown-table thead{background:#245282;color:#fff}
.course-breakdown-table th,.course-breakdown-table td{text-align:center;padding:9px 6px;border-bottom:1px solid #d5e1ef;white-space:nowrap}
.course-breakdown-table tbody th{background:#eaf4ff;color:#163b5d;font-weight:800}
.course-breakdown-table tbody tr:last-child{background:#fff1ce;font-weight:900}
.course-breakdown-table tbody tr:last-child th{background:#f9e1a5}
.course-breakdown-table .course-amount{font-weight:850;color:#134f37;text-align:right;padding-right:10px;white-space:nowrap}
.course-breakdown-table tbody tr:last-child .course-amount{color:#51330b}
.course-footnote{color:#39536a!important;line-height:1.5;margin-top:8px}
.amazoo-confirm{position:sticky;top:0;z-index:19;margin:12px 0;border:3px solid #d0a33e;background:#fff4d6;color:#322811;padding:13px;border-radius:13px;box-shadow:0 3px 12px #5e481e2b}
.amazoo-confirm h3{margin:0 0 7px;color:#62400e}.amazoo-confirm p{margin:5px 0 9px}.amazoo-confirm .act{min-height:42px}
@media(max-height:590px) and (orientation:landscape){.course-result-detail{padding:6px;margin:8px 0}.course-breakdown-table th,.course-breakdown-table td{padding:5px 4px}.amazoo-confirm{padding:8px}.amazoo-confirm .act{min-height:31px}}

/* v13.7.116: boss discovery cinematic (CSS animation only, easily skipped) */
.boss-cinematic{border:3px solid #e35b60!important;background:#210f20!important;color:#fff0e9!important;overflow:hidden;isolation:isolate}
.boss-cinema-kicker{font-size:clamp(12px,1.7vw,17px);font-weight:900;letter-spacing:.09em;color:#ffd19c;animation:bossBlink .8s ease-in-out 2}
.boss-cinema-screen{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;min-height:132px;margin:14px 0;padding:10px;border:2px solid #fd6773;border-radius:14px;background:repeating-linear-gradient(125deg,#6f1829,#6f1829 15px,#872132 15px,#872132 30px);box-shadow:inset 0 0 34px #300a16;animation:bossScreen .7s ease-out both}
.boss-cinema-alarm{font-size:clamp(42px,10vw,90px);line-height:1;color:#ffe3a1;text-shadow:0 2px 0 #901d24,0 0 15px #fff4bd;animation:bossAlarm .4s ease-in-out 3}
.boss-cinema-message{min-width:0}.boss-cinema-message>span{color:#ffe9c5;font-weight:850;letter-spacing:.12em;font-size:clamp(10px,1.6vw,15px)}
.boss-cinema-message h2{margin:5px 0 0;color:#fff8dd!important;font-size:clamp(20px,3.3vw,37px);line-height:1.25;font-weight:950;text-shadow:2px 3px 0 #540d1d}
.boss-cinema-dialog{font-weight:900;line-height:1.55;background:#f2e1db;border:2px solid #e69476;color:#601d24!important;border-radius:12px;padding:12px;font-size:clamp(13px,1.8vw,18px)}
.boss-cinema-note{font-size:12px;color:#f6cecb!important;margin:12px 0}
.boss-result-report .event-note{background:#43232e!important;border:2px solid #d26b74!important;border-left:5px solid #ff8c70!important;color:#fff2ef!important}
.boss-result-report .event-note p,.boss-result-report .event-note span{color:#fff2ef!important}
@keyframes bossScreen{0%{transform:scale(.94);filter:brightness(2)}50%{transform:scale(1.03)}100%{transform:scale(1);filter:brightness(1)}}
@keyframes bossAlarm{0%,100%{transform:rotate(-7deg) scale(.95)}50%{transform:rotate(8deg) scale(1.07)}}
@keyframes bossBlink{0%,70%{opacity:1}35%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.boss-cinema-kicker,.boss-cinema-screen,.boss-cinema-alarm{animation:none!important}}
@media(max-height:590px) and (orientation:landscape){.boss-cinematic{padding:10px!important}.boss-cinema-screen{min-height:72px;margin:6px 0;padding:5px}.boss-cinema-dialog{padding:6px 10px}.boss-cinema-note{margin:5px 0}.boss-cinema-alarm{font-size:46px}}


/* original style block 21/96 */

.hospital-stay-progress{border:2px solid #4c8bc0;background:#eef7ff;color:#163657;border-radius:12px;padding:12px;margin:10px 0;box-shadow:0 2px 8px #163a5720}
.hospital-stay-progress h3{margin:0 0 9px;color:#174b76;font-weight:900;font-size:14px}
.hospital-stay-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hospital-stay-cell{padding:8px;border:1px solid #b3d0eb;background:#fff;border-radius:9px;display:flex;flex-direction:column;gap:3px}
.hospital-stay-cell span{color:#44637d;font-size:11px;font-weight:750}
.hospital-stay-cell strong{color:#123b60;font-size:clamp(15px,1.6vw,21px);font-weight:950;white-space:nowrap}
.hospital-stay-progress p{margin:8px 0 0;font-size:11px;color:#3b5871}
.hospital-stay-progress p.hospital-discharged{color:#126546;font-weight:900}
.hospital-before{margin:10px 0}.hospital-before .hospital-stay-cell{background:#e9f3ff}
@media(max-height:590px) and (orientation:landscape){.hospital-stay-progress{padding:9px;margin:6px 0}.hospital-stay-progress h3{margin-bottom:5px}.hospital-stay-cell{padding:6px}.hospital-stay-progress p{margin-top:5px}}


/* original style block 22/96 */

/* Five-step status strip fits INSIDE the existing header height. Center play stage stays prominent. */
.dashboard .core-head{
  grid-template-rows:minmax(0,1fr) 27px;
  grid-auto-flow:row;
  gap:4px;
  min-height:clamp(76px,12vh,108px);
}
.dashboard .core-head .top-ability{min-height:0}
.dashboard .core-head .top-label{font-size:clamp(9px,1.05vw,15px);padding:4px 1px 3px;line-height:1.12}
.dashboard .core-head .top-value{font-size:clamp(17px,2.5vw,30px);padding:2px 0 3px;line-height:1.12}
.week-flow{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;min-width:0;min-height:0}
.week-flow-step{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;border-radius:7px;border:1px solid #243954;gap:3px;font-weight:850;font-size:clamp(9px,1.05vw,13px);line-height:1.05;text-align:center;white-space:nowrap;padding:2px 1px;transition:background-color .15s}
.week-flow-step.upcoming{background:#22344c;color:#b9c5d4;border-color:#182c42}
.week-flow-step.done{background:#687d98;color:#fff;border-color:#516783}
.week-flow-step.active{background:linear-gradient(#ffe7a3,#f8c34b);color:#2e271b;border-color:#b87818;box-shadow:inset 0 0 0 1px #fff2c6}
.week-flow-mark{flex:0 0 auto;font-size:10px;line-height:1}
.week-flow-mark:empty{display:none}
.week-flow-label{overflow:hidden;text-overflow:clip}
@media(max-height:590px) and (orientation:landscape){
  .dashboard .core-head{grid-template-rows:minmax(0,1fr) 24px;min-height:76px;gap:3px}
  .dashboard .core-head .top-label{padding:3px 1px 2px;font-size:clamp(8px,1vw,12px)}
  .dashboard .core-head .top-value{font-size:clamp(17px,2.6vw,25px);padding:0 0 2px}
  .week-flow{gap:3px}.week-flow-step{font-size:clamp(9px,1.15vw,11px);border-radius:5px}
}
@media(max-width:530px){.week-flow-step{font-size:8px;letter-spacing:-.045em;gap:1px}.week-flow-mark{font-size:8px}}


/* original style block 23/96 */

/* v13.7.111: unmistakably inactive and truly noninteractive outside work. */
.bottom-nav .nav-item.nav-locked,
.bottom-nav .nav-item:disabled{
  background:#647080!important;
  border-color:#506070!important;
  color:#dae0e7!important;
  box-shadow:none!important;
  opacity:.38;
  filter:grayscale(1);
  cursor:not-allowed;
  pointer-events:none;
  transform:none;
}
.bottom-nav .nav-item.nav-locked .nav-ico{opacity:.7}
.progress-return-dock{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  flex:0 0 auto;background:#e8f1ff;color:#19385e;
  padding:5px 10px;border-bottom:1px solid #c1d0e4;font-size:clamp(10px,1.1vw,14px);
  font-weight:800;
}
.progress-return-dock button{
  border:1px solid #a4bddb;border-radius:9px;
  background:#fff;color:#15375e;font-weight:850;cursor:pointer;
  padding:5px 12px;white-space:nowrap;min-height:30px;
}
@media(max-height:590px) and (orientation:landscape){
  .progress-return-dock{padding:3px 6px;font-size:10px}
  .progress-return-dock button{padding:3px 8px;min-height:25px}
}


/* original style block 24/96 */

/* Each purchase is committed only once. Reveal stages are presentation-only. */
.shopping-reveal{min-height:100%;width:100%;color:#1b3150;text-align:center;padding:clamp(6px,1.2vw,18px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.shopping-reveal h2{font-weight:950;font-size:clamp(19px,2.4vw,31px);margin:2px 0}
.shopping-reveal p{margin:1px 0;color:#516782;font-size:clamp(11px,1.1vw,15px)}
.shopping-reveal-top{font-size:clamp(12px,1.5vw,18px);font-weight:850;color:#245784}
.shopping-reveal-top span{display:block;font-weight:500;color:#4e647d;font-size:11px}
.shopping-opening{position:relative;display:flex;align-items:center;justify-content:center;min-height:clamp(95px,19vh,190px);width:min(320px,100%);margin:2px 0}
.shopping-mystery-box{font-size:clamp(65px,11vh,116px);line-height:1.2;animation:shopping-box-open 1.1s ease-in-out infinite alternate;filter:drop-shadow(0 5px 14px #6081c2a1)}
.shopping-glimmer{position:absolute;font-size:40px;color:#47a4e9;animation:shopping-star 1.15s ease-in-out infinite alternate}
.glimmer-1{top:7%;left:15%}.glimmer-2{top:22%;right:11%;animation-delay:.3s}.glimmer-3{bottom:0;left:35%;animation-delay:.58s}
.shopping-reveal-controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:4px}
.shopping-reveal-controls .act{padding:8px 12px!important}
.shopping-reveal-ssr{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#fff9cf 0,#ffeb9e 30%,#fffdf8 75%);border-radius:12px}
.shopping-ssr-flare{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:0;font-size:clamp(95px,24vh,195px);color:#e9ae28;opacity:.43;animation:shopping-ssr-glow 1.15s ease-in-out infinite alternate}
.shopping-ssr-emblem{position:relative;z-index:1;background:linear-gradient(135deg,#b07714,#fbe8a4 40%,#d59e23 74%,#fff5b3);border:4px solid #c18b1d;color:#603707;font-size:clamp(43px,9vh,85px);font-weight:1000;text-shadow:0 2px 0 #fff6d3;box-shadow:0 3px 22px #c8903388;border-radius:18px;padding:6px 23px;animation:shopping-ssr-pop .9s ease both}
.shopping-reveal-ssr h2{color:#8e5812;position:relative}.shopping-reveal-ssr p{color:#795a2c;position:relative}.shopping-reveal-ssr .shopping-reveal-controls{position:relative}
.shopping-reveal-results{align-items:stretch;justify-content:flex-start;text-align:left;gap:8px;padding:0 2px 10px;min-height:0}
.shopping-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.shopping-result-head h2{margin:2px 0 4px;color:#183a64}.shopping-result-head p{margin:0;color:#53677e}
.shopping-summary-stars{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.shopping-summary-stars span{font-size:11px;font-weight:850;border-radius:7px;padding:5px 6px;border:1px solid #bbb}
.shopping-spend{background:#ecf3fd;border:1px solid #c6d6e8;padding:9px 10px;border-radius:9px;color:#294967;font-size:clamp(11px,1.1vw,14px)}
.shopping-results-list{display:grid;gap:6px;width:100%;margin-top:3px}
.shopping-result-card{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 11px;background:#f4f7fc;border:2px solid #aebfd1;border-left-width:7px;border-radius:11px;min-width:0}
.shopping-result-card.rarity-N{border-left-color:#8794a3}.shopping-result-card.rarity-R{border-left-color:#3185cf}.shopping-result-card.rarity-SR{border-left-color:#9956c0}.shopping-result-card.rarity-SSR{border-left-color:#d2a228;background:#fff6d8;border-color:#d2a228;border-left-width:7px;box-shadow:0 2px 7px #bc8b2945}
.shopping-result-index{font-weight:950;font-size:15px;color:#6781a1;font-variant-numeric:tabular-nums}
.shopping-result-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.shopping-result-copy strong{font-size:clamp(13px,1.35vw,18px);color:#203d60;overflow-wrap:anywhere}.shopping-result-copy span{font-size:clamp(10px,1.08vw,13px);color:#526782;overflow-wrap:anywhere}
.shopping-rarity{padding:4px 7px;font-size:clamp(10px,1vw,13px);font-weight:1000;border-radius:6px;border:1px solid currentColor}
.rarity-tag-N{color:#59677a;background:#e1e8f0}.rarity-tag-R{color:#15568c;background:#dcefff}.rarity-tag-SR{color:#70309e;background:#f0e4ff}.rarity-tag-SSR{color:#81540b;background:#ffecae}
.shopping-result-note{font-size:11px!important;text-align:left;color:#526683!important;line-height:1.5}
@keyframes shopping-box-open{0%{transform:translateY(6px) rotate(-5deg) scale(.94)}60%{transform:translateY(-4px) rotate(3deg) scale(1.05)}100%{transform:translateY(-7px) rotate(0deg) scale(1.09)}}
@keyframes shopping-star{from{opacity:.2;transform:scale(.7) rotate(0deg)}to{opacity:1;transform:scale(1.2) rotate(25deg)}}
@keyframes shopping-ssr-glow{from{transform:scale(.7) rotate(-12deg);opacity:.27}to{transform:scale(1.2) rotate(12deg);opacity:.66}}
@keyframes shopping-ssr-pop{from{transform:scale(.55);opacity:.35}65%{transform:scale(1.12);opacity:1}to{transform:scale(1);opacity:1}}
@media(max-height:590px) and (orientation:landscape){.shopping-reveal{padding:4px 2px;gap:3px}.shopping-opening{min-height:70px;margin:0}.shopping-mystery-box{font-size:70px}.shopping-glimmer{font-size:27px}.shopping-ssr-emblem{font-size:45px;padding:4px 17px}.shopping-ssr-flare{font-size:105px}.shopping-reveal h2{font-size:18px}.shopping-result-card{padding:7px 9px;gap:6px}.shopping-spend{padding:6px}.shopping-results-list{gap:5px}}
@media(prefers-reduced-motion:reduce){.shopping-mystery-box,.shopping-glimmer,.shopping-ssr-flare,.shopping-ssr-emblem{animation:none}}


/* original style block 25/96 */

/* v13.7.114: fixed four equipment slots and meeting operation tabs. */
.meeting-fixed-dock{flex:0 0 auto;padding:6px 8px 5px;background:linear-gradient(#f5f8ff,#e2ecfb);border-bottom:2px solid #8ba8cb;color:#19375d;z-index:6;box-shadow:0 3px 8px #20345122}
.meeting-fixed-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.meeting-fixed-slot{min-width:0;min-height:42px;display:flex;flex-direction:column;justify-content:center;gap:1px;border:1.5px solid #adc2d9;border-radius:8px;padding:4px 6px;background:#edf5ff;color:#163450;line-height:1.2}
.meeting-fixed-slot b{font-size:clamp(9px,1vw,12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meeting-fixed-slot span{font-size:clamp(9px,1.05vw,12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#36526e}
.meeting-fixed-slot span strong{color:#174d8f}
.meeting-fixed-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:5px}
.meeting-fixed-tabs button{min-height:32px;min-width:0;border:1.5px solid #b1c6df;background:#fff;color:#21466d;border-radius:8px;font-size:clamp(11px,1.2vw,14px);font-weight:900;cursor:pointer;padding:4px 2px}
.meeting-fixed-tabs button.on{background:#204e82;border-color:#103660;color:#fff;box-shadow:inset 0 -2px 0 #10395a}
.meeting-fixed-tabs small{display:inline-flex;justify-content:center;align-items:center;min-width:18px;height:18px;border-radius:50px;margin-left:4px;background:#dce9fa;color:#21486b;font-size:10px;font-weight:800}
.meeting-fixed-tabs button.on small{background:#fff;color:#194576}
.meeting-tab-body{padding-bottom:10px;color:#193454}
.meeting-tab-body>.screen-sub{margin-bottom:8px}
.meeting-tab-body h3{margin:12px 0 7px!important;color:#1b4778!important}
.meeting-itemrow{padding:8px 6px;border-bottom:1px solid #d2deeb;gap:8px;align-items:center;flex-wrap:wrap}
.meeting-itemrow>span:first-child{flex:1 1 180px;min-width:0;font-size:12px;overflow-wrap:anywhere}
.meeting-itemrow .chips{flex:0 1 auto;justify-content:flex-end}
.meeting-price{display:block;font-size:11px;color:#476381;margin-top:3px}
.meeting-storage-status{border:1px solid #b3c8dc;background:#edf5ff;border-radius:9px;padding:8px;font-weight:800;color:#2f5071;font-size:12px}
.meeting-voucher{border:1px solid #acc0d4;background:#e8f2fc;border-radius:8px;padding:5px 9px;color:#284a72;font-size:12px}
.meeting-end{padding:7px 0 8px;border-top:1px solid #cbd7e7;margin-top:14px}
.stage-scroll .meeting-itemrow.gear-type-0,.stage-scroll .meeting-itemrow.gear-type-1,.stage-scroll .meeting-itemrow.gear-type-2,.stage-scroll .meeting-itemrow.gear-type-3{padding:7px 9px!important}
@media(max-height:590px) and (orientation:landscape){.meeting-fixed-dock{padding:3px 6px}.meeting-fixed-slots{gap:3px}.meeting-fixed-slot{min-height:29px;padding:2px 4px}.meeting-fixed-slot b{font-size:10px}.meeting-fixed-slot span{font-size:9px}.meeting-fixed-tabs{margin-top:3px;gap:3px}.meeting-fixed-tabs button{min-height:26px;padding:2px;font-size:11px}.meeting-fixed-tabs small{height:15px;min-width:15px;font-size:9px}}
@media(max-width:530px){.meeting-fixed-dock{padding:4px}.meeting-fixed-slots{gap:3px}.meeting-fixed-slot{padding:3px;min-height:37px}.meeting-fixed-slot b{font-size:9px}.meeting-fixed-slot span{font-size:9px}.meeting-fixed-tabs{gap:3px}.meeting-fixed-tabs button{font-size:11px;min-height:32px}.meeting-fixed-tabs small{margin-left:2px;min-width:15px;height:15px;font-size:9px}.meeting-itemrow .chips{width:100%;justify-content:flex-start}}

/* v13.7.114: item lists sorted by rarity and consistent type without touching game state */
.inventory-rarity-tag{display:inline-block;vertical-align:middle;padding:2px 7px;margin-right:4px;font-size:11px;font-weight:950;line-height:1.3;border-radius:6px;white-space:nowrap;border:1px solid #98aec9}
.inventory-rarity-tag.rarity-tag-SSR{border-color:#d2a228;box-shadow:0 1px 3px #d2a22850}
.inventory-rarity-tag.rarity-tag-SR{border-color:#a27ace}
.inventory-rarity-tag.rarity-tag-R{border-color:#5294c5}
.inventory-rarity-tag.rarity-tag-N,.inventory-rarity-tag.rarity-tag-ID{border-color:#a8b3c2;color:#59677a;background:#f1f3f5}
.inventory-sort-note{color:#385e80!important;font-weight:750;margin:4px 0 7px!important}
@media(max-height:590px) and (orientation:landscape){.inventory-sort-note{font-size:10px!important;margin:2px 0 4px!important}.inventory-rarity-tag{padding:1px 5px;font-size:10px}}


/* original style block 26/96 */

.special-referral-result{background:#eef8ff;color:#153955;border:2px solid #3685ad;border-radius:14px;padding:12px;margin:12px 0}
.special-referral-result h3{margin:0 0 10px;color:#164a72;font-size:clamp(14px,1.6vw,18px);font-weight:950}
.special-referral-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.special-referral-metrics>div{display:flex;flex-direction:column;gap:3px;background:#fff;border:1px solid #bdd8e9;border-radius:8px;padding:8px;min-width:0}
.special-referral-metrics span{font-size:11px;color:#426077;font-weight:700}
.special-referral-metrics strong{font-size:19px;color:#064e88;font-variant-numeric:tabular-nums}
.special-referral-result p{font-size:11px;color:#355876;line-height:1.5;margin:10px 0 4px}
.special-referral-result details{margin-top:8px;font-size:12px}
.special-referral-result summary{color:#165783;font-weight:900;cursor:pointer}
.special-referral-row{padding:5px 2px;border-bottom:1px dotted #acc9d8;color:#23465f;font-size:11px}
@media(max-width:550px){.special-referral-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:590px) and (orientation:landscape){.special-referral-result{padding:8px;margin:7px 0}.special-referral-metrics>div{padding:5px}.special-referral-metrics strong{font-size:15px}}


/* original style block 27/96 */

.tutorial-boss-panel{max-width:790px;margin:auto}.tutorial-boss-dialog{padding:14px 18px;border:2px solid #408ec4;border-radius:14px;background:linear-gradient(135deg,#e9f5ff,#f5fbff);color:#183b57;line-height:1.55}.tutorial-boss-dialog strong{color:#165994}.tutorial-boss-dialog p{margin:7px 0 0;font-weight:650}.tutorial-shop-instruction{border-radius:14px;padding:12px 16px;background:#e5f4ff;color:#174868;border:2px solid #4994d2;margin:8px 0}.tutorial-shop-instruction p{margin:5px 0}.tutorial-ticket-award{padding:11px 13px;background:#fff5cf;color:#5c3e00;border:2px solid #e2b33e;border-radius:12px;font-weight:700;margin:7px 0}.tutorial-ticket-award small{display:block;font-weight:500;margin-top:4px;color:#64481b}.bottom-nav .nav-item.nav-locked{opacity:.34}
@media(max-height:400px){.tutorial-boss-panel{padding:10px 12px}.tutorial-boss-dialog{padding:7px 10px}.tutorial-shop-instruction{padding:7px 10px}}


/* original style block 28/96 */

/* A visible, permanent escape route in the top-right training toolbar. */
.result-action-dock.training-skip-dock{background:#fff0e0;border-color:#e6ae68;color:#5f3614}
.result-action-dock.training-skip-dock .act{background:linear-gradient(180deg,#d15c36,#a43f25);border-color:#7e2a17;color:#fff;font-weight:950;box-shadow:0 2px 0 #782b18}
.result-action-dock.training-skip-dock .act:focus-visible{outline:3px solid #fff0a2;outline-offset:2px}
/* The event bar preserves all five existing stages while spelling out the week's activity. */
.dashboard .core-head:has(.week-flow){grid-template-rows:minmax(0,1fr) 36px;min-height:clamp(86px,14vh,118px)}
.week-flow{gap:5px}
.week-flow-step{font-size:clamp(11px,1.22vw,15px);letter-spacing:0;line-height:1.12;padding:3px 2px}
.week-flow-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;white-space:normal;overflow:visible;min-width:0}
.week-flow-label strong{font-size:inherit;font-weight:900}
.week-flow-label small{display:block;font-size:clamp(9px,1vw,12px);font-weight:950;white-space:nowrap;line-height:1.15}
.week-flow-step.active .week-flow-label strong{font-size:clamp(12px,1.4vw,17px)}
.week-flow-step.active .week-flow-label small{font-size:clamp(10px,1.2vw,14px);color:#392910}
.week-flow-step.active{border-width:2px;box-shadow:inset 0 0 0 1px #fff2c6,0 0 0 1px #dea43d}
.stage-scroll .actionpanel>.eyebrow,.stage-scroll .main>.eyebrow{display:inline-block;background:#e7f1fd;color:#154672;border:1px solid #8db7df;border-radius:9px;padding:6px 11px;font-weight:950;font-size:clamp(15px,1.65vw,20px);letter-spacing:.02em;margin-bottom:7px}
.interview-summary-section .course-result-detail{margin-top:6px}
.interview-summary-section .course-result-detail h3{font-size:13px;color:#214563}
.interview-summary-section .course-breakdown-table{font-variant-numeric:tabular-nums}
@media(max-height:450px) and (orientation:landscape){
.dashboard .core-head:has(.week-flow){grid-template-rows:minmax(0,1fr) 33px;min-height:85px}
.week-flow-step{font-size:11px;padding:2px}
.week-flow-label{gap:1px}.week-flow-label small{font-size:9px}
.stage-scroll .actionpanel>.eyebrow,.stage-scroll .main>.eyebrow{padding:3px 8px;font-size:14px;margin:2px 0 5px}
}
@media(max-width:570px){.week-flow-step{font-size:10px}.week-flow-label small{font-size:8px;white-space:normal}.week-flow{gap:2px}}


/* original style block 29/96 */

@media (orientation:landscape) and (min-width:700px){
 .dashboard.base-layout .stage .shop-selection-cards .shop-card{min-height:0;display:flex;flex-direction:column;gap:6px;}
 .dashboard.base-layout .stage .shop-selection-cards .shop-card h3{margin:0!important;}
 .dashboard.base-layout .stage .shop-selection-cards .chips{margin-top:auto;}
 .dashboard.base-layout .stage .shop-selection-cards .shop-choice{min-width:clamp(44px,6vw,80px);font-weight:950;color:#223b5a;background:#fff;border:2px solid #8daaca;}
 .dashboard.base-layout .stage .shop-selection-cards .shop-choice-selected{background:#ffe3a0!important;border-color:#d89819!important;color:#573508!important;box-shadow:0 0 0 2px rgba(255,195,60,.34)!important;opacity:1!important;}
 .dashboard.base-layout .stage .shop-selection-info{margin:7px 0 4px;padding:7px 10px;border:2px solid #b6cce5;border-radius:10px;background:#f1f7ff;color:#1b4369;display:flex;flex-direction:column;gap:2px;}
 .dashboard.base-layout .stage .shop-selection-info strong{font-size:clamp(11px,1.2vw,15px);}
 .dashboard.base-layout .stage .shop-selection-info span{font-size:clamp(10px,1.04vw,13px);line-height:1.18;}
 .dashboard.base-layout .stage .shop-selection-mini{font-size:clamp(9px,.86vw,12px);color:#375c81;margin:5px 1px;}
 .dashboard.base-layout .stage .shop-amazoo-expanded{background:#fff9e9;border:2px solid #ceb265;border-radius:10px;padding:9px;margin:6px 0 12px;}
 .dashboard.base-layout .stage .shop-amazoo-expanded h3{margin:0 0 5px;color:#3e5871;}
 .dashboard.base-layout .stage .shop-amazoo-expanded .gear-shop-entry{display:flex;flex-wrap:wrap;align-items:center;gap:4px;}
 .dashboard.base-layout .stage .thumb-action-dock .shop-checkout{min-width:clamp(125px,16vw,220px);}
}


/* original style block 30/96 */

/* ④ 1 free choice, 3 paid choices; travel remains five choices. */
.dashboard.base-layout .holiday-single-choice,.holiday-single-choice{grid-template-columns:minmax(0,1fr)!important;max-width:270px}
.dashboard.base-layout .holiday-three-choices,.holiday-three-choices{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:600px}
.holiday-single-choice .holiday-freepaid-choice,.holiday-three-choices .holiday-freepaid-choice{min-width:0}


/* original style block 31/96 */

/* v13.7.188: company meeting. 4 slots and 5 tabs above, single-line list/detail split, fixed thumb dock below. */
.dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-dock{padding:3px 6px 4px;max-height:none!important;overflow:visible!important;}
.dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-slots{gap:4px;}
.dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-slot{min-height:31px;padding:3px 6px;max-height:43px;overflow:hidden;}
.dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-slot b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-slot span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-tabs{margin-top:4px;gap:4px;}
.dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-tabs button{min-height:31px!important;padding:2px 2px!important;font-size:12px!important;}
.dashboard .stage .stage-scroll:has(.meeting-main-layout){padding:4px 6px!important;overflow:hidden!important;display:flex;flex-direction:column;}
.dashboard.base-layout .stage .stage-scroll:has(.meeting-main-layout) > .actionpanel{flex:1 1 0px!important;height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
.meeting-screen-wrap{display:flex;flex:1 1 auto;min-height:0;overflow:hidden;width:100%;}
.dashboard.base-layout .stage .stage-scroll:has(.meeting-main-layout){overflow:hidden!important;overflow-y:hidden!important;}
.meeting-main-layout{display:grid;grid-template-columns:minmax(0,59fr) minmax(0,41fr);gap:6px;flex:1 1 auto;min-height:0;height:auto;overflow:hidden;width:100%;}
.meeting-list-pane{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;background:#f8faff;border:1px solid #a3bad7;border-radius:8px;padding:4px;}
.meeting-info-pane{display:flex;flex-direction:column;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border:1.5px solid #7fabc5;border-radius:8px;background:linear-gradient(#eff8ff,#f9fcff);color:#183a5a;padding:8px 9px;gap:5px;}
.meeting-detail-label{font-size:11px;color:#54738e;font-weight:850;letter-spacing:.035em;}
.meeting-detail-name{font-size:clamp(12px,1.4vw,15px);line-height:1.25;overflow-wrap:anywhere;color:#1d3c5c;}
.meeting-effect-key{color:#116550;font-size:13px;font-weight:950;line-height:1.15;}
.meeting-effect-minor{font-size:11px;font-weight:650;color:#45647e;line-height:1.3;}
.meeting-effect-after{color:#065d5a;font-size:12px;font-weight:900;}
.meeting-detail-bottom{margin-top:auto;}
.meeting-detail-act{border:1.5px solid #7c9fc2;border-radius:7px;background:#f5f9ff;color:#153b6b;min-height:27px;padding:4px 7px;font-weight:850;font-size:11px;cursor:pointer;width:100%;}
.meeting-detail-act.primary{background:#ffe2a1;border-color:#c19a37;color:#4a3412;}
.meeting-detail-act:disabled{opacity:.4;cursor:not-allowed;}
.meeting-confirm-actions{display:flex;gap:4px;margin-top:4px;}
.meeting-detail-empty{font-size:12px;color:#54738e;margin:auto;text-align:center;}
.meeting-compact-list{padding:0!important;}
.meeting-simple-row{display:flex;align-items:center;gap:4px;min-height:37px;margin-bottom:3px;padding:3px 5px;border:1px solid #b7cbe0;border-radius:7px;background:#fff;color:#1a3859;min-width:0;}
.meeting-simple-row.is-selected{border:2px solid #cb9b3d;padding:2px 4px;background:#fff7e7;}
.meeting-simple-row.is-disabled{opacity:.65;}
.meeting-simple-name{border:0;background:transparent;text-align:left;display:flex;align-items:center;flex:1 1 auto;gap:4px;min-width:0;padding:5px 0;cursor:pointer;color:#203b5d;}
.meeting-one-line-name{font-size:clamp(12px,1.36vw,14px);font-weight:850;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0;}
.meeting-row-rarity{border:1px solid #acbed2;flex:0 0 auto;padding:1px 4px;border-radius:4px;font-size:10px;font-weight:950;background:#ecf0f6;color:#24486c;}
.meeting-row-rarity.rarity-SSR{background:#fff1c5;border-color:#e8bc51;color:#704a05;}
.meeting-row-rarity.rarity-SR{background:#eee3ff;border-color:#b8a1de;color:#604293;}
.meeting-row-rarity.rarity-R{background:#dcecff;border-color:#90b8e5;color:#245a90;}
.meeting-equipped-flag{white-space:nowrap;font-size:10px;font-weight:900;color:#0b785d;flex:0 0 auto;}
.meeting-row-mini{white-space:nowrap;font-size:10px;color:#446787;}
.meeting-row-controls{display:flex;align-items:center;gap:4px;flex:0 0 auto;}
.meeting-equip-toggle{min-height:29px;min-width:44px;padding:4px 6px;border:1.5px solid #799fc4;background:#e7f1ff;color:#1d4d7e;border-radius:7px;font-weight:900;font-size:11px;cursor:pointer;}
.meeting-equip-toggle.off{background:#f7fbff;color:#466584;}
.meeting-equip-toggle:disabled{opacity:.38;cursor:not-allowed;}
.meeting-star{width:29px;height:31px;padding:0;border:1px solid #b4c5d9;background:#fff;color:#5b758c;border-radius:7px;font-size:23px;line-height:1;cursor:pointer;}
.meeting-star.on{color:#dc9c16;background:#fff8df;border-color:#d6af58;}
.meeting-star:disabled{opacity:.38;cursor:not-allowed;}
.meeting-category-inline{padding:2px 3px;margin:0 0 3px;font-size:10px;font-weight:850;display:flex;gap:5px;align-items:center;}
.meeting-category-inline button{font-size:10px;min-height:24px;padding:1px 4px;}
.meeting-compact-empty{padding:13px 7px;color:#59738d;text-align:center;font-size:12px;}
.meeting-sale-top{position:sticky;top:-4px;z-index:3;display:flex;gap:3px;align-items:center;justify-content:space-between;background:#eaf3fe;border-bottom:1px solid #abc1dc;padding:3px 2px;margin:-3px -2px 3px;}
.meeting-sale-top span{font-size:9px;font-weight:850;white-space:nowrap;color:#284d73;}
.meeting-sale-tool{border:1px solid #85a4c4;border-radius:5px;background:#fff;color:#214c7e;font-size:10px;font-weight:850;min-height:25px;padding:3px 4px;white-space:nowrap;}
.meeting-sale-confirm{background:#ffe6ab;border-color:#bb9031;}
.meeting-sale-tool:disabled{opacity:.4;}
.meeting-sale-section{font-size:10px;color:#496784;font-weight:900;padding:2px 3px;background:#e8f1fc;margin-bottom:3px;border-radius:4px;}
.dashboard .stage .meeting-footer-dock{flex:0 0 auto;min-height:43px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:4px 8px;border-top:2px solid #9ab3cf;background:linear-gradient(#f4f8ff,#dceaf9);color:#29496f;z-index:8;}
.meeting-footer-dock span{font-size:12px;font-weight:900;white-space:nowrap;}
.dashboard .stage .meeting-footer-dock .meeting-finish-button{min-width:116px;min-height:35px;padding:5px 12px!important;margin:0!important;font-size:13px!important;font-weight:950;white-space:nowrap;}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard .stage .meeting-footer-dock{min-height:39px;padding:3px 7px;}
 .dashboard .stage .meeting-footer-dock .meeting-finish-button{min-height:32px;font-size:12px!important;}
 .dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-slot{min-height:28px;padding:2px 4px;}
 .dashboard .stage:has(.meeting-fixed-dock) .meeting-fixed-tabs button{min-height:27px!important;font-size:11px!important;}
 .meeting-simple-row{min-height:34px;padding:2px 4px;}
 .meeting-simple-row.is-selected{padding:1px 3px;}
 .meeting-one-line-name{font-size:12px;}
 .meeting-star{height:29px;width:27px;}
 .meeting-equip-toggle{min-height:27px;padding:3px 5px;}
 .meeting-info-pane{padding:5px 7px;gap:3px;}
}
@media (orientation:portrait) and (max-width:650px){
 .meeting-main-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(100px,1fr) minmax(85px,.55fr)}
 .meeting-info-pane{min-height:85px;}
}


/* original style block 32/96 */

/* v13.7.190: conversation-style CEO tutorial, independent from all economic/AI mechanics. */
.dashboard .stage .stage-scroll:has(.boss-tutorial-scene){padding:4px 6px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
.dashboard .stage .stage-scroll:has(.boss-tutorial-scene) > .actionpanel,
.dashboard .stage .stage-scroll:has(.boss-tutorial-scene) > .panel.main{height:100%;min-height:0!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.boss-tutorial-scene{display:grid;grid-template-columns:minmax(110px,36fr) minmax(0,64fr);gap:7px;flex:1 1 auto;min-height:0;height:100%;overflow:hidden;color:#20354e;}
.boss-tutorial-portrait{border:2px solid #b7a0c2;border-radius:10px;background:linear-gradient(155deg,#d5d3e8,#9daeca);min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;}
.boss-tutorial-portrait:before{content:' ';position:absolute;inset:auto -10% -25% -10%;height:70%;background:linear-gradient(120deg,#182c46,#2b4160);border-radius:48% 48% 0 0;opacity:.3;}
.boss-tutorial-portrait-art{font-size:clamp(42px,8.5vh,87px);line-height:1.1;z-index:1;filter:drop-shadow(0 4px 4px #25324744)}
.boss-tutorial-portrait-name{font-size:clamp(13px,1.5vw,17px);font-weight:1000;background:#172d49;color:#fff8eb;min-width:50%;text-align:center;border-radius:7px;padding:1px 8px;z-index:1}
.boss-tutorial-portrait>span{font-size:9px;font-weight:800;color:#253952;z-index:1}
.boss-tutorial-dialogue{min-width:0;min-height:0;background:#fff8e9;border:2px solid #d7ad52;border-radius:10px;padding:7px 10px 5px;display:flex;flex-direction:column;gap:2px;overflow:hidden;box-shadow:0 2px 5px #57401733;}
.boss-tutorial-head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:18px;border-bottom:1px solid #e2c994;padding-bottom:2px;}
.boss-tutorial-head>b{font-size:clamp(12px,1.4vw,16px);color:#694100;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.boss-tutorial-head>small{font-size:10px;font-weight:900;color:#775c32;white-space:nowrap}
.boss-tutorial-speaker{color:#1d507a;font-weight:1000;font-size:12px;line-height:1.15}
.boss-tutorial-text{font-size:clamp(12px,1.38vw,15px);line-height:1.42;font-weight:650;color:#243648;white-space:pre-line;overflow-wrap:anywhere;overflow:hidden;flex:1 1 0;min-height:0;margin:2px 0!important;padding-right:2px;}
.boss-tutorial-text:not(.narration-complete):after{content:'▋';font-size:11px;color:#be8430;animation:boss-caret-blink .75s step-end infinite}
@keyframes boss-caret-blink{50%{opacity:0}}
.boss-narration-foot{display:flex;align-items:center;gap:3px;flex-wrap:nowrap;min-height:27px;border-top:1px solid #e4d8b7;padding-top:4px;}
.boss-narration-controls{display:flex;gap:3px;align-items:center;flex:0 1 auto;min-width:0}
.boss-narration-speed-label{font-size:10px;color:#755d3d;font-weight:900;white-space:nowrap}
.boss-speed-button,.boss-auto-button{border:1px solid #a49aa0;background:#fcfbf5;color:#273b53;min-width:26px;min-height:25px;border-radius:5px;padding:2px 5px;white-space:nowrap;font-size:10px;font-weight:900;cursor:pointer;}
.boss-speed-button[aria-pressed="true"],.boss-auto-button[aria-pressed="true"]{background:#174b78;color:white;border-color:#174b78}
.boss-auto-button{min-width:65px;background:#e7edf5}
.boss-narration-hint{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#937749;margin-left:auto}
.dashboard .stage:has(.boss-tutorial-scene) .result-action-dock{flex:0 0 auto!important;order:3;margin-top:auto;margin-bottom:0!important;}
.dashboard .stage:has(.boss-tutorial-scene) .stage-scroll{order:1;}
.dashboard .stage:has(.boss-tutorial-scene) .result-action-dock .act{min-width:103px!important;}
@media (max-height:440px) and (orientation:landscape){
 .boss-tutorial-dialogue{padding:3px 7px 3px;gap:0}
 .boss-tutorial-head{min-height:16px;padding-bottom:1px}
 .boss-tutorial-text{font-size:12px;line-height:1.3;margin:1px 0!important}
 .boss-tutorial-speaker{font-size:11px}
 .boss-narration-foot{min-height:24px;padding-top:2px}
 .boss-speed-button,.boss-auto-button{min-height:23px;padding:1px 4px}
 .boss-tutorial-portrait-art{font-size:48px}
 .boss-tutorial-portrait-name{font-size:13px}
}
@media (max-width:700px){
 .boss-tutorial-scene{grid-template-columns:minmax(78px,33fr) minmax(0,67fr);gap:4px}
 .boss-tutorial-dialogue{padding:3px 4px}
 .boss-tutorial-text{font-size:11px;line-height:1.3}
 .boss-narration-hint{display:none}
 .boss-narration-controls{gap:2px}
 .boss-speed-button,.boss-auto-button{min-width:22px;padding:1px 3px}
}
/* Keep the existing thumb control dock at the BOTTOM, rather than above the narration. */
.dashboard .stage:has(.boss-tutorial-scene) > .thumb-action-dock{order:3!important;flex:0 0 auto!important;margin:2px 0 0!important;}
.dashboard .stage:has(.boss-tutorial-scene) > .stage-scroll{order:1!important;flex:1 1 0!important;}
.dashboard .stage:has(.boss-tutorial-scene) .thumb-future-control{display:none!important;}
@media (prefers-reduced-motion:reduce){.boss-tutorial-text:not(.narration-complete):after{animation:none}}


/* original style block 33/96 */

.shopping-screen-title{margin-bottom:8px!important}
.shop-header-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(135deg,#1f265f,#6a26b0 58%,#a737b6);border:2px solid #ffd66c;border-radius:15px;padding:8px 12px;color:#fff;box-shadow:0 8px 18px rgba(26,32,95,.22)}
.shop-header-title{font-size:clamp(18px,2vw,28px);font-weight:1000;letter-spacing:.04em}
.shop-balance-group{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.shop-balance{display:inline-flex;gap:6px;align-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:6px 10px;font-size:clamp(11px,1vw,14px);font-weight:850}.shop-balance b{font-size:1.05em;color:#fff6a6}
.shop-tab-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.shop-tab{border:2px solid #9d8adf;background:linear-gradient(180deg,#302a7a,#1d2456);color:#f1f4ff;border-radius:14px;padding:10px 8px;font-weight:950;font-size:clamp(11px,1.05vw,15px);cursor:pointer;min-height:48px}.shop-tab:disabled{opacity:.45;cursor:not-allowed}
.shop-tab-active{background:linear-gradient(180deg,#ffd760,#ffb927);color:#3e2500;border-color:#f7e197;box-shadow:0 0 0 2px rgba(255,192,72,.24)}
.shop-main-panel{background:#f7f8ff;border:2px solid #c5ccef;border-radius:16px;padding:10px;box-shadow:0 8px 18px rgba(50,68,124,.08)}
.shop-selection-info.compact{margin:0 0 10px;padding:9px 11px;border:2px solid #bed0eb;border-radius:12px;background:#eef5ff;color:#1d4366;display:flex;flex-direction:column;gap:2px}.shop-selection-info.compact strong{font-size:clamp(12px,1.15vw,16px)}.shop-selection-info.compact span{font-size:clamp(10px,.98vw,13px)}
.shop-draw-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(245px,.9fr);gap:10px;align-items:stretch}
.shop-promo-card{border-radius:14px;padding:14px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:170px;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.shop-promo-equip{background:radial-gradient(circle at top left,#7ddcff 0,#2468ff 36%,#34238d 100%)}
.shop-promo-skill{background:radial-gradient(circle at top left,#ffc3ef 0,#a64cf2 38%,#3b1d8c 100%)}
.shop-promo-card h3{margin:4px 0 8px;font-size:clamp(18px,1.85vw,26px);line-height:1.15}.shop-promo-card p{margin:0;color:#eff5ff;font-size:clamp(11px,1.02vw,14px);line-height:1.45}.shop-promo-kicker{font-size:clamp(12px,1.05vw,14px);font-weight:950;color:#fff5a7}.shop-promo-sub{margin-top:14px;font-size:clamp(11px,.95vw,13px);font-weight:800;color:#fffde1}
.shop-draw-panel{border:2px solid #d7dff0;border-radius:14px;background:#fff;padding:12px;display:flex;flex-direction:column;gap:10px;justify-content:space-between}
.shop-draw-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.shop-draw-button{border:2px solid #9fb8da;background:linear-gradient(180deg,#fff,#eaf4ff);border-radius:14px;padding:12px 8px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;cursor:pointer;font-weight:950;color:#1a3e68;min-height:96px}.shop-draw-button:disabled{opacity:.42;cursor:not-allowed}.shop-draw-button.shop-choice-selected{background:linear-gradient(180deg,#ffe8ab,#ffc53a)!important;border-color:#db9a10!important;color:#5d3900!important;box-shadow:0 0 0 2px rgba(255,193,61,.28)}
.shop-draw-count{font-size:clamp(15px,1.35vw,21px)}.shop-draw-price{font-size:clamp(12px,1.08vw,15px)}
.shop-purchase-main{width:100%;min-height:46px!important;font-size:clamp(13px,1.1vw,16px)!important}
.amazoo-layout{display:grid;grid-template-columns:185px minmax(0,1fr);gap:10px;background:linear-gradient(180deg,#fff8df,#fff)}
.amazoo-side-banner{border-radius:16px;padding:14px 12px;background:radial-gradient(circle at 50% 0,#7d2dff 0,#31155b 76%);color:#fff;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 0 0 0 2px rgba(255,223,120,.32)}
.amazoo-side-title{font-size:clamp(20px,1.85vw,28px);font-weight:1000;line-height:1.05}.amazoo-side-copy{font-size:clamp(21px,2vw,30px);font-weight:1000;line-height:1.15;color:#fff478}.amazoo-side-note{font-size:clamp(11px,.96vw,13px);line-height:1.5}.amazoo-side-meta{display:flex;flex-direction:column;gap:5px;font-size:clamp(10px,.92vw,13px);font-weight:850}.amazoo-side-meta span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);padding:6px 8px;border-radius:10px}
.amazoo-main-area{min-width:0}.amazoo-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:8px}.amazoo-list-head h3{margin:0;font-size:clamp(17px,1.6vw,24px);color:#2d305d}.amazoo-list-head p{margin:0;color:#5c628c;font-size:clamp(10px,.94vw,13px)}
.amazoo-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.amazoo-product-card{border:2px solid #ccb56a;border-radius:14px;background:linear-gradient(180deg,#fff9cf,#ffffff 32%);padding:10px;display:flex;flex-direction:column;gap:6px;min-width:0;box-shadow:0 6px 14px rgba(149,112,28,.12)}
.amazoo-card-top{display:flex;justify-content:space-between;gap:6px;align-items:center}.amazoo-ssr-tag{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#ffe57c,#ffbf2b);border:1px solid #d49700;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:1000;color:#5d3500}
.amazoo-product-card h4{margin:0;color:#2d2f52;font-size:clamp(13px,1.02vw,15px);line-height:1.25;min-height:2.5em}.amazoo-copy{margin:0;color:#913500;font-size:clamp(10px,.87vw,12px);font-weight:900;line-height:1.35;min-height:3.1em}.amazoo-effect{margin-top:auto;background:#eef5ff;border:1px solid #c7d8ed;border-radius:10px;padding:7px;font-size:clamp(10px,.86vw,12px);font-weight:850;color:#22415e;line-height:1.35;min-height:3.2em}.amazoo-buy{margin-top:2px;width:100%}
@media(max-height:590px) and (orientation:landscape){.shop-header-bar{padding:6px 10px}.shop-tab{min-height:40px;padding:8px 6px}.shop-main-panel{padding:8px}.shop-draw-layout{grid-template-columns:minmax(0,1fr) 220px}.shop-promo-card{min-height:132px;padding:11px}.shop-promo-card h3{font-size:17px}.shop-draw-button{min-height:78px;padding:9px 6px}.amazoo-layout{grid-template-columns:165px minmax(0,1fr)}.amazoo-side-banner{padding:11px 10px}.amazoo-product-grid{gap:6px}.amazoo-product-card{padding:8px;gap:4px}.amazoo-product-card h4{font-size:12px}.amazoo-copy,.amazoo-effect{font-size:10px}}


/* original style block 34/96 */

/* All shop controls are real state-bound HTML elements, not a screenshot overlay. */
.dashboard.shopping-view{display:block!important;position:relative!important;min-height:0!important;max-width:none!important;width:100%;height:calc(100dvh - 10px)!important;margin:0!important;overflow:hidden!important}
.dashboard.shopping-view>.core-head,.dashboard.shopping-view>.side,.dashboard.shopping-view>.bottom-nav,.dashboard.shopping-view>.stage>.progress-return-dock,.dashboard.shopping-view>.stage>.result-action-dock{display:none!important}
.dashboard.shopping-view>.stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:12px!important;box-shadow:none!important;background:#170c38!important;overflow:hidden!important;display:flex!important}
.dashboard.shopping-view>.stage>.stage-scroll{padding:0!important;margin:0!important;overflow:hidden!important;flex:1!important;width:100%!important;height:100%!important;min-height:0!important}
.dashboard.shopping-view .shopping-fullscreen-shell{height:100%;width:100%;display:grid;grid-template-rows:46px 41px minmax(0,1fr);gap:4px;background:radial-gradient(ellipse at 60% 0,#63219d 0,#240c52 49%,#0e1035 100%);color:#fff;padding:4px;overflow:hidden;box-sizing:border-box}
.dashboard.shopping-view .shop-header-bar{margin:0!important;min-height:0!important;border-radius:10px!important;padding:3px 9px!important;box-shadow:none!important;background:linear-gradient(110deg,#141343,#47227f 55%,#1b1653)!important;border:1px solid #f4b950!important;gap:7px!important}
.dashboard.shopping-view .shop-header-title{font-size:clamp(16px,2.6vw,25px)!important;color:#fff3ce!important;white-space:nowrap!important;text-shadow:0 1px 4px #0008}
.dashboard.shopping-view .shop-return-btn{flex-shrink:0;background:linear-gradient(#5750a3,#25215c);border:1px solid #b6b3ee;border-radius:7px;padding:5px 8px;color:#fff;font-weight:950;cursor:pointer;font-size:12px;min-width:55px}
.dashboard.shopping-view .shop-return-btn:disabled{opacity:.5;cursor:not-allowed}
.dashboard.shopping-view .shop-balance-group{flex-wrap:nowrap!important;gap:5px!important;min-width:0}
.dashboard.shopping-view .shop-balance{background:#12123d!important;border:1px solid #d7b858!important;border-radius:8px!important;padding:4px 7px!important;font-size:clamp(10px,1.4vw,13px)!important;white-space:nowrap!important;gap:4px!important}
.dashboard.shopping-view .shop-balance b{color:#fffcd8!important}
.dashboard.shopping-view .shop-tab-row{margin:0!important;gap:5px!important;min-height:0!important}
.dashboard.shopping-view .shop-tab{min-height:0!important;padding:3px 7px!important;font-size:clamp(11px,1.55vw,14px)!important;line-height:1.1!important;border-radius:10px!important;border-width:1px!important}
.dashboard.shopping-view .shop-tab-active{box-shadow:0 0 6px #ffc72a7d!important}
.dashboard.shopping-view .shop-main-panel{min-height:0!important;height:100%!important;margin:0!important;padding:4px!important;border:1px solid #cf9d50!important;border-radius:10px!important;box-shadow:none!important;background:linear-gradient(135deg,#29175b,#381266 60%,#20104c)!important;overflow:hidden!important}
.dashboard.shopping-view .ssr-shop-layout{display:grid!important;grid-template-columns:minmax(105px,17%) minmax(0,1fr)!important;gap:5px!important}
.dashboard.shopping-view .amazoo-side-banner{min-height:0!important;padding:9px 6px!important;border-radius:8px!important;box-shadow:inset 0 0 0 1px #efc35d!important;background:radial-gradient(circle at 50% 10%,#8233a2,#220c50 80%)!important;gap:4px!important}
.dashboard.shopping-view .amazoo-side-title{font-size:clamp(14px,2vw,22px)!important;line-height:1.15!important;color:#fef2cc!important}
.dashboard.shopping-view .amazoo-side-copy{font-size:clamp(13px,1.9vw,20px)!important;line-height:1.07!important;color:#ffe349!important}
.dashboard.shopping-view .amazoo-selection{display:flex;flex-direction:column;gap:3px;padding:5px;border:1px solid #c68bff;border-radius:7px;background:#1b153f;min-height:0}
.dashboard.shopping-view .amazoo-picked-label{color:#fbe99f;font-size:9px;font-weight:900}
.dashboard.shopping-view .amazoo-selection strong{color:white;font-weight:950;font-size:clamp(11px,1.25vw,14px);line-height:1.18;overflow-wrap:anywhere}
.dashboard.shopping-view .amazoo-selection>span:last-child{color:#e4e6ff;font-size:clamp(9px,1.04vw,11px);line-height:1.26}
.dashboard.shopping-view .amazoo-side-meta{gap:2px!important;font-size:clamp(9px,1.1vw,11px)!important}
.dashboard.shopping-view .amazoo-side-meta span{padding:2px 4px!important}
.dashboard.shopping-view .amazoo-main-area{height:100%;min-height:0!important}
.dashboard.shopping-view .amazoo-product-grid{height:100%;min-height:0;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:4px!important}
.dashboard.shopping-view .ssr-art-card{position:relative;display:flex!important;min-height:0!important;flex-direction:column!important;gap:1px!important;padding:3px!important;background:linear-gradient(180deg,#4d1c73,#271341)!important;border:1px solid #f3bc50!important;border-radius:7px!important;box-shadow:0 0 3px #ffd04d66!important;color:#fff!important;overflow:hidden}
.dashboard.shopping-view .ssr-art-card.ssr-art-selected{border-color:#fff69c!important;box-shadow:inset 0 0 0 1px #fff4a2,0 0 8px #ffd84db6!important}
.dashboard.shopping-view .ssr-image-pick{display:block;position:relative;overflow:hidden;width:100%;border:0;padding:0;margin:0;background:#170d35;border-radius:5px;flex:1 1 auto;min-height:0;cursor:pointer}
.dashboard.shopping-view .ssr-art-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%}
.dashboard.shopping-view .ssr-image-rarity{position:absolute;top:2px;left:2px;background:linear-gradient(#ffeb97,#f5b426);border:1px solid #fff5c7;border-radius:3px;padding:0px 4px;color:#603600;font-weight:1000;font-size:8px}
.dashboard.shopping-view .ssr-card-info{display:flex;gap:3px;align-items:center;justify-content:space-between;min-height:15px!important}
.dashboard.shopping-view .ssr-card-info strong{font-size:clamp(9px,1.22vw,12px)!important;line-height:1.05!important;color:#ffe373!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.dashboard.shopping-view .ssr-owned{font-size:clamp(7px,.92vw,9px);white-space:nowrap;color:#fff;background:#39315a;border-radius:3px;padding:1px 3px}
.dashboard.shopping-view .ssr-card-effect{font-size:clamp(8px,1vw,10px);color:#e9f3ff;line-height:1.04;min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard.shopping-view .ssr-buy-btn{display:flex;align-items:center;justify-content:space-between;gap:1px;flex:0 0 17px;min-height:17px;margin:0;background:linear-gradient(180deg,#ff73a4,#d51c66);color:#fff;border:1px solid #ffb5cd;border-radius:4px;padding:1px 4px;cursor:pointer;font-weight:950;font-size:clamp(8px,1.05vw,11px);line-height:1}
.dashboard.shopping-view .ssr-buy-btn b{color:#fffde0;font-weight:1000;font-size:clamp(8px,1.05vw,10px)}
.dashboard.shopping-view .ssr-buy-btn:disabled{filter:grayscale(.8);opacity:.6;cursor:not-allowed}
.dashboard.shopping-view .shop-selection-info.compact{margin-bottom:5px!important;padding:4px 7px!important;background:#1f235a!important;color:#fff!important;border-color:#c5adef!important}
.dashboard.shopping-view .shop-selection-info.compact strong,.dashboard.shopping-view .shop-selection-info.compact span{color:#fff!important}
.dashboard.shopping-view .shop-draw-layout{height:calc(100% - 58px);min-height:0;grid-template-columns:minmax(0,1fr) minmax(220px,40%)}
.dashboard.shopping-view .shop-promo-card{min-height:0!important}
.dashboard.shopping-view .shop-draw-panel{min-height:0!important}
.dashboard.shopping-view .amazoo-confirm{position:fixed;z-index:9000;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,530px);max-height:86vh;overflow:auto;background:#fffaf0;border:4px solid #c99527;border-radius:18px;padding:16px;box-shadow:0 0 0 100vmax #06061cbb,0 14px 42px #0008;color:#243452}
.dashboard.shopping-view .amazoo-confirm h3{margin:0 0 7px!important;font-size:22px;color:#68371e}
.dashboard.shopping-view .amazoo-confirm p{margin:6px 0!important;line-height:1.35}
.dashboard.shopping-view .amazoo-confirm .act{font-size:15px!important;padding:8px 13px!important}
.dashboard.shopping-view .shopping-fullscreen-shell>.tutorial-shop-mini{position:absolute;top:43px;right:8px;z-index:4;font-size:10px;padding:1px 6px;background:#e6f1ff;color:#142d51;border-radius:5px}
@media(max-height:390px) and (orientation:landscape){.dashboard.shopping-view .shopping-fullscreen-shell{grid-template-rows:39px 36px minmax(0,1fr);gap:3px;padding:3px}.dashboard.shopping-view .shop-main-panel{padding:3px!important}.dashboard.shopping-view .ssr-art-card{padding:2px!important;gap:1px!important}.dashboard.shopping-view .shop-tab{font-size:11px!important}.dashboard.shopping-view .ssr-card-info{min-height:12px!important}.dashboard.shopping-view .ssr-buy-btn{flex-basis:15px;min-height:15px}}
@media(orientation:portrait){.dashboard.shopping-view{height:auto!important;min-height:100dvh!important}.dashboard.shopping-view .shopping-fullscreen-shell{height:calc(100dvh - 10px)}.dashboard.shopping-view .ssr-shop-layout{grid-template-columns:1fr!important;overflow:auto!important}.dashboard.shopping-view .amazoo-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important}.dashboard.shopping-view .amazoo-side-banner{display:none}}


/* original style block 35/96 */

main#app:has(.dashboard.shopping-view){padding:0!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}
body:has(.dashboard.shopping-view){overflow:hidden!important}
.dashboard.shopping-view{height:100%!important}
.dashboard.shopping-view>.stage>.thumb-action-dock,.dashboard.shopping-view>.stage>.meeting-fixed-dock,.dashboard.shopping-view>.stage>.meeting-footer,.dashboard.shopping-view>.stage>.month-next-dock{display:none!important}
.dashboard.shopping-view>.stage>.stage-scroll{height:100%!important;overflow:hidden!important}
.dashboard.shopping-view .shopping-fullscreen-shell{height:100%!important}
.dashboard.shopping-view .ssr-image-pick{flex-basis:63px}
.dashboard.shopping-view .ssr-image-pick .ssr-art-image{object-position:center 45%}


/* original style block 36/96 */

/* Keep the fixed event flow accurate when we insert a ceremony before week one. */
.opening-phase-flow{grid-template-columns:repeat(5,minmax(0,1fr))}
.opening-phase-flow span{overflow-wrap:anywhere}
.result-action-dock.ceremony-skip-dock{background:#ebefff;border-color:#8598d8;color:#223875}
.result-action-dock.ceremony-skip-dock .act{background:linear-gradient(180deg,#596fd5,#334eac);border-color:#2b3d83;color:#fff;font-weight:950;box-shadow:0 2px 0 #263774}
.result-action-dock.ceremony-skip-dock .act:focus-visible{outline:3px solid #fbd674;outline-offset:2px}
.entrance-ceremony-panel{border:2px solid #97b0dc;background:linear-gradient(160deg,#f7faff,#eef4ff)}
.entrance-ceremony-panel .opening-scene-title{color:#284c89}
@media(max-width:850px) and (orientation:landscape){.opening-phase-flow{gap:2px;padding:4px}.opening-phase-flow span{font-size:10px;padding:3px 1px}.entrance-ceremony-panel{padding:9px 11px}}


/* original style block 37/96 */

/* Fixed position in the information hierarchy: receipt directly under company sale cart. */
.stage-scroll .sale-receipt-panel{
 margin:8px 0 14px;padding:11px 14px;border:2px solid #2e7c60;border-radius:12px;
 background:#effbf4;color:#122f24;box-shadow:0 4px 14px #163d271f;
}
.stage-scroll .sale-receipt-top{display:flex;gap:9px;align-items:center;margin-bottom:8px}
.stage-scroll .sale-receipt-top>div{display:flex;flex-direction:column;gap:1px}
.stage-scroll .sale-receipt-top strong{font-size:clamp(14px,1.6vw,19px);color:#174f38;font-weight:900}
.stage-scroll .sale-receipt-top span:not(.sale-receipt-check){color:#396651;font-size:12px}
.stage-scroll .sale-receipt-check{display:inline-grid;place-items:center;min-width:25px;height:25px;border-radius:50%;background:#267d50;color:white;font-weight:900}
.stage-scroll .sale-receipt-total{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#ddf3e8;padding:8px 11px;border-radius:8px;border:1px solid #94c9af;color:#234936}
.stage-scroll .sale-receipt-total span{font-weight:800;font-size:clamp(12px,1.3vw,16px)}
.stage-scroll .sale-receipt-total strong{font-size:clamp(20px,2.7vw,30px);font-variant-numeric:tabular-nums;color:#12683e;white-space:nowrap}
.stage-scroll .sale-receipt-balance{font-size:clamp(11px,1.25vw,15px);color:#2c4b39;margin:7px 2px;font-weight:650}
.stage-scroll .sale-receipt-balance b{color:#154a31;white-space:nowrap}
.stage-scroll .sale-receipt-details{border:1px solid #b3d1c0;border-radius:7px;margin:5px 0 8px;padding:5px 9px;background:#fff}
.stage-scroll .sale-receipt-details summary{color:#244f3d;cursor:pointer;font-size:12px;font-weight:700}
.stage-scroll .sale-receipt-line{display:flex;justify-content:space-between;gap:9px;padding:4px 0;font-size:12px;color:#244134;border-bottom:1px solid #dfede4}
.stage-scroll .sale-receipt-line strong{white-space:nowrap;color:#20563c}
.stage-scroll .sale-receipt-extra{font-size:11px;color:#526d5f}
.stage-scroll .sale-receipt-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}
.stage-scroll .sale-receipt-actions span{color:#365a47;font-size:11px}
.stage-scroll .sale-receipt-actions #saleReceiptClose{background:linear-gradient(#ffe6a2,#f8c04b);border:1px solid #b88722;color:#422b12;min-width:118px;font-weight:900;min-height:36px}
.stage-scroll .sale-receipt-note{font-size:10px;color:#536758;margin:6px 0 0}
.sale-receipt-pending .meeting-tab-body>.itemrow,.sale-receipt-pending .meeting-tab-body>h3,.sale-receipt-pending .meeting-end{opacity:.55}
.sale-receipt-pending .meeting-fixed-tabs button:disabled,.sale-receipt-pending .sale-cart-panel button:disabled{opacity:.42;cursor:not-allowed}
.stage-scroll #saleReceiptClose:focus-visible{outline:3px solid #d89923;outline-offset:3px}
@media(max-height:450px) and (orientation:landscape){
 .stage-scroll .sale-receipt-panel{margin:5px 0 7px;padding:7px 10px}
 .stage-scroll .sale-receipt-top{margin-bottom:4px}
 .stage-scroll .sale-receipt-total{padding:4px 8px}
 .stage-scroll .sale-receipt-balance{margin:4px 1px}
 .stage-scroll .sale-receipt-actions #saleReceiptClose{min-height:29px}
 .stage-scroll .sale-receipt-note{margin-top:3px}
}

/* While acknowledging a sale, the former sticky cart must not obscure its receipt. */
.sale-receipt-pending .sale-cart-panel.sale-cart-sold{position:static;z-index:auto;margin:0 0 4px;padding:4px 8px;min-height:0;box-shadow:none;border-width:1px;gap:4px}
.sale-receipt-pending .sale-cart-panel.sale-cart-sold>div{display:flex;justify-content:space-between;align-items:center;gap:9px;width:100%;font-size:12px}
.sale-receipt-pending .sale-cart-panel.sale-cart-sold>div span{font-size:11px;color:#5c5e48}
.sale-receipt-pending .sale-receipt-panel{position:relative;z-index:8}
@media(max-height:450px) and (orientation:landscape){
 .sale-receipt-pending .sale-cart-panel.sale-cart-sold{margin:0 0 3px;padding:3px 8px}
 .stage-scroll .sale-receipt-panel{margin:3px 0 5px;padding:5px 8px}
 .stage-scroll .sale-receipt-top{margin-bottom:2px}
 .stage-scroll .sale-receipt-top strong{font-size:13px}
 .stage-scroll .sale-receipt-top span:not(.sale-receipt-check){font-size:10px}
 .stage-scroll .sale-receipt-check{min-width:19px;height:19px}
 .stage-scroll .sale-receipt-total{padding:1px 7px}
 .stage-scroll .sale-receipt-total strong{font-size:19px}
 .stage-scroll .sale-receipt-total span{font-size:12px}
 .stage-scroll .sale-receipt-balance{font-size:11px;margin:2px 1px}
 .stage-scroll .sale-receipt-details{padding:1px 7px;margin:2px 0 4px}
 .stage-scroll .sale-receipt-details summary{font-size:10px}
 .stage-scroll .sale-receipt-actions span{font-size:10px}
 .stage-scroll .sale-receipt-actions #saleReceiptClose{min-height:27px}
 .stage-scroll .sale-receipt-note{display:none}
}

@media(max-height:450px) and (orientation:landscape){
 /* A 375px-high phone has only about 135px in the central pane. */
 .sale-receipt-pending .sale-cart-panel.sale-cart-sold{height:24px;min-height:24px;margin:0 0 2px;padding:2px 7px;line-height:1}
 .sale-receipt-pending .sale-cart-panel.sale-cart-sold>div{min-height:0;font-size:11px}
 .sale-receipt-pending .sale-cart-panel.sale-cart-sold>div span{display:none}
 .stage-scroll .sale-receipt-panel{position:relative;margin:2px 0 2px;padding:5px 8px}
 .stage-scroll .sale-receipt-details{display:none}
 .stage-scroll .sale-receipt-top{min-height:24px;padding-right:97px;margin:0 0 3px}
 .stage-scroll .sale-receipt-top strong{font-size:12px}
 .stage-scroll .sale-receipt-top span:not(.sale-receipt-check){font-size:10px}
 .stage-scroll .sale-receipt-total{padding:1px 7px;min-height:27px}
 .stage-scroll .sale-receipt-total strong{font-size:18px}
 .stage-scroll .sale-receipt-balance{margin:3px 1px 0;font-size:10px}
 .stage-scroll .sale-receipt-actions{position:absolute;right:8px;top:5px}
 .stage-scroll .sale-receipt-actions span{display:none}
 .stage-scroll .sale-receipt-actions #saleReceiptClose{min-width:86px;min-height:27px;padding:2px 6px;font-size:12px}
}


/* original style block 38/96 */

/* Presentation only: normal holiday labels use equal-size icons even with a 2-line title. */
.holiday-normal-choices{align-items:stretch!important;grid-auto-rows:1fr!important}
.holiday-normal-choices>.holiday-effect-choice{
  box-sizing:border-box!important;height:92px!important;min-height:92px!important;max-height:92px!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;
}
.holiday-normal-choices .holiday-action-top{align-items:center!important;text-align:center!important;width:100%!important}
.holiday-normal-choices .holiday-action-top .holiday-normal-name{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;white-space:normal!important;min-height:2.1em!important;
  width:100%!important;line-height:1.08!important;font-size:clamp(12px,1.35vw,16px)!important;
  overflow-wrap:normal!important;word-break:keep-all!important;
}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .holiday-normal-choices>.holiday-effect-choice{
   height:81px!important;min-height:81px!important;max-height:81px!important;
 }
 .dashboard.base-layout .stage .holiday-normal-choices .holiday-action-top .holiday-normal-name{
   font-size:12px!important;min-height:2.1em!important;line-height:1.05!important;
 }
}
@media(max-width:699px){
 .holiday-normal-choices>.holiday-effect-choice{height:96px!important;min-height:96px!important;max-height:96px!important}
}


/* original style block 39/96 */

/* Full-screen transparent hit zones over the player's accepted 1846 x 852 source artwork.
   No shopping transactions are baked into the image: monetary overlays and buttons use live S state. */
.dashboard.shopping-view .premium-equipment-shell{position:relative;isolation:isolate;display:block!important;width:100%;height:100%;min-height:0;overflow:hidden;background:#091733;box-sizing:border-box;}
.dashboard.shopping-view .premium-equipment-art{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:fill;pointer-events:none;user-select:none}
.dashboard.shopping-view .premium-hit{position:absolute;display:block;margin:0;padding:0;border:none;border-radius:6px;background:transparent;z-index:3;cursor:pointer;color:transparent;font-size:0;}
.dashboard.shopping-view .premium-hit:focus-visible{outline:3px solid #ffed75;outline-offset:-3px;background:#f9ca142e}
.dashboard.shopping-view .premium-hit:disabled{cursor:not-allowed;opacity:.28;background:rgba(18,19,28,.18);}
.dashboard.shopping-view .premium-return{left:90.6%;top:0.2%;width:9.1%;height:8.5%}
.dashboard.shopping-view .premium-tab-equipment{left:3.5%;top:10.5%;width:30.2%;height:10%}
.dashboard.shopping-view .premium-tab-skill{left:34.3%;top:10.5%;width:30.3%;height:10%}
.dashboard.shopping-view .premium-tab-amazoo{left:65.1%;top:10.5%;width:31%;height:10%}
.dashboard.shopping-view .premium-buy-one{left:32.5%;top:75.3%;width:29.6%;height:17.4%;border-radius:9vw}
.dashboard.shopping-view .premium-buy-ten{left:62.3%;top:75.3%;width:30.4%;height:17.4%;border-radius:9vw}
.dashboard.shopping-view .premium-buy-one:disabled,.dashboard.shopping-view .premium-buy-ten:disabled{background:rgba(5,7,17,.48)}
.dashboard.shopping-view .premium-active-draw{box-shadow:inset 0 0 0 3px #fff899,0 0 22px #fff30b;}
.dashboard.shopping-view .premium-tutorial-draw{animation:premium-pulse 1.5s infinite;}
@keyframes premium-pulse{50%{box-shadow:inset 0 0 0 4px #fff279,0 0 24px #fff20d;}}
.dashboard.shopping-view .premium-live-balance{z-index:2;position:absolute;top:1.65%;height:6.6%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:.4em;background:linear-gradient(#111520,#02060d);box-shadow:inset 0 0 6px #01040a;border-radius:4px;color:#fff4d1;text-shadow:0 1px 3px #000;font-size:clamp(10px,1.75vw,30px);font-weight:800;white-space:nowrap;letter-spacing:-.025em}
.dashboard.shopping-view .premium-live-balance b{color:white}
.dashboard.shopping-view .premium-live-wallet{left:32.4%;width:19.4%;}
.dashboard.shopping-view .premium-live-vouchers{left:58.3%;width:22%;}
.dashboard.shopping-view .premium-live-price{position:absolute;z-index:4;pointer-events:none;height:9.7%;top:83.25%;border-radius:99px;background:linear-gradient(90deg,#14234e,#050b2a 50%,#152756);box-shadow:inset 0 0 3px #000;color:#fff;font-size:clamp(10px,2vw,32px);font-weight:900;text-shadow:0 2px 3px black;display:flex;align-items:center;justify-content:center;white-space:nowrap}
.dashboard.shopping-view .premium-price-one{left:39.1%;width:16.7%;}
.dashboard.shopping-view .premium-price-ten{left:68.7%;width:17.1%;background:linear-gradient(90deg,#470931,#20021b 50%,#550636)}
.dashboard.shopping-view .premium-ticket-note{position:absolute;bottom:7.5%;left:10%;z-index:2;pointer-events:none;font-size:clamp(8px,1.1vw,18px);color:#fff2ae;text-shadow:0 1px 3px #000}
.dashboard.shopping-view .premium-ticket-note[hidden]{display:none}
.dashboard.shopping-view .premium-equipment-review{position:absolute;z-index:5;left:5.1%;bottom:5.7%;width:25.7%;min-height:19%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:.6% .8%;background:linear-gradient(#061b41ee,#050d24f5);border:2px solid #ffd35c;border-radius:12px;box-shadow:0 0 12px #ffe16c;color:white;text-align:center;font-size:clamp(8px,1.12vw,18px)}
.dashboard.shopping-view .premium-review-title{font-weight:900;color:#ffe29b;font-size:1.2em}
.dashboard.shopping-view .premium-review-meta{color:#e6f2ff;font-size:.82em;white-space:nowrap}
.dashboard.shopping-view .premium-review-actions{display:flex;gap:5px;justify-content:center}
.dashboard.shopping-view .premium-review-actions button{font-size:inherit;line-height:1.1;padding:4px 8px;color:#fff;background:#304774;border:1px solid #a9cae8;border-radius:8px;cursor:pointer;white-space:nowrap}
.dashboard.shopping-view .premium-review-actions .premium-final-buy{color:#2b1200;background:linear-gradient(#fff2b2,#f5aa20);border-color:#ffea84;font-weight:900}
@media(max-height:400px) and (orientation:landscape){.dashboard.shopping-view .premium-equipment-review{gap:1px;border-width:1px;border-radius:6px}.dashboard.shopping-view .premium-review-actions button{padding:2px 6px}.dashboard.shopping-view .premium-live-price{top:83.25%}}


/* original style block 40/96 */

/* Numerical outcomes are a deliberate, single-action acknowledgment step. */
.numeric-result-overlay{position:fixed;inset:0;z-index:11000;display:flex;align-items:center;justify-content:center;background:rgba(12,26,44,.78);padding:clamp(8px,2.2vh,20px);box-sizing:border-box;}
.numeric-result-dialog.panel.main{position:relative;box-sizing:border-box;display:block;width:min(760px,100%);max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain;margin:0;padding:clamp(12px,2vw,24px);border-radius:14px;border:3px solid #326aa7;background:#f7fbff;color:#162c49;box-shadow:0 16px 55px rgba(4,20,42,.45);}
.numeric-result-dialog h2,.numeric-result-dialog h3,.numeric-result-dialog strong{color:#153e65}
.numeric-result-dialog .report-entry{background:#ecf5ff;border:1px solid #bad1e9;color:#142e4e}
.numeric-result-dialog .eyebrow{color:#1d5b95;font-weight:800}
.numeric-result-dialog .numeric-result-hint{color:#38536f;font-size:clamp(11px,1.5vw,14px);margin:10px 0}
.numeric-result-dialog button.primary{width:100%;min-height:42px;background:#175a9e;color:#fff;border-color:#15528f;font-weight:850}
.numeric-result-dialog button.primary:focus-visible{outline:3px solid #f0ad42;outline-offset:3px}
@media (max-height:450px){.numeric-result-dialog.panel.main{max-height:calc(100dvh - 12px);padding:10px 16px}.numeric-result-dialog .report-entry{padding:5px 8px}.numeric-result-dialog h2{margin:3px 0}.numeric-result-dialog h3{margin:6px 0}.numeric-result-dialog p{margin:5px 0}}

/* v13.7.129: one initial conference event, three dialogue scenes. */
.meeting-tutorial-compact .meeting-fixed-slots,.meeting-tutorial-compact .first-meeting-fixed-title{display:none}
.first-meeting-fixed-title{padding:3px 7px;font-size:12px;font-weight:900;color:#234d73;background:#eaf3ff}
.merokari-listing{border:2px solid #dbdce5;background:#fff;color:#1d2d42;padding:10px;border-radius:12px;margin:8px 0 12px}.merokari-brand{color:#dd4e4e;font-size:12px;font-weight:900;padding-bottom:6px;border-bottom:1px solid #eee}.merokari-product{display:flex;align-items:center;gap:12px;padding:8px 0}.merokari-icon{width:74px;height:67px;background:#e6edf6;border-radius:7px;font-size:34px;display:grid;place-items:center}.merokari-product strong{color:#172e43}.merokari-price{color:#ca3333;font-size:24px;font-weight:950}.merokari-product small{color:#49647e}.merokari-listing p{font-size:12px;margin:4px 0;color:#334e63}
.tutorial-shop-mini{background:#e9f4ff;border-left:4px solid #1273bd;border-radius:7px;padding:7px 9px;color:#214e73;font-size:12px;margin:4px 0 8px}
.first-meeting-dialog{background:#fff9e8;border:2px solid #e6ad35;border-left:7px solid #d79a1c;border-radius:13px;padding:12px 14px;margin:10px 0 12px;color:#263548;box-shadow:0 5px 15px #39230928}
.first-meeting-label{font-size:11px;font-weight:900;color:#855400;letter-spacing:.03em}
.first-meeting-speaker{color:#184e7a;font-weight:1000;margin:8px 0 3px;font-size:14px}
.first-meeting-dialog p{color:#253747;margin:4px 0 10px;line-height:1.6;font-size:clamp(12px,1.6vw,15px)}
.first-meeting-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.first-meeting-actions .act{min-width:126px;min-height:42px}
.first-meeting-hint{font-size:11px!important;color:#775f3d!important}
.meeting-fixed-tabs button.first-meeting-spotlight{color:#1b260b!important;background:linear-gradient(140deg,#fff2b2,#ffcd41)!important;border:3px solid #db8c00!important;box-shadow:0 0 0 3px #f6d65e88,0 0 16px #ffb800af!important;opacity:1!important;animation:meeting-sheen 1.5s ease-in-out infinite alternate}
.meeting-fixed-tabs button.first-meeting-spotlight:disabled{opacity:1!important}
.meeting-fixed-tabs button:disabled:not(.first-meeting-spotlight){opacity:.52;cursor:not-allowed}
.first-meeting-preview{opacity:.55;filter:saturate(.6);pointer-events:none}
@keyframes meeting-sheen{from{box-shadow:0 0 0 2px #f6d65e70,0 0 6px #ffb80088}to{box-shadow:0 0 0 3px #f6d65ebb,0 0 17px #ffb800ee}}
@media (max-height:440px) and (orientation:landscape){.first-meeting-dialog{padding:7px 11px;margin:4px 0 6px}.first-meeting-dialog p{margin:2px 0 5px;line-height:1.4}.first-meeting-speaker{margin:3px 0 1px}.first-meeting-actions{margin:3px 0}.first-meeting-actions .act{min-height:34px}}


/* original style block 41/96 */

/* handdraft-layout-work-only */

/* Hand-drawn reference layout. Display-only and active ONLY for business choice in landscape. */
@media (orientation:landscape) and (min-width:700px){
  .dashboard.base-layout {
    grid-template-columns:minmax(0,69fr) minmax(0,15.5fr) minmax(0,15.5fr);
    grid-template-rows:34px minmax(0,1fr) 74px 63px;
    gap:5px;
  }
  .dashboard.base-layout .core-head,
  .dashboard.base-layout .core-head:has(.week-flow){
    grid-area:1 / 1 / 2 / 2;
    display:flex;
    flex-direction:column;
    gap:0;
    min-height:0!important;
    height:34px;
    padding:0;
  }
  .dashboard.base-layout .core-head .top-ability{display:none!important}
  .dashboard.base-layout .core-head .week-flow{height:34px;min-height:34px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:0;margin:0;}
  .dashboard.base-layout .core-head .week-flow-step{padding:1px 0;min-height:0;line-height:1.03;font-size:10px;border-radius:8px}
  .dashboard.base-layout .core-head .week-flow-mark{display:none!important;}
  .dashboard.base-layout .core-head .week-flow-label{gap:0;line-height:1.03}
  .dashboard.base-layout .core-head .week-flow-label strong{font-size:11px;line-height:1.05}
  .dashboard.base-layout .core-head .week-flow-label small{font-size:8px;line-height:1.05;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
  .dashboard.base-layout .stage{grid-area:2 / 1 / 4 / 2;min-height:0;min-width:0}
  .dashboard.base-layout .stage .stage-scroll{padding:5px 7px;overflow-y:auto;scrollbar-width:none;}
  .dashboard.base-layout .stage .stage-scroll::-webkit-scrollbar{display:none}
  .dashboard.base-layout .stage .job-screen{display:flex;flex-direction:column;gap:5px;min-height:0;height:100%;}
  .dashboard.base-layout .stage .job-lead{
    flex:0 0 52px;min-height:0;
    display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:8px;align-items:center;
  }
  .dashboard.base-layout .stage .job-current{min-width:0;justify-content:center;}
  .dashboard.base-layout .stage .job-stage-label{display:none;}
  .dashboard.base-layout .stage .job-selected-name{font-size:clamp(22px,3.2vw,29px);line-height:1.04;padding:2px 0 3px;border-bottom:3px solid #f3d28b;}
  .dashboard.base-layout .stage .job-selected-code{font-size:10px;line-height:1.1;padding-top:3px;}
  .dashboard.base-layout .stage .job-points{min-height:46px;max-height:50px;border-radius:8px;}
  .dashboard.base-layout .stage .job-points small{font-size:10px;padding:3px 0;line-height:1;}
  .dashboard.base-layout .stage .job-points strong{font-size:17px;padding:3px 0 1px;line-height:1.06;}
  .dashboard.base-layout .stage .job-points em{font-size:10px;min-height:auto;padding-bottom:2px;line-height:1.05;}
  .dashboard.base-layout .stage .jobs-row{
    flex:1 1 auto;min-height:118px;max-height:none;
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5px;margin:0;
  }
  .dashboard.base-layout .stage .job-bubble{
    aspect-ratio:auto;width:100%;height:100%;min-height:0;
    border-radius:13px;padding:2px 2px;gap:0;
    border-width:2px;box-shadow:inset 0 0 0 2px #ffffffc9,0 1px 3px #17396324;
  }
  .dashboard.base-layout .stage .job-bubble.active{transform:none;box-shadow:0 0 0 2px #e8aa24,inset 0 0 0 2px #fff;}
  .dashboard.base-layout .stage .job-bubble .symbol{font-size:17px;line-height:1;}
  .dashboard.base-layout .stage .job-bubble .name{font-size:12px;line-height:1.1;}
  .dashboard.base-layout .stage .job-bubble .risk{font-size:9px;line-height:1.07;white-space:nowrap;}
  .dashboard.base-layout .stage .job-bubble .level{font-size:10px;line-height:1.07;}
  .dashboard.base-layout .stage .job-details{
    flex:0 0 43px;min-width:0;min-height:0;position:static;margin:0;
    padding:4px 7px;display:flex;align-items:center;gap:7px;
  }
  .dashboard.base-layout .stage .job-details strong{font-size:12px;}
  .dashboard.base-layout .stage .job-details p{display:block;font-size:9px;line-height:1.2;margin:2px 0 0;max-height:23px;overflow:hidden}
  .dashboard.base-layout .stage .job-commit{font-size:12px;min-height:33px;padding:3px 7px;border-radius:9px;white-space:nowrap;}

  .dashboard.base-layout .side{
    grid-area:1 / 3 / 3 / 4;display:flex;flex-direction:column;gap:0;
    overflow:hidden;min-height:0;padding:5px;
    border-radius:13px;border-width:2px;box-shadow:0 3px 0 #9cacbb;
  }
  .dashboard.base-layout .side-date{font-size:10px;white-space:normal;line-height:1.15;padding:7px 3px;border-radius:8px;}
  .dashboard.base-layout .side-line{font-size:9px;line-height:1.08;padding:8px 2px;gap:3px;}
  .dashboard.base-layout .side-line span{flex:1;}
  .dashboard.base-layout .side-line strong{font-size:11px;white-space:nowrap;}
  .dashboard.base-layout .side-bars,.dashboard.base-layout .side-note{display:none!important;}

  .dashboard.base-layout .abilities-sketch{
    grid-area:1 / 2 / 3 / 3;display:flex;flex-direction:column;
    min-height:0;overflow:hidden;gap:3px;
    border:2px solid #90a9d5;border-radius:13px;background:#eaf2fc;
    padding:5px 5px 6px;
    box-shadow:0 3px 0 #a7b8ce;color:#21456d;
  }
  .dashboard.base-layout .abilities-sketch-title{font-size:11px;font-weight:950;text-align:center;padding:4px 0;background:#d9e7fb;border:1px solid #9fbadd;border-radius:8px;white-space:nowrap;}
  .dashboard.base-layout .abilities-sketch-list{display:grid;grid-template-rows:repeat(6,minmax(0,1fr));gap:3px;min-height:0;flex:1;}
  .dashboard.base-layout .abilities-sketch-row{display:flex;justify-content:space-between;align-items:center;min-width:0;gap:3px;background:#fff;border:1px solid #b4c8e8;border-radius:8px;padding:2px 4px;font-size:10px;font-weight:850;white-space:nowrap;}
  .dashboard.base-layout .abilities-sketch-row b{font-size:11px;display:flex;align-items:center;gap:2px;}
  .dashboard.base-layout .abilities-sketch-row .ability-grade{font-size:9px;margin-right:0;padding:0 3px;}
  .dashboard.base-layout .vitals-sketch{
    grid-area:3 / 2 / 4 / 4;min-height:0;
    display:grid;grid-template-rows:1fr 1fr;gap:3px;
    background:#f2f7ff;border:2px solid #7295bf;border-radius:12px;
    padding:5px 7px;box-shadow:0 3px 0 #9aacbe;
  }
  .dashboard.base-layout .vitals-sketch-item{min-height:0;display:flex;flex-direction:column;gap:2px;justify-content:center;}
  .dashboard.base-layout .vitals-sketch-item .vitals-label{display:flex;justify-content:space-between;align-items:center;color:#183251;font-weight:950;font-size:11px;line-height:1;}
  .dashboard.base-layout .vitals-sketch-track{height:8px;border-radius:99px;border:1px solid #91a6bd;background:#dfe7f1;overflow:hidden;}
  .dashboard.base-layout .vitals-sketch-fill{height:100%;background:linear-gradient(#8ddc6c,#35a05a);border-radius:99px;}
  .dashboard.base-layout .vitals-sketch-item:nth-child(2) .vitals-sketch-fill{background:linear-gradient(#7acbed,#2695c9);}
  .dashboard.base-layout .bottom-nav{grid-area:4 / 1 / 5 / 4;min-height:0;gap:5px;padding:5px;border-radius:14px;}
  .dashboard.base-layout .nav-item{font-size:11px;border-radius:10px;padding:2px 0;gap:1px;}
  .dashboard.base-layout .nav-item .nav-ico{font-size:18px;}
}

/* handdraft-narrow-ability-override */

/* Only the UI prototype changes; source v13.7.130 remains untouched. */
@media (orientation:landscape) and (min-width:700px){
 .dashboard.base-layout{
   grid-template-columns:minmax(0,73fr) minmax(0,10fr) minmax(0,17fr);
 }
 .dashboard.base-layout .abilities-sketch{
   padding:4px 3px 5px;gap:2px;min-width:0;border-width:2px;
 }
 .dashboard.base-layout .abilities-sketch-title{
   font-size:10px;letter-spacing:-.055em;padding:4px 0;white-space:nowrap;
 }
 .dashboard.base-layout .abilities-sketch-list{gap:3px;}
 .dashboard.base-layout .abilities-sketch-row{
   gap:1px;padding:2px 2px;font-size:9px;letter-spacing:-.02em;
 }
 .dashboard.base-layout .abilities-sketch-row b{
   font-size:10px;gap:1px;
 }
 .dashboard.base-layout .abilities-sketch-row .ability-grade{
   padding:0 2px;font-size:9px;border-radius:5px;
 }
 .dashboard.base-layout .side-line{font-size:10px;}
 .dashboard.base-layout .side-line strong{font-size:11px;}
}

/* ability-full-label-rank-aligned-preview */

@media (orientation: landscape) and (min-width:700px) {
  .dashboard.base-layout{
    grid-template-columns:minmax(0,70fr) minmax(0,13fr) minmax(0,17fr);
  }
  .dashboard.base-layout .abilities-sketch{padding:4px 3px 5px;gap:2px;}
  .dashboard.base-layout .abilities-sketch-title{font-size:10px;letter-spacing:-.04em;padding:4px 1px;}
  .dashboard.base-layout .abilities-sketch-list{gap:3px;}
  .dashboard.base-layout .abilities-sketch-row{
    display:grid;grid-template-columns:6em max-content;justify-content:start;align-items:center;
    column-gap:2px;padding:2px 3px;font-size:9px;letter-spacing:-.025em;
    overflow:hidden;white-space:nowrap;
  }
  .dashboard.base-layout .abilities-sketch-row>span{font-size:9px;white-space:nowrap;}
  .dashboard.base-layout .abilities-sketch-row>b{font-size:10px;white-space:nowrap;gap:1px;}
  .dashboard.base-layout .abilities-sketch-row .ability-grade{font-size:9px;padding:0 2px;margin:0;}
}

/* weekinfo-compact-force-override */

@media (orientation: landscape) and (min-width:700px) {
  .dashboard.base-layout{grid-template-columns:minmax(0,76fr) minmax(0,13fr) minmax(0,11fr)!important;}
  .dashboard.base-layout .side{padding:4px!important;gap:4px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;}
  .dashboard.base-layout .side-date{font-size:10px!important;line-height:1.08!important;padding:5px 2px!important;border-radius:8px!important;white-space:normal!important;}
  .dashboard.base-layout .compact-weekinfo{display:flex!important;flex-direction:column!important;gap:4px!important;}
  .dashboard.base-layout .compact-week-card{border:1px solid #c7d4e4;border-radius:8px;background:#fff;padding:4px 3px;text-align:center;box-shadow:inset 0 1px 0 #fff;}
  .dashboard.base-layout .compact-week-card .wk-label{display:block;font-size:9px;line-height:1.05;color:#4b6586;font-weight:850;margin-bottom:2px;}
  .dashboard.base-layout .compact-week-card .wk-value{display:block;font-size:11px;line-height:1.05;color:#17365d;font-weight:950;overflow-wrap:anywhere;}
  .dashboard.base-layout .compact-week-card.money .wk-value{font-size:10px;letter-spacing:-.01em;}
}

/* week-strip-shortage-prototype */

@media (orientation:landscape) and (min-width:700px){
 .dashboard.base-layout{
   grid-template-rows:27px minmax(0,1fr) 74px 63px !important;
 }
 .dashboard.base-layout .core-head,
 .dashboard.base-layout .core-head:has(.week-flow){
   height:27px!important; min-height:27px!important; max-height:27px!important;
   display:flex!important; justify-content:flex-start; align-items:flex-start;
 }
 .dashboard.base-layout .core-head .week-flow{
   display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important;
   width:100%!important; max-width:none!important; height:27px!important;
   min-height:27px!important; gap:3px!important; padding:0!important;
   margin:0!important;
 }
 .dashboard.base-layout .core-head .week-flow-step{
   padding:1px 1px!important; font-size:10px!important; line-height:1.0!important;
   border-radius:6px!important; min-height:0!important;
 }
 .dashboard.base-layout .core-head .week-flow-label{gap:0!important;}
 .dashboard.base-layout .core-head .week-flow-label strong,
 .dashboard.base-layout .core-head .week-flow-step.active .week-flow-label strong{
   font-size:10px!important; line-height:1.05!important;
 }
 .dashboard.base-layout .core-head .week-flow-label small,
 .dashboard.base-layout .core-head .week-flow-step.active .week-flow-label small{
   font-size:8px!important; line-height:1.0!important;
 }
 .dashboard.base-layout .side{gap:3px!important;}
 .dashboard.base-layout .compact-week-card{padding:3px 2px!important;}
 .dashboard.base-layout .compact-week-card .wk-label{font-size:9px!important; margin-bottom:1px!important;}
 .dashboard.base-layout .compact-week-card .wk-value{font-size:11px!important;}
 .dashboard.base-layout .compact-week-card.money .wk-value{font-size:10px!important;}
}

/* work-five-across-classroom-preview */

/* Isolated work-screen preview. Game engine and original v13.7.130 are unchanged. */
@media (orientation:landscape) and (min-width:700px){
 .dashboard.base-layout .stage .stage-scroll{overflow-y:hidden;padding:5px 7px;}
 .dashboard.base-layout .stage .job-screen{
  position:relative;isolation:isolate;min-height:0;height:100%;
  display:flex;flex-direction:column;gap:4px;
 }
 .dashboard.base-layout .stage .work-room-layer{
  position:absolute;top:54px;bottom:38px;left:0;right:0;
  z-index:-1;overflow:hidden;opacity:.85;pointer-events:none;
 }
 .dashboard.base-layout .stage .work-room-layer .room-illustration{
  width:100%;height:100%;min-height:0;border-radius:10px;border-width:2px;
 }
 .dashboard.base-layout .stage .work-room-layer .room-blackboard{font-size:11px;}
 .dashboard.base-layout .stage .work-room-layer .room-desk{height:13px;}
 .dashboard.base-layout .stage .job-lead{
  flex:0 0 52px;position:relative;z-index:1;background:rgba(255,253,248,.96);
  border-radius:9px;padding:1px 3px;
 }
 .dashboard.base-layout .stage .jobs-row{
  flex:0 0 72px;min-height:72px;max-height:72px;
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:1fr;gap:6px;
  position:relative;z-index:1;margin:0;
 }
 .dashboard.base-layout .stage .jobs-row .job-bubble{
  min-height:0;max-height:72px;height:100%;border-radius:26px;
  padding:4px 1px;gap:1px;background:linear-gradient(160deg,#fffffff0,var(--j-bg,#e7f2fc));
  box-shadow:0 2px 7px #1c325358,inset 0 0 0 2px #ffffffc9;
 }
 .dashboard.base-layout .stage .jobs-row .job-bubble .symbol{font-size:17px;line-height:1;}
 .dashboard.base-layout .stage .jobs-row .job-bubble .name{font-size:12px;line-height:1.12;}
 .dashboard.base-layout .stage .jobs-row .job-bubble .risk{font-size:8px;line-height:1.15;}
 .dashboard.base-layout .stage .jobs-row .job-bubble .level{font-size:10px;line-height:1;}
 .dashboard.base-layout .stage .job-details{
  margin-top:auto;position:relative;z-index:1;flex:0 0 43px;
  background:rgba(239,245,254,.97);border:1px solid #b7cbe0;
  gap:6px;min-width:0;
 }
 .dashboard.base-layout .stage .job-details>div:first-child{flex:1;min-width:0;}
 .dashboard.base-layout .stage .job-details .job-sabo-inline{
  flex:0 0 76px;width:76px;min-width:76px;min-height:33px;height:33px;
  border-radius:9px;padding:4px 3px;display:flex;flex-direction:row;
  gap:3px;font-size:11px;font-weight:850;color:#2b4260;
  background:#edf0f6;border:2px solid #8d9cb0;box-shadow:none;
 }
 .dashboard.base-layout .stage .job-details .job-sabo-inline::before{content:'☕';font-size:15px;line-height:1;}
 .dashboard.base-layout .stage .job-details .job-sabo-inline .symbol,
 .dashboard.base-layout .stage .job-details .job-sabo-inline .risk,
 .dashboard.base-layout .stage .job-details .job-sabo-inline .level{display:none;}
 .dashboard.base-layout .stage .job-details .job-sabo-inline .name{font-size:11px;white-space:nowrap;}
 .dashboard.base-layout .stage .job-details .job-sabo-inline.active{
  outline:3px solid #f4b441;border-color:#af8231;background:#fff2d4;
 }
 .dashboard.base-layout .stage .job-commit{flex:0 0 auto;}
}

/* six-jobs-full-room-preview */

/* Preview-only: 6 choices in one line and existing classroom scenery under the ENTIRE main work area. */
@media (orientation:landscape) and (min-width:700px){
  .dashboard.base-layout .stage .job-screen{
    position:relative;isolation:isolate;overflow:hidden;
    min-height:0;height:100%;display:flex;flex-direction:column;
    gap:5px;border-radius:12px;
  }
  .dashboard.base-layout .stage .work-room-layer{
    position:absolute;inset:0;z-index:-1;pointer-events:none;
    opacity:1;overflow:hidden;
  }
  .dashboard.base-layout .stage .work-room-layer .room-illustration{
    position:absolute;inset:0;width:100%;height:100%;min-height:0;
    border-radius:10px;border-width:2px;
  }
  /* Keep the whole room visible even behind the header and the action row. */
  .dashboard.base-layout .stage .job-lead{
    flex:0 0 52px;position:relative;z-index:1;
    background:rgba(250,251,255,.82);
    border:1px solid rgba(255,255,255,.92);
    box-shadow:0 1px 4px #22395533;
    border-radius:10px;padding:2px 5px;
  }
  .dashboard.base-layout .stage .job-selected-name{font-size:clamp(22px,3.3vw,30px);}
  .dashboard.base-layout .stage .job-points{background:rgba(247,250,255,.91);}
  .dashboard.base-layout .stage .jobs-row{
    flex:0 0 72px;min-height:72px;max-height:72px;
    grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr;
    gap:5px;margin:0;position:relative;z-index:1;
  }
  .dashboard.base-layout .stage .jobs-row .job-bubble{
    width:100%;max-height:72px;min-height:0;height:100%;
    border-radius:23px;padding:3px 1px;gap:1px;
    background:linear-gradient(155deg,#fffffff0,var(--j-bg,#e7f2fc));
    box-shadow:0 2px 6px #1c325355,inset 0 0 0 2px #ffffffc9;
  }
  .dashboard.base-layout .stage .jobs-row .job-bubble .symbol{font-size:17px;line-height:1;}
  .dashboard.base-layout .stage .jobs-row .job-bubble .name{font-size:11px;line-height:1.1;}
  .dashboard.base-layout .stage .jobs-row .job-bubble .risk{font-size:8px;line-height:1.05;}
  .dashboard.base-layout .stage .jobs-row .job-bubble .level{font-size:10px;line-height:1.05;}
  .dashboard.base-layout .stage .job-details{
    position:relative;z-index:1;flex:0 0 43px;margin-top:auto;
    background:rgba(239,246,255,.82);border:1px solid rgba(191,209,232,.9);
    box-shadow:0 1px 4px #203a5940;
    padding:4px 7px;gap:6px;
    backdrop-filter:blur(1px);
  }
  .dashboard.base-layout .stage .job-details .job-sabo-inline{display:none;}
  .dashboard.base-layout .stage .job-details strong{font-size:12px;}
  .dashboard.base-layout .stage .job-details p{color:#253f5e;}
}


/* v13.7.132 common layout: right-side panels persist on EVERY screen.
   All changes are presentational; the original game engine and save format remain byte-for-byte intact. */
@media (orientation:landscape) and (min-width:700px){
 .dashboard.base-layout{
  grid-template-columns:minmax(0,76fr) minmax(0,13fr) minmax(0,11fr) !important;
  grid-template-rows:27px minmax(0,1fr) 74px 63px !important;
 }
 .dashboard.base-layout .core-head,.dashboard.base-layout .core-head:has(.week-flow){grid-area:1/1/2/2;min-height:27px!important;height:27px!important;max-height:27px!important;}
 .dashboard.base-layout .core-head .week-flow{width:100%!important;}
 .dashboard.base-layout .core-head .opening-phase-flow{height:27px!important;min-height:27px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px;padding:0;margin:0;}
 .dashboard.base-layout .core-head .opening-phase-flow span{padding:1px 2px!important;font-size:9px!important;line-height:1.05!important;display:grid;place-items:center;}
 .dashboard.base-layout .stage{grid-area:2/1/4/2;min-height:0;}
 .dashboard.base-layout .bottom-nav{grid-area:4/1/5/4;}
 .dashboard.base-layout .abilities-sketch{grid-area:1/2/3/3;}
 .dashboard.base-layout .side{grid-area:1/3/3/4;}
 .dashboard.base-layout .vitals-sketch{grid-area:3/2/4/4;}
 .dashboard.base-layout .stage .stage-scroll{overflow-y:auto;scrollbar-width:thin;padding:6px 8px;}
 .dashboard.base-layout .stage .stage-scroll:has(.job-screen){overflow-y:hidden;scrollbar-width:none;padding:5px 7px;}
 .dashboard.base-layout .stage .stage-scroll:has(.job-screen)::-webkit-scrollbar{display:none;}
 .dashboard.base-layout .stage .stage-scroll .panel,.dashboard.base-layout .stage .stage-scroll .actionpanel{max-width:none;}
 .dashboard.base-layout .stage .shop-cards{gap:7px;grid-template-columns:repeat(2,minmax(0,1fr));}
 .dashboard.base-layout .stage .shop-card{padding:8px 10px;border-radius:10px;}
 .dashboard.base-layout .stage .shop-card h3{font-size:14px;margin:0 0 4px;}
 .dashboard.base-layout .stage .screen-title{font-size:19px;margin:2px 0 6px;}
 .dashboard.base-layout .stage .screen-sub{font-size:11px;margin:3px 0 6px;line-height:1.25;}
 .dashboard.base-layout .stage .panel.main h2{font-size:18px;margin:2px 0 7px;}
 .dashboard.base-layout .stage .panel.main h3{font-size:13px;margin:5px 0 6px;}
 .dashboard.base-layout .stage .panel.main p{margin:4px 0 7px;line-height:1.38;}
 .dashboard.base-layout .stage .act.wide{margin-top:6px;padding:8px 10px;font-size:13px;}
 .dashboard.base-layout .stage .event-note,.dashboard.base-layout .stage .notice{padding:7px 9px;margin:5px 0;}
 .dashboard.base-layout .stage .itemrow{padding:5px 7px;}
 .dashboard.base-layout .stage .report-entry{padding:6px 8px;margin:5px 0;}
 .dashboard.base-layout .stage .meeting-fixed-dock{max-height:48%;overflow:auto;}
 /* Keep long descriptions and result histories scrollable without making the full phone page scroll. */
 .dashboard.base-layout .stage .stage-scroll .report-list{max-height:none;}
 .dashboard.base-layout .side{gap:3px!important;}
 .dashboard.base-layout .compact-week-card{padding:3px 2px!important;}
 .dashboard.base-layout .compact-week-card .wk-label{font-size:9px!important;margin-bottom:1px!important;}
 .dashboard.base-layout .compact-week-card .wk-value{font-size:11px!important;}
 .dashboard.base-layout .compact-week-card.money .wk-value{font-size:10px!important;}
 .dashboard.base-layout .side-date{font-size:10px!important;padding:5px 2px!important;line-height:1.1!important;white-space:normal!important;}
 .dashboard.base-layout .side-line,.dashboard.base-layout .side-bars,.dashboard.base-layout .side-note{display:none!important;}
 .dashboard.base-layout .compact-weekinfo{display:flex;flex-direction:column;gap:3px;min-height:0;}
 .dashboard.base-layout .compact-week-card{border:1px solid #c7d4e4;border-radius:8px;background:#fff;padding:3px 2px;text-align:center;min-width:0;}
 .dashboard.base-layout .compact-week-card .wk-label{display:block;font-size:9px;line-height:1.06;color:#486282;font-weight:850;}
 .dashboard.base-layout .compact-week-card .wk-value{display:block;font-size:11px;line-height:1.05;color:#14365d;font-weight:950;overflow-wrap:anywhere;}
 .dashboard.base-layout .compact-week-card.money .wk-value{font-size:10px;letter-spacing:-.02em;}
 .dashboard.base-layout .stage .job-screen .work-room-layer{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:1;overflow:hidden;}
 .dashboard.base-layout .stage .job-screen .work-room-layer .room-illustration{position:absolute;inset:0;width:100%;height:100%;min-height:0;border-radius:10px;border-width:2px;}
 .dashboard.base-layout .stage .job-screen .job-lead{flex:0 0 52px;background:rgba(250,251,255,.82);position:relative;z-index:1;border:1px solid #ffffffec;border-radius:10px;padding:2px 5px;}
 .dashboard.base-layout .stage .job-screen .jobs-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr;flex:0 0 72px;min-height:72px;max-height:72px;gap:5px;margin:0;position:relative;z-index:1;}
 .dashboard.base-layout .stage .job-screen .jobs-row .job-bubble{width:100%;height:100%;min-height:0;max-height:72px;border-radius:23px;padding:3px 1px;gap:1px;background:linear-gradient(155deg,#fffffff0,var(--j-bg,#e7f2fc));}
 .dashboard.base-layout .stage .job-screen .job-details{position:relative;z-index:1;flex:0 0 43px;margin-top:auto;background:rgba(239,246,255,.82);border:1px solid #bfd1e8e6;padding:4px 7px;gap:6px;}
 .dashboard.base-layout .stage .job-screen .job-sabo-inline{display:none!important;}
}
@media (orientation:landscape) and (min-width:700px){
 .dashboard.base-layout .abilities-sketch{padding:4px 3px 5px;gap:2px;}
 .dashboard.base-layout .abilities-sketch-title{font-size:10px;padding:4px 1px;white-space:nowrap;}
 .dashboard.base-layout .abilities-sketch-list{gap:3px;}
 .dashboard.base-layout .abilities-sketch-row{display:grid;grid-template-columns:6em max-content;justify-content:start;align-items:center;column-gap:2px;padding:2px 3px;font-size:9px;letter-spacing:-.025em;overflow:hidden;white-space:nowrap;}
 .dashboard.base-layout .abilities-sketch-row>span{font-size:9px;white-space:nowrap;}
 .dashboard.base-layout .abilities-sketch-row>b{font-size:10px;gap:1px;white-space:nowrap;}
 .dashboard.base-layout .abilities-sketch-row .ability-grade{font-size:9px;padding:0 2px;margin:0;}
}



/* original style block 42/96 */

/* Responsive display-only continuation of the v13.7.131 hand-drawn layout.
   All game rules, RNG, actions and save structures remain untouched. */
@media (orientation:landscape) and (min-width:700px) and (min-height:441px){
  .dashboard.base-layout{
    grid-template-columns:minmax(0,76fr) minmax(0,13fr) minmax(0,11fr)!important;
    grid-template-rows:clamp(36px,5.3vh,48px) minmax(0,1fr) clamp(96px,17vh,155px) clamp(76px,11vh,100px)!important;
    gap:clamp(7px,.85vw,12px)!important;
  }
  .dashboard.base-layout .core-head,
  .dashboard.base-layout .core-head:has(.week-flow){
    grid-area:1/1/2/2!important;
    height:auto!important; min-height:0!important; max-height:none!important;
    display:flex!important; align-items:stretch!important; justify-content:flex-start!important;
  }
  .dashboard.base-layout .core-head .top-ability{display:none!important;}
  .dashboard.base-layout .core-head .week-flow,
  .dashboard.base-layout .core-head .opening-phase-flow{
    width:100%!important;height:100%!important;min-height:0!important;
    display:grid!important;gap:5px!important;padding:0!important;margin:0!important;
  }
  .dashboard.base-layout .core-head .week-flow{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) repeat(3,minmax(0,1fr))!important;}
  .dashboard.base-layout .core-head .opening-phase-flow{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
  .dashboard.base-layout .core-head .week-flow-step{
    border-radius:9px!important;padding:3px 4px!important;font-size:clamp(12px,1.12vw,17px)!important;
    min-height:0!important;
  }
  .dashboard.base-layout .core-head .week-flow-label{gap:2px!important;}
  .dashboard.base-layout .core-head .week-flow-label strong,
  .dashboard.base-layout .core-head .week-flow-step.active .week-flow-label strong{font-size:clamp(12px,1.13vw,16px)!important;line-height:1.05!important;}
  .dashboard.base-layout .core-head .week-flow-label small,
  .dashboard.base-layout .core-head .week-flow-step.active .week-flow-label small{font-size:clamp(9px,.86vw,12px)!important;line-height:1.06!important;}
  .dashboard.base-layout .core-head .opening-phase-flow span{font-size:clamp(11px,1vw,15px)!important;padding:4px!important;}
  .dashboard.base-layout .stage{grid-area:2/1/4/2!important;min-height:0;}
  .dashboard.base-layout .stage .stage-scroll{overflow-y:auto;padding:clamp(10px,1.1vw,17px)!important;}
  .dashboard.base-layout .stage .stage-scroll:has(.job-screen){overflow-y:hidden!important;}
  .dashboard.base-layout .abilities-sketch{grid-area:1/2/3/3!important;padding:clamp(6px,.65vw,11px)!important;gap:clamp(5px,.6vh,9px)!important;min-height:0;}
  .dashboard.base-layout .abilities-sketch-title{font-size:clamp(12px,1.1vw,16px)!important;letter-spacing:0!important;padding:clamp(7px,.8vh,12px) 2px!important;}
  .dashboard.base-layout .abilities-sketch-list{gap:clamp(5px,.7vh,10px)!important;}
  .dashboard.base-layout .abilities-sketch-row{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    justify-content:stretch!important;align-items:center!important;
    gap:1px!important;padding:3px 4px!important;
    font-size:clamp(9px,.9vw,13px)!important;letter-spacing:-.03em!important;
    overflow:hidden;white-space:nowrap;
  }
  .dashboard.base-layout .abilities-sketch-row>span{font-size:clamp(9px,.9vw,13px)!important;white-space:nowrap;letter-spacing:-.045em;}
  .dashboard.base-layout .abilities-sketch-row>b{font-size:clamp(10px,.98vw,15px)!important;gap:2px!important;white-space:nowrap;}
  .dashboard.base-layout .abilities-sketch-row .ability-grade{font-size:clamp(9px,.8vw,12px)!important;padding:0 2px!important;}
  .dashboard.base-layout .side{
    grid-area:1/3/3/4!important;min-height:0;overflow:hidden!important;
    display:flex!important;flex-direction:column!important;
    padding:clamp(6px,.65vw,11px)!important;gap:clamp(6px,.75vh,11px)!important;
  }
  .dashboard.base-layout .side-date{
    font-size:clamp(12px,1.05vw,16px)!important;line-height:1.17!important;
    padding:clamp(8px,1vh,13px) 2px!important;
    white-space:normal!important;
  }
  .dashboard.base-layout .compact-weekinfo{display:flex!important;flex-direction:column!important;gap:clamp(6px,1vh,13px)!important;}
  .dashboard.base-layout .compact-week-card{padding:clamp(7px,1vh,14px) 3px!important;border-radius:9px;}
  .dashboard.base-layout .compact-week-card .wk-label{font-size:clamp(10px,.95vw,13px)!important;margin-bottom:4px!important;}
  .dashboard.base-layout .compact-week-card .wk-value{font-size:clamp(12px,1.17vw,18px)!important;line-height:1.12!important;}
  .dashboard.base-layout .compact-week-card.money .wk-value{font-size:clamp(10px,1.04vw,16px)!important;letter-spacing:-.035em;}
  .dashboard.base-layout .vitals-sketch{
    grid-area:3/2/4/4!important;padding:clamp(9px,1.2vw,16px)!important;
    gap:clamp(6px,1vh,12px)!important;
  }
  .dashboard.base-layout .vitals-sketch-item{gap:clamp(5px,.65vh,10px)!important;}
  .dashboard.base-layout .vitals-sketch-item .vitals-label{font-size:clamp(14px,1.28vw,19px)!important;}
  .dashboard.base-layout .vitals-sketch-track{height:clamp(12px,1.7vh,20px)!important;}
  .dashboard.base-layout .bottom-nav{
    grid-area:4/1/5/4!important;
    gap:clamp(6px,.8vw,13px)!important;padding:clamp(7px,.75vw,12px)!important;
  }
  .dashboard.base-layout .nav-item{font-size:clamp(12px,1.28vw,18px)!important;border-radius:12px;padding:6px 2px!important;}
  .dashboard.base-layout .nav-item .nav-ico{font-size:clamp(21px,2vw,30px)!important;}
  .dashboard.base-layout .stage .job-screen{
    position:relative;isolation:isolate;overflow:hidden;height:100%;min-height:0;
    display:flex;flex-direction:column;gap:clamp(9px,1.3vh,17px)!important;
  }
  .dashboard.base-layout .stage .job-screen .work-room-layer{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:1;}
  .dashboard.base-layout .stage .job-screen .work-room-layer .room-illustration{position:absolute;inset:0;width:100%;height:100%;min-height:0;border-radius:10px;}
  .dashboard.base-layout .stage .job-screen .job-lead{
    flex:0 0 clamp(74px,11vh,115px)!important;
    padding:clamp(7px,1vh,14px)!important;
    background:rgba(250,251,255,.83)!important;
    display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);
    align-items:center;gap:clamp(8px,1.2vw,17px);
  }
  .dashboard.base-layout .stage .job-screen .job-selected-name{font-size:clamp(26px,3vw,42px)!important;line-height:1.15!important;padding:4px 0 6px!important;}
  .dashboard.base-layout .stage .job-screen .job-selected-code{font-size:clamp(12px,1.13vw,17px)!important;}
  .dashboard.base-layout .stage .job-screen .job-points{max-height:none!important;min-height:0!important;}
  .dashboard.base-layout .stage .job-screen .job-points small{font-size:clamp(11px,1vw,15px)!important;padding:5px 2px!important;}
  .dashboard.base-layout .stage .job-screen .job-points strong{font-size:clamp(23px,2.5vw,35px)!important;padding:7px 0!important;}
  .dashboard.base-layout .stage .job-screen .job-points em{font-size:clamp(11px,1vw,15px)!important;min-height:0!important;}
  .dashboard.base-layout .stage .job-screen .jobs-row{
    flex:0 0 clamp(96px,16vh,155px)!important;
    min-height:0!important;max-height:none!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;gap:clamp(5px,.65vw,12px)!important;
  }
  .dashboard.base-layout .stage .job-screen .jobs-row .job-bubble{
    width:100%;height:100%;min-height:0!important;max-height:none!important;
    border-radius:26px!important;padding:5px 2px!important;gap:clamp(1px,.3vh,4px)!important;
  }
  .dashboard.base-layout .stage .job-screen .jobs-row .job-bubble .symbol{font-size:clamp(22px,2.4vw,34px)!important;}
  .dashboard.base-layout .stage .job-screen .jobs-row .job-bubble .name{font-size:clamp(12px,1.12vw,18px)!important;}
  .dashboard.base-layout .stage .job-screen .jobs-row .job-bubble .risk{font-size:clamp(9px,.8vw,12px)!important;}
  .dashboard.base-layout .stage .job-screen .jobs-row .job-bubble .level{font-size:clamp(11px,1vw,15px)!important;}
  .dashboard.base-layout .stage .job-screen .job-details{
    flex:0 0 clamp(58px,9vh,92px)!important;
    min-height:0!important;margin-top:auto!important;
    position:relative!important;padding:clamp(8px,1vh,14px)!important;
    background:rgba(239,246,255,.84)!important;
  }
  .dashboard.base-layout .stage .job-screen .job-details strong{font-size:clamp(14px,1.2vw,19px)!important;}
  .dashboard.base-layout .stage .job-screen .job-details p{display:block!important;font-size:clamp(11px,.94vw,15px)!important;line-height:1.3!important;}
  .dashboard.base-layout .stage .job-screen .job-commit{
    min-height:clamp(43px,6.3vh,65px)!important;padding:8px clamp(12px,1.5vw,22px)!important;
    font-size:clamp(14px,1.2vw,18px)!important;
  }
  .dashboard.base-layout .stage .meeting-fixed-dock{max-height:33%!important;}
  .dashboard.base-layout .stage .shop-cards{gap:clamp(10px,1vw,18px);}
  .dashboard.base-layout .stage .screen-title{font-size:clamp(20px,2vw,31px);}
}


/* original style block 43/96 */

/* Display-only: leave the game actions, RNG, resources and save state untouched. */
@media (orientation: landscape) and (min-width:700px){
  /* Compact header in the right weekly-information column: ALWAYS two lines. */
  .dashboard.base-layout .side-date{
    display:flex!important; flex-direction:column!important; align-items:center!important;
    justify-content:center!important; gap:1px!important;
    line-height:1.06!important; min-width:0!important;
    white-space:nowrap!important; overflow:hidden!important;
    padding:4px 1px!important;
  }
  .dashboard.base-layout .side-date .week-year,
  .dashboard.base-layout .side-date .week-month{
    display:block!important; white-space:nowrap!important; width:100%;
    text-align:center; font-size:clamp(10px,1.05vw,14px); letter-spacing:-.03em;
  }
  /* The six existing work-choice buttons are anchored directly above Execute. */
  .dashboard.base-layout .stage .job-screen .jobs-row{
    margin-top:auto!important; margin-bottom:0!important;
  }
  .dashboard.base-layout .stage .job-screen .job-details{
    margin-top:0!important;
  }
  /* Shopping uses three peer cards; don't move Amazoo outside the row. */
  .dashboard.base-layout .stage .shop-cards.shop-cards-three{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;gap:6px!important;
  }
  .dashboard.base-layout .stage .shop-cards-three>.shop-card{min-width:0!important;min-height:0;}
  .dashboard.base-layout .stage .shop-cards-three .shop-card h3{font-size:clamp(12px,1.13vw,17px)!important;line-height:1.18!important;}
  .dashboard.base-layout .stage .shop-cards-three .tiny{font-size:clamp(10px,.85vw,12px)!important;line-height:1.35!important;}
  .dashboard.base-layout .stage .shop-cards-three .chips{display:flex;flex-wrap:wrap;gap:5px!important;}
  .dashboard.base-layout .stage .shop-cards-three .act{padding:6px 8px!important;min-height:32px!important;}
  .dashboard.base-layout .stage .shop-amazoo-card{border-color:#c9a84b;background:linear-gradient(155deg,#fff9e5,#f8f2e6);}
  .dashboard.base-layout .stage .shop-amazoo-list{margin-top:7px!important;padding-top:5px!important;}
  .dashboard.base-layout .stage .shop-amazoo-list summary{font-size:clamp(11px,.95vw,14px)!important;white-space:normal!important;color:#1a4970;}
  .dashboard.base-layout .stage .shop-amazoo-list .gear-shop-entry{min-width:0;width:100%;}
  .dashboard.base-layout .stage .shop-amazoo-list .act{font-size:10px!important;}
}
@media (orientation:landscape) and (min-width:700px) and (min-height:441px){
  .dashboard.base-layout .side-date .week-year,
  .dashboard.base-layout .side-date .week-month{font-size:clamp(11px,1.08vw,16px)!important;}
  .dashboard.base-layout .stage .job-screen .jobs-row{margin-top:auto!important;}
  .dashboard.base-layout .stage .job-screen .job-details{margin-top:0!important;}
  .dashboard.base-layout .stage .shop-cards-three{gap:clamp(8px,.8vw,14px)!important;}
  .dashboard.base-layout .stage .shop-cards-three .shop-card{padding:clamp(9px,1vw,16px)!important;}
}


/* original style block 44/96 */

/* Right-thumb control lane. Screen-only changes: underlying button handlers are moved intact. */
@media (orientation:landscape) and (min-width:700px){
 .dashboard.base-layout .stage{display:flex!important;flex-direction:column!important;overflow:hidden!important;}
 .dashboard.base-layout .stage .stage-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;}
 .dashboard.base-layout .stage .stage-scroll:has(.job-screen){overflow-y:hidden!important;}
 .dashboard.base-layout .stage .thumb-action-dock{
   flex:0 0 auto;position:relative;z-index:16;min-height:43px;max-height:62px;
   display:flex;align-items:center;justify-content:space-between;gap:7px;
   padding:4px 8px;border-top:2px solid #9ab3cf;
   background:linear-gradient(180deg,rgba(245,249,255,.97),rgba(221,234,249,.98));
   box-shadow:0 -2px 8px rgba(19,48,82,.12);
 }
 .dashboard.base-layout .stage .thumb-action-dock .thumb-action-left{display:flex;align-items:center;gap:6px;flex:0 1 auto;min-width:0;}
 .dashboard.base-layout .stage .thumb-action-dock .thumb-action-hint{
   font-size:clamp(9px,.95vw,12px);font-weight:850;color:#375471;
   white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
 }
 .dashboard.base-layout .stage .thumb-action-dock .thumb-action-right{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;min-width:0;}
 .dashboard.base-layout .stage .thumb-action-dock button:not(.job-bubble){
   font-size:clamp(12px,1.12vw,16px);line-height:1.1;font-weight:950;
   min-height:36px;max-height:48px;min-width:clamp(118px,18vw,208px);
   padding:6px 12px;margin:0!important;border-radius:10px;
   white-space:normal;max-width:min(330px,44vw);cursor:pointer;
   background:linear-gradient(#ffe4a3,#f5b93d);border:2px solid #c18a26;color:#352710;
   box-shadow:0 2px 0 #bd8c32;
 }
 .dashboard.base-layout .stage .thumb-action-dock button.thumb-secondary{
   min-width:0;max-width:240px;min-height:33px;padding:4px 9px;
   font-weight:850;font-size:clamp(10px,.9vw,13px);
   background:linear-gradient(#e9f1fe,#d8e6f8);border-color:#8eacd5;color:#26486b;box-shadow:none;
 }
 .dashboard.base-layout .stage .thumb-action-dock button:disabled{opacity:.52;cursor:not-allowed;}
 .dashboard.base-layout .stage .thumb-action-dock button:focus-visible{outline:3px solid #177ac0;outline-offset:2px;}
 .dashboard.base-layout .stage .thumb-action-dock .job-details{
   flex:1;margin:0!important;background:transparent!important;border:0!important;
   box-shadow:none!important;padding:0 2px!important;gap:8px!important;
   min-height:0!important;height:auto!important;display:flex!important;align-items:center!important;
 }
 .dashboard.base-layout .stage .thumb-action-dock .job-details>div{min-width:0;flex:1;}
 .dashboard.base-layout .stage .thumb-action-dock .job-details strong{font-size:clamp(11px,1.05vw,15px)!important;}
 .dashboard.base-layout .stage .thumb-action-dock .job-details p{font-size:clamp(9px,.84vw,12px)!important;margin:1px 0 0!important;line-height:1.2!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
 .dashboard.base-layout .stage .thumb-action-dock .job-details .job-commit{min-width:clamp(125px,18vw,210px)!important;margin-left:auto;}
 .dashboard.base-layout .stage .thumb-action-dock .result-action-dock,
 .dashboard.base-layout .stage .thumb-action-dock .month-next-dock,
 .dashboard.base-layout .stage .thumb-action-dock .progress-return-dock{
    position:static!important;display:flex!important;align-items:center!important;
    justify-content:space-between!important;width:100%;max-height:none!important;
    margin:0!important;border:0!important;padding:0!important;
    min-height:0!important;box-shadow:none!important;background:transparent!important;
 }
 .dashboard.base-layout .stage .thumb-action-dock .result-action-dock .act,
 .dashboard.base-layout .stage .thumb-action-dock .month-next-dock .act,
 .dashboard.base-layout .stage .thumb-action-dock .progress-return-dock button{margin-left:auto!important;}
 .dashboard.base-layout .stage .thumb-action-dock .result-action-dock strong,
 .dashboard.base-layout .stage .thumb-action-dock .month-next-dock span,
 .dashboard.base-layout .stage .thumb-action-dock .progress-return-dock span{font-size:clamp(9px,.9vw,12px)!important;color:#315477;line-height:1.2;}
 .dashboard.base-layout .stage .thumb-action-dock .thumb-aux-action{margin-left:0!important;}
 .dashboard.base-layout .stage .thumb-action-dock .thumb-aux-action:disabled{display:none;}
 .dashboard.base-layout .stage .thumb-action-dock .thumb-action-right > .act{margin-left:auto!important;}
 .dashboard.base-layout .stage .thumb-action-dock .thumb-action-right > .act.wide{width:auto!important;}
 .dashboard.base-layout .stage .thumb-action-dock .sale-receipt-actions{display:contents;}
 .dashboard.base-layout .stage .thumb-action-dock #saleReceiptClose{margin-left:auto!important;}
 .dashboard.base-layout .stage .job-screen{height:100%!important;min-height:0!important;}
 .dashboard.base-layout .stage .job-screen .jobs-row{margin-top:auto!important;margin-bottom:3px!important;}
 .dashboard.base-layout .stage .thumb-selected{box-shadow:inset 0 0 0 2px #dba43c,0 0 0 1px #f2cf7d!important;border-color:#c28a22!important;background:#fff5d7!important;}
 .dashboard.base-layout .stage .stage-scroll:has(.thumb-action-dock){overflow-y:auto;}
}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .thumb-action-dock{min-height:39px;max-height:52px;padding:3px 6px;}
 .dashboard.base-layout .stage .thumb-action-dock button:not(.job-bubble){min-height:32px;max-height:43px;font-size:11px;padding:4px 9px;min-width:115px;}
 .dashboard.base-layout .stage .thumb-action-dock button.thumb-secondary{min-height:30px;min-width:0;font-size:10px;}
 .dashboard.base-layout .stage .job-screen .jobs-row{min-height:58px!important;max-height:70px!important;flex-basis:66px!important;}
}
@media (orientation:landscape) and (min-width:700px) and (min-height:441px){
 .dashboard.base-layout .stage .thumb-action-dock{min-height:clamp(55px,8vh,85px);max-height:95px;padding:8px 12px;}
 .dashboard.base-layout .stage .thumb-action-dock button:not(.job-bubble){min-height:clamp(43px,6vh,60px);font-size:clamp(13px,1.2vw,18px);}
 .dashboard.base-layout .stage .job-screen .jobs-row{margin-top:auto!important;}
}
/* Dialog confirmation lanes are also fixed inside their own modal; not behind the scroll. */
.numeric-result-overlay .numeric-result-dialog.thumb-modal,
.ten-draw-overlay .ten-draw-confirm.thumb-modal{
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  max-height:calc(100dvh - 12px);min-height:0;
}
.thumb-modal .thumb-modal-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;}
.thumb-modal .thumb-modal-footer{flex:0 0 auto;display:flex;justify-content:flex-end;gap:8px;padding:6px 2px 0;border-top:1px solid #b6cbe0;}
.thumb-modal .thumb-modal-footer button{min-height:42px!important;max-height:none!important;}


/* original style block 45/96 */

.company-item-reminder{border:2px solid #e2ab42!important;background:#fff8e8!important;color:#23405d!important;}
.company-item-reminder h2{color:#214c79!important;margin:4px 0 10px;}
.company-item-reminder-dialog{background:#fff;border:1px solid #ebc67e;border-left:5px solid #d79b29;border-radius:10px;padding:9px 12px;color:#233f5b;}
.company-item-reminder-dialog b{color:#23517c;}
.company-item-reminder-dialog p{margin:5px 0;font-size:clamp(12px,1.3vw,15px);line-height:1.4;color:#233f5b;}
.company-item-reminder-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin:10px 0;}
.company-item-reminder-actions .act{min-width:150px;}
.dashboard.base-layout .stage .thumb-action-left .thumb-future-control{
  min-width:0!important;min-height:26px!important;max-height:34px!important;
  padding:3px 7px!important;border-radius:7px!important;
  background:#e8edf4!important;color:#61758f!important;
  border:1px dashed #9aaac0!important;font-size:10px!important;
  cursor:not-allowed!important;opacity:1!important;white-space:nowrap!important;
}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .thumb-action-left .thumb-future-control{padding:2px 4px!important;min-height:24px!important;font-size:9px!important;}
 .company-item-reminder-dialog{padding:6px 9px;}.company-item-reminder-dialog p{margin:2px 0;}
}


/* original style block 46/96 */

/* Short hospital cutscenes fit the fixed thumbnail navigation layout; scroll stays above the footer. */
.hospital-cinema{border:2px solid #69a5d5!important;background:linear-gradient(145deg,#f5fbff,#eaf2fc)!important;color:#193b59!important}
.hospital-cinema h2{color:#214c75!important;margin:4px 0 7px}
.hospital-visual{min-height:92px;border:2px solid #c7dfef;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;background:#fff;text-align:center}
.hospital-visual .hospital-pictogram{font-size:clamp(29px,5.5vw,64px);line-height:1.05}
.hospital-fall{background:linear-gradient(130deg,#e4eaf4,#f6fbff)}
.hospital-ambulance{background:linear-gradient(120deg,#edf6ff,#dcebf9)}
.hospital-doctor{background:linear-gradient(120deg,#e7faf3,#f8ffff)}
.hospital-soundtext{color:#c04b32;font-weight:950;font-size:clamp(17px,2.8vw,29px);letter-spacing:.06em}
.hospital-visual span,.hospital-cinema>p{font-size:12px;color:#405d75;margin:2px 0}
.hospital-doctor-line{background:#fff;border-left:5px solid #49a0b4;border-radius:8px;padding:10px 12px;margin:8px 0;color:#254760;font-size:clamp(13px,1.5vw,17px);line-height:1.5}
.hospital-doctor-line b{color:#1a6d83}.hospital-doctor-line strong{color:#ad4e27}
.hospital-cinema-controls{display:flex;align-items:center;gap:7px;margin-top:7px;flex-wrap:wrap}
.hospital-cinema-controls .act{min-height:34px}
.recovery-effect-tag{display:inline-block;margin-left:6px;color:#165b82;background:#e8f5ff;border:1px solid #a9d3ed;border-radius:6px;font-size:11px;line-height:1.4;padding:2px 5px;white-space:nowrap}
.meeting-itemrow.recovery-selected{background:#fff0bf!important;border:2px solid #d89d29!important;box-shadow:0 1px 5px #a16a2e30}
.recovery-use-preview{background:#fff8e5;border:2px solid #e1ba66;border-radius:10px;padding:8px 10px;margin:7px 0;color:#523d1f}
.recovery-use-preview p{margin:4px 0 0;font-size:11px;color:#5b5440}
@media (orientation:landscape) and (max-height:440px){.hospital-visual{min-height:73px;padding:3px 6px}.hospital-visual .hospital-pictogram{font-size:32px}.hospital-cinema h2{margin:1px 0 4px}.hospital-doctor-line{padding:6px 9px;margin:5px 0}.hospital-cinema-controls{margin:4px 0;gap:4px}.hospital-cinema-controls .act{min-height:28px}}


/* original style block 47/96 */

/* v13.7.139: visual arrangement only.  Only the right-dock confirm commits holiday actions. */
.holiday-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 5px;min-width:0}
.holiday-heading .screen-title{margin:0!important;flex:0 0 auto}
.holiday-leave-inline{font-size:clamp(11px,1.15vw,16px);font-weight:800;color:#255179;background:#e8f3fd;border:1px solid #a9c9e4;border-radius:8px;padding:5px 9px;white-space:nowrap}
.holiday-leave-inline b{color:#13559c}
.holiday-category-tabs .subnav{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px;margin:5px 0 8px}
.holiday-category-tabs .subnav button{min-width:0;white-space:nowrap!important;overflow:hidden;text-overflow:clip;word-break:keep-all;padding:6px 1px;font-size:clamp(9px,1.09vw,14px);line-height:1.12}
.holiday-mode-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0}
.holiday-match-modes{grid-template-columns:repeat(2,minmax(0,1fr));}
.holiday-mode-button{min-height:43px;border-radius:9px;background:linear-gradient(#fdfefe,#e8f2fd);border:2px solid #9bb7d3;color:#234b75;font-size:clamp(12px,1.35vw,17px);font-weight:900;cursor:pointer}
.holiday-mode-button.holiday-mode-active{border-color:#d39b2d;background:linear-gradient(#ffefb5,#f5c964);box-shadow:0 0 0 2px #f7db7e88;color:#583500}
.holiday-mode-button:disabled{opacity:.45;cursor:not-allowed;background:#e5eaf1}
.holiday-mode-caption{margin:7px 0 4px;color:#2e5278;font-weight:850;font-size:12px}
.holiday-mode-hint{margin:10px 0;font-size:12px;color:#526a83}
.holiday-plan-choices{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;margin:4px 0!important}
.holiday-plan-choices .holiday-plan-choice{min-height:40px!important;max-height:54px!important;padding:6px 2px!important;font-size:clamp(13px,1.65vw,20px)!important;font-weight:950;text-align:center!important;word-break:normal!important}
.holiday-match-one{display:none!important}
.holiday-match-one .holiday-match-action{min-height:40px!important;text-align:center!important;font-size:13px!important}
.holiday-selected-description{border:1px solid #bdd0e3;background:#eff6fe;color:#234869;border-radius:8px;padding:7px 10px;font-size:clamp(11px,1.05vw,13px);line-height:1.35;margin:7px 0;min-height:35px}
.holiday-plan-choice.thumb-selected,.holiday-match-action.thumb-selected{background:linear-gradient(#ffeeb3,#f3c665)!important;border:2px solid #d29524!important;box-shadow:0 0 0 2px #f5d88c88!important;color:#583500!important}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
  .dashboard.base-layout .holiday-heading{margin:0 0 2px}
  .dashboard.base-layout .holiday-leave-inline{padding:3px 6px;font-size:10px}
  .dashboard.base-layout .holiday-category-tabs .subnav{margin:2px 0 6px;gap:3px}
  .dashboard.base-layout .holiday-category-tabs .subnav button{font-size:clamp(9px,1.22vw,12px);padding:5px 1px;line-height:1.0}
  .dashboard.base-layout .holiday-mode-row{margin:5px 0;gap:5px}
  .dashboard.base-layout .holiday-mode-button{min-height:35px;font-size:12px}
  .dashboard.base-layout .holiday-mode-caption{margin:3px 0;font-size:11px}
  .dashboard.base-layout .holiday-plan-choices{margin:3px 0!important}
  .dashboard.base-layout .holiday-plan-choices .holiday-plan-choice{min-height:33px!important;max-height:41px!important;padding:3px!important;font-size:14px!important}
  .dashboard.base-layout .holiday-selected-description{padding:5px 8px;font-size:10px;min-height:29px;margin:5px 0}
}


/* original style block 48/96 */

/* v139: 5 compact A–E cards, one detail box, fixed right-bottom confirmation. */
.sabo-choice-screen{display:flex;flex-direction:column;gap:7px;min-height:0;color:#264966;}
.sabo-choice-head{display:flex;align-items:center;gap:12px;}
.sabo-choice-head h2{font-size:clamp(16px,1.9vw,25px);margin:0;color:#184a7b;}
.sabo-choice-head .eyebrow{display:block;font-size:10px;margin:0;color:#657a90;}
.sabo-back{flex:0 0 auto;min-height:38px;padding:6px 11px;font-weight:900;background:#e7f1fd;color:#164f87;border:2px solid #9dc2e5;border-radius:8px;cursor:pointer;}
.sabo-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;}
.sabo-choice{min-width:0;border:2px solid #b1c8df;border-radius:9px;background:linear-gradient(#fdfefe,#e9f2fd);min-height:65px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;color:#21517f;}
.sabo-choice b{font-size:19px;line-height:1.05;}
.sabo-choice small{font-weight:800;font-size:clamp(9px,.93vw,12px);line-height:1.12;overflow-wrap:anywhere;text-align:center;}
.sabo-choice.sabo-selected{border-color:#cf9129;background:linear-gradient(#fff3c6,#f8d26e);box-shadow:0 0 0 2px #f2c86d88;color:#653a00;}
.sabo-selection-desc{border-radius:9px;background:#f0f7ff;border:1px solid #a9c9ea;padding:9px 10px;min-height:60px;}
.sabo-selection-desc>strong{color:#19476d;font-size:13px;}
.sabo-preview-stats{display:flex;gap:4px 13px;flex-wrap:wrap;margin:5px 0 1px;font-size:11px;font-weight:750;}
.sabo-selection-desc p,.sabo-preview-empty{margin:2px 0;font-size:11px;color:#4c6480;line-height:1.35;}
.sabo-warning-note{font-size:10px;color:#647b93;margin:0;}
.sabo-confirm:disabled{opacity:.48;cursor:not-allowed;}
@media (orientation:landscape) and (min-width:700px){
 .dashboard.base-layout .stage .stage-scroll:has(.sabo-choice-screen){overflow-y:auto!important;}
 .dashboard.base-layout .stage .sabo-choice-screen{padding:0 1px;max-width:100%;}
 .dashboard.base-layout .stage .sabo-choice-screen .sabo-confirm{margin-left:auto;}
}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .actionpanel:has(.sabo-choice-screen){padding:7px 9px!important;}
 .dashboard.base-layout .stage .sabo-choice-screen{gap:5px;}
 .dashboard.base-layout .stage .sabo-choice-head h2{font-size:16px;}
 .dashboard.base-layout .stage .sabo-back{min-height:28px;padding:4px 8px;font-size:11px;}
 .dashboard.base-layout .stage .sabo-choice{min-height:51px;padding:3px 2px;}
 .dashboard.base-layout .stage .sabo-choice b{font-size:15px;}
 .dashboard.base-layout .stage .sabo-choice small{font-size:9px;}
 .dashboard.base-layout .stage .sabo-selection-desc{padding:5px 8px;min-height:47px;}
 .dashboard.base-layout .stage .sabo-selection-desc>strong{font-size:11px;}
 .dashboard.base-layout .stage .sabo-preview-stats{margin:2px 0;gap:3px 9px;font-size:10px;}
 .dashboard.base-layout .stage .sabo-selection-desc p,.dashboard.base-layout .stage .sabo-preview-empty{font-size:9px;}
 .dashboard.base-layout .stage .sabo-warning-note{font-size:9px;}
}


/* original style block 49/96 */

/* First equipment-10 tutorial only. Anchored hints overlay the existing buttons;
   no extra layout slots, no button movement, and no change to the purchase flow. */
@keyframes tutorialBubbleGlow{
  0%,100%{filter:brightness(1);opacity:1}
  50%{filter:brightness(1.09);opacity:.78}
}
@keyframes tutorialButtonHalo{
  0%,100%{box-shadow:0 0 0 2px rgba(253,189,49,.28),0 0 5px rgba(245,168,29,.35)}
  50%{box-shadow:0 0 0 4px rgba(253,190,51,.58),0 0 13px rgba(245,168,29,.78)}
}
.dashboard.base-layout .stage .tutorial-hint-ten,
.dashboard.base-layout .stage .thumb-action-dock .tutorial-hint-purchase{
  position:relative!important;overflow:visible!important;z-index:35!important;
  animation:tutorialButtonHalo 1.5s ease-in-out infinite!important;
  border-color:#c28213!important;
}
.dashboard.base-layout .stage .tutorial-hint-ten::after,
.dashboard.base-layout .stage .thumb-action-dock .tutorial-hint-purchase::after{
  content:attr(data-tutorial-hint);position:absolute;pointer-events:none;
  box-sizing:border-box;z-index:45;white-space:nowrap;
  border:2px solid #bd8726;border-radius:13px;
  background:linear-gradient(#fff7d2,#ffe395);color:#6b4006;
  font-size:11px;font-weight:950;letter-spacing:.01em;
  padding:4px 9px;line-height:1.25;
  box-shadow:0 3px 9px rgba(96,62,17,.23);
  animation:tutorialBubbleGlow 1.5s ease-in-out infinite;
}
.dashboard.base-layout .stage .tutorial-hint-ten::before,
.dashboard.base-layout .stage .thumb-action-dock .tutorial-hint-purchase::before{
  content:"";position:absolute;pointer-events:none;z-index:44;
  border:7px solid transparent;
}
/* The 10-piece button has a speech bubble immediately to its right,
   pointing back left at the enabled choice (and never covering its title). */
.dashboard.base-layout .stage .tutorial-hint-ten::after{top:50%;left:calc(100% + 12px);transform:translateY(-50%)}
.dashboard.base-layout .stage .tutorial-hint-ten::before{top:50%;left:calc(100% - 2px);transform:translateY(-50%);border-right-color:#bd8726}
/* Purchase button sits in the existing fixed bottom-right bar; keep bubble above it. */
.dashboard.base-layout .stage .thumb-action-dock .tutorial-hint-purchase::after{bottom:calc(100% + 10px);right:0}
.dashboard.base-layout .stage .thumb-action-dock .tutorial-hint-purchase::before{bottom:calc(100% - 3px);right:24px;border-top-color:#bd8726}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .tutorial-hint-ten::after,
 .dashboard.base-layout .stage .thumb-action-dock .tutorial-hint-purchase::after{font-size:10px;padding:3px 7px}
}
@media (prefers-reduced-motion:reduce){
 .dashboard.base-layout .stage .tutorial-hint-ten,
 .dashboard.base-layout .stage .thumb-action-dock .tutorial-hint-purchase,
 .dashboard.base-layout .stage .tutorial-hint-ten::after,
 .dashboard.base-layout .stage .thumb-action-dock .tutorial-hint-purchase::after{animation:none!important}
}


/* original style block 50/96 */

/* Five choices, two rows: three in first row and two wider cards in second.
   No letter tags. Fixed dock buttons stay adjacent at bottom-right. */
.sabo-choices{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px 8px;}
.sabo-choices>.sabo-choice{grid-column:span 2;min-height:49px;padding:7px 6px;}
.sabo-choices>.sabo-choice:nth-child(n+4){grid-column:span 3;}
.sabo-choice .sabo-choice-title{font-size:clamp(12px,1.2vw,17px);font-weight:900;line-height:1.24;text-align:center;overflow-wrap:normal;word-break:keep-all;}
.sabo-dock-actions{margin-left:auto;display:flex;justify-content:flex-end;align-items:center;gap:8px;min-width:0;}
.sabo-dock-actions .sabo-back{display:inline-flex;align-items:center;justify-content:center;min-width:68px!important;max-width:86px;white-space:nowrap;}
.sabo-dock-actions .sabo-confirm{white-space:nowrap;min-width:158px!important;}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .sabo-choice-screen{gap:3px;}
 .dashboard.base-layout .stage .sabo-choices{gap:5px 6px;}
 .dashboard.base-layout .stage .sabo-choices>.sabo-choice{min-height:45px;padding:4px 5px;}
 .dashboard.base-layout .stage .sabo-choice .sabo-choice-title{font-size:12px;line-height:1.17;}
 .dashboard.base-layout .stage .sabo-choice-screen .sabo-selection-desc{min-height:38px;padding:3px 7px;}
 .dashboard.base-layout .stage .sabo-selection-desc>strong{font-size:11px;}
 .dashboard.base-layout .stage .sabo-preview-stats{margin:1px 0;gap:1px 8px;font-size:10px;}
 .dashboard.base-layout .stage .sabo-selection-desc p{margin:0;font-size:10px;line-height:1.1;}
 .dashboard.base-layout .stage .sabo-dock-actions .sabo-back{min-height:32px;min-width:67px!important;}
 .dashboard.base-layout .stage .sabo-dock-actions .sabo-confirm{min-width:160px!important;}
}
@media(max-width:699px){
 .sabo-choices{gap:5px;}
 .sabo-choice .sabo-choice-title{font-size:13px;}
 .sabo-choice-screen .sabo-back,.sabo-choice-screen .sabo-confirm{margin-left:auto;}
}


/* original style block 51/96 */

/* Final UI of v142: five unique slack choices, one row. The second
   choice retains an explicit <br>, while toilet game stays one line. */
.sabo-choices{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;align-items:stretch;}
.sabo-choices>.sabo-choice,.sabo-choices>.sabo-choice:nth-child(n+4){grid-column:auto!important;grid-row:auto!important;min-width:0;min-height:56px;padding:5px 1px;}
.sabo-choice .sabo-choice-title{display:block;max-width:100%;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;font-size:clamp(9.5px,1.02vw,15px);letter-spacing:-.05em;line-height:1.2;}
/* Five free/paid Sunday actions are intentionally A–E, not five long descriptions.
   Their sole live description is updated by the existing confirmation adapter. */
.holiday-freepaid-choices{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;}
.holiday-freepaid-choices>.holiday-freepaid-choice{min-width:0!important;grid-column:auto!important;}
.holiday-brief-title{margin:6px 0 3px;font-size:clamp(12px,1.15vw,16px);}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .sabo-choices{gap:4px!important;}
 .dashboard.base-layout .stage .sabo-choices>.sabo-choice,.dashboard.base-layout .stage .sabo-choices>.sabo-choice:nth-child(n+4){min-height:53px;padding:3px 1px;}
 .dashboard.base-layout .stage .sabo-choice .sabo-choice-title{font-size:clamp(9.5px,1.18vw,12px);letter-spacing:-.06em;line-height:1.16;}
 .dashboard.base-layout .stage .holiday-brief-title{font-size:12px;margin:2px 0 3px;}
 .dashboard.base-layout .stage .holiday-freepaid-choices{gap:4px!important;}
}
@media(max-width:699px){
 .sabo-choice .sabo-choice-title{font-size:clamp(8.5px,2vw,12px);}
}


/* original style block 52/96 */

/* v143 display-only: show CURRENT Pt above exact fixed work award; never mutate S.pt. */
.job-points .job-pt-zero{opacity:.45;color:#657e9b!important;}
.job-points .job-pt-gain{color:#1079a2!important;}
/* Header: available cash precedes remaining paid leave on one row. */
.holiday-header-values{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;}
.holiday-money-inline{background:#f0f6e7;border:1px solid #b6d3a1;color:#375726;border-radius:8px;padding:5px 9px;font-size:clamp(11px,1.1vw,16px);font-weight:800;white-space:nowrap;}
.holiday-money-inline b{color:#285b15;}
/* Exactly five free / five paid cards: name+fee, HP, mental all readable without expanding. */
.holiday-freepaid-choices>.holiday-freepaid-choice{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:1px!important;line-height:1.1!important;font-weight:800!important;}
.holiday-freepaid-choice .holiday-action-top{display:flex;align-items:center;justify-content:space-between;gap:2px;width:100%;white-space:nowrap;}
.holiday-freepaid-choice .holiday-action-top b{color:#143e6d;font-size:clamp(12px,1.4vw,17px);}
.holiday-freepaid-choice .holiday-action-top span{font-size:clamp(9px,.95vw,13px);letter-spacing:-.04em;}
.holiday-freepaid-choice .holiday-action-stat{font-size:clamp(10px,1.03vw,14px);text-align:left;white-space:nowrap;}
.holiday-freepaid-choice:disabled .holiday-action-top b{color:#6d7b89;}
@media(orientation:landscape) and (min-width:700px){
 .dashboard.base-layout .stage .holiday-freepaid-choices>.holiday-freepaid-choice{min-height:56px!important;max-height:none!important;padding:3px 5px!important;}
}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .holiday-header-values{gap:4px;}
 .dashboard.base-layout .stage .holiday-money-inline,.dashboard.base-layout .stage .holiday-leave-inline{padding:3px 5px;font-size:10px;}
 .dashboard.base-layout .stage .holiday-freepaid-choices>.holiday-freepaid-choice{min-height:52px!important;padding:2px 3px!important;}
 .dashboard.base-layout .stage .holiday-freepaid-choice .holiday-action-top b{font-size:12px;}
 .dashboard.base-layout .stage .holiday-freepaid-choice .holiday-action-top span{font-size:9px;}
 .dashboard.base-layout .stage .holiday-freepaid-choice .holiday-action-stat{font-size:10px;}
}
@media(max-width:699px){
 .holiday-header-values{flex-wrap:wrap;}
 .holiday-money-inline{font-size:10px;}
 .holiday-freepaid-choices>.holiday-freepaid-choice{padding:3px 1px!important;}
 .holiday-freepaid-choice .holiday-action-stat{font-size:9px;}
}


/* original style block 53/96 */

/* v145: five-column effect cards for free/paid, travel, app-date and girlfriend dates.
   Clearly separate letter and cost into separate rows; numbers come from game rules. */
.holiday-effects-choices{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
.holiday-effects-choices>.holiday-effect-choice,
.holiday-freepaid-choices>.holiday-effect-choice{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;
 min-width:0!important;min-height:72px!important;max-height:none!important;
 padding:4px 5px!important;gap:1px!important;font-size:12px!important;line-height:1.1!important;text-align:left!important;
}
.holiday-effect-choice .holiday-action-top{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
 width:100%;gap:1px!important;white-space:nowrap!important;line-height:1.1!important;
}
.holiday-effect-choice .holiday-action-top b{display:block!important;color:#154674;font-size:clamp(13px,1.45vw,18px)!important;line-height:1.05}
.holiday-effect-choice .holiday-action-top span{
 display:block!important;font-size:clamp(10px,1.05vw,13px)!important;letter-spacing:-.04em!important;line-height:1.13!important;
}
.holiday-effect-choice .holiday-action-stat{
 display:block!important;font-size:clamp(10px,1.05vw,13px)!important;line-height:1.12!important;
 text-align:left!important;white-space:nowrap!important;
}
.holiday-effect-choice:disabled .holiday-action-top b{color:#728092!important}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .holiday-effects-choices>.holiday-effect-choice,
 .dashboard.base-layout .stage .holiday-freepaid-choices>.holiday-effect-choice{
   min-height:60px!important;max-height:none!important;padding:2px 4px!important;gap:0!important;
 }
 .dashboard.base-layout .stage .holiday-effect-choice .holiday-action-top b{font-size:12px!important}
 .dashboard.base-layout .stage .holiday-effect-choice .holiday-action-top span,
 .dashboard.base-layout .stage .holiday-effect-choice .holiday-action-stat{font-size:10px!important}
}
@media(max-width:699px){
 .holiday-effects-choices>.holiday-effect-choice{padding:4px 2px!important}
 .holiday-effect-choice .holiday-action-top span,
 .holiday-effect-choice .holiday-action-stat{font-size:9px!important}
}


/* original style block 54/96 */

/* v176: four clear categories; usual Sunday is one row with four effect cards. */
.holiday-category-tabs .subnav{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.holiday-category-tabs .subnav button{font-size:clamp(10px,1.22vw,15px)!important;min-width:0;letter-spacing:0}
.holiday-normal-choices{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.holiday-normal-choices>.holiday-effect-choice{min-width:0!important}
.holiday-matching-choices{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:320px;gap:7px!important}
.holiday-matching-choices>.holiday-effect-choice{min-height:84px!important}
/* Existing 5-choice travel/date layouts kept; effects need enough height for an additional stat line. */
.holiday-plan-choices>.holiday-effect-choice{min-height:89px!important;max-height:none!important}
.holiday-effect-choice .holiday-action-stat{font-weight:780!important;overflow-wrap:anywhere;white-space:normal!important}
.holiday-effect-choice .holiday-action-top b{white-space:nowrap!important}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .holiday-category-tabs .subnav{gap:5px!important}
 .dashboard.base-layout .stage .holiday-category-tabs .subnav button{font-size:11px!important;padding:6px 2px!important}
 .dashboard.base-layout .stage .holiday-normal-choices>.holiday-effect-choice{min-height:77px!important;padding:3px 7px!important}
 .dashboard.base-layout .stage .holiday-plan-choices>.holiday-effect-choice{min-height:80px!important;max-height:none!important;padding:4px!important}
 .dashboard.base-layout .stage .holiday-effect-choice .holiday-action-stat{font-size:9px!important;line-height:1.13!important}
 .dashboard.base-layout .stage .holiday-matching-choices>.holiday-effect-choice{min-height:90px!important}
}
@media(max-width:699px){
 .holiday-category-tabs .subnav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .holiday-normal-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .holiday-matching-choices{grid-template-columns:1fr!important}
}

/* v13.7.187 教室長会議：5タブ・お気に入り・SR/SSR DIY */
.meeting-fixed-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.meeting-fixed-tabs button{font-size:clamp(10px,1.15vw,13px)!important}
.meeting-fixed-tabs small{min-width:14px;margin-left:2px}
.meeting-slot-click{cursor:pointer;transition:filter .12s,outline .12s}
.meeting-slot-click:focus-visible,.meeting-slot-click:hover{outline:2px solid #2189b6;filter:brightness(1.03)}
.favorite-flag{display:inline-block;background:#fff0ba;color:#815100;border:1px solid #d9a12c;border-radius:5px;padding:2px 5px;margin:2px 3px;font-size:11px;font-weight:800}
.favorite-on{background:#fce5a0!important;border-color:#d29d24!important;color:#573b00!important}
.favorite-off{background:#f7f8fb!important;color:#375371!important}
.diy-eligible{border-left:4px solid #c08ee6!important;background:#fcf9ff!important}
.diy-eligible.diy-selected{outline:2px solid #7b55b6}
.diy-confirm-box{border:2px solid #9985d5;border-radius:11px;background:#f5f0ff;color:#263651;padding:12px;margin:10px 0}
.diy-confirm-box p{font-size:12px;line-height:1.5;margin:5px 0}
.meeting-empty-diy{background:#f0f4f9;border:1px dashed #9db5d0;border-radius:10px;padding:14px;color:#405a79;font-weight:700}
.meeting-empty-diy small{display:block;font-weight:400;margin-top:5px}
@media(max-height:440px) and (orientation:landscape){.meeting-fixed-tabs button{min-height:27px!important;padding:2px 0!important;font-size:11px!important}.meeting-fixed-slot b{font-size:10px}.meeting-fixed-slot span{font-size:9px}.meeting-itemrow .chips .act{min-height:28px}}
.meeting-fixed-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:19px;font-weight:900;color:#153e68;font-size:clamp(11px,1.2vw,13px)}
.meeting-fixed-heading span{font-size:11px;font-weight:600;white-space:nowrap}
.meeting-fixed-heading b{color:#034c88}
@media(max-height:440px) and (orientation:landscape){.meeting-fixed-heading{min-height:17px;font-size:11px}.meeting-fixed-heading span{font-size:10px}}
/* v13.7.189: keep the matching icon compact like the other holiday cards. */
.holiday-matching-choices{width:100%!important;max-width:184px!important;grid-template-columns:minmax(0,1fr)!important}
.holiday-matching-choices>.holiday-match-action{min-height:74px!important;padding:5px 7px!important}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout .stage .holiday-matching-choices>.holiday-match-action{min-height:74px!important;padding:5px 7px!important}
}
@media(max-width:699px){.holiday-matching-choices{max-width:184px!important}}


/* original style block 55/96 */

/* Only the equipment/recovery result screen: full viewport, 2x5, no scroll. */
.shopping-result-fullscreen{position:fixed!important;inset:0!important;z-index:999999!important;box-sizing:border-box;width:100vw;height:100dvh;overflow:hidden;background:#10103c}
.shopping-result-fullscreen .shopping-result-poster{position:absolute!important;inset:0;box-sizing:border-box;width:100%;height:100%;border-radius:0;min-height:0;max-height:100%;display:flex;flex-direction:column;padding:4px 6px 5px;gap:3px;overflow:hidden}
.shopping-result-fullscreen .shopping-poster-header{flex:0 0 44px;display:grid;grid-template-columns:127px minmax(0,1fr) 158px;gap:4px;min-height:0}
.shopping-result-fullscreen .shopping-poster-brand{font-size:12px;padding:4px 7px;border-radius:9px;line-height:1.04}
.shopping-result-fullscreen .shopping-poster-brand b{font-size:12px}
.shopping-result-fullscreen .shopping-poster-title-wrap h2{font-size:30px!important;white-space:nowrap;line-height:1!important}
.shopping-result-fullscreen .shopping-poster-copy{font-size:10px;line-height:1.05;padding:4px 5px;border-radius:7px}
.shopping-result-fullscreen .shopping-poster-copy b{font-size:12px}
.shopping-result-fullscreen .shopping-poster-spend{flex:0 0 18px;height:18px;box-sizing:border-box;padding:2px 7px;font-size:10px;line-height:1.12;border-radius:7px}
.shopping-result-fullscreen .shopping-poster-grid{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;overflow:hidden}
.shopping-result-fullscreen .shopping-poster-slot{box-sizing:border-box;min-height:0;min-width:0;height:100%;overflow:hidden;padding:2px;border-radius:8px;border-width:2px}
.shopping-result-fullscreen .shopping-poster-frame{min-height:0;height:100%;max-height:100%;min-width:0;overflow:hidden;border-radius:6px;display:flex;align-items:center;justify-content:center}
.shopping-result-fullscreen .shopping-poster-art{object-fit:contain;display:block;width:100%;height:100%;max-height:100%;max-width:100%;background:transparent}
.shopping-result-fullscreen .shopping-poster-footer{flex:0 0 42px;min-width:0;display:grid;grid-template-columns:167px minmax(0,1fr) 252px;gap:4px;align-items:center}
.shopping-result-fullscreen .shopping-poster-total{font-size:11px;padding:7px 6px;white-space:nowrap;border-radius:11px;min-width:0;text-align:center}
.shopping-result-fullscreen .shopping-poster-total b{font-size:15px}
.shopping-result-fullscreen .shopping-poster-rarities{display:flex;gap:3px;flex-wrap:nowrap;justify-content:center;min-width:0}
.shopping-result-fullscreen .poster-rarity{font-size:11px;min-width:0;white-space:nowrap;padding:7px 5px;line-height:1;border-radius:10px}
.shopping-result-fullscreen .shopping-poster-actions{display:flex;gap:4px;min-width:0}
.shopping-result-fullscreen .shopping-poster-btn{font-size:12px;box-sizing:border-box;padding:8px 8px;min-height:36px;line-height:1;border-radius:10px}
.shopping-result-fullscreen .shopping-poster-btn-repeat{flex:1;min-width:0}
.shopping-result-fullscreen .shopping-poster-btn-ok{flex:0 0 67px;padding-inline:7px}
@media(max-height:420px){.shopping-result-fullscreen .shopping-result-poster{gap:2px;padding:3px 5px 4px}}


/* original style block 56/96 */

/* ORIGINAL USER-APPROVED IMAGE — untouched, pixel-for-pixel. Only dynamic item layers + count overlays. */
.shopping-result-fullscreen .shopping-luxe-result{position:absolute;inset:0;display:block;width:100%;height:100%;box-sizing:border-box;overflow:hidden;background:transparent;}
.shopping-result-fullscreen .luxe-item-slot{position:absolute;display:block;box-sizing:border-box;overflow:hidden;border-radius:4px;z-index:2;box-shadow:0 0 3px 1px rgba(255,240,205,.85);background:rgba(4,6,33,.8)}
.shopping-result-fullscreen .luxe-item-slot img{display:block;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none}
.shopping-result-fullscreen .luxe-missing{color:#fff;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at center,#40498a,#050e2d);text-align:center;font-size:12px;gap:3px;padding:4px}
.shopping-result-fullscreen .luxe-missing small{font-size:9px;line-height:1.1}
.shopping-result-fullscreen .luxe-count{position:absolute;z-index:3;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:2.9%;height:6.4%;border-radius:35%;background:radial-gradient(ellipse at center,#0a0625 56%,#0d0622 72%,transparent 100%);color:#ffe47a;text-shadow:0 1px 2px #331000,0 0 2px #fff7b8;font-size:clamp(12px,2.4vw,26px);font-weight:1000;line-height:1;pointer-events:none}
.shopping-result-fullscreen .luxe-total-count{position:absolute;z-index:3;left:19.0%;top:88.0%;width:4.0%;height:6.4%;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#0f0624 70%,transparent 100%);font-size:clamp(12px,2.6vw,28px);font-weight:1000;color:#ffdf70;text-shadow:0 2px 1px #300800;pointer-events:none}
.shopping-result-fullscreen .luxe-hit{position:absolute;z-index:4;display:block;background:transparent!important;border:none!important;border-radius:11px;box-shadow:none!important;cursor:pointer;min-width:0;min-height:0;margin:0;padding:0;-webkit-tap-highlight-color:rgba(255,245,168,.1)}
.shopping-result-fullscreen .luxe-hit:focus-visible{outline:3px solid white;outline-offset:0}
.shopping-result-fullscreen .luxe-hit-repeat{left:67.4%;top:86.8%;width:17.2%;height:10.5%}
.shopping-result-fullscreen .luxe-hit-ok{left:85.3%;top:86.8%;width:14.5%;height:10.5%}
.shopping-result-fullscreen .luxe-hit:disabled{cursor:not-allowed}


/* original style block 57/96 */

.dashboard .decision-two-tap-note{
 color:#24517b;background:#ecf5ff;border:1px solid #c3d8f1;
 padding:4px 8px;border-radius:7px;margin:6px 0;font-weight:750;
 font-size:clamp(10px,1.04vw,13px);line-height:1.3;
}
.dashboard .actionpanel .actions button.thumb-selected{
 background:#fff2ce!important;border:2px solid #d89a27!important;
 box-shadow:inset 0 0 0 1px #fff7d7,0 0 0 1px #e5ba56!important;
 color:#49350f!important;
}
@media(max-height:590px) and (orientation:landscape){
 .dashboard .decision-two-tap-note{padding:2px 6px;margin:3px 0;font-size:10px;}
}


/* original style block 58/96 */

#holidayResultSafeDock{position:fixed!important;z-index:12020!important;display:block!important;box-sizing:border-box!important;pointer-events:auto!important;isolation:isolate}
#holidayResultSafeDock button{box-sizing:border-box!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:3px 7px!important;border-radius:9px!important;background:linear-gradient(180deg,#fff4c7 0%,#fac456 54%,#d89522 100%)!important;border:2px solid #a86f21!important;box-shadow:0 2px 5px #0004!important;color:#563500!important;font-size:clamp(10px,1.25vw,14px)!important;line-height:1.15!important;font-weight:900!important;white-space:nowrap!important;cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important;-webkit-tap-highlight-color:rgba(255,230,90,.22)!important}
#holidayResultSafeDock button:focus-visible{outline:3px solid #157dbb!important;outline-offset:1px!important}
#holidayResultSafeDock button:active{filter:brightness(.9)}


/* original style block 59/96 */


/* v13.7.205: image-preserving controls only (the supplied game art is not CSS recreated). */
.dashboard.shopping-view .premium-skill-shell .premium-buy-one{left:32.5%;top:76.0%;width:29.7%;height:17.0%}
.dashboard.shopping-view .premium-skill-shell .premium-buy-ten{left:62.1%;top:76.0%;width:30.6%;height:17.0%}
.dashboard.shopping-view .premium-skill-shell .premium-live-price{top:83.7%}
.dashboard.shopping-view .premium-skill-shell .premium-equipment-review{bottom:5.6%}
.dashboard.shopping-view .premium-amazoo-shell .premium-amazoo-pick{
 position:absolute;z-index:3;border:2px solid transparent;border-radius:5px;
 width:19.7%;height:32.5%;padding:0;margin:0;background:transparent;cursor:pointer;
 color:transparent;font-size:0;box-sizing:border-box;
}
.dashboard.shopping-view .premium-amazoo-shell .premium-amazoo-selected{border-color:#ffe76c;box-shadow:inset 0 0 9px #fada46,0 0 7px #fff6ab}
.dashboard.shopping-view .premium-amazoo-shell .premium-amazoo-card-buy{
 position:absolute;z-index:4;width:15.8%;height:5.8%;margin:0;padding:0;
 border:0;background:transparent;color:transparent;font-size:0;cursor:pointer;border-radius:15px;
}
.dashboard.shopping-view .premium-amazoo-shell .premium-amazoo-card-buy:focus-visible,
.dashboard.shopping-view .premium-amazoo-shell .premium-amazoo-pick:focus-visible{
 outline:2px solid #fff9b6;outline-offset:-1px;background:rgba(255,230,90,.12)
}
.dashboard.shopping-view .premium-amazoo-shell .premium-amazoo-card-buy:disabled{cursor:not-allowed;filter:grayscale(35%);background:rgba(0,0,0,.27)}
.dashboard.shopping-view .premium-amazoo-modal{position:absolute;z-index:30;inset:0;background:rgba(5,7,26,.72);display:flex;align-items:center;justify-content:center;padding:5px;box-sizing:border-box}
.dashboard.shopping-view .premium-amazoo-modal .amazoo-confirm{max-width:min(520px,80%);max-height:96%;overflow:visible;margin:0;padding:10px 16px;background:#0d1535;color:#fff;border:2px solid #f5d076;border-radius:12px;box-shadow:0 0 18px #e8b84b;font-size:clamp(10px,1.5vw,16px);text-align:center;line-height:1.15}
.dashboard.shopping-view .premium-amazoo-modal .amazoo-confirm h3{margin:0 0 4px;font-size:1.15em;color:#ffe08a}
.dashboard.shopping-view .premium-amazoo-modal .amazoo-confirm p{margin:4px 0;font-size:1em;color:#fff}
.dashboard.shopping-view .premium-amazoo-modal .amazoo-confirm .tiny{font-size:.7em}
.dashboard.shopping-view .premium-amazoo-modal .amazoo-confirm .chips{display:flex;justify-content:center;gap:10px;margin:8px 0 5px}
.dashboard.shopping-view .premium-amazoo-modal .amazoo-confirm button{min-height:27px;padding:5px 12px;font-size:1em;cursor:pointer}
@media(max-height:400px) and (orientation:landscape){
 .dashboard.shopping-view .premium-amazoo-modal .amazoo-confirm{padding:6px 12px}
 .dashboard.shopping-view .premium-amazoo-modal .amazoo-confirm .chips{margin:5px 0}
}



/* original style block 60/96 */

/* UI-only layer on top of the ORIGINAL approved picture. No recreated background or frame. */
.shopping-result-fullscreen .luxe-reveal-control{position:absolute;right:1.35%;top:4.5%;z-index:12;display:flex;gap:5px;align-items:center}
.shopping-result-fullscreen .luxe-reveal-control button{font-family:inherit;color:#fff8c7;font-weight:900;font-size:clamp(9px,1.28vw,14px);line-height:1;background:linear-gradient(#70349f,#37115d);border:1px solid #ffe0a0;border-radius:9px;padding:6px 7px;box-shadow:0 0 8px #ffbb75a6;cursor:pointer;white-space:nowrap;min-height:23px}
.shopping-result-fullscreen .luxe-reveal-control button:disabled{opacity:.4;cursor:not-allowed}
.shopping-result-fullscreen .luxe-item-slot.luxe-reveal-appeared{animation:luxeShowCard .3s cubic-bezier(.14,.65,.2,1) both;transform-origin:center}
@keyframes luxeShowCard{from{opacity:0;filter:brightness(2.5);transform:scale(.77)}to{opacity:1;filter:brightness(1);transform:scale(1)}}
.shopping-result-fullscreen .luxe-ssr-target{background:radial-gradient(circle at center,#fff7b8 0%,#ffd644 18%,#de7a18 60%,transparent 90%)!important;box-shadow:0 0 12px 8px #fff4a2,0 0 35px 12px #ffd335,0 0 60px 18px #ff9d07!important;animation:luxeSsrTargetGlow .65s ease-in-out infinite alternate;z-index:5}
@keyframes luxeSsrTargetGlow{from{filter:brightness(1);opacity:.75}to{filter:brightness(1.85);opacity:1}}
.shopping-result-fullscreen .luxe-ssr-overlay{position:absolute!important;inset:0!important;display:block!important;z-index:9!important;border:0!important;padding:0!important;margin:0!important;width:100%!important;height:100%!important;border-radius:0!important;cursor:pointer!important;background:radial-gradient(ellipse at center,rgba(255,237,135,.22) 5%,rgba(86,33,106,.12) 30%,transparent 70%)!important;box-shadow:none!important;overflow:hidden!important;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.shopping-result-fullscreen .luxe-ssr-flash{position:absolute;inset:-50%;background:conic-gradient(from 15deg at 50% 50%,transparent 0deg,rgba(255,230,119,.1) 17deg,transparent 34deg,rgba(255,244,202,.18) 47deg,transparent 72deg,rgba(255,219,79,.15) 95deg,transparent 126deg,rgba(255,244,183,.17) 172deg,transparent 190deg,rgba(255,210,67,.12) 239deg,transparent 275deg);animation:luxeSsrRotate 13s linear infinite;pointer-events:none}
@keyframes luxeSsrRotate{to{transform:rotate(360deg)}}
.shopping-result-fullscreen .luxe-ssr-hero{position:absolute;top:8%;left:50%;width:min(47vw,350px);height:81%;display:flex;align-items:center;justify-content:center;transform:translateX(-50%);filter:drop-shadow(0 0 13px #fff2a4) drop-shadow(0 0 28px #ffd42e);will-change:transform;pointer-events:none;animation:luxeSsrPop .26s ease-out}
.shopping-result-fullscreen .luxe-ssr-hero img{display:block;width:100%;height:100%;object-fit:contain;background:rgba(9,10,34,.96);border:4px solid #ffe18c;border-radius:10px;box-shadow:0 0 4px 2px #fff,0 0 22px 8px #ffcf53}
.shopping-result-fullscreen .luxe-ssr-hero>span{color:#fff;font-size:25px;text-shadow:0 0 10px #ffcf31}
@keyframes luxeSsrPop{from{transform:translateX(-50%) scale(.4);opacity:.5}to{transform:translateX(-50%) scale(1);opacity:1}}
.shopping-result-fullscreen .luxe-ssr-hint{position:absolute;bottom:3.5%;left:30%;right:30%;height:24px;color:#fffcef;text-align:center;font-size:clamp(12px,1.6vw,18px);font-weight:1000;line-height:24px;text-shadow:0 2px 3px #21082b,0 0 8px #ffe154;background:rgba(35,12,73,.84);border:1px solid #fbd56f;border-radius:22px;pointer-events:none}
@media (max-height:420px) and (orientation:landscape){.shopping-result-fullscreen .luxe-reveal-control{top:3.5%;right:1.1%}.shopping-result-fullscreen .luxe-reveal-control button{padding:4px 5px;min-height:18px}.shopping-result-fullscreen .luxe-ssr-hint{bottom:2%;height:21px;line-height:21px}.shopping-result-fullscreen .luxe-ssr-hero{top:4.5%;height:87%}}
@media(prefers-reduced-motion:reduce){.shopping-result-fullscreen .luxe-reveal-appeared,.shopping-result-fullscreen .luxe-ssr-flash,.shopping-result-fullscreen .luxe-ssr-target,.shopping-result-fullscreen .luxe-ssr-hero{animation:none!important}}


/* original style block 61/96 */

/* This patch preserves the approved shopping artwork; only display mechanics/positioning change. */
.dashboard.shopping-view .premium-equipment-shell .premium-price-override{
 top:86.65%!important;height:6.45%!important;
 background:linear-gradient(90deg,#152b5c 0%,#081631 18%,#08122b 82%,#152b5c 100%)!important;
 border-radius:999px!important;box-shadow:none!important;
 font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif!important;
 font-weight:950!important;font-size:clamp(11px,1.58vw,25px)!important;line-height:1!important;
 color:#fff9e0!important;-webkit-text-stroke:0.45px #37200e;
 text-shadow:0 2px 1px #090d25,0 0 2px #ffde8d!important;
}
.dashboard.shopping-view .premium-equipment-shell .premium-price-ten.premium-price-override{
 background:linear-gradient(90deg,#45082e 0%,#28051f 18%,#23011e 82%,#500a35 100%)!important;
}
.shopping-result-fullscreen .luxe-ssr-suspense{
 position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);
 z-index:8;white-space:nowrap;text-align:center;pointer-events:none;
 padding:9px 22px;border-radius:30px;border:2px solid rgba(255,232,154,.9);
 background:linear-gradient(90deg,rgba(24,11,67,.92),rgba(64,21,105,.88),rgba(24,11,67,.92));
 box-shadow:0 0 20px rgba(250,194,65,.73),inset 0 0 10px rgba(255,215,108,.22);
 font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif;
 font-size:clamp(20px,4vw,42px);font-weight:1000;color:#fff8ba;-webkit-text-stroke:1px #36205e;
 text-shadow:0 0 8px #fff,0 0 16px #ffcb38,0 2px 4px #593010;
 animation:luxeSsrSuspense 1.0s ease-in-out infinite alternate;
}
@keyframes luxeSsrSuspense{0%{opacity:.95;filter:brightness(.9);transform:translate(-50%,-50%) scale(.96)}100%{opacity:1;filter:brightness(1.5);transform:translate(-50%,-50%) scale(1.06)}}
.shopping-result-fullscreen .luxe-ssr-overlay{
 background:radial-gradient(ellipse at center,rgba(255,225,100,.18) 0%,rgba(255,215,100,.06) 28%,transparent 73%)!important;
}
.shopping-result-fullscreen .luxe-ssr-hero{
 position:absolute!important;left:0!important;top:0!important;right:0!important;bottom:0!important;
 height:100%!important;width:100%!important;max-height:100%!important;max-width:100%!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 transform:none!important;animation:luxeSsrLargeEntrance .36s cubic-bezier(.18,.85,.22,1) both!important;
 filter:drop-shadow(0 0 16px #fff3b0) drop-shadow(0 0 26px #ffd335)!important;
}
.shopping-result-fullscreen .luxe-ssr-hero img{
 display:block!important;height:100%!important;width:auto!important;max-width:100%!important;
 object-fit:contain!important;object-position:center center!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:0 0 35px rgba(255,192,48,.76)!important;
}
@keyframes luxeSsrLargeEntrance{from{transform:scale(.68);opacity:.1;filter:brightness(2)}to{transform:scale(1);opacity:1;filter:brightness(1)}}
@media(max-height:420px) and (orientation:landscape){
 .shopping-result-fullscreen .luxe-ssr-hero{top:0!important;height:100%!important}
 .shopping-result-fullscreen .luxe-ssr-hint{bottom:1.5%!important;z-index:11!important}
}
@media(prefers-reduced-motion:reduce){.shopping-result-fullscreen .luxe-ssr-suspense,.shopping-result-fullscreen .luxe-ssr-hero{animation:none!important}}


/* original style block 62/96 */

/* v13.7.214 presentation only: canonical growthProjection / actions are unchanged. */
@media (orientation:landscape) and (min-width:700px) and (max-height:440px){
 .dashboard.base-layout:not(.abilities-full-view){grid-template-columns:minmax(0,70fr) minmax(0,19fr) minmax(0,11fr)!important}
 .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch{padding:4px!important;gap:3px!important}
 .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-list{gap:3px!important}
 .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;justify-content:space-between!important;
  gap:3px!important;padding:2px 4px!important;line-height:1.1!important;min-width:0!important;overflow:hidden!important;
 }
 .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row>span{
  font-size:11.5px!important;font-weight:850!important;letter-spacing:-.07em!important;white-space:nowrap!important;
 }
 .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row>b{
  justify-self:end!important;display:inline-flex!important;gap:2px!important;align-items:center!important;
  font-size:17px!important;line-height:1.05!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important;
 }
 .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row .ability-grade{
  font-size:15px!important;line-height:1.05!important;padding:0 1px!important;margin:0!important;
 }
 /* Abilities have their own full-viewport content without touching other pages. */
 .dashboard.base-layout.abilities-full-view .core-head,
 .dashboard.base-layout.abilities-full-view .abilities-sketch,
 .dashboard.base-layout.abilities-full-view .vitals-sketch,
 .dashboard.base-layout.abilities-full-view>.side{display:none!important}
 .dashboard.base-layout.abilities-full-view .stage{
  grid-area:1/1/4/4!important;min-width:0!important;min-height:0!important;
  overflow:hidden!important;display:flex!important;flex-direction:column!important;
 }
 .dashboard.base-layout.abilities-full-view .stage .stage-scroll{
  box-sizing:border-box!important;min-height:0!important;flex:1 1 100%!important;
  width:100%!important;overflow:hidden!important;padding:3px 5px!important;
 }
 .dashboard.base-layout.abilities-full-view .thumb-action-dock{display:none!important}
 .dashboard.base-layout.abilities-full-view .bottom-nav{grid-area:4/1/5/4!important}
 .ability-compact-screen{
  box-sizing:border-box;width:100%;height:100%;min-height:0;overflow:hidden;
  display:flex;flex-direction:column;gap:4px;
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif;
  color:#193552;
 }
 .ability-compact-header{
  flex:0 0 44px;display:flex;align-items:center;gap:8px;justify-content:space-between;
  border:2px solid #9fb8d7;background:linear-gradient(180deg,#e3efff,#f7faff);border-radius:12px;
  padding:3px 8px;box-sizing:border-box;min-width:0;
 }
 .ability-compact-heading{display:flex;flex-direction:column;line-height:1.1;min-width:0;flex:0 0 auto}
 .ability-compact-heading strong{font-size:17px;color:#214c79;white-space:nowrap}
 .ability-compact-heading span{font-size:10px;font-weight:800;color:#54749c;white-space:nowrap}
 .ability-compact-wallet{display:flex;flex:1;justify-content:flex-end;gap:5px;min-width:0}
 .ability-compact-wallet>span{padding:3px 8px;background:#fff;border:1px solid #b4c9e3;border-radius:8px;
  display:flex;flex-direction:column;align-items:center;min-width:83px;line-height:1.15;white-space:nowrap;font-weight:800;font-size:10px}
 .ability-compact-wallet b{font-size:16px;color:#1e4b7d;font-variant-numeric:tabular-nums}
 .ability-compact-wallet .compact-pt-spent{color:#ae3845}
 .ability-compact-wallet .compact-pt-remain{color:#21834d}
 .ability-compact-grid{min-height:0;flex:1 1 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5px}
 .compact-growth-card{box-sizing:border-box;display:flex;flex-direction:column;gap:2px;min-width:0;min-height:0;
  padding:4px 7px 3px;border:2px solid #a1bce0;border-radius:11px;
  background:linear-gradient(155deg,#ffffff,#eff6ff);box-shadow:0 2px 0 #d0dff2;overflow:hidden}
 .compact-growth-name{display:flex;align-items:center;justify-content:space-between;gap:3px;min-height:15px}
 .compact-growth-name strong{font-size:13px;font-weight:900;white-space:nowrap}
 .compact-growth-name .ability-grade{font-size:11px;padding:0 4px}
 .compact-growth-values{display:flex;align-items:baseline;justify-content:space-between;gap:3px;min-height:22px}
 .compact-growth-level{font-size:18px;line-height:1.05;font-weight:900;font-variant-numeric:tabular-nums}
 .compact-growth-level b{color:#0f63a7}
 .growth-arrow{color:#8298b0;font-weight:700}
 .compact-growth-draft{font-size:10px;color:#576d85;font-weight:850;white-space:nowrap}
 .compact-growth-points{font-size:11px;line-height:1.12;font-weight:750;white-space:nowrap}
 .compact-growth-points b{font-size:12px;font-weight:950;font-variant-numeric:tabular-nums}
 .compact-growth-points small{font-size:10px;color:#b4434d}
 .compact-pt-changed{color:#bc354e}
 .compact-growth-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:2px;min-width:0}
 .compact-growth-cost{font-size:10px;line-height:1.05;font-weight:800;color:#526c89;white-space:nowrap;min-width:0}
 .compact-helper{font-size:9px}
 .compact-growth-actions{display:flex;gap:3px;align-items:center;flex:0 0 auto}
 .compact-growth-actions button{border:1px solid #8eaad2;border-radius:6px;background:#e3edfb;color:#224e84;cursor:pointer;
  font-size:16px;font-weight:900;line-height:1;width:27px;height:27px;padding:0}
 .compact-growth-actions button:last-child{background:linear-gradient(180deg,#ffe19c,#efb949);border-color:#cfa044;color:#4d3508}
 .compact-growth-actions button:disabled{opacity:.35;cursor:not-allowed}
 .compact-growth-actions b{font-size:11px;font-variant-numeric:tabular-nums;min-width:8px;text-align:center}
 .compact-exam-assign{flex:0 0 auto;border:1px solid #85b7d9;background:#e1f5ff;color:#21577c;border-radius:5px;padding:2px 4px;font-weight:900;font-size:9px;line-height:1}
 .ability-compact-footer{margin:0!important;padding:0!important;width:100%!important;min-height:0!important;flex:0 0 34px;display:flex;align-items:center;gap:7px;justify-content:space-between;min-width:0}
 .ability-compact-footer button{height:31px;border-radius:9px;padding:4px 12px;white-space:nowrap;font-size:12px;font-weight:900;cursor:pointer}
 .ability-compact-footer button:disabled{opacity:.5;cursor:not-allowed}
 .compact-reset{background:#ecf2fb;border:1px solid #a6b9d3;color:#28527f}
 .compact-auto{white-space:nowrap;font-size:12px;font-weight:850;display:flex;align-items:center;gap:3px}
 .compact-auto input{width:15px;height:15px;margin:0}
 .compact-ability-notice{margin-left:auto;color:#546c87;font-size:10px;white-space:nowrap}
 .compact-confirm{background:linear-gradient(180deg,#ffe4a1,#f0c465);border:2px solid #caa04d;color:#593d0b;min-width:128px}
}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px) and (max-width:820px){
 .ability-compact-wallet>span{min-width:72px;padding:2px 6px}
 .compact-growth-cost{font-size:9px}.compact-helper{font-size:9px}
 .compact-growth-card{padding:3px 6px 2px;gap:1px}
 .compact-ability-notice{font-size:9px}
}


/* original style block 63/96 */

/* v13.7.214 — user-approved game artwork; no generated or redrawn assets */
.meeting-tone-gear-0{--meeting-tone:#269d70;--meeting-tint:#e9fbf3}
.meeting-tone-gear-1{--meeting-tone:#9363cf;--meeting-tint:#f3eafe}
.meeting-tone-gear-2{--meeting-tone:#db6b9d;--meeting-tint:#fff0f6}
.meeting-tone-gear-3{--meeting-tone:#d3a036;--meeting-tint:#fff6de}
.meeting-tone-recovery-hp{--meeting-tone:#dc6762;--meeting-tint:#fff1ef}
.meeting-tone-recovery-mental{--meeting-tone:#4a91d6;--meeting-tint:#edf6ff}
.meeting-tone-recovery-both{--meeting-tone:#329e8c;--meeting-tint:#eafaf5}
/* The former top four slots are intentionally removed, giving height back to the main board. */
.meeting-main-layout.meeting-main-three{
  /* Three distinct sections, NOT three equal columns. The four vertical equipment slots
     are sized from the available viewport height, leaving more space for item names. */
  display:grid!important;grid-template-columns:clamp(36px,11.1vh,110px) minmax(0,1.42fr) minmax(0,1fr)!important;
  gap:5px!important;min-height:0!important;overflow:hidden!important;
}
.meeting-equipped-images{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:3px;min-width:0;min-height:0;overflow:hidden}
.meeting-equip-photo{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:100%;height:100%;padding:1px 3px;
  border:2.5px solid var(--meeting-tone,#789ec2);border-radius:7px;background:var(--meeting-tint,#f4f8ff);cursor:pointer;overflow:hidden;
  box-shadow:inset 0 0 0 1px #ffffffa0;transition:border-color .1s,box-shadow .1s}
.meeting-equip-photo:focus-visible,.meeting-equip-photo.is-filtered{outline:2px solid #1b4266;outline-offset:-4px;box-shadow:0 0 0 1px #fff,0 0 6px var(--meeting-tone)}
.meeting-equip-photo-art{display:block;width:100%;height:100%;object-fit:cover;object-position:center 50%;pointer-events:none}
.meeting-equip-photo-empty{display:flex;align-items:center;justify-content:center;font-weight:900;font-size:24px;line-height:1;color:var(--meeting-tone);opacity:.7}
.meeting-main-three>.meeting-list-pane{height:100%;overflow-y:auto;min-width:0;min-height:0;padding:3px!important}
.meeting-main-three>.meeting-info-pane{position:relative;min-width:0;min-height:0;overflow:hidden!important;display:flex;flex-direction:column;
  justify-content:flex-end;border:2px solid var(--meeting-tone,#85abc8)!important;padding:3px!important;background:var(--meeting-tint,#eff8ff)!important}
.meeting-detail-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 43%;z-index:0;opacity:.94;pointer-events:none}
.meeting-detail-overlay{position:relative;z-index:1;width:100%;min-width:0;max-height:100%;overflow-y:auto;overscroll-behavior:contain;
 display:flex;flex-direction:column;gap:4px;padding:5px;border-radius:6px;background:#f8fcfff0;color:#1b3958;
 box-shadow:0 2px 10px #102f4880;border:1px solid #ffffffd6;scrollbar-width:thin}
.meeting-info-pane:not(.meeting-has-art) .meeting-detail-overlay{background:transparent;border:0;box-shadow:none;height:100%}
.meeting-main-three .meeting-detail-name{font-size:clamp(10px,1.15vw,13px)}
.meeting-main-three .meeting-effect-key{font-size:clamp(10px,1.14vw,12px);line-height:1.2}
.meeting-main-three .meeting-effect-minor{font-size:10px;line-height:1.2}
.meeting-main-three .meeting-detail-label{font-size:10px}
.meeting-main-three .meeting-simple-row{border-left:4px solid var(--meeting-tone,#b7cbe0);padding-left:2px;gap:2px;min-height:34px}
.meeting-main-three .meeting-simple-row.is-selected{border-left-width:4px;padding-left:2px;border-top:2px solid var(--meeting-tone,#cb9b3d);border-bottom:2px solid var(--meeting-tone,#cb9b3d);border-right:2px solid var(--meeting-tone,#cb9b3d);background:var(--meeting-tint,#fff7e7)}
.meeting-main-three .meeting-simple-name{gap:2px;padding:3px 0}
.meeting-main-three .meeting-one-line-name{font-size:clamp(9.5px,1.15vw,12px)}
.meeting-main-three .meeting-row-rarity{font-size:9px;padding:1px 2px}
.meeting-main-three .meeting-equipped-flag{display:none}
.meeting-main-three .meeting-row-mini{font-size:9px}
.meeting-main-three .meeting-row-controls{gap:2px}
.meeting-main-three .meeting-equip-toggle{min-width:33px;min-height:25px;padding:2px 3px;font-size:10px;border-radius:5px}
.meeting-main-three .meeting-star{width:24px;height:27px;font-size:19px;border-radius:5px}
.meeting-main-three .meeting-detail-bottom{margin-top:3px}
.meeting-main-three .meeting-detail-act{font-size:10px;min-height:25px;padding:3px}
@media (orientation:landscape) and (max-height:440px){
 .meeting-main-layout.meeting-main-three{gap:4px!important}
 .meeting-equip-photo{border-width:2px;border-radius:5px}
 .meeting-main-three .meeting-simple-row{min-height:33px;margin-bottom:2px;padding-top:2px;padding-bottom:2px}
 .meeting-detail-overlay{padding:4px;gap:3px}
}
@media (orientation:portrait) and (max-width:650px){
 .meeting-main-layout.meeting-main-three{grid-template-columns:clamp(36px,11.1vh,110px) minmax(0,1.42fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}
}


/* original style block 64/96 */

/* v13.7.214 — quantity is a rendered view of individual objects; no save migration */
.meeting-main-three .meeting-group-quantity{flex:0 0 auto;color:#163d6b;background:#eaf3ff;border:1px solid #a6c0e2;border-radius:4px;white-space:nowrap;font-size:11px;font-weight:950;padding:2px 4px;font-variant-numeric:tabular-nums}
.meeting-main-three .meeting-group-expand{width:22px;height:25px;flex:0 0 auto;border-radius:4px;border:1px solid #96abc4;color:#234d74;background:#edf5ff;font-size:15px;font-weight:950;padding:0;line-height:1;cursor:pointer}
.meeting-main-three .meeting-group-copies{margin:-1px 3px 4px 8px;padding:2px 3px 3px;border:1px dashed #a4b9d3;border-top:0;border-radius:0 0 5px 5px;background:#eff5fc}
.meeting-main-three .meeting-copy-row{display:flex;align-items:center;gap:3px;min-height:27px;padding:1px 0;border-bottom:1px solid #d4e2ef}
.meeting-main-three .meeting-copy-row:last-child{border-bottom:0}
.meeting-main-three .meeting-copy-preview{min-width:0;flex:1;text-align:left;font-size:10px;border:0;background:none;color:#234c74;font-weight:800;cursor:pointer}
.meeting-main-three .meeting-copy-row .meeting-equip-toggle{min-height:23px}
.meeting-main-three .meeting-copy-row .meeting-star{height:24px;width:22px;font-size:16px}
.meeting-main-three .meeting-sale-quantity{display:flex;flex:0 0 auto;align-items:center;gap:1px}
.meeting-main-three .meeting-sale-quantity button{width:20px;height:24px;border:1px solid #8eaccd;border-radius:4px;color:#1b5387;background:#e9f4ff;font-weight:950;padding:0;font-size:14px}
.meeting-main-three .meeting-sale-quantity button:disabled{opacity:.3;cursor:not-allowed}
.meeting-main-three .meeting-sale-quantity span{font-size:10px;font-weight:950;min-width:25px;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
/* v13.7.226: compact per-product bulk sale controls; do not enlarge the three-pane layout. */
.meeting-main-three .meeting-sale-quantity .meeting-sale-bulk{width:auto;min-width:32px;height:28px;padding:0 4px;font-size:10px;line-height:1;border-color:#c5a15c;background:#fff1c6;color:#76510e}
.meeting-main-three .meeting-sale-quantity .meeting-sale-clear{border-color:#a9bad0;background:#f3f7fe;color:#405f81}
.meeting-main-three .meeting-sale-quantity .meeting-sale-bulk:disabled{opacity:.38}
.meeting-main-three .meeting-sale-quantity span{flex:0 0 34px;min-width:34px!important}

.grouped-inventory-details{margin:0 0 6px;border:1px solid #acc2de;border-radius:6px;padding:3px;background:#f6faff}
.grouped-inventory-details>summary{color:#183e65;font-size:11px;font-weight:850;cursor:pointer;list-style-position:inside}
.grouped-inventory-details .itemrow{margin:3px 0}
@media (orientation:landscape) and (max-height:440px){
 .meeting-main-three .meeting-group-quantity{font-size:10px;padding:1px 3px}
 .meeting-main-three .meeting-group-expand{width:19px}
 .meeting-main-three .meeting-sale-quantity button{width:18px}
 .meeting-main-three .meeting-sale-quantity span{min-width:23px}
}


/* original style block 65/96 */

/* v13.7.215 — do not obscure user-approved gacha card art with redundant effects. */
.meeting-main-three>.meeting-info-pane.meeting-art-only{padding:0!important;justify-content:center}
.meeting-main-three>.meeting-info-pane.meeting-art-only .meeting-detail-art{opacity:1;object-fit:cover;object-position:center 42%}
.meeting-main-three .meeting-recovery-effect{flex:0 0 auto;white-space:nowrap;font-size:10px;line-height:1.15;font-weight:950;color:#125a7d;background:#e8f5fc;border:1px solid #b5d8e8;border-radius:4px;padding:2px 3px;font-variant-numeric:tabular-nums}
.meeting-main-three .meeting-tone-recovery-hp .meeting-recovery-effect{color:#a22a2d;background:#fff0ef;border-color:#e4b3b4}
.meeting-main-three .meeting-tone-recovery-mental .meeting-recovery-effect{color:#1e5b9d;background:#edf6ff;border-color:#b2d3f3}
.meeting-main-three .meeting-tone-recovery-both .meeting-recovery-effect{color:#116b59;background:#e8faf5;border-color:#a5d5c8}
.meeting-main-three .meeting-simple-name:has(.meeting-recovery-effect){gap:3px;min-width:0}
.meeting-main-three .meeting-simple-name:has(.meeting-recovery-effect) .meeting-one-line-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.meeting-main-three .meeting-use-confirm{background:#ffe4aa!important;color:#624006!important;border-color:#d6a13d!important;min-width:42px!important;font-weight:950}
@media (orientation:landscape) and (max-height:440px){
 .meeting-main-three .meeting-recovery-effect{font-size:9px;padding:1px 2px}
 .meeting-main-three .meeting-use-confirm{font-size:9px;min-width:39px!important}
}


/* original style block 66/96 */

/* v13.7.216: acknowledge transactions without leaving underlying shopping/meeting/ability content. */
.numeric-result-overlay.transaction-result-overlay{background:rgba(7,21,43,.25)!important;padding:6px!important;z-index:12500}
.numeric-result-overlay .numeric-result-dialog.transaction-result{
  width:min(355px,76vw)!important;max-height:min(260px,87vh)!important;min-height:0!important;
  padding:13px 15px 12px!important;margin:0!important;overflow:auto!important;
  border:3px solid #d6a248!important;border-radius:13px!important;
  color:#1b3552!important;background:linear-gradient(155deg,#fffdf1,#eaf3ff)!important;
  box-shadow:0 8px 24px #00172c7a!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;gap:5px!important;text-align:center!important;
}
.numeric-result-overlay .transaction-result-icon{display:grid;place-items:center;flex:0 0 auto;width:23px;height:23px;border-radius:50%;background:#29936d;color:white;font-size:15px;font-weight:900}
.numeric-result-overlay .transaction-result h2{font-size:clamp(14px,2vw,19px)!important;line-height:1.18;margin:1px 0!important;color:#214c79!important}
.transaction-result-changes{width:100%;min-height:0;overflow:auto;max-height:76px;display:flex;flex-direction:column;gap:2px}
.transaction-result-line{border:1px solid #d1dfee;background:#f5f9ff;border-radius:5px;padding:3px 6px;font-size:clamp(10px,1.25vw,12px);font-weight:800;color:#2b5877}
.numeric-result-overlay .transaction-result .transaction-ack{width:min(175px,95%)!important;min-height:30px!important;padding:4px 14px!important;font-size:13px!important;background:#235a8c!important;color:white!important;border:1px solid #164a75!important;border-radius:7px!important;cursor:pointer!important}
.numeric-result-overlay .transaction-result.thumb-modal .thumb-modal-scroll{width:100%;flex:0 1 auto!important;overflow:auto!important;display:flex;flex-direction:column;align-items:center;gap:4px}
.numeric-result-overlay .transaction-result.thumb-modal .thumb-modal-footer{width:100%;padding:5px 0 0;border-top:0;justify-content:center}
.numeric-result-overlay .transaction-result.thumb-modal .thumb-modal-footer button{min-height:30px!important}
/* The receipt remains a single, compact acknowledgment, over the unchanged sale screen. */
.stage-scroll .sale-receipt-panel#saleReceiptPanel{position:fixed!important;left:50%!important;top:50%!important;
  transform:translate(-50%,-50%)!important;z-index:13000!important;
  display:flex!important;flex-direction:column!important;gap:5px!important;
  width:min(350px,78vw)!important;max-height:82vh!important;overflow-y:auto!important;
  padding:10px 13px!important;margin:0!important;box-sizing:border-box!important;
  background:#fffdf3!important;border:3px solid #cea14d!important;border-radius:13px!important;
  box-shadow:0 0 0 100vmax rgba(7,21,43,.25),0 9px 25px #00172b88!important;color:#204263!important;
}
.stage-scroll #saleReceiptPanel .sale-receipt-top{margin:0!important}
.stage-scroll #saleReceiptPanel .sale-receipt-total{padding:4px 8px!important;margin:0!important}
.stage-scroll #saleReceiptPanel .sale-receipt-balance{margin:0!important}
.stage-scroll #saleReceiptPanel .sale-receipt-actions{position:static!important;margin-top:1px!important;justify-content:center!important}
.stage-scroll #saleReceiptPanel .sale-receipt-actions span{display:none!important}
.stage-scroll #saleReceiptPanel .sale-receipt-actions #saleReceiptClose{min-width:150px!important;min-height:30px!important;font-size:13px!important;padding:5px 12px!important}
.stage-scroll #saleReceiptPanel .sale-receipt-note{display:none!important}
.stage-scroll #saleReceiptPanel .sale-receipt-details{max-height:55px;overflow-y:auto;margin:0!important}
/* Main inventory rows: a fixed count column shared by equipment and recovery items. */
.meeting-main-three .meeting-simple-row{display:grid!important;grid-template-columns:minmax(0,1fr) 43px 78px!important;align-items:center!important;column-gap:2px!important;min-width:0!important}
.meeting-main-three .meeting-simple-name{width:100%;min-width:0!important;max-width:100%!important;overflow:hidden!important}
.meeting-main-three .meeting-quantity-column{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:0;width:43px;grid-column:2;}
.meeting-main-three .meeting-group-quantity{box-sizing:border-box;display:block;text-align:center;width:36px;min-width:36px;font-variant-numeric:tabular-nums;font-size:10px!important;padding:2px 1px!important}
.meeting-main-three .meeting-quantity-column .meeting-row-mini{max-width:43px;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.meeting-main-three .meeting-row-controls{width:78px;max-width:78px!important;min-width:0!important;grid-column:3;justify-content:flex-end!important;gap:2px!important}
.meeting-main-three .meeting-row-controls .meeting-equip-toggle{flex:0 0 auto;min-width:34px!important}
.meeting-main-three .meeting-row-controls .meeting-star{flex:0 0 auto}
/* v13.7.229 — fix sale quantity overlap in grouped sell rows. */
.meeting-tab-body[aria-label="会社への売却"] .meeting-simple-row{grid-template-columns:minmax(0,1fr) 40px 132px!important}
.meeting-tab-body[aria-label="会社への売却"] .meeting-quantity-column{width:40px!important}
.meeting-tab-body[aria-label="会社への売却"] .meeting-group-quantity{width:36px!important;min-width:36px!important}
.meeting-tab-body[aria-label="会社への売却"] .meeting-row-controls{width:132px!important;max-width:132px!important}
.meeting-tab-body[aria-label="会社への売却"] .meeting-sale-quantity{justify-content:flex-end!important;gap:2px!important;min-width:0!important;flex-wrap:nowrap!important}
.meeting-tab-body[aria-label="会社への売却"] .meeting-sale-quantity span{flex:0 0 38px!important;min-width:38px!important}
.meeting-tab-body[aria-label="会社への売却"] .meeting-sale-quantity .meeting-sale-bulk{min-width:30px!important;padding:0 3px!important;font-size:9px!important}
@media (orientation:landscape) and (max-height:440px){
 .meeting-tab-body[aria-label="会社への売却"] .meeting-simple-row{grid-template-columns:minmax(0,1fr) 38px 126px!important}
 .meeting-tab-body[aria-label="会社への売却"] .meeting-quantity-column{width:38px!important}
 .meeting-tab-body[aria-label="会社への売却"] .meeting-row-controls{width:126px!important;max-width:126px!important}
 .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-quantity span{flex:0 0 36px!important;min-width:36px!important}
}

/* v13.7.232: Sale list row uses its own measured columns.
   Avoid the legacy 78px control width that lets ×1 and − overlap. */
.meeting-main-three>.meeting-list-pane{container-type:inline-size}
.meeting-main-three .meeting-sale-row{grid-template-columns:minmax(0,1fr) 36px max-content!important;column-gap:4px!important}
.meeting-main-three .meeting-sale-row .meeting-quantity-column{grid-column:2!important;width:36px!important;min-width:0!important}
.meeting-main-three .meeting-sale-row .meeting-group-quantity{width:34px!important;min-width:0!important}
.meeting-main-three .meeting-sale-row .meeting-row-controls{grid-column:3!important;display:flex!important;width:max-content!important;max-width:none!important;min-width:0!important;justify-content:flex-end!important}
.meeting-main-three .meeting-sale-row .meeting-sale-quantity{display:grid!important;grid-template-columns:20px 38px 20px 30px 30px!important;column-gap:2px!important;align-items:center!important;width:max-content!important;min-width:0!important;gap:2px!important}
.meeting-main-three .meeting-sale-row .meeting-sale-quantity button{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:26px!important;padding:0!important}
.meeting-main-three .meeting-sale-row .meeting-sale-quantity span{box-sizing:border-box!important;display:block!important;grid-column:auto!important;width:100%!important;min-width:0!important;flex:none!important;overflow:visible!important;text-align:center!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important;font-size:10px!important}
.meeting-main-three .meeting-sale-row .meeting-sale-quantity .meeting-sale-bulk{width:100%!important;min-width:0!important;font-size:10px!important;padding:0!important;height:26px!important}
@container (max-width:258px){
 /* Small landscape screens: reserve a full second line for sale buttons,
    keeping item name and inventory count readable above them. */
 .meeting-main-three .meeting-sale-row{grid-template-columns:minmax(0,1fr) 40px!important;grid-template-rows:auto auto!important;row-gap:2px!important}
 .meeting-main-three .meeting-sale-row .meeting-simple-name{grid-column:1!important;grid-row:1!important}
 .meeting-main-three .meeting-sale-row .meeting-quantity-column{grid-column:2!important;grid-row:1!important;width:40px!important}
 .meeting-main-three .meeting-sale-row .meeting-row-controls{grid-column:1 / -1!important;grid-row:2!important;justify-self:end!important}
}
/* Force six upgrade cards in three columns and two rows for the landscape mobile playfield. */
@media (orientation:landscape) and (min-width:560px) and (max-height:520px){
 .dashboard.abilities-full-view>.core-head,.dashboard.abilities-full-view>.side,.dashboard.abilities-full-view>.abilities-sketch,.dashboard.abilities-full-view>.vitals-sketch{display:none!important}
 .dashboard.abilities-full-view .stage{grid-area:1/1/4/4!important;display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
 .dashboard.abilities-full-view .stage .stage-scroll{box-sizing:border-box!important;flex:1!important;min-height:0!important;width:100%!important;overflow:hidden!important;padding:3px 5px!important}
 .dashboard.abilities-full-view .ability-compact-screen{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 .dashboard.abilities-full-view .ability-compact-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:4px!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
 .dashboard.abilities-full-view .bottom-nav{grid-area:4/1/5/4!important}
 .dashboard.abilities-full-view .thumb-action-dock{display:none!important}
}
/* v13.7.219: equipment-only one line per product; status column shows upgraded flag. */
.meeting-main-three .meeting-gear-enhanced{display:block;color:#8b6318!important;font-size:9px!important;font-weight:900;white-space:nowrap;max-width:none!important;overflow:visible!important;text-overflow:clip!important;}


/* original style block 67/96 */

 .ability-compact-screen{
  box-sizing:border-box;width:100%;height:100%;min-height:0;overflow:hidden;
  display:flex;flex-direction:column;gap:4px;
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif;
  color:#193552;
 }
 .ability-compact-header{
  flex:0 0 44px;display:flex;align-items:center;gap:8px;justify-content:space-between;
  border:2px solid #9fb8d7;background:linear-gradient(180deg,#e3efff,#f7faff);border-radius:12px;
  padding:3px 8px;box-sizing:border-box;min-width:0;
 }
 .ability-compact-heading{display:flex;flex-direction:column;line-height:1.1;min-width:0;flex:0 0 auto}
 .ability-compact-heading strong{font-size:17px;color:#214c79;white-space:nowrap}
 .ability-compact-heading span{font-size:10px;font-weight:800;color:#54749c;white-space:nowrap}
 .ability-compact-wallet{display:flex;flex:1;justify-content:flex-end;gap:5px;min-width:0}
 .ability-compact-wallet>span{padding:3px 8px;background:#fff;border:1px solid #b4c9e3;border-radius:8px;
  display:flex;flex-direction:column;align-items:center;min-width:83px;line-height:1.15;white-space:nowrap;font-weight:800;font-size:10px}
 .ability-compact-wallet b{font-size:16px;color:#1e4b7d;font-variant-numeric:tabular-nums}
 .ability-compact-wallet .compact-pt-spent{color:#ae3845}
 .ability-compact-wallet .compact-pt-remain{color:#21834d}
 .ability-compact-grid{min-height:0;flex:1 1 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5px}
 .compact-growth-card{box-sizing:border-box;display:flex;flex-direction:column;gap:2px;min-width:0;min-height:0;
  padding:4px 7px 3px;border:2px solid #a1bce0;border-radius:11px;
  background:linear-gradient(155deg,#ffffff,#eff6ff);box-shadow:0 2px 0 #d0dff2;overflow:hidden}
 .compact-growth-name{display:flex;align-items:center;justify-content:space-between;gap:3px;min-height:15px}
 .compact-growth-name strong{font-size:13px;font-weight:900;white-space:nowrap}
 .compact-growth-name .ability-grade{font-size:11px;padding:0 4px}
 .compact-growth-values{display:flex;align-items:baseline;justify-content:space-between;gap:3px;min-height:22px}
 .compact-growth-level{font-size:18px;line-height:1.05;font-weight:900;font-variant-numeric:tabular-nums}
 .compact-growth-level b{color:#0f63a7}
 .growth-arrow{color:#8298b0;font-weight:700}
 .compact-growth-draft{font-size:10px;color:#576d85;font-weight:850;white-space:nowrap}
 .compact-growth-points{font-size:11px;line-height:1.12;font-weight:750;white-space:nowrap}
 .compact-growth-points b{font-size:12px;font-weight:950;font-variant-numeric:tabular-nums}
 .compact-growth-points small{font-size:10px;color:#b4434d}
 .compact-pt-changed{color:#bc354e}
 .compact-growth-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:2px;min-width:0}
 .compact-growth-cost{font-size:10px;line-height:1.05;font-weight:800;color:#526c89;white-space:nowrap;min-width:0}
 .compact-helper{font-size:9px}
 .compact-growth-actions{display:flex;gap:3px;align-items:center;flex:0 0 auto}
 .compact-growth-actions button{border:1px solid #8eaad2;border-radius:6px;background:#e3edfb;color:#224e84;cursor:pointer;
  font-size:16px;font-weight:900;line-height:1;width:27px;height:27px;padding:0}
 .compact-growth-actions button:last-child{background:linear-gradient(180deg,#ffe19c,#efb949);border-color:#cfa044;color:#4d3508}
 .compact-growth-actions button:disabled{opacity:.35;cursor:not-allowed}
 .compact-growth-actions b{font-size:11px;font-variant-numeric:tabular-nums;min-width:8px;text-align:center}
 .compact-exam-assign{flex:0 0 auto;border:1px solid #85b7d9;background:#e1f5ff;color:#21577c;border-radius:5px;padding:2px 4px;font-weight:900;font-size:9px;line-height:1}
 .ability-compact-footer{margin:0!important;padding:0!important;width:100%!important;min-height:0!important;flex:0 0 34px;display:flex;align-items:center;gap:7px;justify-content:space-between;min-width:0}
 .ability-compact-footer button{height:31px;border-radius:9px;padding:4px 12px;white-space:nowrap;font-size:12px;font-weight:900;cursor:pointer}
 .ability-compact-footer button:disabled{opacity:.5;cursor:not-allowed}
 .compact-reset{background:#ecf2fb;border:1px solid #a6b9d3;color:#28527f}
 .compact-auto{white-space:nowrap;font-size:12px;font-weight:850;display:flex;align-items:center;gap:3px}
 .compact-auto input{width:15px;height:15px;margin:0}
 .compact-ability-notice{margin-left:auto;color:#546c87;font-size:10px;white-space:nowrap}
 .compact-confirm{background:linear-gradient(180deg,#ffe4a1,#f0c465);border:2px solid #caa04d;color:#593d0b;min-width:128px}
/* v13.7.218: the 3×2 upgrade panel also fills taller PC/tablet landscape screens.
   Only presentation rules: no change to growthProjection / save format. */
@media (orientation:landscape) and (min-width:700px) and (min-height:441px){
 .dashboard.base-layout.abilities-full-view>.core-head,.dashboard.base-layout.abilities-full-view>.side,.dashboard.base-layout.abilities-full-view>.abilities-sketch,.dashboard.base-layout.abilities-full-view>.vitals-sketch{display:none!important}
 .dashboard.base-layout.abilities-full-view .stage {
  grid-area:1/1/4/4!important;min-width:0!important;min-height:0!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;
 }
 .dashboard.base-layout.abilities-full-view .stage>.stage-scroll {
  box-sizing:border-box!important;flex:1 1 0!important;width:100%!important;height:100%!important;
  min-height:0!important;overflow:hidden!important;padding:clamp(7px,1.1vh,14px)!important;
 }
 .dashboard.base-layout.abilities-full-view .ability-compact-screen{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:clamp(6px,1.1vh,13px)!important}
 .dashboard.base-layout.abilities-full-view .ability-compact-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;flex:1 1 0!important;min-height:0!important;gap:clamp(7px,1.1vh,14px)!important}
 .dashboard.base-layout.abilities-full-view .ability-compact-header{flex:0 0 clamp(48px,7vh,76px);padding:5px clamp(9px,1vw,20px)}
 .dashboard.base-layout.abilities-full-view .ability-compact-heading strong{font-size:clamp(17px,1.7vw,25px)}
 .dashboard.base-layout.abilities-full-view .ability-compact-heading span{font-size:clamp(10px,1.05vw,15px)}
 .dashboard.base-layout.abilities-full-view .ability-compact-wallet>span{font-size:clamp(10px,1.05vw,14px);min-width:clamp(90px,8vw,145px)}
 .dashboard.base-layout.abilities-full-view .ability-compact-wallet b{font-size:clamp(16px,1.8vw,25px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-card{padding:clamp(9px,1.1vh,18px) clamp(10px,1.2vw,20px);gap:clamp(6px,1vh,12px);justify-content:space-between}
 .dashboard.base-layout.abilities-full-view .compact-growth-bottom{margin-top:0}
 .dashboard.base-layout.abilities-full-view .compact-growth-name strong{font-size:clamp(13px,1.4vw,20px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-name .ability-grade{font-size:clamp(12px,1.1vw,17px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-level{font-size:clamp(19px,2vw,30px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-draft{font-size:clamp(10px,1vw,15px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-points{font-size:clamp(12px,1.15vw,17px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-points b{font-size:clamp(14px,1.45vw,22px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-cost{font-size:clamp(10px,1.05vw,16px)}
 .dashboard.base-layout.abilities-full-view .compact-helper{font-size:clamp(10px,.95vw,14px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-actions button{width:clamp(30px,3vw,46px);height:clamp(30px,3vw,46px);font-size:clamp(16px,1.5vw,23px)}
 .dashboard.base-layout.abilities-full-view .compact-growth-actions b{font-size:clamp(13px,1.2vw,18px);min-width:18px}
 .dashboard.base-layout.abilities-full-view .ability-compact-footer{flex:0 0 45px;gap:12px}
 .dashboard.base-layout.abilities-full-view .ability-compact-footer button{height:38px;font-size:clamp(12px,1.1vw,17px)}
 .dashboard.base-layout.abilities-full-view .compact-auto{font-size:clamp(12px,1.1vw,16px)}
 .dashboard.base-layout.abilities-full-view .compact-ability-notice{font-size:clamp(10px,1vw,14px)}
 .dashboard.base-layout.abilities-full-view .bottom-nav{grid-area:4/1/5/4!important}
}
@media (orientation:landscape) and (min-width:560px) and (max-width:699px) and (max-height:520px){
 /* Small landscape phones: use separate rows for the next cost and +/- controls. */
 .ability-compact-grid .compact-growth-card{padding:2px 4px!important;gap:0!important}
 .ability-compact-grid .compact-growth-name strong{font-size:11px!important}
 .ability-compact-grid .compact-growth-values{min-height:18px!important}
 .ability-compact-grid .compact-growth-level{font-size:16px!important}
 .ability-compact-grid .compact-growth-points{font-size:10px!important}
 .ability-compact-grid .compact-growth-bottom{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
 .ability-compact-grid .compact-growth-cost{width:100%!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:8px!important}
 .ability-compact-grid .compact-helper{font-size:8px!important}
 .ability-compact-grid .compact-growth-actions{align-self:flex-end!important;gap:3px!important}
 .ability-compact-grid .compact-growth-actions button{width:22px!important;height:22px!important;font-size:15px!important}
}


/* original style block 68/96 */

/* Deliberate selection distinguishes first tap from execution. */
.dashboard.base-layout .job-bubble,.dashboard.base-layout .sabo-work-card,.dashboard.base-layout .holiday-effect-choice{touch-action:manipulation;}
.dashboard.base-layout .job-bubble.active,.dashboard.base-layout .sabo-work-card.active{outline:2px solid #f9d477;outline-offset:1px;}
.dashboard.base-layout .holiday-effect-choice.thumb-selected{box-shadow:0 0 0 3px #f7cc67!important;}
.dashboard.base-layout .job-commit:disabled{opacity:.46;cursor:not-allowed;}
/* Under 700px the legacy layout has no base-layout class, but the Sunday
   two-tap safety and its explicit confirmation must still work. */
@media(max-width:699px){
.dashboard:not(.base-layout) .stage:has(.holiday-detail){display:flex;flex-direction:column;overflow:hidden;min-height:0;}
.dashboard:not(.base-layout) .stage:has(.holiday-detail) .stage-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;}
.dashboard:not(.base-layout) .stage .thumb-action-dock{flex:0 0 auto;min-height:36px;display:flex;justify-content:flex-end;align-items:center;padding:3px 7px;border-top:2px solid #a5bfd7;background:#e9f3ff;z-index:12;}
.dashboard:not(.base-layout) .stage .thumb-action-dock .thumb-action-right{display:flex;margin-left:auto;}
.dashboard:not(.base-layout) .stage .thumb-action-dock .thumb-action-right .act{min-height:30px;padding:5px 9px;font-size:11px;font-weight:900;background:linear-gradient(#ffe5a4,#f7bb44);border:1px solid #b78128;border-radius:6px;color:#442c12;}
.dashboard:not(.base-layout) .stage .thumb-action-dock button:disabled{opacity:.52;}
.dashboard:not(.base-layout) .holiday-effect-choice.thumb-selected{background:#fff2ce!important;border-color:#ca932d!important;outline:2px solid #f7d077;}
}


/* original style block 69/96 */

.dashboard .stage:has(.tap-result-hint) .stage-scroll .main{cursor:pointer}
.dashboard .stage:has(.tap-result-hint) .tap-result-hint{font-weight:800;color:#2464a0}
@media(hover:none){.dashboard .stage:has(.tap-result-hint) .stage-scroll .main{-webkit-tap-highlight-color:rgba(45,111,176,.08)}}


/* original style block 70/96 */

.dashboard .stage:has(.two-tap-result-hint) .stage-scroll{cursor:pointer}
.two-tap-result-hint,.one-tap-result-hint{font-weight:800!important;color:#25649e!important;font-size:clamp(10px,1.25vw,13px)!important}
.dashboard .stage:has(.one-tap-result-hint) .stage-scroll{cursor:pointer}
.numeric-result-overlay .one-tap-result-hint{margin:2px 0!important}
.two-tap-ack-armed .two-tap-result-hint{color:#985b05!important}
.two-tap-ack-armed .two-tap-result-hint::after{content:'  ▶ もう一度タップで続行';color:#a56707;font-weight:900}
.two-tap-ack-armed .result-action-dock .act,.two-tap-ack-armed .transaction-ack,.two-tap-ack-armed #saleReceiptClose{outline:3px solid #e9ae39!important;outline-offset:2px}
.two-tap-ack-armed .stage-scroll>.panel.main{box-shadow:inset 0 0 0 2px #e9ae39}
.numeric-result-overlay .two-tap-result-hint{margin:2px 0!important}
#saleReceiptPanel.two-tap-ack-armed{border-color:#efb22c!important}


/* original style block 71/96 */

.dashboard:has(.boss-cinematic),
.dashboard:has(.boss-result-report),
.dashboard:has(.romance-report.romance-warning),
.dashboard:has(.romance-report.romance-breakup),
.dashboard:has(.shortage-report-anywhere-tap),
.dashboard:has(.sabo-cinematic),
.dashboard:has(.stage-scroll .special-anywhere-tap-hint){cursor:pointer}
.special-anywhere-tap-hint{font-size:clamp(11px,1.1vw,14px);font-weight:800;color:#245a91;margin:8px 0;text-align:center}


/* original style block 72/96 */

/* Regular state: match neighboring controls. Gold only if every sale-eligible copy is selected. */
.meeting-main-three .meeting-sale-row .meeting-sale-quantity .meeting-sale-bulk:not(.meeting-sale-clear){
 background:#e9f4ff!important;color:#1b5387!important;border-color:#8eaccd!important;
}
.meeting-main-three .meeting-sale-row .meeting-sale-quantity .meeting-sale-bulk.is-all-selected:not(.meeting-sale-clear){
 background:#ffe2a0!important;color:#724600!important;border-color:#bd8423!important;
 box-shadow:inset 0 0 0 1px #e6b25c!important;
}
.meeting-main-three .meeting-sale-row .meeting-sale-quantity .meeting-sale-clear{
 background:#e9f4ff!important;color:#1b5387!important;border-color:#8eaccd!important;
}
.meeting-main-three .meeting-sale-row .meeting-sale-quantity .meeting-sale-clear:disabled{
 background:#eef2f6!important;color:#7c8c9b!important;border-color:#b9c6d6!important;opacity:.4!important;
}
/* Reserve the right-hand padding as part of the real grid track, not an overflow. */
.meeting-main-three .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-row{
 grid-template-columns:minmax(0,1fr) 36px 142px!important;column-gap:4px!important;
}
.meeting-main-three .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-row .meeting-quantity-column{
 width:36px!important;grid-column:2!important;
}
.meeting-main-three .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-row .meeting-row-controls{
 grid-column:3!important;box-sizing:content-box!important;width:134px!important;max-width:none!important;
 padding-right:8px!important;justify-self:end!important;
}
.meeting-main-three .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-row .meeting-sale-quantity{
 grid-template-columns:18px 34px 18px 28px 28px!important;gap:2px!important;
 width:134px!important;
}
.meeting-main-three .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-row .meeting-sale-quantity span{
 min-width:0!important;flex:none!important;
}
@container (max-width:260px){
 .meeting-main-three .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-row{
  grid-template-columns:minmax(0,1fr) 38px!important;grid-template-rows:auto auto!important;row-gap:2px!important;
 }
 .meeting-main-three .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-row .meeting-quantity-column{grid-column:2!important;grid-row:1!important;width:38px!important}
 .meeting-main-three .meeting-tab-body[aria-label="会社への売却"] .meeting-sale-row .meeting-row-controls{
  grid-column:1 / -1!important;grid-row:2!important;justify-self:end!important;
 }
}


/* original style block 73/96 */

#app .dashboard .stage .meeting-footer-dock button.meeting-finish-button {
  background:linear-gradient(180deg,#ffe9a8 0%,#f6b83b 100%) !important;
  border:2px solid #c28c24 !important;
  color:#492d0e !important;
  box-shadow:0 2px 0 #ac7e28 !important;
}
#app .dashboard .stage .meeting-footer-dock button.meeting-finish-button:hover:not(:disabled){filter:brightness(1.05)}
#app .dashboard .stage .meeting-footer-dock button.meeting-finish-button:disabled{opacity:.4;box-shadow:none!important}


/* original style block 74/96 */

/* v13.7.246: compact three-tabs editor, inventory left / editable 9-card layout right */
#app .sd-shell{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;gap:4px;color:#213c59;overflow:hidden;font-family:inherit}
#app .sd-shell *{box-sizing:border-box}
#app .sd-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:0 0 auto;height:28px}
#app .sd-tabs button{border:1px solid #97b2d2;background:#edf3fa;border-radius:6px;font-size:clamp(10px,1.35vw,13px);font-weight:900;white-space:nowrap;cursor:pointer;color:#285078;padding:2px 3px}
#app .sd-tabs button.on{background:#22578c;color:#fff;border-color:#1b4c7e}
#app .sd-main{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:5px;flex:1;min-height:0;overflow:hidden}
#app .sd-library,#app .sd-workspace{display:flex;flex-direction:column;min-height:0;min-width:0;gap:4px;border:1px solid #a8bfd8;border-radius:8px;background:#f8fbff;padding:5px;overflow:hidden}
#app .sd-title{display:flex;justify-content:space-between;align-items:center;gap:5px;min-height:15px;white-space:nowrap}
#app .sd-title strong{font-size:clamp(10px,1.2vw,12px);overflow:hidden;text-overflow:ellipsis}
#app .sd-title span{font-size:10px;color:#68809e;white-space:nowrap}
#app .sd-filters{display:flex;gap:2px;flex:0 0 auto}
#app .sd-filters button{border:1px solid #bdcbdc;border-radius:4px;background:#e9f0f9;color:#345576;font-weight:800;font-size:10px;min-height:23px;flex:1;min-width:0;padding:1px;cursor:pointer}
#app .sd-filters button.on{background:#26649a;color:#fff}
#app #skill-deck-search{width:100%;flex:0 0 auto;font-size:11px;min-height:25px;border:1px solid #b9cce0;border-radius:5px;background:white;color:#1f405f;padding:3px 7px}
#app .sd-inventory{display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto;overscroll-behavior:contain;min-height:0}
#app .sd-inv{display:flex;align-items:center;width:100%;gap:4px;flex:0 0 auto;min-height:27px;text-align:left;border:1px solid #c6d4e1;border-left:4px solid #478eb8;background:#fff;border-radius:5px;padding:3px 4px;color:#193d5d;font-size:11px;cursor:pointer;min-width:0}
#app .sd-inv.logic,#app .sd-slot.logic{border-left-color:#328fc6}
#app .sd-inv.empathy,#app .sd-slot.empathy{border-left-color:#d65b98}
#app .sd-inv.passion,#app .sd-slot.passion{border-left-color:#d49a36}
#app .sd-inv.all,#app .sd-slot.all{border-left-color:#926bcd}
#app .sd-inv:disabled{opacity:.55;cursor:default}
#app .sd-inv.is-active{background:#f3e9ff;border-color:#a27dda}
#app .sd-inv-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}
#app .sd-rarity{display:inline-block;background:#e9edf4;border-radius:3px;min-width:29px;text-align:center;font-size:9px;font-weight:900;padding:2px}
#app .sd-attr{font-size:9px;flex:0 0 auto;color:#52718c}
#app .sd-inv small{font-size:9px;color:#8897ad}
#app .sd-help{font-size:9px;color:#577692;flex:0 0 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app .sd-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:3px;flex:1;min-height:104px;max-height:100%;overflow:hidden}
#app .sd-slot{border:1px solid #b7cce0;border-left:4px solid #70a1be;background:#eef5fb;border-radius:5px;padding:2px 3px;min-width:0;min-height:0;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:1px;color:#234a6c}
#app .sd-slot.on{box-shadow:inset 0 0 0 2px #dfad42;background:#fff2cb;border-top-color:#ca922f;border-right-color:#ca922f;border-bottom-color:#ca922f}
#app .sd-slot-top{font-size:9px;color:#647c96;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app .sd-slot-name{font-size:clamp(9px,1.06vw,11px);font-weight:900;line-height:1.12;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#app .sd-slot-warn{font-size:8px;color:#b03f3f}
#app .sd-missing{background:#fff3f0}
#app .sd-bad{flex:0 0 auto;display:flex;align-items:center;gap:4px;padding:3px 7px;border:1px solid #dbacb2;border-radius:5px;background:#fbe9eb;color:#9b353f;font-size:10px}
#app .sd-bad b{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app .sd-bad span{font-weight:900;font-size:9px}
#app .sd-preset{display:flex;align-items:center;justify-content:space-between;gap:3px;flex:0 0 auto}
#app .sd-preset span{font-size:9px;white-space:nowrap;color:#5a6d84}
#app .sd-preset button{background:#f0f5fe;border:1px solid #afc7e0;color:#2a5179;border-radius:4px;font-size:9px;flex:1;min-height:22px;font-weight:800;padding:1px}
#app .sd-actions{display:flex;gap:4px;flex:0 0 auto}
#app .sd-actions button{flex:1;min-height:27px;border-radius:5px;font-size:11px;font-weight:900;cursor:pointer}
#app .sd-auto{background:#f1f5fc;border:1px solid #a3bddd;color:#2e5277}
#app .sd-save{background:linear-gradient(#ffe6a2,#f8c04b);border:1px solid #c79137;color:#4f3718}
#app .sd-save:disabled{opacity:.48;cursor:default}
#app .sd-empty{font-size:11px;padding:8px;text-align:center}
@media(max-width:880px){#app .sd-shell{gap:2px}#app .sd-main{gap:3px}#app .sd-library,#app .sd-workspace{padding:3px;gap:2px}#app .sd-tabs{height:24px}#app .sd-slots{gap:2px}#app .sd-actions button{min-height:24px}#app .sd-preset button{min-height:20px}}

#app .sd-inv-basic{display:flex;align-items:center;gap:2px;position:sticky;top:0;background:#f8fbff;z-index:1;padding:2px 0;flex:0 0 auto}
#app .sd-inv-basic span{font-size:9px;color:#5a6d84;white-space:nowrap}
#app .sd-inv-basic button{flex:1;min-width:0;min-height:19px;padding:1px;border:1px solid #adc3da;border-radius:3px;background:#eaf2fa;font-size:9px;color:#2e567f;font-weight:800}
#app .sd-slots{min-height:84px}
#app .sd-bad{min-height:18px;padding:2px 6px}
#app .sd-actions button{min-height:23px}
#app .sd-workspace{overflow-y:auto;overscroll-behavior:contain}



/* original style block 75/96 */

/* The original player inventory remains available; the full-screen editor reuses Meeting Prep state. */
#app .player-skill-command{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:7px 8px;margin:3px 0 8px;background:#eaf1fa;border:1px solid #b3c8df;border-radius:8px;color:#204263}
#app .player-skill-command div{display:flex;flex-direction:column;min-width:0;gap:2px}
#app .player-skill-command b{font-size:13px}
#app .player-skill-command span{font-size:10px}
#app .player-skill-command button{font-size:12px;flex:0 0 auto;min-height:32px;border-radius:6px;padding:4px 10px;background:#2b649e;border:1px solid #174a7d;color:white;font-weight:900;cursor:pointer}
#app .player-skill-modal-backdrop{position:fixed;inset:0;z-index:999998;background:#102a43bb;display:flex;justify-content:center;align-items:center;padding:8px}
#app .player-skill-modal{width:min(1100px,calc(100dvw - 16px));height:calc(100dvh - 16px);min-width:0;min-height:0;background:#ebf3fb;border:2px solid #668db7;border-radius:10px;padding:6px;display:flex;flex-direction:column;gap:4px;box-shadow:0 6px 30px #04182a88}
#app .player-skill-modal-header{display:flex;align-items:center;gap:8px;color:#23496f;min-height:30px;flex:0 0 auto}
#app .player-skill-modal-header strong{font-size:14px}
#app .player-skill-modal-header span{font-size:10px;flex:1;text-align:center}
#app .player-skill-modal-header button{padding:4px 12px;min-height:29px;background:#e9f1f9;border:1px solid #8aa7c7;border-radius:5px;color:#21496f;font-size:11px;font-weight:900;cursor:pointer}
#app .player-skill-modal-workspace{flex:1;min-height:0;min-width:0;overflow:hidden}
#app .player-skill-modal-workspace .sd-shell{height:100%;min-height:0}
@media(max-width:880px){#app .player-skill-modal{padding:4px;gap:3px}#app .player-skill-modal-header{min-height:27px}#app .player-skill-command button{font-size:11px}}


/* original style block 76/96 */

/* v13.7.254 | Display only: iPhone landscape safe areas, tighter ability rows,
   and more usable space for the main play stage. All simulation rules unchanged. */
:root {
  --game-safe-left: env(safe-area-inset-left, 0px);
  --game-safe-right: env(safe-area-inset-right, 0px);
  --game-safe-top: env(safe-area-inset-top, 0px);
  --game-safe-bottom: env(safe-area-inset-bottom, 0px);
}
@media (orientation:landscape) and (min-width:700px) {
  main#app {
    --game-base-edge: clamp(5px, .9vw, 12px);
    width:100%;max-width:none;box-sizing:border-box;
    min-height:100dvh;
    padding-top:max(var(--game-base-edge),var(--game-safe-top));
    padding-right:max(var(--game-base-edge),var(--game-safe-right));
    padding-bottom:max(var(--game-base-edge),var(--game-safe-bottom));
    padding-left:max(var(--game-base-edge),var(--game-safe-left));
  }
  main#app:has(> .dashboard){height:100dvh;}
  /* Shopping screen's old zero-padding rule must not override device cutout. */
  main#app:has(.dashboard.shopping-view){
    padding-top:max(var(--game-base-edge),var(--game-safe-top))!important;
    padding-right:max(var(--game-base-edge),var(--game-safe-right))!important;
    padding-bottom:max(var(--game-base-edge),var(--game-safe-bottom))!important;
    padding-left:max(var(--game-base-edge),var(--game-safe-left))!important;
  }
  main#app > .dashboard {
    height:100%!important;
    min-height:0!important;
    width:100%;
  }
  /* Grade is immediately after its label, never aligned across a giant gap. */
  #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row {
    grid-template-columns:max-content max-content!important;
    justify-content:start!important;
    align-items:center!important;
    column-gap:2px!important;
  }
  #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row>b {
    justify-self:start!important;
  }
  /* Full-viewport skill editor is also safe when the camera cutout is on either side. */
  #app .player-skill-modal-backdrop {
    padding-left:max(8px,var(--game-safe-left))!important;
    padding-right:max(8px,var(--game-safe-right))!important;
    padding-top:max(8px,var(--game-safe-top))!important;
    padding-bottom:max(8px,var(--game-safe-bottom))!important;
  }
  #app .player-skill-modal{max-width:100%;max-height:100%;}
  /* The result screen covers the viewport, so its absolute content must avoid
     the cutout independently of the standard dashboard padding. */
  #app .shopping-result-fullscreen>.shopping-luxe-result,
  #app .shopping-result-fullscreen>.shopping-result-poster {
    left:var(--game-safe-left)!important;
    right:var(--game-safe-right)!important;
    top:var(--game-safe-top)!important;
    bottom:var(--game-safe-bottom)!important;
    width:auto!important;
    height:auto!important;
  }

}
@media (orientation:landscape) and (min-width:700px) and (max-height:440px) {
  /* Prior 19% ability strip left substantial unused space between labels and D40.
     Keep the status strip readable, make the central stage the flexible column. */
  #app .dashboard.base-layout:not(.abilities-full-view) {
    grid-template-columns:minmax(0,1fr) clamp(122px,14vw,126px) clamp(83px,10.7vw,106px)!important;
  }
  #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row {
    padding:2px 2px!important;
    gap:2px!important;
  }
  #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row>span {
    font-size:11.5px!important;
    letter-spacing:-.07em!important;
  }
  #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row>b {
    font-size:15px!important;
    gap:1px!important;
  }
  #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row .ability-grade {
    font-size:14px!important;
    padding:0 1px!important;
  }
}


/* original style block 77/96 */

/* v13.7.259 — presentation-only shortcuts. Existing explicit controls and battle logic retained. */
body.meeting-tap-v259 .actionpanel,
body.meeting-tap-v259 .mb-choice-backdrop { cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
body.meeting-tap-v259 .actionpanel button,
body.meeting-tap-v259 .actionpanel select,
body.meeting-tap-v259 .actionpanel summary {cursor:pointer;}
.mb-anywhere-hint-v259 {font-size:11px;color:#47749b;font-weight:800;line-height:1.3;}
.mb-choice-dialog .mb-anywhere-hint-v259 {color:#567da4;margin-top:5px;font-size:10px;}
@media(prefers-reduced-motion:reduce){.mb-anywhere-hint-v259{animation:none}}


/* original style block 78/96 */

/* v13.7.260 — visual-only and UI-step changes. Do not modify scoring or RNG. */
/* Candidate cards are the actual full-bleed, already-embedded parent portraits. */
.meeting-pick-v257 .mv-candidate{isolation:isolate;position:relative;justify-content:flex-start;padding:4px 3px 5px!important;gap:2px;box-shadow:0 2px 6px #24456633;overflow:hidden}
.meeting-pick-v257 .mv-candidate.type-0{border-color:#c44b55;background:#fbe8e9}
.meeting-pick-v257 .mv-candidate.type-1{border-color:#b178bc;background:#f5e9f7}
.meeting-pick-v257 .mv-candidate.type-2{border-color:#448b9a;background:#e7f4f6}
.meeting-pick-v257 .mv-candidate.is-picked{outline:3px solid #ebbe45;outline-offset:-4px;border-color:#1c71b8;box-shadow:0 0 0 2px #2674b8 inset,0 2px 8px #113b6580}
.meeting-pick-v257 .mv-cand-full-portrait{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%;opacity:.89;pointer-events:none}
.meeting-pick-v257 .mv-candidate::before{content:'';position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,.79),rgba(255,255,255,.08) 30%,rgba(255,255,255,.05) 40%,rgba(255,255,255,.90) 76%,rgba(255,255,255,.98))}
.meeting-pick-v257 .mv-candidate.type-0::before{background:linear-gradient(to bottom,#fff0f0dc,transparent 35%,#fff2f4ef 90%,#fff2f4)}
.meeting-pick-v257 .mv-candidate.type-1::before{background:linear-gradient(to bottom,#fff0f9dc,transparent 35%,#faf0fff0 90%,#faf0ff)}
.meeting-pick-v257 .mv-candidate.type-2::before{background:linear-gradient(to bottom,#ebfaffde,transparent 35%,#ecf9fcee 90%,#ecf9fc)}
.meeting-pick-v257 .mv-candidate > :not(.mv-cand-full-portrait){position:relative;z-index:2;flex-shrink:0}
.meeting-pick-v257 .mv-candidate .mv-cand-portrait{display:none}
.meeting-pick-v257 .mv-candidate .mv-cand-spacer{display:block;flex:1 1 auto;min-height:7px;width:100%}
.meeting-pick-v257 .mv-candidate .mv-cand-top{width:100%;padding:0 2px}
.meeting-pick-v257 .mv-candidate .mv-cand-top .mv-cand-rank{background:#ffffffd8;border-radius:4px;padding:1px 3px;color:#294764;font-size:clamp(9px,.85vw,12px);font-weight:800}
.meeting-pick-v257 .mv-candidate .mv-cand-top .mv-cand-match{font-size:clamp(9px,.85vw,12px);padding:2px 5px}
.meeting-pick-v257 .mv-candidate b{display:block;max-width:100%;text-shadow:0 1px #fff;font-size:clamp(12px,1.35vw,19px);line-height:1.13}
.meeting-pick-v257 .mv-candidate .mv-cand-type{background:#ffffffdb;border-radius:4px;padding:0 5px;font-size:clamp(9px,.94vw,12px);font-weight:850}
.meeting-pick-v257 .mv-candidate small{color:#214c71;font-weight:800;font-size:clamp(9px,.85vw,12px)}
.meeting-pick-v257 .mv-candidate .mv-cand-check{font-size:clamp(9px,.85vw,12px);color:#185b93}
@media(max-height:390px){.meeting-pick-v257 .mv-candidate{padding:2px!important;gap:1px}.meeting-pick-v257 .mv-candidate b{font-size:11px}.meeting-pick-v257 .mv-candidate .mv-cand-top .mv-cand-rank,.meeting-pick-v257 .mv-candidate .mv-cand-top .mv-cand-match{font-size:8px;padding:1px 2px}}
/* Fixed right column makes E/D/... grades and numeric values line up vertically. */
#app .dashboard.base-layout .abilities-sketch-row,
#app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row{
 display:grid!important;grid-template-columns:minmax(0,1fr) 57px!important;justify-content:stretch!important;align-items:center!important;gap:2px!important;min-width:0!important;padding-left:4px!important;padding-right:4px!important;
}
#app .dashboard.base-layout .abilities-sketch-row>span{justify-self:start!important;text-align:left!important;overflow:hidden;text-overflow:clip;white-space:nowrap}
#app .dashboard.base-layout .abilities-sketch-row>b{display:grid!important;grid-template-columns:19px 36px!important;justify-self:end!important;justify-content:end!important;align-items:center!important;gap:1px!important;min-width:56px!important;white-space:nowrap!important;text-align:right!important;font-variant-numeric:tabular-nums!important}
#app .dashboard.base-layout .abilities-sketch-row .ability-grade{grid-column:1!important;display:inline-flex!important;justify-content:center!important;min-width:17px!important;padding:0 1px!important;margin:0!important;text-align:center!important}
@media(orientation:landscape) and (min-width:1000px) and (min-height:550px){
 /* Desktop job screen: both A-E and six business tiles expand into available stage height. */
 #app .dashboard.base-layout .stage .stage-scroll:has(.sabo-inline-open){display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important}
 #app .dashboard.base-layout .stage .stage-scroll:has(.sabo-inline-open) > .actionpanel{height:100%!important;min-height:0!important;flex:1 1 0!important;display:flex!important;flex-direction:column!important;max-width:none!important;width:100%!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open{flex:1 1 auto!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;gap:clamp(7px,1.4vh,17px)!important;transform:none!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .job-lead{flex:0 0 clamp(61px,10vh,94px)!important;padding:clamp(5px,.9vh,12px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-strip{flex:1 1 90px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;min-height:72px!important;max-height:none!important;width:100%!important;gap:clamp(8px,1.2vw,17px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-choice{height:100%!important;min-height:0!important;max-height:none!important;padding:clamp(7px,1vh,14px)!important;gap:clamp(3px,.7vh,8px)!important;flex-direction:column!important;border-radius:14px!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-letter{font-size:clamp(17px,1.7vw,27px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-icon{font-size:clamp(24px,2.5vw,39px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .sabo-inline-short{font-size:clamp(13px,1.18vw,19px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row{flex:1 1 120px!important;min-height:95px!important;max-height:none!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;gap:clamp(7px,1vw,14px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row .job-bubble{height:100%!important;max-height:none!important;min-height:0!important;padding:clamp(5px,1vh,12px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row .job-bubble .symbol{font-size:clamp(24px,2.7vw,38px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row .job-bubble .name{font-size:clamp(13px,1.4vw,20px)!important}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .job-details{flex:0 0 clamp(57px,8vh,85px)!important;margin-top:0!important;min-height:0!important}
 /* Desktop special interview: extend interview panel and card hand to stage edges. */
 #app .dashboard.base-layout .stage .stage-scroll:has(.mb-game){display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important;padding:clamp(5px,.7vw,12px)!important}
 #app .dashboard.base-layout .stage .stage-scroll:has(.mb-game) > .actionpanel{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;flex:1 1 0!important;display:flex!important;flex-direction:column!important}
 #app .dashboard.base-layout .stage .mb-game{width:100%!important;max-width:none!important;min-height:0!important;height:100%!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;gap:clamp(6px,1vh,13px)!important;padding:clamp(10px,1.1vw,20px)!important;margin:0!important}
 #app .dashboard.base-layout .stage .mb-game .mb-dialogue{flex:1 1 auto!important;min-height:0!important;max-height:none!important;height:auto!important;gap:clamp(10px,1vw,18px)!important}
 #app .dashboard.base-layout .stage .mb-game .mb-dialogue .mb-portrait{height:100%!important;min-height:0!important;max-height:none!important;width:clamp(145px,23%,330px)!important}
 #app .dashboard.base-layout .stage .mb-game .mb-cardlist{flex:1 1 140px!important;min-height:95px!important;margin-top:0!important;gap:clamp(8px,1vw,17px)!important}
 #app .dashboard.base-layout .stage .mb-game .mb-card,#app .dashboard.base-layout .stage .mb-game .mb-drawn-card{min-height:0!important;height:100%!important;padding:clamp(8px,1vw,16px)!important;justify-content:space-around!important}
 #app .dashboard.base-layout .stage .mb-game .mb-card strong,#app .dashboard.base-layout .stage .mb-game .mb-drawn-card strong{font-size:clamp(14px,1.5vw,22px)!important}
 #app .dashboard.base-layout .stage .mb-game .mb-quote{font-size:clamp(16px,1.55vw,24px)!important;line-height:1.48!important}
 #app .dashboard.base-layout .stage .mb-game .mb-game-title{font-size:clamp(14px,1.35vw,20px)!important}
 #app .dashboard.base-layout .stage .mb-game .mb-bottom-bar{flex:0 0 auto!important;margin-top:0!important;padding-top:0!important}
 #app .dashboard.base-layout .stage .mb-game .mb-choice-dialog{max-width:min(980px,97%)!important}
 #app .dashboard.base-layout .stage .mb-intro{width:100%!important;max-width:none!important;min-height:65%!important}
 #app .dashboard.base-layout .stage .mb-intro .mb-portrait{width:clamp(175px,23%,300px)!important}
 /* Meeting selection is a fixed safe-area overlay; enlarge candidate art on desktop. */
 .meeting-pick-v257 .mv-candidates{min-height:210px!important;max-height:none!important;gap:clamp(10px,1.2vw,22px)!important}
 .meeting-pick-v257 .mv-candidate{border-width:3px!important;border-radius:17px!important;padding:10px!important}
 .meeting-pick-v257 .mv-candidate .mv-cand-spacer{min-height:30px}
 .meeting-pick-v257 .mv-candidate b{font-size:clamp(19px,2vw,30px)!important}
 .meeting-pick-v257 .mv-candidate .mv-cand-type{font-size:clamp(12px,1.2vw,18px)!important}
 .meeting-pick-v257 .mv-candidate .mv-cand-check{font-size:clamp(12px,1vw,18px)!important}
}
/* Manual BAD selection is deliberate; no auto-timer and a full-screen tap for the next scene. */
.mb-bad-v260 .mb-bad-clickable{cursor:pointer!important;border:3px solid #ffbd68!important;background:linear-gradient(135deg,#351a26,#753036)!important;color:#fff5ed!important;box-shadow:0 0 15px #e96565aa!important;animation:mvBadPrompt 1.9s ease-in-out infinite!important}
.mb-bad-v260 .mb-bad-clickable em{font-weight:900;color:#ffe3a2!important}
.mb-bad-v260.mb-bad-casting{cursor:pointer}
.mb-bad-v260 .mb-bad-v260-guide{font-size:clamp(11px,1.1vw,17px);font-weight:900;text-align:center;color:#ffdf93;padding:4px 8px;border-radius:9px;background:#1a2a45b9}
@keyframes mvBadPrompt{0%,100%{box-shadow:0 0 8px #e9656588}50%{box-shadow:0 0 23px #ffa982e0}}
@media(prefers-reduced-motion:reduce){.mb-bad-v260 .mb-bad-clickable{animation:none!important}}

/* Large, unhurried "失言" card overlay remains visible until the player taps. */
.mb-bad-v260.mb-bad-casting .mb-bad-action-overlay{
  top:37%!important;left:50%!important;right:auto!important;
  width:min(72%,580px)!important;max-width:85%!important;box-sizing:border-box;
  transform:translate(-50%,-50%)!important;animation:none!important;
  padding:clamp(8px,1.5vw,18px)!important;text-align:center!important;
  border:3px solid #ffd6a1!important;border-radius:15px!important;
  background:linear-gradient(130deg,#8d2930f8,#581a28fa)!important;
  box-shadow:0 10px 35px #15080bcc,0 0 24px #ff936477!important;opacity:1!important;
}
.mb-bad-v260.mb-bad-casting .mb-bad-action-overlay strong{font-size:clamp(15px,1.85vw,25px)!important;line-height:1.25!important;color:#fffbdf!important}
.mb-bad-v260.mb-bad-casting .mb-bad-action-overlay span{font-size:clamp(12px,1.25vw,18px)!important;color:#ffe2d3!important}
/* A short landscape iPhone needs narrower numeric column to display all six ability names fully. */
@media(orientation:landscape) and (max-height:450px){
 #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row{grid-template-columns:minmax(0,1fr) 40px!important;padding-left:2px!important;padding-right:2px!important;gap:1px!important}
 #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row>span{font-size:10px!important;letter-spacing:-.07em!important;overflow:visible!important}
 #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row>b{display:grid!important;grid-template-columns:14px 24px!important;min-width:39px!important;gap:1px!important;font-size:12px!important}
 #app .dashboard.base-layout:not(.abilities-full-view) .abilities-sketch-row .ability-grade{min-width:13px!important;font-size:11px!important;padding:0!important}
}


/* original style block 79/96 */

/* Tutorial: the normal 5-tab meeting board stays on-screen. Only the right
   product image/description pane is replaced by CEO illustration + VN dialogue. */
#app .meeting-fixed-dock.meeting-tutorial-compact .meeting-fixed-tabs button[disabled]{opacity:1!important;cursor:default!important;pointer-events:none!important;}
#app .meeting-fixed-dock.meeting-tutorial-compact .meeting-fixed-tabs button.on,
#app .meeting-fixed-dock.meeting-tutorial-compact .meeting-fixed-tabs button.first-meeting-spotlight{background:#245c96!important;color:#fff!important;border-color:#f1bc4e!important;box-shadow:inset 0 -3px 0 #efc15d,0 0 0 1px #4a8ec9!important;}
#app .meeting-tutorial-board{height:100%!important;}
#app .meeting-tutorial-board .meeting-main-layout{height:100%!important;}
#app .meeting-tutorial-board .meeting-list-pane,
#app .meeting-tutorial-board .meeting-equipped-images{pointer-events:none;user-select:none;}
#app .meeting-boss-pane{position:relative!important;padding:0!important;display:block!important;min-height:0!important;overflow:hidden!important;border:2px solid #b58c52!important;isolation:isolate;background:#b6c8dc!important;}
#app .meeting-boss-illustration{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;}
#app .meeting-boss-dialogue{position:absolute;z-index:2;bottom:3%;left:3%;right:3%;height:48%;max-height:72%;min-height:0;
 background:rgba(255,249,234,.95);border:2px solid #d2ad62;box-shadow:0 4px 14px #203c5f77;border-radius:10px;display:flex;flex-direction:column;gap:3px;padding:7px 8px 5px;color:#243648;}
#app .meeting-boss-heading{display:flex;justify-content:space-between;align-items:center;gap:3px;min-height:18px;border-bottom:1px solid #dec993;padding-bottom:2px;color:#6b440d;}
#app .meeting-boss-heading b{font-size:clamp(10px,1.15vw,15px);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
#app .meeting-boss-heading small{font-size:clamp(8px,.77vw,10px);color:#7e5b30;font-weight:850;white-space:nowrap;}
#app .meeting-boss-dialogue .boss-tutorial-speaker{font-size:clamp(10px,1vw,12px);line-height:1.1;}
#app .meeting-boss-dialogue .boss-tutorial-text{font-size:clamp(11px,1.12vw,15px);line-height:1.4;flex:1 1 auto;min-height:0;margin:2px 0!important;overflow-y:auto!important;overflow-wrap:anywhere;white-space:pre-line;}
#app .meeting-boss-controls{display:flex;justify-content:space-between;align-items:center;gap:3px;flex-wrap:nowrap;border-top:1px solid #dac79e;padding-top:3px;min-height:25px;}
#app .meeting-boss-controls .boss-narration-controls{gap:2px;flex-wrap:nowrap;min-width:0;}
#app .meeting-boss-controls .boss-narration-speed-label{font-size:9px;}
#app .meeting-boss-controls .boss-speed-button,#app .meeting-boss-controls .boss-auto-button{min-height:22px;font-size:9px;padding:1px 3px;}
#app .meeting-boss-controls .boss-auto-button{min-width:48px;}
#app .meeting-boss-next{min-height:24px;border:1px solid #b58c39;border-radius:6px;background:#f2c66a;color:#4e320d;padding:3px 8px;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap;}
/* 面談準備 has its own true deck editor rather than the usual three inventory columns.
   It remains a non-interactive preview until the tour ends. */
#app .meeting-tutorial-skill-layout{display:grid;grid-template-columns:minmax(0,1.78fr) minmax(180px,1fr);gap:6px;width:100%;height:100%;min-height:0;overflow:hidden;}
#app .meeting-tutorial-skill-preview{min-width:0;min-height:0;overflow:hidden;border:1px solid #98b4cf;border-radius:8px;background:#eff6ff;}
#app .meeting-tutorial-skill-preview .sd-shell{width:100%!important;height:100%!important;}
#app .meeting-tutorial-skill-preview .sd-tabs button{font-size:clamp(9px,1vw,12px)!important;}
#app .meeting-tutorial-skill-preview .sd-main{grid-template-columns:minmax(0,.82fr) minmax(0,1fr)!important;}
/* The skills editor has no .meeting-main-layout; explicitly stretch its preview to the
   exact same stage height used by the ordinary 3-column company-meeting tabs. */
#app .dashboard .stage .stage-scroll:has(.meeting-tutorial-skill-layout){padding:4px 6px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
#app .dashboard.base-layout .stage .stage-scroll:has(.meeting-tutorial-skill-layout) > .actionpanel,
#app .dashboard .stage .stage-scroll:has(.meeting-tutorial-skill-layout) > .panel.main{flex:1 1 0px!important;height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
#app .meeting-tutorial-skill-layout{flex:1 1 auto!important;height:100%!important;}
/* A-E popup is absolutely anchored above the unchanged six job bubbles.
   Never becomes a flex sibling: no change in icon size, grid or position. */
#app .dashboard.base-layout .stage .job-screen.sabo-inline-open{gap:inherit!important;}
#app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row{position:relative!important;overflow:visible!important;}
#app .dashboard.base-layout .stage .job-screen .jobs-row > .sabo-inline-strip{position:absolute!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 left:0!important;right:0!important;bottom:calc(100% + 7px)!important;top:auto!important;z-index:30!important;
 width:100%!important;height:clamp(60px,11vh,92px)!important;min-height:0!important;max-height:92px!important;
 flex:none!important;gap:clamp(3px,.7vw,9px)!important;padding:3px!important;border:2px solid #8eaac7;border-radius:11px;
 background:rgba(237,245,255,.97);box-shadow:0 5px 18px #18375488;}
#app .dashboard.base-layout .stage .job-screen .jobs-row > .sabo-inline-strip .sabo-inline-choice{height:100%!important;min-height:0!important;max-height:none!important;padding:2px!important;gap:1px!important;flex-direction:column!important;border-radius:8px!important;}
#app .dashboard.base-layout .stage .job-screen .jobs-row > .sabo-inline-strip .sabo-inline-letter{font-size:clamp(11px,1.2vw,17px)!important;}
#app .dashboard.base-layout .stage .job-screen .jobs-row > .sabo-inline-strip .sabo-inline-icon{font-size:clamp(14px,1.8vw,25px)!important;}
#app .dashboard.base-layout .stage .job-screen .jobs-row > .sabo-inline-strip .sabo-inline-short{font-size:clamp(9px,1vw,12px)!important;}
@media(orientation:landscape) and (min-width:700px){
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open{gap:4px!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .job-lead{flex:0 0 52px!important;padding:0!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row{margin-top:auto!important;margin-bottom:3px!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .job-details{flex:0 0 43px!important;margin-top:auto!important;}
}
@media(orientation:landscape) and (min-width:700px) and (max-height:440px){
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row{flex:0 0 66px!important;min-height:58px!important;max-height:70px!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:1fr!important;gap:5px!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row .job-bubble{height:100%!important;min-height:0!important;max-height:70px!important;}
 #app .dashboard.base-layout .stage .job-screen .jobs-row > .sabo-inline-strip{height:58px!important;max-height:58px!important;bottom:calc(100% + 3px)!important;}
 #app .meeting-boss-dialogue{height:76%;padding:3px 4px;gap:0;}
 #app .meeting-boss-controls{padding-top:1px;gap:1px;}
 #app .meeting-boss-controls .boss-speed-button,#app .meeting-boss-controls .boss-auto-button{min-height:20px;font-size:8px;}
 #app .meeting-boss-next{min-height:21px;font-size:10px;padding:1px 5px;}
}
@media(orientation:landscape) and (min-width:1000px) and (min-height:550px){
 /* v260 desktop enlarged bubbles stay exactly the same height open/closed. */
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open{gap:clamp(9px,1.3vh,17px)!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .job-lead{flex:0 0 clamp(74px,11vh,115px)!important;padding:clamp(7px,1vh,14px)!important;}
 /* Exact same layout tokens as the closed state (v13.7.132). */
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row{flex:0 0 clamp(96px,16vh,155px)!important;min-height:0!important;max-height:none!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:1fr!important;gap:clamp(5px,.65vw,12px)!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .job-details{flex:0 0 clamp(58px,9vh,92px)!important;margin-top:auto!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row .job-bubble{height:100%!important;max-height:none!important;min-height:0!important;padding:5px 2px!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row .job-bubble .symbol{font-size:clamp(22px,2.4vw,34px)!important;}
 #app .dashboard.base-layout .stage .job-screen.sabo-inline-open .jobs-row .job-bubble .name{font-size:clamp(12px,1.12vw,18px)!important;}
}
@media(min-width:700px) and (max-width:1100px){
 #app .meeting-boss-next{display:none;}
}
@media(max-width:699px){
 #app .meeting-tutorial-skill-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;gap:3px!important;}
 #app .meeting-boss-dialogue{height:74%;padding:3px 4px;gap:1px;}
 #app .meeting-boss-controls .boss-narration-speed-label{display:none;}
 #app .meeting-boss-controls .boss-auto-button{min-width:40px;}
 #app .meeting-boss-next{display:none;} /* the fixed footer provides Next on compact screens */
 #app .dashboard.base-layout .stage .job-screen .jobs-row > .sabo-inline-strip{height:55px!important;max-height:55px!important;bottom:calc(100% + 3px)!important;}
}


/* original style block 80/96 */

#app .dashboard .stage .stage-scroll:has(.player-screen-v262){box-sizing:border-box!important;display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important;padding:4px 6px!important;}
#app .player-screen-v262{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;overflow:hidden!important;gap:3px;box-sizing:border-box;}
#app .player-screen-v262 .screen-title{font-size:clamp(13px,1.6vw,20px)!important;flex:0 0 auto;margin:0 0 1px!important;line-height:1.1;}
#app .player-screen-v262 .subnav{margin:0!important;flex:0 0 auto;gap:3px!important;}
#app .player-screen-v262 .subnav button{padding:clamp(3px,.55vh,7px) 2px!important;font-size:clamp(9px,1.05vw,13px)!important;border-radius:6px!important;min-height:25px;line-height:1.1;}
#app .player-screen-v262>.player-detail{box-sizing:border-box!important;flex:1 1 0px!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;margin:0!important;}
#app .player-screen-v262 .player-mirror-shell{width:100%;height:100%;min-height:0;flex:1;overflow:hidden;}
#app .player-screen-v262 .player-mirror-shell .meeting-main-layout.meeting-main-three{height:100%!important;width:100%!important;}
#app .player-screen-v262 .player-mirror-shell .meeting-main-three>.meeting-list-pane{overflow-y:auto!important;}
#app .player-screen-v262 .player-mirror-shell .meeting-info-pane{height:100%!important;}
#app .player-screen-v262 .player-mirror-shell .meeting-equip-photo{cursor:pointer;}
#app .player-screen-v262 .player-mirror-shell button:disabled{cursor:not-allowed;opacity:.48;}
#app .player-screen-v262.player-skills .sd-shell{width:100%;height:100%;min-height:0;flex:1;}
#app .player-compact-dashboard{display:flex;flex-direction:column;min-height:0;height:100%;gap:5px;padding:2px 3px;overflow:hidden;}
#app .player-compact-head{font-size:clamp(10px,1.12vw,14px);font-weight:900;color:#23476a;line-height:1.1;}
#app .player-compact-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;flex:0 0 auto;}
#app .player-compact-metric{display:flex;flex-direction:column;justify-content:center;gap:2px;border:1px solid #aabfda;border-radius:7px;background:#eef5ff;padding:clamp(3px,.7vh,9px) 5px;min-width:0;min-height:0;}
#app .player-compact-metric span{font-size:clamp(9px,.95vw,12px);color:#536d88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#app .player-compact-metric b{font-size:clamp(10px,1.25vw,17px);color:#1f4163;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#app .player-ability-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));min-height:0;flex:1 1 auto;gap:4px;}
#app .player-ability-tile{display:flex;align-items:center;justify-content:space-between;gap:3px;background:#f7fbff;border:1px solid #a9c1dd;border-radius:7px;padding:3px 6px;min-width:0;min-height:0;}
#app .player-ability-tile .player-ability-name{font-size:clamp(9px,1vw,13px);font-weight:800;min-width:0;line-height:1.2;}
#app .player-ability-tile .player-ability-stats{display:flex;flex-direction:column;align-items:end;white-space:nowrap;gap:2px;min-width:0;}
#app .player-ability-tile .player-ability-stats b{font-size:clamp(10px,1.18vw,15px);}
#app .player-ability-tile .player-ability-stats small{font-size:clamp(9px,.94vw,12px);color:#52799a;font-weight:850;}
#app .player-compact-note{font-size:clamp(9px,.96vw,12px);line-height:1.15;margin:0;color:#4f708e;}
#app .player-title-board{display:flex;flex-direction:column;flex:1 1 0px;min-height:0;overflow:hidden;gap:4px;padding:2px 3px;}
#app .player-title-tools{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:25px;flex:0 0 auto;}
#app .player-title-tools label{font-size:11px;font-weight:800;color:#264d76;display:flex;align-items:center;gap:4px;min-width:0;}
#app .player-title-tools select{font-size:clamp(10px,1vw,12px);min-width:0;max-width:220px;padding:2px;border:1px solid #8faed0;border-radius:5px;background:#fff;color:#23496d;}
#app .player-title-tools .player-title-import{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;border:1px solid #9bb5d1;background:#e9f3ff;color:#214c78;font-weight:800;font-size:clamp(9px,1vw,12px);padding:3px 5px;white-space:nowrap;cursor:pointer;min-height:24px;}
#app .player-title-tools .player-title-import input{display:none;}
#app .player-screen-v262.player-girlfriend .player-compact-metrics{flex:1 1 auto;min-height:0;}
#app .player-title-tools button,#app .player-title-footer button{font-size:clamp(9px,1vw,12px);border-radius:5px;border:1px solid #9bb5d1;padding:3px 7px;min-height:24px;background:#e9f3ff;color:#214c78;font-weight:800;}
#app .player-title-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));min-height:0;flex:1 1 0px;gap:4px;overflow:hidden;}
#app .player-title-cell{display:flex;flex-direction:column;gap:2px;justify-content:center;overflow:hidden;min-width:0;min-height:0;padding:3px 7px;border:1px solid #afc3d8;background:#f5f8fc;border-radius:7px;}
#app .player-title-cell.owned{border-color:#d1ac54;background:#fff6d9;}
#app .player-title-cell b{font-size:clamp(10px,1.05vw,13px);line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
#app .player-title-cell .player-title-condition{font-size:clamp(9px,.93vw,11px);line-height:1.15;color:#5a7795;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
#app .player-title-cell .player-title-status{font-size:clamp(9px,.9vw,11px);font-weight:850;color:#97702d;}
#app .player-title-footer{display:flex;justify-content:space-between;gap:4px;align-items:center;flex:0 0 auto;min-height:27px;font-size:11px;color:#294e70;}
#app .player-title-pagination{display:flex;align-items:center;gap:5px;}
#app .player-title-pagination button:disabled{opacity:.4;cursor:default;}
@media(max-height:440px) and (orientation:landscape){
 #app .player-screen-v262{gap:2px!important;}
 #app .player-screen-v262 .subnav button{min-height:21px;padding:2px!important;font-size:9px!important;}
 #app .player-compact-dashboard,#app .player-title-board{gap:2px!important;padding:0!important;}
 #app .player-compact-metric{padding:2px 4px;gap:0;}
 #app .player-title-cell{gap:0;padding:2px 4px;}
 #app .player-title-tools,#app .player-title-footer{min-height:20px;}
 #app .player-title-tools button,#app .player-title-footer button{min-height:20px;padding:1px 4px;}
 #app .player-compact-note{font-size:9px;}
}
@media(max-width:700px){
 #app .player-title-tools select{max-width:150px;}
 #app .player-title-cell .player-title-condition{-webkit-line-clamp:1;}
}


/* original style block 81/96 */

#app .meeting-tutorial-board .meeting-boss-dialogue,
#app .meeting-tutorial-skill-layout .meeting-boss-dialogue{
  box-sizing:border-box!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;height:clamp(53px,10vh,84px)!important;max-height:84px!important;
  padding:5px 8px 4px!important;gap:0!important;
  background:rgba(255,248,232,.94)!important;border:1.5px solid #cda85d!important;
  border-bottom:0!important;border-radius:10px 10px 0 0!important;
  box-shadow:0 -3px 12px rgba(14,37,63,.28)!important;
  display:flex!important;align-items:stretch!important;justify-content:center!important;
}
#app .meeting-tutorial-board .meeting-boss-dialogue .boss-tutorial-text,
#app .meeting-tutorial-skill-layout .meeting-boss-dialogue .boss-tutorial-text{
  box-sizing:border-box!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;line-clamp:3!important;
  flex:0 1 auto!important;max-height:3.9em!important;min-height:0!important;
  margin:0!important;padding:0!important;overflow:hidden!important;overflow-wrap:anywhere!important;
  line-height:1.3!important;font-size:clamp(10px,1.12vw,15px)!important;font-weight:700!important;
  white-space:pre-line!important;
}
/* This is the real fixed action strip (the old placeholder was inert). */
#app .meeting-tour-footer-controls{flex:0 0 auto;min-width:0;display:flex;align-items:center;justify-content:flex-start;}
#app .meeting-tour-footer-controls .boss-narration-controls{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important;}
#app .meeting-tour-footer-controls .boss-narration-speed-label{font-size:clamp(9px,.82vw,12px)!important;color:#234b6e!important;font-weight:900!important;}
#app .dashboard.base-layout .stage .thumb-action-dock .meeting-tour-footer-controls button.boss-speed-button,
#app .dashboard.base-layout .stage .thumb-action-dock .meeting-tour-footer-controls button.boss-auto-button,
#app .meeting-tour-result-dock .meeting-tour-footer-controls button.boss-speed-button,
#app .meeting-tour-result-dock .meeting-tour-footer-controls button.boss-auto-button{
  flex:0 0 auto!important;width:auto!important;min-width:26px!important;max-width:none!important;
  min-height:26px!important;max-height:34px!important;padding:3px 6px!important;
  font-size:clamp(10px,.86vw,12px)!important;line-height:1.1!important;
  border:1px solid #879eb8!important;border-radius:5px!important;
  background:#f3f7fc!important;color:#234365!important;box-shadow:none!important;
  font-weight:900!important;white-space:nowrap!important;
}
#app .dashboard.base-layout .stage .thumb-action-dock .meeting-tour-footer-controls button[aria-pressed="true"],
#app .meeting-tour-result-dock .meeting-tour-footer-controls button[aria-pressed="true"]{
  background:#235a8c!important;color:white!important;border-color:#17446d!important;
}
#app .dashboard.base-layout .stage .thumb-action-dock .meeting-tour-footer-controls .boss-auto-button,
#app .meeting-tour-result-dock .meeting-tour-footer-controls .boss-auto-button{min-width:64px!important;}
#app .meeting-tour-result-dock>strong{display:none!important;}
#app .dashboard.base-layout .stage .thumb-action-dock:has(.meeting-tour-footer-controls) .thumb-action-left{flex:1 1 auto!important;min-width:0!important;}
#app .dashboard.base-layout .stage .thumb-action-dock:has(.meeting-tour-footer-controls) .thumb-action-right{flex:0 0 auto!important;margin-left:auto!important;}
#app .dashboard.base-layout .stage .thumb-action-dock:has(.meeting-tour-footer-controls) .thumb-action-right .result-action-dock{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;}
#app .dashboard.base-layout .stage .thumb-action-dock:has(.meeting-tour-footer-controls) .result-action-dock .act{min-width:110px!important;}
@media(orientation:landscape) and (max-height:440px){
 #app .meeting-tutorial-board .meeting-boss-dialogue,
 #app .meeting-tutorial-skill-layout .meeting-boss-dialogue{height:53px!important;padding:3px 5px!important;}
 #app .meeting-tutorial-board .meeting-boss-dialogue .boss-tutorial-text,
 #app .meeting-tutorial-skill-layout .meeting-boss-dialogue .boss-tutorial-text{font-size:10px!important;line-height:1.25!important;max-height:3.75em!important;}
 #app .dashboard.base-layout .stage .thumb-action-dock .meeting-tour-footer-controls button.boss-speed-button,
 #app .dashboard.base-layout .stage .thumb-action-dock .meeting-tour-footer-controls button.boss-auto-button,
 #app .meeting-tour-result-dock .meeting-tour-footer-controls button.boss-speed-button,
 #app .meeting-tour-result-dock .meeting-tour-footer-controls button.boss-auto-button{min-height:24px!important;max-height:28px!important;padding:2px 4px!important;font-size:10px!important;}
 #app .meeting-tour-footer-controls .boss-narration-controls{gap:2px!important;}
}
@media(max-width:699px){
 #app .meeting-tour-footer-controls .boss-narration-speed-label{display:none!important;}
 #app .meeting-tour-result-dock{gap:4px!important;}
 /* On extra-narrow screens there is no thumb-action-dock; the same result-action
    bar must appear under the tabs/content instead of above the conversation. */
 #app .dashboard .stage:has(.meeting-tutorial-board)>.meeting-fixed-dock{order:0!important;}
 #app .dashboard .stage:has(.meeting-tutorial-board)>.stage-scroll{order:1!important;flex:1 1 0!important;min-height:0!important;}
 #app .dashboard .stage:has(.meeting-tutorial-board)>.meeting-tour-result-dock{order:2!important;flex:0 0 auto!important;margin:0!important;}
 #app .dashboard .stage .stage-scroll:has(.meeting-tutorial-board)>.panel.main,
 #app .dashboard .stage .stage-scroll:has(.meeting-tutorial-board)>.actionpanel{
    box-sizing:border-box!important;height:100%!important;min-height:0!important;
    display:flex!important;flex-direction:column!important;padding:0!important;margin:0!important;
    border:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important;
 }
 #app .dashboard .stage .stage-scroll:has(.meeting-tutorial-board) .meeting-tutorial-board{height:100%!important;min-height:0!important;}
 #app .meeting-tutorial-board .meeting-boss-dialogue,
 #app .meeting-tutorial-skill-layout .meeting-boss-dialogue{height:45px!important;padding:2px 5px!important;}
 #app .meeting-tutorial-board .meeting-boss-dialogue .boss-tutorial-text,
 #app .meeting-tutorial-skill-layout .meeting-boss-dialogue .boss-tutorial-text{font-size:9px!important;line-height:1.23!important;max-height:3.69em!important;}
}


/* original style block 82/96 */

#app .progress-return-dock .player-action-notice,
#app .dashboard .stage .thumb-action-dock .thumb-action-left .player-action-notice{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:0 1 auto;min-width:0;max-width:100%;text-align:left;
  color:#74340e!important;background:#fff1d7!important;border:1px solid #e4a163!important;
  border-left:4px solid #bc4b21!important;border-radius:6px;
  padding:5px 9px!important;font-size:clamp(11px,1.09vw,16px)!important;
  line-height:1.18!important;font-weight:950!important;letter-spacing:.005em;
  box-shadow:0 1px 3px #77471c24;
}
#app .dashboard .stage .thumb-action-dock .thumb-action-left .player-action-notice{flex:0 1 auto;}
#app .player-screen-v262 .meeting-main-three .meeting-simple-row{grid-template-columns:minmax(0,1fr) 43px 34px!important;}
#app .player-screen-v262 .meeting-main-three .meeting-row-controls{width:34px!important;max-width:34px!important;}
#app .player-screen-v262 .meeting-main-three .meeting-copy-row .meeting-equip-toggle{display:none!important;}
@media (max-width:890px), (max-height:450px){
 #app .progress-return-dock .player-action-notice,
 #app .dashboard .stage .thumb-action-dock .thumb-action-left .player-action-notice{
    font-size:clamp(9px,1.42vw,12px)!important;padding:3px 5px!important;line-height:1.16!important;
    white-space:normal;overflow-wrap:anywhere;
 }
}


/* original style block 83/96 */

/* The three buttons occupy the original mode-select area; candidate panel remains compact. */
#app .meeting-pick-v257 .mv-pick-row{grid-template-columns:minmax(93px,1fr) minmax(110px,1.15fr) minmax(198px,1.68fr)!important;gap:5px!important;}
#app .mv-mode-buttons-v266{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0;width:100%;align-items:stretch;}
#app button.mv-mode-btn-v266{
 display:flex;align-items:center;justify-content:center;min-width:0;min-height:28px;
 font-family:inherit;font-size:clamp(10px,1.0vw,13px);line-height:1.1;font-weight:900;
 color:#244c70;background:linear-gradient(#f9fcff,#e5eef9);border:1px solid #8faecb;
 border-radius:7px;cursor:pointer;box-shadow:0 1px 2px #273d561d;
 padding:3px 4px;white-space:nowrap;transition:background .13s,border-color .13s,box-shadow .13s;
}
#app button.mv-mode-btn-v266.is-selected{
 color:#fff;background:linear-gradient(#377ab4,#174e84);border-color:#edb74a;
 box-shadow:inset 0 0 0 1px #f9d77d,0 0 0 1px #f4c45f,0 0 8px #eabf5aa8;
 text-shadow:0 1px 1px #0d325b;
}
#app button.mv-mode-btn-v266:not(:disabled):focus-visible{outline:2px solid #f2b839;outline-offset:1px;}
#app button.mv-mode-btn-v266:disabled{opacity:.45;cursor:default;}
#app .mb-config-row .mv-mode-buttons-v266{min-width:175px;}
@media(max-width:900px), (max-height:450px){
 #app .meeting-pick-v257 .mv-pick-row{grid-template-columns:minmax(85px,1fr) minmax(100px,1.1fr) minmax(175px,1.65fr)!important;gap:3px!important;}
 #app .mv-mode-buttons-v266{gap:3px;}
 #app button.mv-mode-btn-v266{min-height:26px;font-size:11px;padding:2px 2px;border-radius:5px;}
}
@media(max-width:700px){
 #app .meeting-pick-v257 .mv-pick-row{grid-template-columns:minmax(82px,.92fr) minmax(100px,1fr) minmax(164px,1.55fr)!important;gap:2px!important;}
 #app .mv-mode-buttons-v266{gap:2px;}
 #app button.mv-mode-btn-v266{font-size:10px;min-height:24px;padding:1px 2px;}
}


/* original style block 84/96 */

/* Seasonal interview intro: centered director, lower-chest speech window, button on the footer. */
#app .meeting-intro-v257 .mv-director-intro-v267{display:flex!important;flex-direction:column!important;justify-content:stretch!important;align-items:stretch!important;gap:5px!important;min-height:0!important;flex:1 1 auto!important;}
#app .mv-director-stage-v267{position:relative;flex:1 1 0;min-height:0;width:100%;border:2px solid #8daecb;border-radius:13px;overflow:hidden;background:radial-gradient(ellipse at center 27%,#eff8ff 0%,#d9e9f8 46%,#aecce3 100%);}
#app .mv-director-art-v267{position:absolute;inset:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;pointer-events:none;}
#app .mv-director-art-v267 svg{width:auto;height:116%;max-width:100%;max-height:none;object-fit:contain;align-self:end;filter:drop-shadow(0 2px 5px #31537348);}
#app .mv-director-dialogue-v267{position:absolute;z-index:1;left:50%;bottom:3%;transform:translateX(-50%);box-sizing:border-box;width:min(610px,94%);min-height:56px;max-height:35%;padding:7px 15px;background:#fff8eae9;border:2px solid #c49b57;border-radius:11px;box-shadow:0 3px 10px #15365442;display:flex;align-items:center;justify-content:center;text-align:center;}
#app .mv-director-dialogue-v267 span{font-weight:950;font-size:clamp(17px,2.5vw,28px);line-height:1.25;color:#203b5a;letter-spacing:.015em;text-shadow:0 1px 0 #ffffff;}
#app .mv-director-footer-v267{flex:0 0 auto;min-height:39px;display:flex;align-items:center;justify-content:flex-end;padding:1px 4px 2px;}
/* One line in the lower three-person form, with personality color as the primary marker. */
#app .meeting-pick-v257 .mv-pick-row{grid-template-columns:minmax(164px,1.15fr) minmax(115px,1.08fr) minmax(180px,1.6fr)!important;}
#app .meeting-pick-v257 .mv-picked-one-line{display:flex;align-items:center;min-width:0;max-width:100%;overflow:hidden;}
#app .meeting-pick-v257 .mv-picked-one-line b{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(13px,1.35vw,18px)!important;line-height:1.3!important;font-weight:950;}
#app .meeting-pick-v257 .mv-picked-student{color:#163e63;}
#app .meeting-pick-v257 .mv-picked-separator{color:#73859a;padding:0 2px;}
#app .meeting-pick-v257 .mv-picked-personality{font-weight:1000;white-space:nowrap;}
#app .meeting-pick-v257 .mv-picked-personality.type-0{color:#aa3039;}
#app .meeting-pick-v257 .mv-picked-personality.type-1{color:#8232a4;}
#app .meeting-pick-v257 .mv-picked-personality.type-2{color:#087781;}
#app .meeting-pick-v257 .mv-picked-empty b{font-size:clamp(13px,1.3vw,16px)!important;color:#6b8299;}
@media(max-height:440px){
 #app .mv-director-stage-v267{border-radius:9px;}
 #app .mv-director-dialogue-v267{min-height:49px;padding:3px 8px;bottom:2%;border-radius:8px;}
 #app .mv-director-dialogue-v267 span{font-size:clamp(16px,2.3vw,22px);}
 #app .mv-director-footer-v267{min-height:31px;}
 #app .mv-director-footer-v267 .mv-cta{min-height:30px;padding:5px 16px;}
 #app .meeting-pick-v257 .mv-picked-one-line b{font-size:13px!important;}
}
@media(max-width:700px){
 #app .meeting-pick-v257 .mv-pick-row{grid-template-columns:minmax(142px,1.1fr) minmax(108px,1.05fr) minmax(169px,1.5fr)!important;gap:3px!important;}
 #app .meeting-pick-v257 .mv-picked-one-line b{font-size:12.5px!important;}
}


/* original style block 85/96 */

/* Images are stored once as CSS variables; each is uniformly scaled with cover, never stretched. */
#app {
  --classroom-photo-1: url("../images/B_背景/B101_教室改装段階1.jpeg");
  --classroom-photo-2: url("../images/B_背景/B102_教室改装段階2.jpeg");
  --classroom-photo-3: url("../images/B_背景/B103_教室改装段階3.jpeg");
  --classroom-photo-4: url("../images/B_背景/B104_教室改装段階4.jpeg");
}
#app .dashboard .stage .job-screen {background-color:#a8afbd!important;background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;border-radius:10px;overflow:hidden!important;}
#app .dashboard .stage .job-screen > .work-room-layer{display:none!important;}
/* Reuse identical backgrounds for the renovation animation and the classroom overview. */
#app .room-illustration {background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;}
#app .room-illustration > :not(.room-badge) {display:none!important;}
#app .room-illustration .room-badge {z-index:1;}
#app .dashboard .stage .job-screen.work-bg-stage-1 {background-image:var(--classroom-photo-1)!important;}
#app .dashboard .stage .job-screen.work-bg-stage-2 {background-image:var(--classroom-photo-2)!important;}
#app .dashboard .stage .job-screen.work-bg-stage-3 {background-image:var(--classroom-photo-3)!important;}
#app .dashboard .stage .job-screen.work-bg-stage-4 {background-image:var(--classroom-photo-4)!important;}
#app .room-illustration.room-level-0 {background-image:var(--classroom-photo-1)!important;}
#app .room-illustration.room-level-1 {background-image:var(--classroom-photo-2)!important;}
#app .room-illustration.room-level-2 {background-image:var(--classroom-photo-3)!important;}
#app .room-illustration.room-level-3 {background-image:var(--classroom-photo-4)!important;}
#app .room-illustration.room-level-4 {background-image:var(--classroom-photo-4)!important;}
#app .dashboard .stage .stage-scroll.result-room-bg{background-repeat:no-repeat;background-position:center;background-size:cover;background-attachment:local;}
#app .dashboard .stage .stage-scroll.result-room-bg.result-bg-stage-1{background-image:linear-gradient(rgba(255,253,248,.84),rgba(255,253,248,.88)),var(--classroom-photo-1)!important;}
#app .dashboard .stage .stage-scroll.result-room-bg.result-bg-stage-2{background-image:linear-gradient(rgba(255,253,248,.82),rgba(255,253,248,.86)),var(--classroom-photo-2)!important;}
#app .dashboard .stage .stage-scroll.result-room-bg.result-bg-stage-3{background-image:linear-gradient(rgba(255,253,248,.80),rgba(255,253,248,.84)),var(--classroom-photo-3)!important;}
#app .dashboard .stage .stage-scroll.result-room-bg.result-bg-stage-4{background-image:linear-gradient(rgba(255,253,248,.78),rgba(255,253,248,.82)),var(--classroom-photo-4)!important;}


/* original style block 86/96 */

/* v13.7.271 – visual-only unified vintage walnut / antique brass theme.
   Preserve HTML/JS, all four classroom photographs, stage logic and hit targets. */
:root { --vw-walnut:#382117; --vw-dark:#20120d; --vw-gold:#c69b51; --vw-gold-light:#f5d894; --vw-cream:#fff1cf; --vw-ink:#493019; }
body { background:radial-gradient(ellipse at 50% 20%,#795031 0%,transparent 65%),linear-gradient(135deg,#2e1b14,#160e0b 74%)!important; }
#app { --vw-wood:url("../images/B_背景/B105_ヴィンテージ木目テクスチャ.jpeg"); --vw-brass:linear-gradient(135deg,#9f6728,#f5d68c 21%,#a06a2d 46%,#e4ba64 69%,#7b4b20); }
#app .dashboard { color:#4d311b; }
/* Outer frames and dashboard side furnishings; keep dimensions & grid placements. */
#app .dashboard .stage { background:#4d2b1d!important; border-color:#9d6b3c!important;box-shadow:inset 0 0 0 2px #edc77d,inset 0 0 0 5px #3e281c,0 5px 0 #65402c,0 11px 18px #100c0973!important; }
#app .dashboard:not(.shopping-view) .stage .stage-scroll:not(.result-room-bg) { background-color:#f3e4c5; }
#app .dashboard .bottom-nav {background-image:linear-gradient(90deg,#21120b99,#55351d5e,#21120b99),var(--vw-wood)!important;background-color:#351e14!important;border-color:#b6843c!important;box-shadow:inset 0 0 0 2px #e4bf77,0 4px 0 #1e110b,0 7px 14px #140d0950!important;}
#app .dashboard .side, #app .dashboard .abilities-sketch, #app .dashboard .vitals-sketch {background:linear-gradient(125deg,#ffeed0,#e7cda3)!important;border-color:#a67943!important;box-shadow:inset 0 0 0 2px #f7d997,0 5px 10px #23170f48!important;color:#55351e!important;}
#app .dashboard .side-date,#app .dashboard .abilities-sketch-title{background-image:linear-gradient(#25140aaa,#25140a88),var(--vw-wood)!important;border-color:#d8ae62!important;color:#f8e8c3!important;text-shadow:0 1px 2px #090806!important;}
#app .dashboard .side-line { border-color:#b99668!important;color:#583720!important; }
#app .dashboard .compact-week-card,#app .dashboard .abilities-sketch-row {background:linear-gradient(#fff8e8,#ead4b0)!important;border-color:#bd9764!important;color:#51351e!important;}
#app .dashboard .compact-week-card .wk-label,#app .dashboard .abilities-sketch-row>span {color:#6c4729!important;}
#app .dashboard .compact-week-card .wk-value,#app .dashboard .abilities-sketch-row>b {color:#422917!important;}
#app .dashboard .vitals-sketch-track,#app .dashboard .side-bars .track {background:#634331!important;border-color:#d2b481!important;}
/* Main progress rail; five phases retain their current sizes / active phase semantics. */
#app .dashboard .core-head .week-flow,#app .dashboard .core-head .opening-phase-flow {background-image:linear-gradient(#26170bba,#3d2413b0),var(--vw-wood)!important;border-color:#b88a4b!important;}
#app .dashboard .core-head .week-flow-step,#app .dashboard .core-head .opening-phase-flow span {background:linear-gradient(#f9ecd0,#e2be87)!important;border-color:#b18b52!important;color:#55351c!important;text-shadow:none!important;}
#app .dashboard .core-head .week-flow-step.active,#app .dashboard .core-head .opening-phase-flow .active {background:linear-gradient(#80522b,#3b2315)!important;border-color:#f7d076!important;color:#fff5d5!important;box-shadow:inset 0 0 0 1px #ecc37a,0 0 7px #f5b95699!important;}
#app .dashboard .core-head .week-flow-step.active *,#app .dashboard .core-head .opening-phase-flow .active * {color:#fff1c2!important;}
#app .dashboard .core-head .week-flow-step.done {background:linear-gradient(#ede0bf,#cbae7f)!important;color:#65441f!important;}
#app .dashboard .top-ability{background:linear-gradient(#fff5dc,#e6c99c)!important;border-color:#ae7f45!important;}
#app .dashboard .top-ability .top-label{background-image:linear-gradient(#27170ebc,#3d2418a6),var(--vw-wood)!important;color:#f5dba2!important;}
#app .dashboard .top-ability .top-value{color:#54351f!important;}
/* One continuous button language: walnut face, beveled brass edge and clear states. */
#app .dashboard button.nav-item,#app .dashboard button.job-bubble,#app .dashboard button.act,
#app .dashboard button.job-commit,#app .dashboard button.mv-cta,#app .dashboard button.mv-small-btn,
#app .dashboard .meeting-fixed-tabs button,#app .dashboard .sd-tabs button,
#app .dashboard button.mv-mode-btn-v266,#app .dashboard .inset-actions button,
#app .dashboard button.meeting-equip-toggle,#app .dashboard .thumb-action-dock button,
#app .dashboard .result-action-dock button,#app .dashboard .meeting-footer button {
 background-image:linear-gradient(180deg,#2c190db8 0%,#6540242b 37%,#1a0d09a6 100%),var(--vw-wood)!important;
 background-color:#462819!important;border-color:#b88a48!important;color:#f8e4b5!important;
 text-shadow:0 1px 2px #100904!important;
 box-shadow:inset 0 0 0 1px #e8bf7299,inset 0 2px 3px #e5b77533,inset 0 -3px 3px #110a0866,0 2px 3px #160c0a70!important;
}
/* Keep free-standing button components on all the other game screens coherent. */
#app .dashboard button[class*="button"],#app .dashboard button[class*="btn"]{accent-color:#c89b51;}
#app .dashboard .stage button.act:hover:not(:disabled),#app .dashboard .bottom-nav button:hover:not(:disabled),#app .dashboard .jobs-row button:hover:not(:disabled){filter:brightness(1.13);}
#app .dashboard button:focus-visible{outline:2px solid #efcc79!important;outline-offset:2px!important;}
#app .dashboard button:disabled {filter:saturate(.55);}
#app .dashboard button.nav-item.on,#app .dashboard .meeting-fixed-tabs button.on,#app .dashboard .sd-tabs button.on,
#app .dashboard button.mv-mode-btn-v266.is-selected,#app .dashboard .stage .act.selected,
#app .dashboard button.job-bubble.active,#app .dashboard .inset-actions button.on {
 background-image:linear-gradient(180deg,#f8d986 0%,#b47a33 54%,#704219 100%)!important;
 border-color:#ffe3a1!important;color:#2e180b!important;
 text-shadow:0 1px 0 #fff0c699!important;
 box-shadow:inset 0 0 0 1px #fff6c5,inset 0 -3px 3px #66381077,0 0 0 1px #af782f,0 0 10px #ffd978b3!important;
}
#app .dashboard button.job-bubble.active .name,#app .dashboard button.job-bubble.active .level,#app .dashboard button.job-bubble.active .risk{color:#2d1b11!important;text-shadow:none!important;}
#app .dashboard button.act.primary,#app .dashboard button.job-commit,
#app .dashboard .result-action-dock button.act,#app .dashboard .thumb-action-dock button.act.primary {
 background-image:linear-gradient(#f9dc94,#d59b44 58%,#a56a2a)!important;background-color:#d6a457!important;
 color:#39220f!important;border-color:#a16c31!important;text-shadow:0 1px 0 #fff4cf!important;
 box-shadow:inset 0 0 0 1px #fff1c7,inset 0 -2px 2px #8a562a75,0 2px 3px #30190f52!important;
}
#app .dashboard button.act.danger {background-image:linear-gradient(#7e3430,#441d1a)!important;color:#fff0d7!important;border-color:#d8aa65!important;}
/* Six existing weekly task buttons: no change to widths/heights or container grid. */
#app .dashboard .stage .jobs-row .job-bubble {border-radius:12px!important;outline-offset:1px!important;}
#app .dashboard .stage .jobs-row .job-bubble .symbol {color:#f8dc98!important;text-shadow:0 1px 3px #120a06!important;filter:drop-shadow(0 1px 1px #07030080);}
#app .dashboard .stage .jobs-row .job-bubble .name {color:#fff0cb!important;text-shadow:0 2px 2px #180c07!important;font-weight:950!important;}
#app .dashboard .stage .jobs-row .job-bubble .level,#app .dashboard .stage .jobs-row .job-bubble .risk {color:#f1c98e!important;text-shadow:0 1px 2px #120a06!important;}
#app .dashboard .stage .jobs-row .job-bubble:last-child:not(.active),#app .dashboard .stage .jobs-row .sabo-work-card:not(.active){background-image:linear-gradient(#561e1ac9,#34110dc9),var(--vw-wood)!important;border-color:#d49a69!important;}
/* In-work overlays: antique parchment rather than opaque modern blue cards. */
#app .dashboard .stage .job-screen .job-lead {background:rgba(249,231,196,.88)!important;border-color:#b98d54!important;box-shadow:0 2px 5px #25140c45!important;}
#app .dashboard .stage .job-screen .job-selected-name {color:#482914!important;border-bottom-color:#bd8e4d!important;}
#app .dashboard .stage .job-screen .job-stage-label,#app .dashboard .stage .job-screen .job-selected-code {color:#674428!important;}
#app .dashboard .stage .job-screen .job-points{background:rgba(251,235,208,.9)!important;border-color:#bd9051!important;}
#app .dashboard .stage .job-screen .job-points small{background:linear-gradient(#53341e,#302016)!important;color:#f8e1b1!important;}
#app .dashboard .stage .job-screen .job-points strong{color:#462d1a!important;}
#app .dashboard .stage .job-screen .job-details {background:rgba(250,232,200,.90)!important;border-color:#b68d58!important;box-shadow:0 2px 7px #27160d40!important;}
#app .dashboard .stage .job-screen .job-details strong,#app .dashboard .stage .job-screen .job-details p {color:#4b311d!important;}
/* Footer toolbars / small menu components. */
#app .dashboard .stage .thumb-action-dock,#app .dashboard .stage .result-action-dock,
#app .dashboard .stage .meeting-footer,#app .dashboard .stage .meeting-fixed-dock,
#app .dashboard .stage .month-next-dock,#app .dashboard .stage .progress-return-dock {
 background:linear-gradient(#ffefd3,#e2c399)!important;border-color:#b98748!important;color:#4d2e18!important;
 box-shadow:inset 0 0 0 1px #fbe6b7,0 2px 4px #3a231528!important;
}
#app .dashboard .stage .thumb-action-dock strong,#app .dashboard .stage .result-action-dock strong {color:#58351b!important;}
/* Readable parchment result cards while keeping room photo completely untouched below. */
#app .dashboard .stage .stage-scroll.result-room-bg .panel.main:not(.hospital-cinema):not(.boss-cinematic):not(.sabo-cinematic),
#app .dashboard .stage .stage-scroll.result-room-bg .actionpanel {color:#432b1b!important;}
#app .dashboard .stage .stage-scroll.result-room-bg .event-note,
#app .dashboard .stage .stage-scroll.result-room-bg .notice,
#app .dashboard .stage .stage-scroll.result-room-bg .report-entry,
#app .dashboard .stage .stage-scroll.result-room-bg .test-result-card-v263,
#app .dashboard .stage .stage-scroll.result-room-bg .metric,
#app .dashboard .stage .stage-scroll.result-room-bg .report-list > div {
 background:linear-gradient(155deg,rgba(255,248,228,.97),rgba(239,220,184,.95))!important;
 border-color:#b78c54!important;color:#50351e!important;
 box-shadow:inset 0 0 0 1px #fff8e7b0,0 2px 5px #3a1e0e33!important;
}
#app .dashboard .stage .stage-scroll.result-room-bg h2,#app .dashboard .stage .stage-scroll.result-room-bg h3 {color:#4d2c15!important;}
#app .dashboard .stage .stage-scroll.result-room-bg .eyebrow {background:linear-gradient(#5a351d,#301c13)!important;color:#ffebbd!important;border-color:#c29859!important;}
#app .dashboard .stage .stage-scroll.result-room-bg .sub,#app .dashboard .stage .stage-scroll.result-room-bg .tiny.weak{color:#654a31!important;}
#app .dashboard .stage .stage-scroll.result-room-bg .test-result-table-v263 th{background:#53311e!important;color:#fce7b6!important;}
#app .dashboard .stage .stage-scroll.result-room-bg .test-result-table-v263 td {background:#fff2d9!important;color:#50301c!important;border-color:#ceb58d!important;}
/* General panels, meeting tables, item inventory, player panels. */
#app .dashboard .stage .stage-scroll:not(.result-room-bg) .event-note,
#app .dashboard .stage .stage-scroll:not(.result-room-bg) .metric,
#app .dashboard .stage .stage-scroll:not(.result-room-bg) .report-entry,
#app .dashboard .stage .stage-scroll:not(.result-room-bg) .storagebox,
#app .dashboard .stage .stage-scroll:not(.result-room-bg) .shop-card,
#app .dashboard .stage .stage-scroll:not(.result-room-bg) .itemrow {
 background:linear-gradient(#fff6e2,#ead6b5)!important;border-color:#b99a6e!important;color:#533722!important;
}
#app .dashboard .stage .stage-scroll .meeting-list-pane,
#app .dashboard .stage .stage-scroll .meeting-info-pane,
#app .dashboard .stage .stage-scroll .sd-shell,
#app .dashboard .stage .stage-scroll .meeting-tutorial-skill-preview {border-color:#b88b54!important;}
#app .dashboard .stage .stage-scroll .meeting-list-pane{background:#f8ecd5!important;}
#app .dashboard .stage .stage-scroll .meeting-simple-row,
#app .dashboard .stage .stage-scroll .meeting-itemrow {border-color:#c7a77b!important;}
#app .dashboard .stage .stage-scroll .meeting-boss-dialogue,
#app .dashboard .stage .stage-scroll .mv-director-dialogue-v267 {background:rgba(255,245,220,.93)!important;border-color:#bc9056!important;}
#app .dashboard .stage .stage-scroll table th {background:#593a23!important;color:#f8e6c1!important;}
#app .dashboard .stage .stage-scroll table td {border-color:#d6bc90!important;}
/* All secondary page controls: include segmented tabs, selection rows, long option buttons, and modal controls. */
#app .dashboard .stage button:not(.job-bubble):not(.nav-item):not(.act):not(.job-commit):not(.mv-mode-btn-v266):not(.meeting-equip-toggle):not(.meeting-group-expand):not(.meeting-favorite):not(.sd-card):not(.sd-slot):not([class*="remove"]) {
 border-color:#b68a50;color:#56341f;
}
#app .dashboard .stage button.meeting-group-expand,#app .dashboard .stage button.meeting-favorite,
#app .dashboard .stage button[class*="favorite"] {color:#815324;border-color:#be9560;}
/* A–E overlays use the same walnut/embossed-gold action language. */
#app .dashboard .stage .sabo-inline-strip {
 background:linear-gradient(160deg,rgba(77,43,23,.97),rgba(39,20,13,.98))!important;
 border-color:#d0a25a!important;box-shadow:inset 0 0 0 1px #f2d08b,0 4px 9px #180d0875!important;
}
#app .dashboard .stage button.sabo-inline-choice{
 background-image:linear-gradient(#4b2c1aa9,#28170dd9),var(--vw-wood)!important;
 background-color:#4b2818!important;border-color:#ca9c59!important;color:#f8e7c1!important;
 box-shadow:inset 0 0 0 1px #f9d788a0,0 1px 2px #150c08a6!important;
 text-shadow:0 1px 1px #120905!important;
}
#app .dashboard .stage button.sabo-inline-choice .sabo-inline-letter,
#app .dashboard .stage button.sabo-inline-choice .sabo-inline-short{color:#fce5b0!important;}
#app .dashboard .stage button.sabo-inline-choice.picked{
 background-image:linear-gradient(#fce29c,#c89041 60%,#795026)!important;
 border-color:#fff1b5!important;color:#33210f!important;
 box-shadow:inset 0 0 0 1px #fff3ca,0 0 10px #f0bd69!important;text-shadow:none!important;
}
#app .dashboard .stage button.sabo-inline-choice.picked .sabo-inline-letter,
#app .dashboard .stage button.sabo-inline-choice.picked .sabo-inline-short{color:#36200d!important;}
/* Legacy narrow-landscape layout: anchor A–E above the existing six icon slots.
   Earlier CSS scoped to .base-layout only; at widths below 700px that class is absent. */
@media (orientation:landscape) and (max-width:699px){
 #app .dashboard:not(.base-layout) .stage .job-screen.sabo-inline-open .job-lead {
  height:82px!important;min-height:82px!important;max-height:82px!important;
  flex:0 0 82px!important;overflow:hidden!important;
 }
 #app .dashboard:not(.base-layout) .stage .job-screen.sabo-inline-open .jobs-row {
  position:relative!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-template-rows:1fr!important;grid-auto-rows:0!important;
 }
 #app .dashboard:not(.base-layout) .stage .job-screen.sabo-inline-open .jobs-row .job-bubble.active{transform:none!important;}
 #app .dashboard:not(.base-layout) .stage .job-screen .jobs-row > .sabo-inline-strip {
  display:grid!important;position:absolute!important;left:0!important;right:0!important;
  width:100%!important;height:53px!important;min-height:0!important;max-height:53px!important;
  bottom:calc(100% + 3px)!important;top:auto!important;z-index:22!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;
  padding:2px!important;border-radius:7px!important;
 }
 #app .dashboard:not(.base-layout) .stage .job-screen .jobs-row > .sabo-inline-strip button {
  min-height:0!important;height:100%!important;padding:1px!important;gap:0!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;
 }
 #app .dashboard:not(.base-layout) .stage .job-screen .jobs-row > .sabo-inline-strip .sabo-inline-letter{font-size:11px!important;}
 #app .dashboard:not(.base-layout) .stage .job-screen .jobs-row > .sabo-inline-strip .sabo-inline-icon{font-size:14px!important;}
 #app .dashboard:not(.base-layout) .stage .job-screen .jobs-row > .sabo-inline-strip .sabo-inline-short{font-size:8px!important;}
}
/* Remaining player / company meeting tab surfaces and secondary controls. */
#app .dashboard .stage .subnav button,
#app .dashboard .stage .meeting-fixed-tabs button,
#app .dashboard .stage .sd-tabs button {
 background-image:linear-gradient(#35200d99,#1d100ab6),var(--vw-wood)!important;
 color:#f6e0b3!important;border-color:#be8d49!important;
 box-shadow:inset 0 0 0 1px #e3b875,0 1px 2px #180b0866!important;
 text-shadow:0 1px 1px #140b07!important;
}
#app .dashboard .stage .subnav button.on,
#app .dashboard .stage .meeting-fixed-tabs button.on,
#app .dashboard .stage .meeting-fixed-tabs button.first-meeting-spotlight,
#app .dashboard .stage .sd-tabs button.on {
 background-image:linear-gradient(#ffe6a4,#bd843c 65%,#8b541f)!important;
 color:#3d220f!important;border-color:#fff0b9!important;
 box-shadow:inset 0 0 0 1px #fff1c9,0 0 7px #f4c069aa!important;
 text-shadow:0 1px 0 #fff1c5!important;
}
#app .dashboard .stage .stage-scroll .meeting-info-pane:not(.meeting-boss-pane),
#app .dashboard .stage .stage-scroll .sd-shell,
#app .dashboard .stage .stage-scroll .meeting-tutorial-skill-preview {
 background-color:#f5e5c6!important;border-color:#bb8f59!important;
}
#app .dashboard .stage .stage-scroll .meeting-info-pane:not(.meeting-boss-pane){background-image:linear-gradient(#ffefcf,#f0dab3)!important;}
#app .dashboard .stage .stage-scroll .meeting-main-three,
#app .dashboard .stage .stage-scroll .meeting-main-layout {border-color:#ba8f5a!important;}
/* The title/menu and options buttons use the same walnut and brass rather than blue plastic. */
#gameTitleScreen{background:radial-gradient(ellipse at 46% 15%,#795032,#291711 70%,#130c09)!important;}
#gameTitleScreen .title-shell{border-color:#d4a864!important;box-shadow:inset 0 0 0 3px #f1d193,0 12px 33px #080502cc!important;}
#gameTitleScreen .title-side{background:linear-gradient(150deg,#fff1d6,#d9b98c)!important;}
#gameTitleScreen .title-side-heading,#gameTitleScreen .title-option-label{color:#4a2b17!important;}
#gameTitleScreen .title-side-kicker,#gameTitleScreen .title-help,#gameTitleScreen .title-save-label{color:#66472d!important;}
#gameTitleScreen button.title-choice,#gameTitleScreen button.title-option-mini,
#gameTitleScreen button.title-option-back,#gameTitleScreen button.title-setup-back,
#gameTitleScreen .title-speed-choices button,#gameTitleScreen .title-option-file{
 background-image:linear-gradient(#2a180bb0,#1a0d08c4),url("../images/B_背景/B105_ヴィンテージ木目テクスチャ.jpeg")!important;
 background-color:#422619!important;border-color:#be9458!important;color:#f8e1af!important;
 box-shadow:inset 0 0 0 1px #e7bd7b,0 2px 4px #27130b5c!important;
}
#gameTitleScreen button.title-choice.primary,
#gameTitleScreen .title-speed-choices button[aria-pressed="true"],
#gameTitleScreen button.title-option-mini.on{
 background-image:linear-gradient(#fce7a7,#c7974b 58%,#8c5828)!important;
 color:#462810!important;border-color:#ffe5a1!important;text-shadow:0 1px 0 #fff7d1!important;
}
#gameTitleScreen button:focus-visible,#gameTitleScreen input:focus-visible{outline:2px solid #f5d58a!important;}
/* The room photograph and its 4-stage selector are deliberately not modified. */
@media (max-height:450px), (max-width:700px) {
 #app .dashboard .stage .jobs-row .job-bubble{border-radius:8px!important;}
 #app .dashboard .stage .jobs-row .job-bubble .name{letter-spacing:-.035em;}
 #app .dashboard .stage .thumb-action-dock,#app .dashboard .stage .result-action-dock{box-shadow:inset 0 0 0 1px #f9db9c!important;}
}



/* original style block 87/96 */

/* v13.7.272 Visual audit and completion – keep classroom assets & numeric engine. */
:root {--vw272-wood:#462918;--vw272-gold:#d7aa62;--vw272-light:#f9e5b7;--vw272-parchment:#f5e5c5;--vw272-ink:#52331f}
/* Fixed decision strip: highlight ALL choice systems, not only .act.selected.
   In v271 .thumb-selected had lower precedence than the generic .act selector. */
#app .dashboard .stage .stage-scroll button.act.thumb-selected:not(:disabled),
#app .dashboard .stage .stage-scroll button.act.option.thumb-selected:not(:disabled),
#app .dashboard .stage .stage-scroll button.holiday-effect-choice.thumb-selected:not(:disabled),
#app .dashboard .stage .stage-scroll button.holiday-plan-choice[aria-pressed="true"]:not(:disabled),
#app .dashboard .stage .stage-scroll button.act[aria-pressed="true"]:not(:disabled),
#app .dashboard .stage .stage-scroll button.holiday-mode-button.holiday-mode-active:not(:disabled),
#app .dashboard .stage .stage-scroll button.holiday-mode-button[aria-pressed="true"]:not(:disabled),
#app .dashboard .stage .stage-scroll button.holiday-plan-choice.is-selected:not(:disabled){
 background-image:linear-gradient(165deg,#fff0b6 0%,#efd087 23%,#b47a35 70%,#795023 100%)!important;
 background-color:#d9ae64!important;border:2px solid #ffeab1!important;color:#3e230f!important;
 text-shadow:0 1px 0 #fff2c2!important;
 box-shadow:inset 0 0 0 1px #fff7d5,inset 0 -3px 4px #67381177,0 0 0 2px #aa752f,0 0 14px 3px #ffd369d9!important;
 outline:1px solid #764520!important;outline-offset:0!important;filter:brightness(1.05)!important;
}
#app .dashboard .stage .stage-scroll button.holiday-effect-choice .holiday-action-top b,
#app .dashboard .stage .stage-scroll button.holiday-effect-choice .holiday-action-top span,
#app .dashboard .stage .stage-scroll button.holiday-effect-choice .holiday-action-stat,
#app .dashboard .stage .stage-scroll button.holiday-plan-choice .holiday-action-top b,
#app .dashboard .stage .stage-scroll button.holiday-plan-choice .holiday-action-top span,
#app .dashboard .stage .stage-scroll button.holiday-plan-choice .holiday-action-stat{
 color:#f8e3b9!important;text-shadow:0 1px 1px #130a05!important;
}
#app .dashboard .stage .stage-scroll button.holiday-effect-choice.thumb-selected .holiday-action-top b,
#app .dashboard .stage .stage-scroll button.holiday-effect-choice.thumb-selected .holiday-action-top span,
#app .dashboard .stage .stage-scroll button.holiday-effect-choice.thumb-selected .holiday-action-stat,
#app .dashboard .stage .stage-scroll button.holiday-plan-choice[aria-pressed="true"] .holiday-action-top b,
#app .dashboard .stage .stage-scroll button.holiday-plan-choice[aria-pressed="true"] .holiday-action-top span,
#app .dashboard .stage .stage-scroll button.holiday-plan-choice[aria-pressed="true"] .holiday-action-stat{
 color:#38220f!important;text-shadow:0 1px 0 #fff2ce99!important;
}
#app .dashboard .stage .stage-scroll button.holiday-effect-choice:disabled .holiday-action-top b,
#app .dashboard .stage .stage-scroll button.holiday-effect-choice:disabled .holiday-action-top span,
#app .dashboard .stage .stage-scroll button.holiday-effect-choice:disabled .holiday-action-stat{color:#a99580!important}
#app .dashboard .stage .stage-scroll button.holiday-mode-button:not(.holiday-mode-active){
 background-image:linear-gradient(#3c2413bb,#1a0f09ca),var(--vw-wood)!important;
 color:#f7e2bc!important;border-color:#ba8e55!important;
 box-shadow:inset 0 0 0 1px #d8a967,0 2px 3px #28150988!important;
}
/* Holiday headers, budget, info and effects were still tinted blue. */
#app .dashboard .stage .holiday-heading .screen-title,
#app .dashboard .stage .holiday-brief-title,
#app .dashboard .stage .holiday-mode-caption {color:#4a2e19!important;}
#app .dashboard .stage .holiday-money-inline,
#app .dashboard .stage .holiday-leave-inline,
#app .dashboard .stage .holiday-selected-description,
#app .dashboard .stage .holiday-mode-hint,
#app .dashboard .stage .holiday-mode-caption,
#app .dashboard .stage .decision-two-tap-note,
#app .dashboard .stage .screen-sub,
#app .dashboard .stage .event-note,
#app .dashboard .stage .notice:not(.pay-sheet){
 border-color:#ba905d!important;color:#5a3a21!important;
}
#app .dashboard .stage .holiday-money-inline,
#app .dashboard .stage .holiday-leave-inline,
#app .dashboard .stage .holiday-selected-description,
#app .dashboard .stage .decision-two-tap-note{
 background:linear-gradient(#fff5dd,#e7cfaa)!important;
 box-shadow:inset 0 0 0 1px #fff7e3c0!important;
}
#app .dashboard .stage .holiday-leave-inline b,
#app .dashboard .stage .holiday-money-inline b{color:#704619!important;}
/* Content headings, secondary blue callouts, event/help choices. */
#app .dashboard .stage .stage-scroll .eyebrow:not(.test-result-title-v263),
#app .dashboard .stage .stage-scroll .panel.main>.eyebrow,
#app .dashboard .stage .stage-scroll .actionpanel>.eyebrow{
 background:linear-gradient(#674225,#2d1b11)!important;color:#fff0c6!important;
 border:1px solid #b99156!important;text-shadow:0 1px 1px #100804!important;
}
#app .dashboard .stage .stage-scroll h2:not(.boss-cinema-message h2),
#app .dashboard .stage .stage-scroll h3:not(.shopping-poster-brand),
#app .dashboard .stage .stage-scroll .screen-title {color:#54331c!important;}
#app .dashboard .stage .stage-scroll .sub,
#app .dashboard .stage .stage-scroll .screen-sub,
#app .dashboard .stage .stage-scroll .tiny.weak,
#app .dashboard .stage .stage-scroll .metric span,
#app .dashboard .stage .stage-scroll .compact-helper,
#app .dashboard .stage .stage-scroll .decision-two-tap-note {color:#72543a!important;}
#app .dashboard .stage .stage-scroll .metric,
#app .dashboard .stage .stage-scroll .event-note,
#app .dashboard .stage .stage-scroll .notice,
#app .dashboard .stage .stage-scroll .player-detail,
#app .dashboard .stage .stage-scroll .holiday-detail {
 border-color:#c09a69!important;
}
#app .dashboard .stage .stage-scroll .metric,
#app .dashboard .stage .stage-scroll .event-note,
#app .dashboard .stage .stage-scroll .notice:not(.promotion-visual),
#app .dashboard .stage .stage-scroll .player-detail {
 background:linear-gradient(#fff5df,#ead3ac)!important;color:#52341f!important;
}
#app .dashboard .stage .stage-scroll .act.option small{color:#efce92!important;}
#app .dashboard .stage .stage-scroll button.act.option.thumb-selected small{color:#422812!important;}
/* Wider catch-all for ordinary game buttons not covered by the first pass:
   avoid slot/card artwork, rarity-colored flags, and gameplay-specific illustrations. */
#app .dashboard .stage button.holiday-mode-button,
#app .dashboard .stage button.meeting-simple-name,
#app .dashboard .stage button.meeting-simple-preview,
#app .dashboard .stage button.meeting-copy-preview,
#app .dashboard .stage button.meeting-equip-toggle,
#app .dashboard .stage button.meeting-group-expand,
#app .dashboard .stage button.meeting-star,
#app .dashboard .stage button.player-skill-command,
#app .dashboard .stage .sd-actions button,
#app .dashboard .stage .sd-preset button,
#app .dashboard .stage .player-skill-modal button,
#app .dashboard .stage .compact-ability-actions button,
#app .dashboard .stage .holiday-mode-row button,
#app .dashboard .stage .abilities-compact-controls button,
#app .dashboard .stage button[class*="thumb-secondary"],
#app .dashboard .stage button[class*="action-confirm"]{
 background-image:linear-gradient(#2b190fbf,#120b08b5),var(--vw-wood)!important;
 background-color:#56351e!important;color:#f9e4ba!important;border-color:#bd8f4f!important;
 box-shadow:inset 0 0 0 1px #dfb879,0 2px 3px #2816096b!important;text-shadow:0 1px 1px #170a05!important;
}
#app .dashboard .stage .meeting-star.on,
#app .dashboard .stage button.meeting-star[aria-label="お気に入り解除"]{color:#ffe19a!important;}
#app .dashboard .stage button:disabled{opacity:.46;filter:grayscale(.4)!important;cursor:not-allowed;}
/* One visual grammar for tab and row selection. */
#app .dashboard .stage .stage-scroll button.on:not(.sd-slot):not(.sd-inv),
#app .dashboard .stage .meeting-fixed-tabs button.on,
#app .dashboard .stage button.holiday-mode-button.holiday-mode-active,
#app .dashboard .stage .stage-scroll button[aria-selected="true"]:not(.sd-slot),
#app .dashboard .stage .stage-scroll button.is-selected:not(.sd-slot):not(.meeting-simple-name),
#app .dashboard .stage button.mv-mode-btn-v266.is-selected{
 background-image:linear-gradient(#fff0b9,#c9954e 58%,#7a491e)!important;
 color:#42250d!important;border-color:#ffe5a3!important;
 box-shadow:inset 0 0 0 1px #fff5d3,0 0 10px #f5c36f9c!important;
 text-shadow:0 1px 0 #fff8dd!important;
}
#app .dashboard .stage .meeting-fixed-tabs button small,
#app .dashboard .stage .subnav button small {background:#e9cea0!important;color:#53321d!important;border-color:#ca9d64!important;}
#app .dashboard .stage .meeting-fixed-tabs button.on small{background:#52311c!important;color:#fae7b9!important;}
/* Meeting detail and player's compact panels – eliminate bright-blue text backgrounds. */
#app .dashboard .stage .meeting-detail-label,
#app .dashboard .stage .meeting-effect-minor,
#app .dashboard .stage .meeting-row-mini,
#app .dashboard .stage .meeting-quantity-column,
#app .dashboard .stage .meeting-equipped-flag,
#app .dashboard .stage .meeting-info-pane:not(.meeting-boss-pane),
#app .dashboard .stage .meeting-main-layout,
#app .dashboard .stage .meeting-list-pane{
 color:#5a3921!important;border-color:#c5a074!important;
}
#app .dashboard .stage .meeting-detail-label,
#app .dashboard .stage .meeting-effect-minor {background:#f5e6c8!important;}
#app .dashboard .stage .meeting-simple-row.is-selected,
#app .dashboard .stage .meeting-itemrow.recovery-selected{
 background:linear-gradient(#fff0bc,#e2b876)!important;
 border-color:#cf8f32!important;box-shadow:inset 0 0 0 1px #fff6ce,0 0 7px #dfad5580!important;
}
#app .dashboard .stage .player-compact-head,
#app .dashboard .stage .compact-ability-head,
#app .dashboard .stage .compact-ability-points strong {color:#56341e!important;}
#app .dashboard .stage .player-compact-head{background:#edcf9a!important;border-color:#bb955b!important;}
#app .dashboard .stage .player-ability-tile,
#app .dashboard .stage .player-compact-stat,
#app .dashboard .stage .player-status-stat,
#app .dashboard .stage .player-compact-cell,
#app .dashboard .stage .compact-growth-card,
#app .dashboard .stage .compact-ability-row,
#app .dashboard .stage .owned-pt-panel,
#app .dashboard .stage .owned-pt-cell {
 background:linear-gradient(#fff8e9,#ecd7b7)!important;border-color:#c19b6b!important;color:#54331c!important;
}
#app .dashboard .stage .player-ability-tile .player-ability-stats small,
#app .dashboard .stage .player-compact-stat span,
#app .dashboard .stage .player-compact-stat b,
#app .dashboard .stage .player-compact-cell span,
#app .dashboard .stage .player-compact-cell b,
#app .dashboard .stage .player-compact-note,
#app .dashboard .stage .compact-growth-draft,
#app .dashboard .stage .compact-growth-cost,
#app .dashboard .stage .compact-helper,
#app .dashboard .stage .compact-ability-notice,
#app .dashboard .stage .growth-arrow,
#app .dashboard .stage .compact-growth-card b,
#app .dashboard .stage .compact-ability-row b {color:#65472e!important;}
/* Preserve ability/rank category accents where they convey semantic meaning. */
#app .dashboard .stage .sd-shell{color:#51331d!important;}
#app .dashboard .stage .sd-library,
#app .dashboard .stage .sd-workspace,
#app .dashboard .stage .sd-main {background:#f1dfc1!important;border-color:#bd9760!important;}
#app .dashboard .stage .sd-slot:not(.on),
#app .dashboard .stage .sd-inv:not(.on){background:#f8edda!important;color:#53371f!important;border-top-color:#c09b6e!important;border-right-color:#c09b6e!important;border-bottom-color:#c09b6e!important;}
#app .dashboard .stage .sd-slot.on,
#app .dashboard .stage .sd-inv.on {background:#ffe3a4!important;color:#382412!important;border-color:#cc943a!important;box-shadow:inset 0 0 0 2px #ffe7a6,0 0 6px #d6a954!important;}
#app .dashboard .stage .sd-slot-top,
#app .dashboard .stage .sd-inv-meta{color:#775b3e!important;}
/* Modal controls and framed selections. Do not modify artwork/photo data URIs. */
#app .numeric-result-overlay .numeric-result-dialog,
#app .ten-draw-overlay .ten-draw-confirm,
#app .player-skill-modal,
#app .dashboard .stage .sale-receipt-panel{border-color:#b58c53!important;}
#app .dashboard .stage .thumb-modal .thumb-modal-footer{border-color:#ba965d!important;}
#app .dashboard .stage .monthly-report-tabs button[aria-selected="true"]{border-color:#fad38d!important;}
/* Buttons that remain on foreground layers outside the dashboard namespace. */
#holidayResultSafeDock button,
#app .numeric-result-overlay button.act,
#app .ten-draw-overlay button.act{
 background-image:linear-gradient(#f9dfa2,#d3a14f 55%,#945b23)!important;
 background-color:#c9994a!important;border-color:#a26d37!important;color:#3c2411!important;
 box-shadow:inset 0 0 0 1px #fff6d2,0 2px 4px #371d0f73!important;
}
#app .dashboard .stage button:focus-visible{outline:3px solid #ffde83!important;outline-offset:1px!important;}

/* Final color audit: compact player stats and ability header. */
#app .dashboard .stage .player-compact-metric,
#app .dashboard .stage .player-compact-metric span,
#app .dashboard .stage .player-compact-metric b,
#app .dashboard .stage .ability-compact-heading,
#app .dashboard .stage .ability-compact-heading strong,
#app .dashboard .stage .ability-compact-heading span,
#app .dashboard .stage .compact-pt-summary,
#app .dashboard .stage .compact-pt-summary b,
#app .dashboard .stage .compact-pt-summary span {color:#594029!important;}
#app .dashboard .stage .player-compact-metric,
#app .dashboard .stage .ability-compact-heading{background:linear-gradient(#fff7e6,#edd4a9)!important;border-color:#c19a66!important;}
#app .dashboard .stage .ability-compact-heading b {color:#614023!important;}

/* Ability-up fixed header and points boxes: final pale-blue residue. */
#app .dashboard .stage .ability-compact-header,
#app .dashboard .stage .ability-compact-wallet,
#app .dashboard .stage .ability-compact-wallet>span,
#app .dashboard .stage .ability-compact-footer{
 background:linear-gradient(#fff5de,#e5c99d)!important;border-color:#b98a4f!important;color:#583821!important;
}
#app .dashboard .stage .ability-compact-wallet b{color:#66421f!important;}
#app .dashboard .stage .ability-compact-wallet .compact-pt-spent{color:#9a3e2d!important;}
#app .dashboard .stage .ability-compact-wallet .compact-pt-remain{color:#466b37!important;}
#app .dashboard .stage .ability-compact-card button,
#app .dashboard .stage .compact-growth-card button,
#app .dashboard .stage .ability-compact-footer button:not(.act){
 border-color:#ba925c!important;background:linear-gradient(#f5dfb7,#cda775)!important;color:#482a16!important;
 box-shadow:inset 0 0 0 1px #fff1d0!important;
}



/* original style block 88/96 */

/* The existing stage-dependent classroom photos stay intact and are never stretched. */
#app .dashboard .stage .stage-scroll.result-room-bg.room-interaction-bg{
 background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;
}
#app .dashboard .stage .stage-scroll.result-room-bg.room-interaction-bg.result-bg-stage-1{background-image:linear-gradient(rgba(255,246,230,.34),rgba(255,245,226,.40)),var(--classroom-photo-1)!important;}
#app .dashboard .stage .stage-scroll.result-room-bg.room-interaction-bg.result-bg-stage-2{background-image:linear-gradient(rgba(255,246,230,.34),rgba(255,245,226,.40)),var(--classroom-photo-2)!important;}
#app .dashboard .stage .stage-scroll.result-room-bg.room-interaction-bg.result-bg-stage-3{background-image:linear-gradient(rgba(255,246,230,.34),rgba(255,245,226,.40)),var(--classroom-photo-3)!important;}
#app .dashboard .stage .stage-scroll.result-room-bg.room-interaction-bg.result-bg-stage-4{background-image:linear-gradient(rgba(255,246,230,.34),rgba(255,245,226,.40)),var(--classroom-photo-4)!important;}
/* Meeting content remains legible over the visible classroom photo. */
#app .dashboard .stage .stage-scroll.room-interaction-bg .meeting-list-pane{background:rgba(250,236,210,.86)!important;}
#app .dashboard .stage .stage-scroll.room-interaction-bg .meeting-info-pane:not(.meeting-boss-pane){background:rgba(249,234,205,.88)!important;background-image:none!important;}
#app .dashboard .stage .stage-scroll.room-interaction-bg .meeting-tutorial-skill-preview{background:rgba(252,241,220,.89)!important;}
#app .dashboard .stage .stage-scroll.room-interaction-bg>.actionpanel{background:transparent!important;}
#app .dashboard .stage .stage-scroll.room-interaction-bg>.actionpanel>h2,
#app .dashboard .stage .stage-scroll.room-interaction-bg>.actionpanel>p{background:rgba(255,246,227,.88);border-radius:6px;padding:2px 5px;}
/* Extra skip action beside Next: keep all narration speed/AUTO controls. */
#app .dashboard .stage .meeting-tour-result-dock{display:flex!important;align-items:center!important;gap:5px!important;}
#app .dashboard .stage .meeting-tour-skip-v273{
 display:inline-flex!important;align-items:center;justify-content:center;
 flex:0 0 auto!important;min-width:0!important;max-width:none!important;
 min-height:28px!important;max-height:43px!important;
 padding:3px 9px!important;margin:0 2px 0 auto!important;
 border:2px solid #ac813e!important;border-radius:8px!important;
 background:linear-gradient(#fbe7b4,#d5ac65)!important;color:#482b16!important;
 box-shadow:inset 0 1px 0 #fff4d4,0 2px 2px #59381d66!important;
 font-size:clamp(10px,.85vw,13px)!important;font-weight:900!important;
 white-space:nowrap!important;text-shadow:none!important;
}
#app .dashboard .stage .meeting-tour-skip-v273:focus-visible{outline:2px solid #fbe19b!important;outline-offset:2px;}
@media(max-width:699px){
 #app .dashboard .stage .meeting-tour-skip-v273{font-size:9px!important;padding:2px 4px!important;min-height:24px!important;margin-left:auto!important;}
 #app .dashboard .stage .meeting-tour-result-dock>.act{min-width:74px!important;padding-left:4px!important;padding-right:4px!important;}
}


/* original style block 89/96 */

/* v13.7.275: high-contrast vintage wood, legible grouped inventory and safe bottom navigation.
   Presentation only: no changes to economy, outcomes, save or renovation state. */
/* Every lower navigation item must be entirely inside its six-cell frame, even at 1585x767. */
#app .dashboard .bottom-nav,
#app .dashboard.base-layout .bottom-nav {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-template-rows:minmax(0,1fr)!important;
  align-items:stretch!important;
  min-width:0!important;
  min-height:0!important;
  padding:clamp(4px,.60vh,7px)!important;
  gap:clamp(3px,.65vw,9px)!important;
  overflow:hidden!important;
}
#app .dashboard .bottom-nav .nav-item {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  flex:initial!important;
  min-width:0!important;
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  max-height:100%!important;
  padding:clamp(1px,.35vh,4px) 2px!important;
  gap:clamp(0px,.18vh,2px)!important;
  line-height:1.06!important;
  font-size:clamp(10px,1.12vw,16px)!important;
  overflow:hidden!important;
}
#app .dashboard .bottom-nav .nav-item .nav-ico{
  flex:0 1 auto!important;
  font-size:clamp(15px,1.75vw,25px)!important;
  line-height:1!important;
  max-height:50%!important;
}
#app .dashboard .bottom-nav .nav-item span:last-child{
  width:100%!important;
  display:block!important;
  font-size:inherit!important;
  line-height:1.12!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
/* Two contrasting surfaces: ivory/ink normal and walnut/white selected.
   Product categories preserve their colored rarity badge, not low-contrast full-row tints. */
#app .dashboard .stage .meeting-list-pane,
#app .dashboard .stage .stage-scroll.room-interaction-bg .meeting-list-pane,
#app .dashboard .stage .player-mirror-shell .meeting-list-pane {
  background:rgba(246,236,218,.96)!important;
  border-color:#98744e!important;
}
#app .dashboard .stage .meeting-tab-body,
#app .dashboard .stage .meeting-compact-list {min-width:0!important;max-width:100%!important;}
#app .dashboard .stage .meeting-main-three .meeting-simple-row {
  box-sizing:border-box!important;
  background:#fffdf8!important;
  border:1px solid #b29a7c!important;
  border-left:4px solid #936744!important;
  border-radius:6px!important;
  margin:0 0 4px!important;
  padding:4px 5px!important;
  min-height:41px!important;
  color:#23180f!important;
  box-shadow:0 1px 1px #38231722!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row.is-selected,
#app .dashboard .stage .meeting-main-three .meeting-simple-row.recovery-selected {
  background:#4b2d1e!important;
  border:2px solid #e5b45e!important;
  border-left:4px solid #efc772!important;
  box-shadow:inset 0 0 0 1px #fbe7aa77,0 0 8px #e4b25d99!important;
  color:#ffffff!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-simple-name,
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-simple-name:hover,
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-simple-name:focus-visible {
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  background:transparent!important;background-image:none!important;
  border:0!important;outline-offset:1px!important;
  box-shadow:none!important;text-shadow:none!important;
  min-width:0!important;min-height:26px!important;
  padding:1px 0!important;margin:0!important;overflow:visible!important;
  color:#241810!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-one-line-name {
  color:#211710!important;
  font-size:clamp(12px,1.0vw,15px)!important;
  font-weight:900!important;
  line-height:1.18!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-shadow:none!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row.is-selected .meeting-simple-name,
#app .dashboard .stage .meeting-main-three .meeting-simple-row.is-selected .meeting-one-line-name,
#app .dashboard .stage .meeting-main-three .meeting-simple-row.is-selected .meeting-group-quantity,
#app .dashboard .stage .meeting-main-three .meeting-simple-row.is-selected .meeting-row-mini {
  color:#ffffff!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-row-rarity{
  font-weight:900!important;font-size:11px!important;flex:0 0 auto!important;
  border-radius:3px!important;line-height:1.2!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-quantity-column {
  background:transparent!important;
  color:#362414!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-group-quantity {
  background:#f7eddc!important;
  border:1px solid #b9a17b!important;
  border-radius:4px!important;
  color:#2c1d13!important;
  font-size:11px!important;
  font-weight:900!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row.is-selected .meeting-group-quantity{
  background:#68432b!important;border-color:#d5a453!important;color:#ffffff!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-recovery-effect{
  color:#442c18!important;background:#f4e2bf!important;
  border-color:#c5a274!important;box-shadow:none!important;
  font-size:10px!important;font-weight:900!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row.is-selected .meeting-recovery-effect{
  color:#ffffff!important;background:#80552f!important;border-color:#daa453!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-row-mini,
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-gear-enhanced {
  color:#503823!important;font-size:10px!important;font-weight:850!important;
}
/* Avoid wasting narrow table real estate; rows may wrap long names instead of shrinking text. */
#app .dashboard .stage .meeting-main-three .meeting-simple-row:not(.meeting-sale-row){
  grid-template-columns:minmax(0,1fr) 38px 79px!important;column-gap:3px!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row:not(.meeting-sale-row) .meeting-quantity-column{
  width:38px!important;max-width:38px!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row:not(.meeting-sale-row) .meeting-row-controls{
  width:79px!important;max-width:79px!important;min-width:0!important;gap:3px!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-equip-toggle,
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-star,
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-group-expand {
  border:1px solid #b0803f!important;border-radius:5px!important;
  background:#51301d!important;background-image:none!important;color:#ffffff!important;
  text-shadow:none!important;box-shadow:none!important;
  font-size:clamp(10px,.85vw,12px)!important;
  min-height:27px!important;
}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-star {color:#ffe6a3!important;font-size:18px!important;}
#app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-star.on {color:#ffcc58!important;}
#app .dashboard .stage .meeting-main-three .meeting-group-copies{
  background:#fff8e9!important;border-color:#b99664!important;
}
#app .dashboard .stage .meeting-main-three .meeting-copy-row,
#app .dashboard .stage .meeting-main-three .meeting-copy-preview{
  color:#342315!important;border-color:#ccb18d!important;
  font-size:11px!important;
}
/* Sale actions are a SECOND row: complete item names are not squeezed into a tiny column. */
#app .dashboard .stage .meeting-main-three .meeting-sale-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:3px 6px!important;
  min-height:62px!important;
  padding:5px 7px!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-simple-name{
  grid-column:1 / -1!important;grid-row:1!important;
  width:100%!important;min-height:23px!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-quantity-column{
  grid-column:1!important;grid-row:2!important;
  width:auto!important;max-width:none!important;min-width:0!important;
  display:flex!important;flex-direction:row!important;
  gap:4px!important;align-items:center!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-row-controls{
  grid-column:2!important;grid-row:2!important;
  box-sizing:border-box!important;
  width:auto!important;max-width:100%!important;min-width:0!important;
  padding:0!important;margin:0!important;
  display:flex!important;justify-content:flex-end!important;justify-self:end!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-sale-quantity{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  width:auto!important;max-width:100%!important;
  min-width:0!important;
  gap:clamp(2px,.3vw,5px)!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-sale-quantity button{
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  width:clamp(22px,1.95vw,30px)!important;
  min-width:0!important;height:clamp(24px,2.25vw,29px)!important;
  background:#fffaf0!important;background-image:none!important;
  color:#21170e!important;border:1px solid #9f7a4c!important;
  font-size:13px!important;font-weight:950!important;text-shadow:none!important;
  border-radius:4px!important;box-shadow:none!important;
  padding:1px 2px!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-sale-quantity span{
  display:block!important;box-sizing:border-box!important;
  flex:0 0 34px!important;width:34px!important;min-width:34px!important;
  text-align:center!important;color:#21160d!important;
  font-weight:950!important;font-size:11px!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row.is-selected .meeting-sale-quantity span{color:#ffffff!important;}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-sale-quantity button.meeting-sale-bulk{
  width:clamp(32px,2.65vw,42px)!important;
  background:#fff0cf!important;color:#2c1d0f!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-sale-quantity button.is-all-selected{
  background:#e4b153!important;border-color:#fff3bb!important;color:#21170c!important;
  box-shadow:0 0 5px #f4c76d!important;
}
#app .dashboard .stage .meeting-main-three .meeting-sale-row .meeting-sale-quantity button:disabled{
  opacity:.46!important;background:#e9e0d1!important;color:#614e3b!important;
}
#app .dashboard .stage .meeting-sale-top,
#app .dashboard .stage .meeting-sale-section,
#app .dashboard .stage .meeting-category-inline {
  background:#f6e7cf!important;background-image:none!important;
  border-color:#b49364!important;color:#2d2117!important;
  font-weight:900!important;
}
#app .dashboard .stage .meeting-sale-tool,
#app .dashboard .stage .meeting-sale-top button,
#app .dashboard .stage .meeting-detail-act,
#app .dashboard .stage .meeting-group-expand{
  background:#50311d!important;background-image:none!important;
  border-color:#c09452!important;color:#ffffff!important;
  text-shadow:none!important;
}
#app .dashboard .stage .meeting-sale-top .meeting-sale-confirm{
  background:#e6b759!important;color:#27190b!important;border-color:#9e682b!important;
}
/* Detail: top ~63% original undistorted illustration, bottom ~37% opaque ivory information. */
#app .dashboard .stage .meeting-main-three>.meeting-info-pane.meeting-has-art:not(.meeting-boss-pane){
  background:#e9dcc6!important;background-image:none!important;
  overflow:hidden!important;position:relative!important;padding:0!important;
  display:block!important;
}
#app .dashboard .stage .meeting-main-three>.meeting-info-pane.meeting-has-art .meeting-detail-art{
  position:absolute!important;
  top:0!important;left:0!important;right:0!important;bottom:auto!important;
  width:100%!important;height:63%!important;
  object-fit:contain!important;object-position:center center!important;
  opacity:1!important;background:#f1e5d1!important;
}
#app .dashboard .stage .meeting-main-three>.meeting-info-pane.meeting-has-art .meeting-detail-overlay{
  box-sizing:border-box!important;
  position:absolute!important;top:63%!important;bottom:0!important;left:0!important;right:0!important;
  width:100%!important;height:37%!important;max-height:none!important;
  min-height:0!important;margin:0!important;
  border:0!important;border-top:2px solid #a67e48!important;
  border-radius:0!important;
  background:#fffdf7!important;background-image:none!important;
  color:#211710!important;
  box-shadow:0 -2px 6px #27170f55!important;
  padding:clamp(4px,.65vw,9px)!important;gap:2px!important;
  overflow-y:auto!important;scrollbar-width:thin!important;
}
#app .dashboard .stage .meeting-info-pane:not(.meeting-has-art):not(.meeting-boss-pane) .meeting-detail-overlay{
  color:#241910!important;background:#fffaf0!important;
}
#app .dashboard .stage .meeting-detail-label,
#app .dashboard .stage .meeting-detail-name,
#app .dashboard .stage .meeting-effect-key,
#app .dashboard .stage .meeting-effect-minor,
#app .dashboard .stage .meeting-effect-after {
  background:transparent!important;background-image:none!important;
  color:#21170f!important;
  text-shadow:none!important;
}
#app .dashboard .stage .meeting-detail-name{
  font-weight:950!important;font-size:clamp(12px,1.18vw,16px)!important;line-height:1.2!important;
}
#app .dashboard .stage .meeting-effect-key{
  font-size:clamp(11px,.94vw,14px)!important;font-weight:850!important;line-height:1.2!important;
}
#app .dashboard .stage .meeting-effect-minor{font-size:clamp(10px,.84vw,12px)!important;line-height:1.15!important;}
#app .dashboard .stage .meeting-detail-bottom{margin-top:2px!important;}
/* Across player inventory, keep the identical high-contrast list treatment. */
#app .player-screen-v262 .player-mirror-shell .meeting-main-three .meeting-simple-row{
  color:#24170f!important;
}
@media (max-height:440px) and (orientation:landscape){
 #app .dashboard .bottom-nav{padding:3px!important;gap:3px!important;}
 #app .dashboard .bottom-nav .nav-item{padding:1px!important;font-size:10px!important;}
 #app .dashboard .bottom-nav .nav-item .nav-ico{font-size:16px!important;}
 #app .dashboard .stage .meeting-main-three .meeting-simple-row:not(.meeting-sale-row){min-height:38px!important;}
 #app .dashboard .stage .meeting-main-three .meeting-simple-row .meeting-one-line-name{font-size:12px!important;}
 #app .dashboard .stage .meeting-main-three .meeting-sale-row{min-height:58px!important;}
}


/* original style block 90/96 */

/* Final meeting/footer palette: no leftover blue footer stripe or numeric labels. */
#app .dashboard .stage .meeting-footer-dock,
#app .dashboard .stage .meeting-footer,
#app .dashboard .stage .meeting-fixed-dock {
  background:#463020!important;
  background-image:linear-gradient(165deg,#5c3c23,#28180f)!important;
  color:#fff8e8!important;
  border-color:#b68b4e!important;
  box-shadow:inset 0 0 0 1px #dbba78,0 2px 5px #29170a66!important;
}
#app .dashboard .stage .meeting-footer-dock span,
#app .dashboard .stage .meeting-footer-dock strong,
#app .dashboard .stage .meeting-footer-dock .meeting-finish-button:not(:disabled),
#app .dashboard .stage .meeting-sale-top > span {
  color:#fff8e8!important;text-shadow:none!important;
}
#app .dashboard .stage .meeting-sale-top > span,
#app .dashboard .stage .meeting-category-inline > span {
  color:#2b1a0c!important;
}
#app .dashboard .stage .meeting-tab-body .meeting-category-inline,
#app .dashboard .stage .meeting-tab-body .meeting-sale-top,
#app .dashboard .stage .meeting-tab-body .meeting-sale-section{
  color:#27190d!important;
}
#app .dashboard .stage .meeting-fixed-tabs{background:transparent!important;}
#app .dashboard .stage .meeting-simple-row.is-selected .meeting-row-rarity{color:#2d1b0f!important;}
#app .dashboard .stage .meeting-main-three .meeting-simple-row.is-selected .meeting-sale-quantity span{color:#ffffff!important;}
/* Protect compact landscape: keep meeting list and detail inside the stage, each with local scrolling. */
@media (max-width:699px) and (orientation:landscape){
 #app .dashboard .stage .stage-scroll:has(.meeting-main-layout.meeting-main-three){
   display:flex!important;flex-direction:column!important;
   overflow:hidden!important;min-height:0!important;
   padding:4px 5px!important;
 }
 #app .dashboard .stage .stage-scroll:has(.meeting-main-layout.meeting-main-three)>.actionpanel,
 #app .dashboard .stage .stage-scroll:has(.meeting-main-layout.meeting-main-three)>.panel.main{
   height:100%!important;flex:1 1 0px!important;min-height:0!important;
   display:flex!important;flex-direction:column!important;
   overflow:hidden!important;padding:0!important;margin:0!important;
 }
 #app .dashboard .stage .stage-scroll:has(.meeting-main-layout.meeting-main-three) .meeting-screen-wrap,
 #app .dashboard .stage .stage-scroll:has(.meeting-main-layout.meeting-main-three) .meeting-main-layout.meeting-main-three{
   width:100%!important;height:100%!important;min-height:0!important;flex:1 1 0px!important;
   grid-template-rows:minmax(0,1fr)!important;overflow:hidden!important;
 }
 #app .dashboard .stage .stage-scroll:has(.meeting-main-layout.meeting-main-three) .meeting-list-pane{
   height:100%!important;min-height:0!important;overflow-y:auto!important;
 }
}


/* original style block 91/96 */

/* v13.7.275: two real player-approved character portraits, zero changes to help RNG or costs. */

#app .dashboard .stage .stage-scroll:has(.month-event-v276){padding:clamp(5px,.72vw,10px)!important;overflow:hidden!important;}
#app .dashboard .stage .stage-scroll:has(.month-event-v276)>.actionpanel{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;}
#app .dashboard .stage .month-event-v276{height:100%;min-height:0;display:flex;flex-direction:column;gap:clamp(5px,.72vh,10px);color:#2f2217;}
#app .dashboard .stage .month-event-head-v276{display:flex;flex-direction:column;gap:clamp(4px,.55vh,8px);flex:0 0 auto;}
#app .dashboard .stage .month-event-timing-v276{align-self:flex-start;padding:clamp(4px,.6vh,7px) clamp(12px,1.3vw,18px);border-radius:999px;background:linear-gradient(180deg,#5b371f,#2f1b11)!important;border:2px solid #c89555;color:#fff4db;font-weight:900;font-size:clamp(13px,1.22vw,20px);letter-spacing:.04em;box-shadow:inset 0 0 0 1px #f6ddb1,0 2px 6px rgba(33,18,10,.25);}
#app .dashboard .stage .month-event-title-v276{padding:clamp(8px,.95vh,14px) clamp(14px,1.45vw,22px);border-radius:18px;background:rgba(250,242,226,.95)!important;border:2px solid #c59a60;box-shadow:inset 0 0 0 1px #fff7e6,0 3px 10px rgba(46,24,12,.12);font-weight:900;font-size:clamp(22px,1.95vw,34px);line-height:1.18;color:#2d1c10;}
#app .dashboard .stage .month-event-layout-v276{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(10px,1vw,16px);overflow:hidden;}
#app .dashboard .stage .month-event-left-v276{min-height:0;display:flex;flex-direction:column;gap:clamp(8px,.8vh,12px);padding:clamp(8px,.85vh,12px);border-radius:18px;background:linear-gradient(180deg,rgba(247,239,224,.94),rgba(236,223,199,.94))!important;border:2px solid #bb9159;box-shadow:inset 0 0 0 1px #fff5e3,0 3px 10px rgba(43,23,12,.12);overflow:hidden;}
#app .dashboard .stage .month-event-portrait-v276{flex:1 1 auto;min-height:0;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;border-radius:14px;background:#f7eddd!important;border:2px solid #b58c57;box-shadow:inset 0 0 0 1px #fff4df;}
#app .dashboard .stage .month-event-portrait-v276 img.month-event-art-v277{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom;opacity:1!important;filter:none!important;mix-blend-mode:normal!important;}
#app .dashboard .stage .month-event-copy-v276{flex:0 0 auto;padding:clamp(7px,.8vh,11px) clamp(10px,1vw,14px);border-radius:12px;background:rgba(255,249,238,.95)!important;border:1px solid #cfaf7f;color:#4a3321;font-size:clamp(12px,1.02vw,16px);font-weight:700;line-height:1.45;}
#app .dashboard .stage .month-event-copy-v276 p{margin:0;}
#app .dashboard .stage .month-event-right-v276{min-height:0;display:flex;flex-direction:column;gap:clamp(8px,.85vh,12px);}
#app .dashboard .stage .month-event-choice-list-v276{flex:1 1 auto;min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:clamp(9px,.92vh,13px);}
#app .dashboard .stage .stage-scroll button.month-event-choice-v276.act{display:block!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border-radius:18px!important;border:3px solid #bd9153!important;background:linear-gradient(180deg,rgba(255,248,235,.98),rgba(239,226,199,.98))!important;box-shadow:inset 0 0 0 2px #fff6e7,0 3px 9px rgba(40,22,11,.15)!important;white-space:normal!important;overflow:hidden!important;text-align:left;}
#app .dashboard .stage .stage-scroll button.month-event-choice-v276.act .month-event-choice-inner-v276{display:flex;align-items:center;gap:clamp(12px,1.2vw,18px);height:100%;padding:clamp(10px,1vh,14px) clamp(12px,1.25vw,18px);}
#app .dashboard .stage .stage-scroll button.month-event-choice-v276.act .month-event-choice-letter-v276{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:clamp(38px,3.1vw,54px);height:clamp(38px,3.1vw,54px);border-radius:50%;background:linear-gradient(180deg,#5e381d,#2d1b12);border:2px solid #c99958;box-shadow:inset 0 0 0 1px #f7ddb1;color:#fff6e1;font-size:clamp(20px,1.7vw,28px);font-weight:900;line-height:1;}
#app .dashboard .stage .stage-scroll button.month-event-choice-v276.act .month-event-choice-text-v276{display:block;color:#23170f!important;font-size:clamp(16px,1.38vw,23px)!important;font-weight:900;line-height:1.34;letter-spacing:.01em;}
#app .dashboard .stage button.month-event-choice-v276:hover:not(:disabled){filter:brightness(1.04);}
#app .dashboard .stage .stage-scroll button.month-event-choice-v276.thumb-selected:not(:disabled){border-color:#ffd67b!important;outline:2px solid #ffd36a!important;outline-offset:-5px!important;box-shadow:inset 0 0 0 2px #fff0c1,inset 0 0 22px rgba(255,196,86,.38),0 0 16px rgba(255,200,79,.92)!important;background:linear-gradient(180deg,rgba(99,59,29,.97),rgba(59,34,18,.99))!important;}
#app .dashboard .stage .stage-scroll button.month-event-choice-v276.thumb-selected .month-event-choice-letter-v276{background:linear-gradient(180deg,#f0c16f,#a1641b);border-color:#ffe2a7;box-shadow:inset 0 0 0 1px rgba(255,251,232,.9),0 0 10px rgba(255,214,123,.45);color:#2c190c;}
#app .dashboard .stage .stage-scroll button.month-event-choice-v276.thumb-selected .month-event-choice-text-v276{color:#2b190d!important;text-shadow:none!important;}
#app .dashboard .stage .month-event-hint-v276.decision-two-tap-note{flex:0 0 auto;margin:0!important;padding:clamp(4px,.55vh,7px) clamp(10px,1.02vw,14px)!important;border-radius:10px;background:rgba(58,33,21,.95)!important;border:1px solid #b48849;color:#fff2d7!important;font-size:clamp(11px,.98vw,14px)!important;font-weight:780;line-height:1.25;}
@media (max-width:900px){
 #app .dashboard .stage .month-event-layout-v276{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(8px,.9vw,12px);}
 #app .dashboard .stage .month-event-title-v276{font-size:clamp(18px,1.8vw,26px);}
 #app .dashboard .stage .month-event-copy-v276{font-size:clamp(11px,1.2vw,14px);line-height:1.36;}
 #app .dashboard .stage .stage-scroll button.month-event-choice-v276.act .month-event-choice-text-v276{font-size:clamp(14px,1.45vw,18px)!important;line-height:1.28;}
}
@media (max-width:720px){
 #app .dashboard .stage .month-event-v276{gap:5px;}
 #app .dashboard .stage .month-event-layout-v276{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:8px;}
 #app .dashboard .stage .month-event-left-v276{padding:7px;gap:7px;}
 #app .dashboard .stage .month-event-title-v276{font-size:18px;padding:8px 12px;}
 #app .dashboard .stage .month-event-timing-v276{font-size:11px;padding:4px 10px;}
 #app .dashboard .stage .month-event-copy-v276{padding:6px 8px;font-size:10px;line-height:1.3;}
 #app .dashboard .stage .stage-scroll button.month-event-choice-v276.act .month-event-choice-inner-v276{gap:8px;padding:8px 10px;}
 #app .dashboard .stage .stage-scroll button.month-event-choice-v276.act .month-event-choice-letter-v276{width:31px;height:31px;font-size:16px;}
 #app .dashboard .stage .stage-scroll button.month-event-choice-v276.act .month-event-choice-text-v276{font-size:12.5px!important;line-height:1.24;}
 #app .dashboard .stage .month-event-hint-v276.decision-two-tap-note{font-size:10px!important;padding:4px 8px!important;}
}

/* Keep the actual foreground image large on low-height landscape screens. */
@media(max-width:900px) and (orientation:landscape){
 #app .dashboard .stage .month-event-left-v276{position:relative;}
 #app .dashboard .stage .month-event-portrait-v276{position:absolute;inset:6px;min-height:0;}
 #app .dashboard .stage .month-event-copy-v276{position:absolute;left:7px;right:7px;bottom:7px;z-index:2;padding:5px 7px;font-size:clamp(10px,1.14vw,12px);line-height:1.22;background:rgba(255,249,238,.96)!important;box-shadow:0 0 0 1px rgba(111,75,42,.15);}
}
@media(max-width:720px) and (orientation:landscape){
 #app .dashboard .stage .month-event-portrait-v276{inset:5px;}
 #app .dashboard .stage .month-event-copy-v276{left:6px;right:6px;bottom:6px;padding:3px 5px;font-size:9px;line-height:1.14;}
}
#app .dashboard .stage .stage-scroll:has(.help-request-v275){padding:clamp(3px,.62vw,9px)!important;overflow:hidden!important;}
#app .dashboard .stage .stage-scroll:has(.help-request-v275)>.actionpanel {height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;}
#app .dashboard .stage .help-request-v275 {display:flex;flex-direction:column;min-height:0;height:100%;gap:clamp(3px,.65vh,7px);color:#3d2818;}
#app .dashboard .stage .help-header-v275 {display:flex;align-items:center;gap:clamp(4px,1vw,12px);min-height:clamp(33px,7.2vh,60px);padding:clamp(3px,.6vh,7px) clamp(6px,1vw,14px);background:rgba(255,246,225,.94);border:2px solid #a5733e;border-radius:11px;box-shadow:inset 0 0 0 2px #f6dca6,0 2px 7px #30190d60;}
#app .dashboard .stage .help-header-v275 h2 {flex:1;min-width:0;white-space:nowrap;font-size:clamp(15px,2vw,25px)!important;font-weight:950;margin:0!important;color:#392419!important;line-height:1.05;}
#app .dashboard .stage .help-shortage-v275{display:flex;align-items:baseline;gap:clamp(4px,.6vw,9px);white-space:nowrap;color:#643b23;}
#app .dashboard .stage .help-shortage-v275>span{font-weight:900;font-size:clamp(10px,1.1vw,15px);}
#app .dashboard .stage .help-shortage-v275 strong{color:#ae3325;font-size:clamp(21px,3.5vw,42px);font-weight:1000;line-height:.97;text-shadow:0 1px 0 white;}
#app .dashboard .stage .help-shortage-v275 em{font-size:.48em;font-style:normal;margin-left:1px;}
#app .dashboard .stage .help-existing-v275{font-weight:850;font-size:clamp(9px,.92vw,13px);white-space:nowrap;align-self:center;border-left:1px solid #b7925b;padding-left:clamp(5px,.9vw,12px);}
#app .dashboard .stage .help-existing-v275 b{font-size:1.15em;color:#8a3425;}
#app .dashboard .stage .help-choices-v275 {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(5px,.9vw,15px)!important;flex:1 1 0;min-height:0;max-height:none;}
#app .dashboard .stage .stage-scroll button.help-choice-v275.act {display:block!important;width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;max-height:none!important;margin:0!important;position:relative;overflow:hidden!important;isolation:isolate;text-align:left;border-radius:13px!important;padding:0!important;white-space:normal!important;cursor:pointer!important;background:linear-gradient(105deg,rgba(68,41,23,.84),rgba(255,244,214,.99) 55%)!important;border:3px solid #bd9153!important;box-shadow:inset 0 0 0 2px #f6d9a0,0 3px 8px #27130c8c!important;transition:border-color .14s,box-shadow .14s,filter .14s;}
#app .dashboard .stage .stage-scroll button.help-choice-skip-v275.act{background:linear-gradient(105deg,rgba(43,34,35,.83),rgba(250,232,203,.98) 55%)!important;}
#app .dashboard .stage button.help-choice-v275:hover:not(:disabled){filter:brightness(1.06);}
#app .dashboard .stage .stage-scroll button.help-choice-v275.thumb-selected:not(:disabled){border-color:#ffd67b!important;outline:2px solid #ffd36a!important;outline-offset:-5px!important;box-shadow:inset 0 0 0 2px #ffe9aa,inset 0 0 19px #ffc4568c,0 0 16px #ffc84f!important;filter:brightness(1.07)!important;}
#app .dashboard .stage .help-portrait-v275 {position:absolute!important;display:block!important;left:0;bottom:0;top:0;width:100%;height:100%;background-size:auto 100%!important;background-position:left bottom!important;background-repeat:no-repeat!important;opacity:1;z-index:0;pointer-events:none;}
#app .dashboard .stage .help-portrait-apply-v275{background-image:url("../images/A_立ち絵/A401_講師ヘルプ_依頼する.webp")!important;}
#app .dashboard .stage .help-portrait-skip-v275{background-image:url("../images/A_立ち絵/A402_講師ヘルプ_見送る.webp")!important;}
#app .dashboard .stage .help-choice-copy-v275{position:absolute;right:clamp(4px,.7vw,10px);top:50%;transform:translateY(-50%);z-index:1;width:44%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(2px,.48vh,8px);border-radius:9px;padding:clamp(3px,.75vw,12px) clamp(3px,.7vw,9px);background:rgba(255,249,233,.94);border:1px solid #b78b4e;box-shadow:0 2px 8px #24160845;color:#352315!important;text-shadow:none!important;}
#app .dashboard .stage .help-choice-letter-v275{border-radius:50%;background:#633b22;color:#fff4d5;border:1px solid #d0a261;display:grid;place-items:center;min-width:clamp(20px,2.15vw,30px);height:clamp(20px,2.15vw,30px);font-size:clamp(12px,1.4vw,17px);font-weight:950;}
#app .dashboard .stage .help-choice-copy-v275 strong{color:#312014;font-weight:1000;font-size:clamp(11px,1.45vw,21px);line-height:1.14;white-space:nowrap;}
#app .dashboard .stage .help-choice-copy-v275>b{font-size:clamp(10px,1.28vw,18px);font-weight:950;line-height:1.15;color:#8b351e;white-space:nowrap;}
#app .dashboard .stage .stage-scroll button.help-choice-v275.act .help-choice-copy-v275 small {color:#382418!important;font-size:clamp(9px,1.03vw,15px)!important;font-weight:850;line-height:1.24;text-align:center;white-space:normal;}
#app .dashboard .stage .help-request-v275>.help-hint-v275.decision-two-tap-note {flex:0 0 auto;margin:0!important;padding:clamp(2px,.42vh,6px) clamp(5px,.6vw,10px)!important;border-radius:7px;background:rgba(56,33,21,.94)!important;border:1px solid #b48a4a;color:#fff2d4!important;font-size:clamp(10px,1vw,13px)!important;font-weight:750;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media(max-width:900px) and (orientation:landscape){
 #app .dashboard .stage .help-header-v275{min-height:36px;}
 #app .dashboard .stage .help-choice-copy-v275{width:46%;right:3px;gap:2px;padding:3px 2px;}
 #app .dashboard .stage .help-portrait-v275{width:100%;}
 #app .dashboard .stage .help-choice-copy-v275 strong{font-size:clamp(10px,1.45vw,14px);}
 #app .dashboard .stage .help-choice-copy-v275>b{font-size:clamp(10px,1.37vw,13px);}
 #app .dashboard .stage .help-choice-copy-v275 small{font-size:clamp(9px,1.15vw,11px)!important;}
}
@media(max-width:700px) and (orientation:landscape){
 #app .dashboard .stage .help-header-v275{padding:2px 5px;min-height:31px;gap:4px;}
 #app .dashboard .stage .help-header-v275 h2{font-size:13px!important;}
 #app .dashboard .stage .help-shortage-v275>span{font-size:9px;}
 #app .dashboard .stage .help-shortage-v275 strong{font-size:22px;}
 #app .dashboard .stage .help-existing-v275{font-size:8px;padding-left:4px;}
 #app .dashboard .stage .help-choices-v275{gap:4px!important;}
 #app .dashboard .stage .help-portrait-v275{width:100%;}
 #app .dashboard .stage .help-choice-copy-v275{width:49%;}
 #app .dashboard .stage .help-choice-letter-v275{min-width:18px;height:18px;font-size:10px;}
 #app .dashboard .stage .help-choice-copy-v275 strong{font-size:10px;}
 #app .dashboard .stage .help-choice-copy-v275>b{font-size:9px;}
 #app .dashboard .stage .help-choice-copy-v275 small{font-size:9px!important;}
 #app .dashboard .stage .help-hint-v275{font-size:9px!important;}
}


/* original style block 92/96 */

/* 1672×941 is the exact aspect of the supplied PNG. Ratio stays unchanged. */
#app .dashboard .stage .stage-scroll:has(.work-result-template-v278){
 padding:0!important;overflow:hidden!important;display:grid!important;place-items:center!important;container-type:size;
 background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important;
}
#app .dashboard .stage .stage-scroll:has(.work-result-template-v278).result-bg-stage-1{background-image:var(--classroom-photo-1)!important;}
#app .dashboard .stage .stage-scroll:has(.work-result-template-v278).result-bg-stage-2{background-image:var(--classroom-photo-2)!important;}
#app .dashboard .stage .stage-scroll:has(.work-result-template-v278).result-bg-stage-3{background-image:var(--classroom-photo-3)!important;}
#app .dashboard .stage .stage-scroll:has(.work-result-template-v278).result-bg-stage-4{background-image:var(--classroom-photo-4)!important;}
#app .dashboard .stage:has(.work-result-template-v278) .result-action-dock,
#app .dashboard .stage:has(.work-result-template-v278) .thumb-action-dock{display:none!important;}
#app .dashboard .stage .stage-scroll>.work-result-template-v278{
 width:100%;height:100%;margin:0;padding:0;min-width:0;min-height:0;display:grid;place-items:center;
 background:transparent!important;border:0!important;box-shadow:none!important;
}
#app .dashboard .stage .work-result-frame-v278{
 position:relative;isolation:isolate;flex:none;width:min(100cqw, 177.68cqh);height:auto;aspect-ratio:1672 / 941;
 max-width:100%;max-height:100%;margin:auto;overflow:hidden;color:#352010;
}
#app .dashboard .stage .work-result-art-v278{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;z-index:2;}
#app .dashboard .stage .work-result-portrait-v278{
 position:absolute;left:2%;top:15%;width:68%;height:59%;object-fit:contain;object-position:center bottom;pointer-events:none;z-index:1;
}
#app .dashboard .stage .work-result-title-v278{
 position:absolute;z-index:3;left:2.7%;top:3.1%;width:41.2%;height:9.7%;color:#fff7e6!important;
 display:flex;align-items:center;justify-content:center;text-align:center;
 font-size:clamp(11px,2vw,29px);font-weight:950;line-height:1.1;text-shadow:0 1px 2px #241008;
}
#app .dashboard .stage .work-result-head-v278{
 position:absolute;z-index:3;left:70.9%;top:13.6%;width:25%;height:8.2%;color:#fff8e8!important;
 display:flex;align-items:center;justify-content:center;text-align:center;
 font-size:clamp(10px,1.45vw,24px);font-weight:950;line-height:1.1;text-shadow:0 1px 2px #241008;
}
#app .dashboard .stage .work-result-metrics-v278{
 position:absolute;z-index:3;left:72.2%;top:25.3%;width:22.3%;height:45.9%;overflow-y:auto;overscroll-behavior:contain;
 display:flex;flex-direction:column;gap:clamp(2px,.25vw,5px);scrollbar-width:thin;scrollbar-color:#ae854c transparent;
}
#app .dashboard .stage .work-result-metric-v278{
 display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;
 align-content:center;gap:0 3px;flex:1 0 auto;min-height:0;border-bottom:1px solid #cba976;
 padding:clamp(2px,.26vw,5px) 0;color:#312016!important;
}
#app .dashboard .stage .work-result-metric-label-v278{
 grid-column:1/-1;font-size:clamp(9px,.89vw,15px);font-weight:900;line-height:1.15;overflow-wrap:anywhere;
}
#app .dashboard .stage .work-result-metric-val-v278{
 grid-column:1;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:clamp(8px,.75vw,13px);font-weight:650;line-height:1.22;
}
#app .dashboard .stage .work-result-delta-v278{
 grid-column:2;text-align:right;font-size:clamp(10px,1vw,16px);font-weight:950;white-space:nowrap;line-height:1.15;
}
#app .dashboard .stage .work-result-delta-v278.gain{color:#136a39!important;}
#app .dashboard .stage .work-result-delta-v278.loss{color:#a82d28!important;}
#app .dashboard .stage .work-result-delta-v278.neutral{color:#63401f!important;}
#app .dashboard .stage .work-result-metrics-v278.dense .work-result-metric-v278{padding:0!important;}
#app .dashboard .stage .work-result-dialogue-v278{
 position:absolute;z-index:3;left:3.4%;top:77.1%;width:63.6%;height:14.3%;
 display:flex;align-items:center;color:#302014!important;font-size:clamp(11px,1.25vw,20px);font-weight:850;
 line-height:1.33;padding:0 clamp(5px,.52vw,10px);overflow:hidden;overflow-wrap:anywhere;
}
#app .dashboard .stage .work-result-continue-v278{
 position:absolute;z-index:5;left:74.0%;top:78.4%;width:19.9%;height:10.4%;border:none!important;
 background:transparent!important;box-shadow:none!important;color:#3a210d!important;font-size:clamp(13px,1.65vw,25px);
 font-weight:950;cursor:pointer;text-shadow:0 1px rgba(255,246,204,.65);padding:0!important;margin:0!important;
}
#app .dashboard .stage .work-result-continue-v278:hover{filter:brightness(.92);}
#app .dashboard .stage .work-result-continue-v278:focus-visible{outline:2px solid #6b3b14!important;outline-offset:-3px;}
@media(max-width:1000px){
 #app .dashboard .stage .work-result-metrics-v278.dense{gap:0;height:47.3%;}
 #app .dashboard .stage .work-result-title-v278{font-size:clamp(9px,1.6vw,19px);}
 #app .dashboard .stage .work-result-head-v278{font-size:clamp(9px,1.3vw,16px);}
 #app .dashboard .stage .work-result-dialogue-v278{font-size:clamp(8px,1.2vw,13px);}
 #app .dashboard .stage .work-result-metric-label-v278{font-size:clamp(7px,.9vw,11px);}
 #app .dashboard .stage .work-result-metric-val-v278{font-size:clamp(7px,.73vw,10px);}
 #app .dashboard .stage .work-result-delta-v278{font-size:clamp(8px,1.05vw,12px);}
 #app .dashboard .stage .work-result-continue-v278{font-size:clamp(10px,1.55vw,17px);}
}
@media(max-width:720px){
 #app .dashboard .stage .work-result-metrics-v278.dense .work-result-metric-label-v278{font-size:7px!important;line-height:1.06;}
 #app .dashboard .stage .work-result-metrics-v278.dense .work-result-metric-val-v278{font-size:7px!important;line-height:1.06;}
 #app .dashboard .stage .work-result-metrics-v278.dense .work-result-delta-v278{font-size:8px!important;line-height:1.06;}
}


/* original style block 93/96 */

/* v279: new undivided right column + transparent main art area, all devices share one asset. */
#app .dashboard .stage .work-result-frame-v278 {aspect-ratio:1672 / 941!important;}
#app .dashboard .stage .work-result-title-v278,
#app .dashboard .stage .work-result-head-v278,
#app .dashboard .stage .work-result-metrics-v278,
#app .dashboard .stage .work-result-dialogue-v278,
#app .dashboard .stage .work-result-continue-v278 {
 font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif!important;
 letter-spacing:.015em;
}
#app .dashboard .stage .work-result-title-v278 {left:1.9%;top:2.85%;width:43.2%;height:9.6%;}
#app .dashboard .stage .work-result-head-v278 {left:72.3%;top:11.0%;width:23.3%;height:8.7%;}
#app .dashboard .stage .work-result-metrics-v278 {left:73.0%;top:21.8%;width:21.1%;height:53.3%;gap:0!important;}
#app .dashboard .stage .work-result-metric-v278 {padding:clamp(1px,.26vw,5px) 0!important;min-height:25px;flex:0 0 auto;border-bottom:1px solid rgba(163,120,69,.5);}
#app .dashboard .stage .work-result-metric-v278:last-child {border-bottom:none;}
#app .dashboard .stage .work-result-dialogue-v278 {left:3.35%;top:77.4%;width:63.5%;height:14.6%;font-weight:900;}
#app .dashboard .stage .work-result-continue-v278 {
 left:73.3%;top:79.0%;width:22.0%;height:11.7%;
 font-size:clamp(13px,1.8vw,27px);font-weight:950;letter-spacing:.14em;color:#2c1b10!important;
 border:none!important;background:transparent!important;box-shadow:none!important;
}
#app .dashboard .stage .work-result-continue-v278:active {transform:translateY(1px);}
@media(max-width:900px){
 #app .dashboard .stage .work-result-metrics-v278 {left:72.7%;width:21.7%;top:22.5%;height:50.6%;}
 #app .dashboard .stage .work-result-metric-v278 {min-height:20px;}
 #app .dashboard .stage .work-result-dialogue-v278 {top:77%;height:14.5%;}
}
@media(max-width:720px){
 #app .dashboard .stage .work-result-metric-v278 {min-height:17px;}
 #app .dashboard .stage .work-result-continue-v278 {font-size:clamp(10px,1.7vw,14px);}
}


/* original style block 94/96 */

/* Shared serif-free Japanese typography and walnut/gold/ivory only on outcome surfaces. */
#app .dashboard .stage .stage-scroll:is(.theme-full-result-v280,.theme-special-result-v280),
#app .numeric-result-overlay,
#app .dashboard .stage .work-result-frame-v278{
 --r280-wood:#4b2a15;--r280-wood-light:#80512a;--r280-gold:#c99a47;--r280-cream:#fff5e2;--r280-ink:#382619;
 font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif;
}
/* A: Correct alignment to the CENTER OF THE IMAGE'S GOLD BUTTON (not the whole frame). */
#app .dashboard .stage .work-result-continue-v278{
 left:74.7%!important;top:81.2%!important;width:22.15%!important;height:14.9%!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 position:absolute!important;isolation:isolate;overflow:hidden;white-space:nowrap;
 font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif!important;
 font-size:clamp(12px,1.55vw,22px)!important;line-height:1!important;letter-spacing:.045em!important;
 font-weight:900!important;color:#39200e!important;text-align:center!important;
 text-shadow:0 1px 0 rgba(255,248,207,.72)!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;
 box-shadow:none!important;transform:none!important;
}
#app .dashboard .stage .work-result-continue-v278:before{
 content:"";position:absolute;z-index:-1;inset:18% 6.8% 21% 6.8%;pointer-events:none;
 border-radius:clamp(5px,1.2vw,16px);
 background:linear-gradient(180deg,#ffe59a 0%,#f9ca52 60%,#f1b63a 100%);
 box-shadow:inset 0 1px 1px rgba(255,248,220,.68), inset 0 -1px 1px rgba(130,71,15,.13);
}
#app .dashboard .stage .work-result-continue-v278 span{position:relative;z-index:1;display:block;line-height:1!important;transform:translateY(2%);}
#app .dashboard .stage .work-result-continue-v278:hover:before{filter:brightness(1.05);}
#app .dashboard .stage .work-result-continue-v278:active:before{filter:brightness(.94);}
#app .dashboard .stage .work-result-continue-v278:active{transform:none!important;}
#app .dashboard .stage .work-result-dialogue-v278{padding:0 clamp(5px,.6vw,11px)!important;font-size:clamp(10px,1.17vw,17px)!important;line-height:1.32!important;}
#app .dashboard .stage .work-result-dialogue-v278.result-flex-dialogue-v280{
 align-items:center!important;justify-content:flex-start!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;
 word-break:normal;overflow-wrap:anywhere;font-size:clamp(9px,1vw,15px)!important;
 padding-block:clamp(1px,.45vw,7px)!important;
}
#app .dashboard .stage .work-result-dialogue-v278.result-long-description-v280{font-size:clamp(8px,.93vw,14px)!important;align-items:flex-start!important;}
#app .dashboard .stage .result-flex-v280 .result-long-title-v280{font-size:clamp(10px,1.2vw,18px)!important;letter-spacing:0!important;}
#app .dashboard .stage .result-flex-v280 .work-result-metric-val-v278{white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere!important;}
#app .dashboard .stage .result-flex-v280 .work-result-metrics-v278{scrollbar-width:thin;}
#app .dashboard .stage .result-flex-v280 .work-result-metric-v278{padding-block:clamp(2px,.5vw,7px)!important;}
#app .dashboard .stage .result-flex-v280 .work-result-metric-label-v278{font-size:clamp(8px,.86vw,13px)!important;}
@media(max-width:900px){
 #app .dashboard .stage .work-result-continue-v278{font-size:clamp(10px,1.55vw,15px)!important;}
 #app .dashboard .stage .work-result-dialogue-v278{font-size:clamp(8px,1.16vw,12px)!important;}
 #app .dashboard .stage .work-result-dialogue-v278.result-flex-dialogue-v280{font-size:clamp(8px,1vw,11px)!important;}
}
@media(max-width:720px){
 #app .dashboard .stage .work-result-continue-v278{font-size:clamp(9px,1.55vw,12px)!important;}
 #app .dashboard .stage .work-result-dialogue-v278.result-flex-dialogue-v280{font-size:8px!important;}
}
/* B: Full-width aggregation (test, mock, seasonal meeting, month, fiscal year, ending). */
#app .dashboard .stage .stage-scroll.theme-full-result-v280{
 background:linear-gradient(160deg,#51301c 0%,#795131 42%,#392014 100%)!important;
 background-image:repeating-linear-gradient(9deg,rgba(255,219,153,.05) 0 2px,transparent 2px 32px),linear-gradient(160deg,#51301c,#795131 42%,#392014)!important;
 box-shadow:inset 0 0 0 3px #a77531,inset 0 0 0 5px #f7d788!important;
 padding:clamp(5px,.85vw,12px)!important;color:#352314!important;
}
#app .dashboard .stage .stage-scroll.theme-full-result-v280>.panel.main,
#app .dashboard .stage .stage-scroll.theme-full-result-v280>.test-result-screen-v263,
#app .dashboard .stage .stage-scroll.theme-full-result-v280>.meeting-v257.meeting-result-v257{
 background:linear-gradient(160deg,#fff9eb,#f3e2c5 100%)!important;
 border:2px solid #d1a65b!important;border-radius:clamp(8px,1.25vw,18px)!important;
 box-shadow:0 0 0 2px #60381e,0 5px 12px rgba(28,13,4,.28)!important;
 color:#392719!important;
}
#app .dashboard .stage .stage-scroll.theme-full-result-v280>.panel.main :is(h2,h3,h4),
#app .dashboard .stage .stage-scroll.theme-full-result-v280>.panel.main :is(.eyebrow,.screen-title){color:#563016!important;}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 :is(.metric,.notice,.event-note,.report-entry,.pay-line){
 border-color:#c49c65!important;color:#3d2819!important;
}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 :is(.metric,.event-note,.report-entry){
 background:linear-gradient(180deg,#fffaed,#efddbe)!important;
}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 :is(.metric strong,.notice b,.pay-line strong){color:#593313!important;}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 :is(.course-result-detail,.interview-archive,.pay-sheet,.special-referral-result){
 background:linear-gradient(145deg,#fff7e6,#f0dabb)!important;
 color:#3d2918!important;border:1px solid #c59a52!important;border-radius:9px;
}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 :is(table,.course-breakdown-table,.test-result-table-v263){color:#342212!important;}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 thead th{background:#67401f!important;color:#fff7e9!important;}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 tbody tr:nth-child(even){background:rgba(185,132,64,.11)!important;}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 :is(.interview-tabs .act,.actions>.act.primary,.test-result-action-v263 .act.primary){
 background:linear-gradient(#f9d985,#dca84d)!important;border:1px solid #916021!important;
 color:#3b230f!important;box-shadow:0 2px 0 #73441c!important;
}
#app .dashboard .stage .month-next-dock{background:linear-gradient(#6c3d22,#3d2417)!important;border-color:#c99a47!important;color:#fff4dc!important;}
#app .dashboard .stage .month-next-dock .act{background:linear-gradient(#f9d985,#dfa94c)!important;border-color:#966225!important;color:#402611!important;}
/* C: Only the aesthetic frame of specialist scenes/dialogs is normalized.
   Distinct effects (warning red, SSR glow, director, medical, romance artwork) remain unchanged. */
#app .dashboard .stage .stage-scroll.theme-special-result-v280{background:linear-gradient(145deg,#573218,#86552d,#4d2c17)!important;padding:clamp(3px,.55vw,9px)!important;}
#app .dashboard .stage .stage-scroll.theme-special-result-v280> :is(.panel.main,.renovation-announcement,.promotion-announcement,.sabo-cinematic,.hospital-cinema,.boss-cinematic){
 border:2px solid #d7ad65!important;border-radius:clamp(8px,1vw,15px)!important;
 box-shadow:inset 0 0 0 1px #fff0cc,0 0 0 2px #492713!important;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280>.panel.main:not(.boss-cinematic):not(.hospital-cinema){
 background:linear-gradient(160deg,#fff7e5,#f1d8b4)!important;color:#3b2615!important;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280> .panel.main :is(h2,.eyebrow){color:#59301a!important;}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .event-note{background:#f8e4c9!important;border-color:#cba36e!important;color:#35251a!important;}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .act.primary{background:linear-gradient(#ffe49c,#dfaa4a)!important;color:#392411!important;border-color:#956322!important;}
#app .numeric-result-overlay .numeric-result-dialog,
#app .dashboard .stage .sale-receipt-panel{
 background:linear-gradient(145deg,#fff7e5,#f1ddbf)!important;
 color:#382718!important;border:3px solid #c79b51!important;
 box-shadow:0 0 0 3px #4e2c17,0 18px 35px rgba(20,10,2,.48)!important;
 font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif!important;
}
#app .numeric-result-overlay .numeric-result-dialog :is(h2,.transaction-result-line),
#app .dashboard .stage .sale-receipt-panel :is(strong,.sale-receipt-total){color:#553015!important;}
#app .numeric-result-overlay .numeric-result-dialog .act.primary,
#app .dashboard .stage .sale-receipt-panel button{
 background:linear-gradient(#ffe39b,#dfa946)!important;border-color:#a9772e!important;color:#3d250d!important;
}
/* Small result panels that are not full-screen keep their own UI and semantics. */
#app .dashboard .stage .stage-scroll .meeting-result-v257 :is(.mv-head,.mv-result-title),
#app .dashboard .stage .stage-scroll.theme-full-result-v280 .meeting-result-v257 .mv-head{
 background:linear-gradient(#75431f,#4b2b18)!important;color:#fff4d9!important;border-color:#ce9d4a!important;
}


/* original style block 95/96 */

/* Crisp cream-colored text on every dark wooden label/header. */
#app .dashboard .stage .stage-scroll.theme-full-result-v280>.panel.main>.eyebrow,
#app .dashboard .stage .stage-scroll.theme-special-result-v280>.panel.main>.eyebrow,
#app .dashboard .stage .stage-scroll.theme-full-result-v280>.panel.main .eyebrow,
#app .dashboard .stage .stage-scroll.theme-special-result-v280>.panel.main .eyebrow{
 color:#fff6df!important;text-shadow:0 1px 1px #2a1407!important;
}
#app .dashboard .stage .stage-scroll.theme-full-result-v280>.panel.main>h2,
#app .dashboard .stage .stage-scroll.theme-special-result-v280>.panel.main>h2{
 color:#543014!important;letter-spacing:.015em;
}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 .pay-sheet :is(h3,span,strong,small){color:#3e2917!important;}
#app .dashboard .stage .stage-scroll.theme-full-result-v280 .course-result-detail h3{color:#573214!important;}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .event-note>.tiny{color:#68421f!important;}
/* Preserve existing gacha cards/SSR cinematic; only the outside bezel shares walnut + gold. */
#app .shopping-result-fullscreen{border:clamp(3px,.45vw,7px) solid #4d2b18!important;
 box-shadow:inset 0 0 0 2px #f0c76a, inset 0 0 0 4px #81502a!important;}
#app .dashboard .stage .stage-scroll .shopping-reveal-results{
 border:2px solid #d2a456!important;box-shadow:0 0 0 2px #4d2b18!important;
}


/* original style block 96/96 */

/* Special results preserve all scene transitions and effects, while using the same wood/ivory/gold materials. */
#app .dashboard .stage .stage-scroll.theme-special-result-v280>.hospital-cinema{
 background:linear-gradient(155deg,#fff8e8,#efdbba)!important;color:#3e2918!important;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280>.hospital-cinema h2{color:#553016!important;}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .hospital-visual{
 background:linear-gradient(130deg,#fff8ea,#efdfc5)!important;
 border:2px solid #c99e61!important;color:#422c1a!important;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .hospital-visual span,
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .hospital-cinema>p{color:#5c4229!important;}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .hospital-doctor-line{
 background:#fff6e5!important;border-left-color:#b98535!important;color:#452b18!important;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .hospital-doctor-line b{color:#70411c!important;}
#app .dashboard .stage .stage-scroll.theme-special-result-v280>.sabo-cinematic{
 background:linear-gradient(145deg,#fff8e8,#ebd5b6)!important;color:#382618!important;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .sabo-cinema-visual{
 border:2px solid #d6a752!important;background:linear-gradient(155deg,#6e4326,#3d2317)!important;color:#fff7dd!important;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .mb-result-wrap{
 background:linear-gradient(140deg,#fff8e8,#ecd7b7)!important;border-color:#c89c53!important;color:#3c2717!important;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .mb-result-wrap :is(small,b,strong){color:inherit!important;}
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .mb-intro,
#app .dashboard .stage .stage-scroll.theme-special-result-v280 .interview-totals{
 border:2px solid #c99a4b!important;border-radius:12px;
}
#app .dashboard .stage .stage-scroll.theme-special-result-v280>.panel.main.boss-cinematic{
 border-color:#cd9c4e!important;box-shadow:0 0 0 2px #4c2b17!important;
}
#app .numeric-result-overlay .transaction-result .one-tap-result-hint,
#app .numeric-result-overlay .numeric-result-dialog .numeric-result-hint{color:#68451e!important;}

