.Game_gameContainer__dBKxf{display:flex;flex-direction:column;width:100%;max-width:60em;height:auto;min-height:85vh;padding:20px;box-shadow:5px 7px 10px rgba(0,0,0,.05);background-color:var(--surface);border-radius:1rem;border:1px solid var(--surface-border);position:relative;overflow:hidden;margin:0 auto;color:var(--text);transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease}.Game_congratsOverlay__Ksqzp{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:9999}.Game_congratsModal__R49QN{background-color:#fff;padding:2rem;border-radius:8px;text-align:center;box-shadow:10px 20px 15px rgba(0,0,0,.35);max-width:90%}.Game_closeButton__iRC7a{margin-top:1rem;background-color:#0a66c2;border:none;border-radius:3rem;color:#fff;cursor:pointer;padding:.5rem 1rem;transition:transform .2s ease,background-color .2s ease}.Game_closeButton__iRC7a:hover{background-color:#16437e;transform:scale(1.1)}.Game_gameContainer__dBKxf:before{content:"";position:absolute;top:10px;left:10px;right:10px;bottom:10px;border:1px solid var(--secondary);border-radius:8px;opacity:.5;pointer-events:none}.Game_header__b5HRs{display:flex;justify-content:center;gap:10px;margin-bottom:20px;position:relative;z-index:10;flex-wrap:wrap}.Game_helpModeContainer__5GvR7{display:flex;align-items:center;gap:5px;margin-top:10px;justify-content:center}.Game_helpModeCheckbox__ZUD_6{width:16px;height:16px;cursor:pointer}.Game_helpModeLabel__sSQiP{font-size:14px;color:var(--text);cursor:pointer}.Game_autocompleteButton__pDmK3,.Game_cancelButton__Ft2QL,.Game_newGameButton__Mr11J,.Game_themeToggleButton__2IuwJ,.Game_undoButton__fDk3Q{padding:10px 20px;color:#fff;border:none;border-radius:5px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-soft);font-family:var(--font-sans)}.Game_newGameButton__Mr11J{background-color:var(--primary)}.Game_newGameButton__Mr11J:hover{background-color:var(--dark);transform:translateY(-2px);box-shadow:var(--shadow-medium)}.Game_undoButton__fDk3Q{background-color:var(--accent)}.Game_undoButton__fDk3Q:hover{background-color:var(--accent-dark);transform:translateY(-2px);box-shadow:var(--shadow-medium)}.Game_autocompleteButton__pDmK3{background-color:var(--primary)}.Game_autocompleteButton__pDmK3:hover{background-color:var(--dark);transform:translateY(-2px);box-shadow:var(--shadow-medium)}.Game_cancelButton__Ft2QL{background-color:#d9534f}.Game_cancelButton__Ft2QL:hover{background-color:#c9302c;transform:translateY(-2px);box-shadow:var(--shadow-medium)}.Game_autocompleteButton__pDmK3:active,.Game_cancelButton__Ft2QL:active,.Game_newGameButton__Mr11J:active,.Game_undoButton__fDk3Q:active{transform:translateY(0);box-shadow:var(--shadow-soft)}.Game_themeToggleButton__2IuwJ{background-color:transparent;color:var(--text);border:1px solid var(--secondary)}.Game_themeToggleButton__2IuwJ:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-2px);box-shadow:var(--shadow-medium)}.Game_topRow__xRQTH{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:20px;align-items:flex-start}.Game_spacer__sM3hi{flex-grow:1;min-width:100px}.Game_foundationPiles__zquSf{display:flex;gap:10px;justify-content:flex-end}.Game_stockWaste__kMwbr{display:flex;gap:10px}.Game_tableauPiles__DRtap{display:flex;justify-content:space-between;height:auto;min-height:480px;max-height:65vh;gap:7px;overflow-y:auto;padding-bottom:10px;flex:1}.Game_tableauPile__d6Hx2{position:relative;min-height:480px;width:var(--card-width)}.Game_tableauCard__AMn30{position:absolute;left:0;transition:top .2s ease,transform .2s ease,box-shadow .2s ease,left .5s ease;z-index:1}@keyframes Game_flyToFoundation__QGRBO{0%{transform:translate(0);opacity:1}to{transform:translate(var(--target-x),var(--target-y));opacity:0}}.Game_flyingCard__3wy_h{position:fixed;z-index:1000;animation:Game_flyToFoundation__QGRBO .5s ease-in-out forwards}.Game_selectedCard__KyaY2{transform:translateY(-10px);box-shadow:0 0 15px rgba(255,215,0,.6);z-index:100!important}.Game_emptyPile__ukHKo,.Game_pileContainer__egPdo{width:var(--card-width);height:var(--card-height)}.Game_emptyPile__ukHKo{border:2px dashed var(--secondary);border-radius:8px;background-color:hsla(0,0%,100%,.2);position:relative;transition:all .2s ease;cursor:pointer}.Game_emptyPile__ukHKo:hover{background-color:hsla(0,0%,100%,.4);border-color:var(--accent)}.Game_emptyPile__ukHKo:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:30px;height:30px;border:1px solid var(--secondary);border-radius:50%;opacity:.7}.Game_emptyPile__ukHKo:hover:after{border-color:var(--accent);opacity:1}.Game_touchDragPreview__6QPRP{position:fixed;width:var(--card-width);pointer-events:none;z-index:2000}.Game_touchDragPreviewCard__1ms0k{position:absolute;left:0;width:var(--card-width)}.Game_footer__IdWLv{display:flex;justify-content:center;gap:20px;margin-top:20px;padding-top:10px;padding-bottom:10px;font-size:14px;color:var(--text);opacity:.7;position:relative}.Game_footer__IdWLv a{color:var(--text);text-decoration:none;transition:all .2s ease}.Game_footer__IdWLv a:hover{color:var(--accent);opacity:1}.Game_popupOverlay__tDAbs{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem;box-sizing:border-box}.Game_popupModal__lJha6{background-color:#fff;padding:20px;border-radius:8px;width:100%;max-width:90%;max-height:90%;overflow:auto}.Game_popupOverlayCustom__LYgq1{position:absolute;top:5%;left:5%;width:90%;height:90%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;border:5px solid #c89543;border-radius:2rem;box-shadow:10px 20px 15px rgba(0,0,0,.35);z-index:10}.Game_popupOverlayCustom__LYgq1 H1{font-size:2.5rem;font-weight:700;text-align:center;margin-bottom:1rem}.Game_popupOverlayCustom__LYgq1 p{font-size:1.1rem;font-weight:300;text-align:left;margin-bottom:.5rem}.Game_popupOverlayCustom__LYgq1 a{text-decoration:none;border-bottom:2px solid #c89543;box-shadow:inset 0 -4px 0 #f5f2ed;color:inherit;padding:4px 3px 3px}.Game_popupOverlayCustom__LYgq1 a:hover{color:#f1f1f1;background:#c89543}.Game_popupOverlayCustom__LYgq1 button{align-items:center;background-color:#0a66c2;border:0;border-radius:3rem;box-sizing:border-box;color:#fff;cursor:pointer;display:block;font-size:1rem;font-weight:400;justify-content:center;line-height:1.2rem;max-width:7rem;min-height:2rem;min-width:0;overflow:hidden;padding:0 1rem;text-align:center;margin:1rem auto;touch-action:manipulation;user-select:none;-webkit-user-select:none;vertical-align:middle}.Game_popupOverlayCustom__LYgq1 button:focus,.Game_popupOverlayCustom__LYgq1 button:hover{background-color:#16437e;color:#fff;transform:scale(1.2)}.Game_popupModalCustom__xqHXD{background-color:#fff;padding:20px;border-radius:8px;width:100%;height:100%;overflow:auto}@media (max-width:768px){.Game_gameContainer__dBKxf{padding:15px;border-radius:.75rem}.Game_header__b5HRs{margin-bottom:15px}.Game_tableauPiles__DRtap{gap:5px;height:calc(65vh - 150px);min-height:400px}.Game_tableauPile__d6Hx2{min-height:400px}.Game_topRow__xRQTH{margin-bottom:15px}.Game_spacer__sM3hi{min-width:50px}.Game_popupOverlayCustom__LYgq1{padding:1.5rem;border-width:4px;border-radius:1.5rem}.Game_popupOverlayCustom__LYgq1 H1{font-size:2rem}.Game_popupOverlayCustom__LYgq1 p{font-size:1rem}}@media (max-width:480px){.Game_gameContainer__dBKxf{padding:10px;border-radius:.5rem;background-color:#e8ddd0}.Game_gameContainer__dBKxf:before{border:none}.Game_header__b5HRs{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:10px}.Game_autocompleteButton__pDmK3,.Game_cancelButton__Ft2QL,.Game_newGameButton__Mr11J,.Game_undoButton__fDk3Q{padding:8px 12px;border-radius:4px;font-size:13px}.Game_topRow__xRQTH{flex-direction:row;margin-bottom:10px;align-items:flex-start;justify-content:space-between;width:100%}.Game_spacer__sM3hi{display:none}.Game_foundationPiles__zquSf{gap:4px;justify-content:flex-end;margin:10px 0}.Game_stockWaste__kMwbr{gap:5px;justify-content:flex-start;margin-bottom:10px;margin-right:auto}.Game_tableauPiles__DRtap{gap:3px;padding-bottom:10px;overflow-x:auto;justify-content:space-between;padding-left:0;padding-right:0;min-height:350px;width:100%}.Game_tableauPile__d6Hx2{min-height:300px}.Game_tableauCard__AMn30{transition:top .15s ease,transform .15s ease}.Game_selectedCard__KyaY2{transform:translateY(-5px);box-shadow:0 0 8px rgba(255,215,0,.8)}.Game_emptyPile__ukHKo{border-width:1px}.Game_emptyPile__ukHKo:after{width:20px;height:20px}.Game_footer__IdWLv{gap:10px;padding-top:10px;font-size:12px;flex-wrap:wrap}.Game_popupOverlayCustom__LYgq1{padding:1rem;border-width:3px;border-radius:1rem;top:2%;left:2%;width:96%;height:96%}.Game_popupOverlayCustom__LYgq1 H1{font-size:1.5rem}.Game_popupOverlayCustom__LYgq1 p{font-size:.9rem}.Game_popupModal__lJha6{padding:15px;max-width:95%;max-height:95%}}@media (max-width:360px){.Game_gameContainer__dBKxf{padding:5px}.Game_foundationPiles__zquSf,.Game_tableauPiles__DRtap{gap:2px}.Game_autocompleteButton__pDmK3,.Game_cancelButton__Ft2QL,.Game_newGameButton__Mr11J,.Game_undoButton__fDk3Q{padding:6px 10px;font-size:12px}.Game_popupOverlayCustom__LYgq1{padding:.75rem;border-width:2px}.Game_popupOverlayCustom__LYgq1 H1{font-size:1.25rem}.Game_popupOverlayCustom__LYgq1 p{font-size:.8rem}}.Card_card__RlVbj{width:var(--card-width);height:var(--card-height);border:1px solid var(--card-border);background-color:var(--card-surface);position:relative;font-size:16px;border-radius:8px;padding:5px;box-shadow:var(--shadow-card);transition:transform .2s ease,box-shadow .2s ease;user-select:none;font-family:Noto Sans JP,sans-serif;color:var(--card-black)}.Card_card__RlVbj:hover{transform:translateY(-3px);box-shadow:0 6px 12px rgba(0,0,0,.1);cursor:pointer}.Card_card__RlVbj:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border:1px solid var(--card-inner-border);border-radius:5px;pointer-events:none}.Card_faceDown__rQVhF{background-color:var(--secondary)}.Card_topRank__ySfJ2{position:absolute;top:4px;left:4px;font-weight:700;font-size:18px;display:flex;align-items:center;color:var(--card-black)}.Card_topRank__ySfJ2 .Card_suitSymbol__ps0Jc{margin-left:1px;font-size:14px}.Card_bottomRank__JVjFp{position:absolute;bottom:4px;right:4px;transform:rotate(180deg);font-weight:700;font-size:18px;display:flex;align-items:center;color:var(--card-black)}.Card_bottomRank__JVjFp .Card_suitSymbol__ps0Jc{margin-left:1px;font-size:14px}.Card_card__RlVbj[data-suit=diamonds] .Card_bottomRank__JVjFp,.Card_card__RlVbj[data-suit=diamonds] .Card_topRank__ySfJ2,.Card_card__RlVbj[data-suit=hearts] .Card_bottomRank__JVjFp,.Card_card__RlVbj[data-suit=hearts] .Card_topRank__ySfJ2{color:var(--card-red)}.Card_card__RlVbj[data-suit=clubs] .Card_bottomRank__JVjFp,.Card_card__RlVbj[data-suit=clubs] .Card_topRank__ySfJ2,.Card_card__RlVbj[data-suit=spades] .Card_bottomRank__JVjFp,.Card_card__RlVbj[data-suit=spades] .Card_topRank__ySfJ2{color:var(--card-black)}.Card_centerSuit__BDDLb{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:28px;opacity:.9}.Card_cardBack__e01oI{background-color:var(--primary);width:100%;height:100%;border-radius:8px;position:relative;overflow:hidden}.Card_cardBack__e01oI:before{content:"";position:absolute;top:10px;left:10px;right:10px;bottom:10px;border:1px solid hsla(0,0%,100%,.2);border-radius:4px}.Card_cardBack__e01oI:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:30px;height:30px;background:linear-gradient(135deg,var(--secondary) 0,var(--accent) 100%);opacity:.6;border-radius:50%}@media (max-width:768px){.Card_card__RlVbj{border-width:1px;padding:3px}.Card_bottomRank__JVjFp,.Card_topRank__ySfJ2{font-size:16px}.Card_centerSuit__BDDLb{font-size:24px}.Card_bottomRank__JVjFp .Card_suitSymbol__ps0Jc,.Card_topRank__ySfJ2 .Card_suitSymbol__ps0Jc{font-size:12px}}@media (max-width:480px){.Card_card__RlVbj{border-width:1px;padding:3px;border-radius:5px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.Card_card__RlVbj,.Card_faceUp___BDaO{background-color:#fff}.Card_topRank__ySfJ2{top:2px;left:2px;font-size:18px;font-weight:900}.Card_bottomRank__JVjFp,.Card_centerSuit__BDDLb{display:none}.Card_suitSymbol__ps0Jc{font-size:16px;margin-left:2px}.Card_card__RlVbj[data-suit=diamonds] .Card_topRank__ySfJ2,.Card_card__RlVbj[data-suit=hearts] .Card_topRank__ySfJ2{color:var(--card-red)}.Card_card__RlVbj[data-suit=clubs] .Card_topRank__ySfJ2,.Card_card__RlVbj[data-suit=spades] .Card_topRank__ySfJ2{color:var(--card-black)}}@media (max-width:360px){.Card_card__RlVbj{padding:1px;border-radius:4px;margin:0}.Card_topRank__ySfJ2{font-size:16px;top:1px;left:1px}.Card_suitSymbol__ps0Jc{font-size:14px}.Card_card__RlVbj:before{top:2px;left:2px;right:2px;bottom:2px;border-radius:3px}.Card_cardBack__e01oI:before{top:5px;left:5px;right:5px;bottom:5px}.Card_cardBack__e01oI:after{width:20px;height:20px}}.about_version__Vs8PI{display:block!important;font-size:.7em!important;color:#555!important;font-weight:300!important;text-align:center!important;margin-top:0!important;margin-bottom:1rem!important}.DebugStatus_debugStatusContainer__fiSyw{position:fixed;top:10px;right:10px;background:hsla(0,0%,100%,.8);border:1px solid #ccc;border-radius:4px;padding:8px;z-index:99999;font-size:12px;display:none}.DebugStatus_statusItem__kbRGp{display:flex;align-items:center;margin-bottom:4px}.DebugStatus_statusItem__kbRGp span:first-child{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:8px}.DebugStatus_green__i9eLy{background-color:green}.DebugStatus_red__R1n1a{background-color:red}.DebugStatus_testButton__DpUNK{margin-top:8px;padding:4px 8px;background-color:#f0f0f0;border:1px solid #ccc;border-radius:4px;font-size:11px;cursor:pointer;width:100%}.DebugStatus_testButton__DpUNK:hover{background-color:#e0e0e0}