/* Local two-player expansion. All actions keep disjoint, >=44px touch targets. */
.duel-more-pig,.duel-more-reversi,.duel-more-kalah,.duel-more-gomoku,.duel-more-nim{width:100%;min-width:0;max-width:380px;margin-inline:auto;color:var(--ink,#24382e)}
.duel-more-pig *,.duel-more-reversi *,.duel-more-kalah *,.duel-more-gomoku *,.duel-more-nim *{box-sizing:border-box}
.duel-more-pig button,.duel-more-reversi button,.duel-more-kalah button,.duel-more-gomoku button,.duel-more-nim button{min-width:44px;min-height:44px;font:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}
.duel-more-pig button:focus-visible,.duel-more-reversi button:focus-visible,.duel-more-kalah button:focus-visible,.duel-more-gomoku button:focus-visible,.duel-more-nim button:focus-visible,.duel-more-scroll:focus-visible,.duel-more-rules summary:focus-visible{outline:3px solid #725923;outline-offset:2px}
.duel-more-pig button:disabled,.duel-more-reversi button:disabled,.duel-more-kalah button:disabled,.duel-more-gomoku button:disabled,.duel-more-nim button:disabled{cursor:default}
.duel-more-scroll{max-width:100%;overflow:auto;overscroll-behavior:contain;padding:4px 3px 8px;border-radius:10px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.duel-more-mini-label{font-size:12px;line-height:1.6;text-align:center;margin:0 0 6px;font-weight:750}
.duel-more-note{font-size:11px;line-height:1.65;text-align:center;color:var(--muted,#617267);margin:8px 0 0}
.duel-more-event,.duel-more-selection{font-size:13px;line-height:1.65;text-align:center;margin:10px 0}
.duel-more-rules{font-size:12px;line-height:1.8;margin-top:10px;border-top:1px solid #d9dfcf;color:var(--muted,#617267)}
.duel-more-rules summary{min-height:44px;display:list-item;align-content:center;padding:10px 8px;cursor:pointer}
.duel-more-rules p{margin:0 8px 10px}
.duel-more-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.duel-more-primary,.duel-more-secondary{border:1px solid #a9bba0;border-radius:11px;background:#dce9d2;color:#315542;padding:10px 12px;font-weight:800!important;line-height:1.35!important}
.duel-more-primary:not(:disabled):hover{background:#cddfc0;border-color:#6b895f}
.duel-more-secondary{background:#f4e6c8;color:#795536;border-color:#c7b48c}
.duel-more-secondary:not(:disabled):hover{background:#ecdbb5;border-color:#aa8a55}
.duel-more-primary:disabled,.duel-more-secondary:disabled,.duel-more-amount:disabled{opacity:.45}
.duel-more-pig-display{display:flex;align-items:center;justify-content:center;gap:24px;padding:18px 12px;border:1px solid #d3dcc9;background:#f6f6eb;border-radius:18px}
.duel-more-die{width:76px;height:76px;display:flex;align-items:center;justify-content:center;background:#fffdf4;border:2px solid #aabb9e;border-radius:17px;font-size:44px;line-height:1;font-weight:800;box-shadow:0 3px 0 #d4ddc9}
.duel-more-caption{font-size:12px;display:block}
.duel-more-total{font-size:46px;line-height:1.15;display:block;color:#315d47}
.duel-more-total small{font-size:14px;padding-left:5px}
.duel-more-reversi-grid{display:grid;grid-template-columns:repeat(8,44px);grid-template-rows:repeat(8,44px);width:356px;border:2px solid #9bae91;background:#adc29e}
.duel-more-reversi-cell{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;border:1px solid #b4c6a6;border-radius:0;background:#dce6ce;color:#3e684c;position:relative;opacity:1}
.duel-more-reversi-cell:disabled{opacity:1}
.duel-more-reversi-cell.duel-more-legal{background:#ebefd9}
.duel-more-reversi-cell.duel-more-legal:hover{background:#f5e6b7}
.duel-more-legal-mark{font-size:20px;line-height:1;color:#517543}
.duel-more-disc{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:21px;line-height:1;font-weight:800;border:1px solid #607158}
.duel-more-dark{background:#355340;color:#fffbec}
.duel-more-light{background:#fff8e9;color:#624c35;border-color:#c2b291}
.duel-more-last{box-shadow:inset 0 0 0 3px #8c762c!important}
.duel-more-kalah{max-width:480px}
.duel-more-kalah-board{width:100%;display:grid;grid-template-columns:58px minmax(0,1fr) 58px;gap:6px;padding:7px;background:#e8ddc1;border:1px solid #c5b48a;border-radius:22px}
.duel-more-kalah-scroll{min-width:0;overflow-x:auto;overflow-y:hidden;touch-action:pan-x pan-y pinch-zoom}
.duel-more-kalah-scroll-note{margin:6px 0 0}
.duel-more-kalah-pits{width:318px;margin-inline:auto;display:grid;grid-template-columns:repeat(6,48px);grid-template-rows:repeat(2,68px);gap:6px}
.duel-more-pit{width:48px;height:68px;border:1px solid #c4b48d;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px 0;opacity:1;background:#f3eddc;color:#68614c}
.duel-more-pit-number{font-size:11px;line-height:1.2}
.duel-more-pit strong{font-size:22px;line-height:1.15}
.duel-more-pit.duel-more-pit-active{border:2px solid #56774d;background:#eef4df;color:#345d42}
.duel-more-pit.duel-more-pit-active:hover{background:#dcebc6}
.duel-more-pit.duel-more-pit-picked{border-style:dashed}
.duel-more-store{width:58px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;border:1px solid #b9aa87;border-radius:27px;background:#f4edd9}
.duel-more-store span,.duel-more-store small{font-size:11px;line-height:1.2;white-space:nowrap}
.duel-more-store strong{font-size:25px;line-height:1.15}
.duel-more-owner-0{color:#315d47}
.duel-more-owner-1{color:#86452f}
.duel-more-gomoku-scroll{max-height:294px;padding:0;border:1px solid #c7bb9e;border-radius:8px;background:#eee6ce}
.duel-more-gomoku-grid{display:grid;grid-template-columns:26px repeat(15,44px);grid-template-rows:26px repeat(15,44px);width:686px;background:#eee6ce}
.duel-more-axis{display:flex;align-items:center;justify-content:center;font-size:11px;line-height:1;background:#ded8bd;color:#4d6046;z-index:2}
.duel-more-axis-top{position:sticky;top:0;border-bottom:1px solid #bcb593}
.duel-more-axis-left{position:sticky;left:0;border-right:1px solid #bcb593}
.duel-more-corner{position:sticky;left:0;top:0;z-index:3}
.duel-more-gomoku-cell{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;border:0;border-radius:0;background:linear-gradient(90deg,transparent calc(50% - .5px),#c0b694 calc(50% - .5px),#c0b694 calc(50% + .5px),transparent calc(50% + .5px)),linear-gradient(transparent calc(50% - .5px),#c0b694 calc(50% - .5px),#c0b694 calc(50% + .5px),transparent calc(50% + .5px));color:#315d47;opacity:1}
.duel-more-gomoku-cell span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;font-size:25px;line-height:1;font-weight:800}
.duel-more-gomoku-cell.duel-more-owner-0 span{background:#e0edd7;color:#315d47;border:1px solid #799471}
.duel-more-gomoku-cell.duel-more-owner-1 span{background:#f5e2cf;color:#86452f;border:1px solid #bd9474}
.duel-more-gomoku-cell:not(:disabled):hover{background-color:#f6edce}
.duel-more-gomoku-cell:disabled{opacity:1}
.duel-more-selected{outline:2px dashed #795f23;outline-offset:-3px;background-color:#f6e4ac!important}
.duel-more-gomoku-cell.duel-more-selected span{opacity:.58}
.duel-more-gomoku-cell.duel-more-winning{background-color:#f4d881;box-shadow:inset 0 0 0 2px #8c762c}
.duel-more-gomoku-confirm{display:grid;grid-template-columns:minmax(0,1fr) minmax(116px,auto);gap:8px;align-items:center;margin-top:8px}
.duel-more-gomoku-confirm .duel-more-selection{text-align:left;margin:0;font-size:12px}
.duel-more-piles{display:grid;grid-template-columns:1fr;gap:7px}
.duel-more-pile{display:grid;grid-template-columns:54px minmax(0,1fr) 38px;gap:6px;align-items:center;width:100%;min-height:62px!important;padding:9px 10px;border:1px solid #b8c6ad;border-radius:12px;background:#edf0e2;color:#43643f;text-align:left;opacity:1}
.duel-more-pile:not(:disabled):hover{background:#e1eacf}
.duel-more-pile:disabled{background:#f4f3eb;color:#7c8473}
.duel-more-pile-name{font-size:12px;font-weight:750}
.duel-more-stones{font-size:19px;line-height:1.25;letter-spacing:2px;overflow-wrap:anywhere}
.duel-more-pile strong{font-size:15px;white-space:nowrap;text-align:right}
.duel-more-amounts{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));gap:7px}
.duel-more-amount{border:1px solid #b6c4a9;border-radius:10px;background:#e0eacf;color:#3a5b3d;padding:9px 4px;font-weight:750!important}
.duel-more-amount:not(:disabled):hover{background:#d1e0bb}
@media (max-width:360px){.duel-more-gomoku-confirm{grid-template-columns:1fr}.duel-more-pig-display{gap:16px}.duel-more-stones{letter-spacing:0}}
@media (prefers-reduced-motion:reduce){.duel-more-scroll{scroll-behavior:auto}}

@media(max-width:420px){.duel-more-kalah-board{grid-template-columns:44px minmax(0,1fr) 44px;gap:5px;padding:5px}.duel-more-kalah .duel-more-store{width:44px}.duel-more-kalah .duel-more-store span{font-size:10px}}
