/* Small, recognisable diagrams; warm materials retain the existing game theme. */
.icon294{width:32px;height:32px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#setup-dialog .selection-stage290{grid-template-columns:minmax(0,1fr) 164px minmax(0,1fr)!important;align-items:stretch}
.selection-controls294{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0}
.selection-controls294 :is(.complexity290,.archetypes291){display:grid!important;grid-template-columns:1fr 1fr;gap:4px;margin:0!important}
.selection-controls294 .complexity290 button:last-child{grid-column:1/-1}
.selection-controls294 button{min-width:0;min-height:34px!important;padding:4px 2px!important;font-size:12px!important;white-space:nowrap}
.combo-filter294{display:inline-flex;align-items:center;justify-content:center;gap:5px}.combo-filter294 .icon294{width:18px;height:18px}
.archetypes291 .combo-filter294[aria-pressed=true]{box-shadow:inset 0 0 0 2px #edce87!important;background:#695136!important;color:#fff0cf!important}
#setup-dialog .selected290{grid-template-columns:92px minmax(0,1fr)!important;align-content:start;padding:7px!important;gap:6px!important}
#setup-dialog .selected290 .large-portrait290{height:96px!important;grid-row:auto;grid-column:1}
#setup-dialog .selected-copy290{grid-column:2;min-width:0}#setup-dialog .selected-copy290 p,#expedition240 .selected-copy290 p{display:none!important}
#setup-dialog .select-side290,#setup-dialog .selected-deck290{grid-column:1/-1;font-size:13px;min-height:30px!important}
.pick-guide294{grid-column:1/-1;min-width:0}.strength294{margin:2px 0 5px;font-size:13px;text-align:center;color:var(--ink263,#eedbb9);font-weight:700}
.steps294{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;margin:0;list-style:none}
.steps294 li{position:relative;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 3px 6px;border:1px solid #8b805b;border-radius:8px;background:rgba(113,98,58,.12);color:var(--ink263,#eadbc1)}
.steps294 li+li:before{content:'›';position:absolute;left:-8px;top:22px;font-size:22px;color:#d1ac64}.steps294 .step-number294{position:absolute;left:5px;top:3px;font-size:10px;opacity:.65}.steps294 span{font-size:12px;line-height:1.35;word-break:keep-all}
.counter294{display:flex;gap:9px;align-items:center;padding:9px;border:1px solid #b8995f;border-radius:8px;background:rgba(151,115,51,.12);color:var(--ink263,#eadbc1)}.counter294 p{margin:0;font-size:13px;line-height:1.5;word-break:keep-all}.counter294 b{display:block;color:#dabd7d;margin-bottom:3px}
#setup-dialog #start-button{grid-column:1/-1;flex:none!important;min-height:44px!important;margin:9px 0 0!important;font-size:17px!important;letter-spacing:1px;border:2px solid #cba66a!important;background:linear-gradient(#977244,#624724)!important;color:#fff1d4!important;width:100%;box-shadow:0 3px 6px #0006}
#setup-dialog #start-button:disabled{opacity:.42}#setup-dialog .setup-deck-grid{flex:1 1 auto!important;min-height:160px!important}#setup-dialog .deck-grid{max-height:none!important}
.combo292,.combo-tip292{display:none!important}
#expedition240 .pick-guide294{width:100%}#expedition240 .expedition-selected290{flex-wrap:wrap}
.practice-tabs294{display:flex;gap:6px;margin:8px 0}.practice-tabs294 button{flex:1;min-height:42px}.practice-tabs294 button[aria-pressed=true]{outline:2px solid #d6b979}
#counter-practice294{width:min(640px,92vw);max-height:90dvh;padding:20px;box-sizing:border-box;color:var(--ink263,#eee0c3);background:var(--panel263,#242820);border:1px solid #9b8b63;border-radius:10px}
#counter-practice294 header{display:flex;gap:12px;align-items:center}#counter-practice294 header img{width:76px;height:88px;object-fit:cover;border-radius:6px}#counter-practice294 h2{font-size:21px}#counter-practice294 .counter-choices294{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}#counter-practice294 .counter-choices294 button{display:flex;flex-direction:column;align-items:center;gap:9px;min-height:110px;padding:12px;line-height:1.5}#counter-practice294 .counter-answer294{min-height:45px;line-height:1.5}#counter-practice294 .counter-choices294 button.correct294{outline:3px solid #9bc78e}#counter-practice294 .counter-choices294 button.wrong294{outline:2px solid #d48e75}
.resource294{display:flex;gap:5px;flex-wrap:wrap;margin:4px 0}.resource294>span{display:inline-flex;gap:5px;align-items:center;border:1px solid #988968;border-radius:16px;padding:3px 8px;background:var(--panel263,#252920);font-size:12px;max-width:100%}.resource294 .icon294{width:20px;height:20px}.resource294 small{opacity:.8}
.battle-insight294{display:flex;gap:8px;align-items:center;padding:5px 8px;border:1px solid #887953;border-radius:6px;background:var(--panel263,#252920);color:var(--ink263,#eee0c4);min-height:48px;margin:4px 0}.calc294{font-size:12px;line-height:1.4;flex:1;min-width:0}.recent294{display:flex;gap:4px;flex-shrink:0}.recent294 button,.review-cards294 button{position:relative;width:58px;height:49px;padding:0;border:1px solid #9a8863;border-radius:4px;overflow:hidden}.recent294 button img,.review-cards294 button img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.recent294 button span,.review-cards294 button span{position:absolute;bottom:0;left:0;right:0;background:#101613d9;color:#f2dfb8;font-size:9px;text-align:center;padding:2px 0}
.detail294{background:var(--panel263,#252920);color:var(--ink263,#eee0c4);border:1px solid #9a8863;max-width:560px;width:90vw;max-height:80dvh;box-sizing:border-box;padding:18px;border-radius:8px}.detail294 ol{padding-left:23px;line-height:1.7}.detail294>header{display:flex;justify-content:space-between;align-items:center}.detail294 h3{margin:0}.review-cards294{display:flex;gap:5px;overflow-x:auto;margin:10px 0}.defeat294{border-top:1px solid #9a8863;margin-top:14px;padding-top:12px}.defeat294 p{font-size:13px;line-height:1.5}.defeat294 h3{margin:4px 0}
.forecast294{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px;padding:7px;border:1px dashed #c5af7d;border-radius:6px;font-size:12px;color:var(--ink263,#ecdfc6);background:var(--panel263,#252920)}.forecast294 span{display:inline-flex;align-items:center;gap:3px;opacity:.72}.forecast294 .icon294{width:17px;height:17px}.forecast294 b{width:100%;font-size:11px;letter-spacing:.3px}.forecast294.lethal294{border:2px solid #dd8b76}.forecast294.lethal294 b{color:#efa18a}.forecast294 .active294{opacity:1;color:#dabf7e;width:100%}
#player-hand .game-card.condition-active294{box-shadow:inset 0 0 0 2px #c7b776!important}#player-hand .game-card.condition-active294:after{content:'✓ 조건 충족';position:absolute;right:4px;bottom:4px;font-size:10px;background:#242b21;color:#eadcae;border:1px solid #b49c62;padding:1px 4px;border-radius:4px;pointer-events:none}
.cause294{position:fixed;z-index:220;pointer-events:none;height:3px;transform-origin:left center;background:linear-gradient(90deg,transparent,#d9bc77);animation:cause294 .55s ease-out forwards;border-radius:3px}@keyframes cause294{0%{opacity:0;clip-path:inset(0 100% 0 0)}25%{opacity:.8;clip-path:inset(0)}100%{opacity:0}}
.timing294{display:inline-flex;align-items:center;gap:4px;font-size:11px;border:1px solid #9a8863;border-radius:9px;padding:2px 6px}.timing294 .icon294{width:16px;height:16px}
@media(min-width:1001px){body.workspace91 .battle-scroll141{scroll-padding-bottom:220px}body.workspace91 .combat-center{gap:4px}.battle-insight294{max-height:64px}}
@media(max-width:720px){
 #setup-dialog .selection-stage290{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:5px!important}
 .selection-controls294{grid-column:1/-1;grid-row:1;gap:5px}.selection-controls294 :is(.complexity290,.archetypes291){display:flex!important;justify-content:center;flex-wrap:wrap;gap:4px}.selection-controls294 .complexity290 button{flex:1;min-height:32px!important;font-size:10px!important}.selection-controls294 .archetypes291 button{flex:1;min-height:32px!important;font-size:11px!important}
 #setup-dialog .selected290{grid-template-columns:48px minmax(0,1fr)!important;padding:4px!important;gap:4px!important}#setup-dialog .selected290 .large-portrait290{height:57px!important}#setup-dialog .selected-copy290 strong{font-size:10px}#setup-dialog .complexity-caption290{font-size:9px}#setup-dialog .select-side290,#setup-dialog .selected-deck290{font-size:11px!important;min-height:28px!important}
 .strength294{font-size:10px}.steps294{gap:3px}.steps294 li{padding:12px 1px 3px;gap:3px}.steps294 .icon294{width:23px;height:23px}.steps294 span{font-size:9px;line-height:1.3}.steps294 li+li:before{left:-4px;font-size:13px}.steps294 .step-number294{left:3px;font-size:9px}.counter294{padding:5px;gap:4px;align-items:flex-start}.counter294>.icon294{width:21px;height:21px}.counter294 p{font-size:10px;line-height:1.45}.counter294 b{margin:0}
 .battle-insight294{padding:4px;gap:4px}.recent294 button{width:38px;height:40px}.recent294 button span{font-size:7px}.calc294{font-size:10px}.resource294>span{font-size:10px;padding:2px 5px}.resource294 .icon294{width:16px;height:16px}
 body.workspace91 #player-hand{overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;touch-action:pan-x;overscroll-behavior-x:contain;gap:6px!important;padding-bottom:7px!important}body.workspace91 #player-hand>.game-card{flex:0 0 150px!important;min-width:150px!important;width:150px!important;margin-left:0!important;scroll-snap-align:center}body.workspace91 #player-hand>.contract-hand84{flex:0 0 150px!important;min-width:150px!important}
 #counter-practice294{padding:13px}#counter-practice294 .counter-choices294{grid-template-columns:1fr}#counter-practice294 .counter-choices294 button{min-height:70px;flex-direction:row;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.cause294{display:none}}
/* Show one concrete review, rather than duplicating the old generic advice. */
#result-dialog:has(.defeat294) :is(.result-advice-title91,.result-advice91,#result-copy>small){display:none}
#result-dialog .defeat294{color:var(--ink263);text-align:left;margin:8px 0 18px;padding:10px 0}
#result-dialog .defeat294 h3{font-size:18px;text-align:center}
.counter294 b,.forecast294 .active294{color:var(--accent263)}
#result-dialog .result-summary91{margin-bottom:8px}
.battle-insight294{grid-column:1/-1;width:100%;box-sizing:border-box}
.active-effect294{background:#87703c55;color:inherit;border-bottom:2px solid var(--accent263);border-radius:2px;padding:1px 2px}
:root[data-theme263=parchment] .forecast294.lethal294 b{color:#8b3023}
@media(prefers-reduced-motion:reduce){#result-dialog .result-card{animation:none!important}}
