@import url(https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap);code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.credits-overlay{align-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000b8;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:1000}.credits-dialog{background:#1e1e1c;border:.5px solid #ffffff14;border-radius:20px;box-shadow:0 24px 64px #00000080;color:#fff;font-family:DM Sans,sans-serif;max-height:85vh;max-width:560px;overflow-y:auto;padding:32px;position:relative;width:100%}.credits-close{background:#ffffff0f;border:none;border-radius:50%;color:#fff9;cursor:pointer;font-size:22px;height:34px;position:absolute;right:16px;top:16px;transition:background .2s,color .2s;width:34px}.credits-close:hover{background:#ffffff1f;color:#fff}.credits-dialog h2{font-size:28px;font-weight:700;letter-spacing:-.02em;margin:0 0 24px}.credits-section+.credits-section{margin-top:28px}.credits-section h3{color:#2ead87;font-size:18px;font-weight:600;margin:0 0 12px}.credits-section p{color:#ffffffb8;font-size:15px;line-height:1.65;margin:0 0 12px}.credits-links{display:flex;flex-direction:column;gap:8px;margin-top:14px}.credits-links a{color:#2ead87;text-decoration:none;transition:opacity .2s;width:-webkit-fit-content;width:fit-content}.credits-links a:hover{opacity:.8}@media (max-width:600px){.credits-dialog{border-radius:16px;padding:24px}.credits-dialog h2{font-size:24px}}.lobby-container{align-items:center;background-color:#131311;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='22'%3E%3Cellipse cx='20' cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='40' cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='10' cy='11' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='30' cy='11' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3C/svg%3E");background-size:40px 22px;display:flex;font-family:DM Sans,sans-serif;justify-content:center;min-height:100dvh;overflow:hidden;padding:20px;position:relative}.lobby-card-accent{border-radius:7px;height:144px;overflow:hidden;pointer-events:none;position:absolute;transform:rotate(12deg) translate(148px,-188px);z-index:0}.lobby-card-accent img{display:block;height:100%;object-fit:contain;width:100%}.lobby-box{background:#1e1e1c;border:.5px solid #ffffff14;border-radius:20px;box-shadow:0 24px 64px #00000080;max-width:380px;padding:36px 36px 32px;position:relative;width:100%;z-index:1}.game-title{color:#fff;font-size:28px;font-weight:700;letter-spacing:-.02em;margin-bottom:28px;text-align:center}.game-title span{color:#2ead87}.button-group{display:flex;flex-direction:column;gap:0}.btn-primary{background:#2ead87;border:none;border-radius:10px;color:#fff;cursor:pointer;display:block;font-family:DM Sans,sans-serif;font-size:16px;font-weight:600;padding:14px 24px;transition:opacity .2s;width:100%}.btn-primary:disabled{cursor:not-allowed;opacity:.45}.btn-primary:hover:not(:disabled){opacity:.88}.divider{align-items:center;display:flex;gap:10px;margin:18px 0}.divider-line{background:#ffffff1a;flex:1 1;height:.5px}.divider-text{color:#ffffff4d;font-size:12px;letter-spacing:.08em}.join-group{align-items:stretch;display:flex;gap:10px}.join-group input{background:#ffffff0d;border:1.5px solid #ffffff26;border-radius:10px;box-sizing:border-box;caret-color:#2ead87;color:#fff;flex:1 1;font-family:Courier New,monospace;font-size:20px;font-weight:700;letter-spacing:6px;min-width:0;padding:13px 10px;text-align:center;text-transform:uppercase;transition:border-color .2s}.join-group input::placeholder{color:#fff3;font-size:13px;font-weight:400;letter-spacing:2px}.join-group input:focus{border-color:#ffffff59;outline:none}.btn-secondary-lobby{background:#0000;border:1.5px solid #ffffff26;border-radius:10px;color:#ffffff80;cursor:pointer;font-family:DM Sans,sans-serif;font-size:14px;font-weight:600;padding:0 18px;transition:border-color .2s,color .2s;white-space:nowrap}.btn-secondary-lobby:hover:not(:disabled){border-color:#ffffff4d;color:#fffc}.btn-secondary-lobby:disabled{cursor:not-allowed;opacity:.35}.error-message{background:#c0392b1a;border:.5px solid #c0392b40;border-radius:10px;color:#e07060;font-size:14px;margin-top:16px;padding:12px}.error-message,.room-created{text-align:center}.room-created .game-title{margin-bottom:6px}.waiting-subtitle{color:#fff6;font-size:13px;letter-spacing:.02em;margin-bottom:22px}.game-code-display{background:#ffffff0a;border:.5px solid #ffffff1a;border-radius:14px;margin-bottom:14px;padding:20px 16px 16px}.code-label{color:#ffffff4d;display:block;font-size:10px;letter-spacing:.2em;margin-bottom:10px;text-transform:uppercase}.code-value{color:#2ead87;font-family:Courier New,monospace;font-size:52px;font-weight:700;letter-spacing:10px;line-height:1;padding-left:10px}.btn-copy{align-items:center;background:#0000;border:1.5px solid #ffffff1f;border-radius:10px;color:#ffffff73;cursor:pointer;display:flex;font-family:DM Sans,sans-serif;font-size:14px;font-weight:500;gap:7px;justify-content:center;margin-bottom:20px;padding:12px;transition:border-color .2s,color .2s;width:100%}.btn-copy:hover{border-color:#ffffff40;color:#ffffffbf}.btn-copy.copied{border-color:#2ead8766;color:#2ead87}.waiting-status{align-items:center;color:#ffffff4d;display:flex;font-size:13px;gap:7px;justify-content:center}.waiting-dot{animation:dot-pulse 1.4s ease-in-out infinite;background:#2ead87}@keyframes dot-pulse{0%,80%,to{opacity:.2}40%{opacity:1}}.btn-back{background:#0000;border:none;color:#ffffff40;cursor:pointer;display:block;font-family:DM Sans,sans-serif;font-size:13px;margin-top:14px;padding:8px;transition:color .2s;width:100%}.btn-back:hover{color:#ffffff80}.footer-links{bottom:18px;display:flex;font-size:13px;gap:16px;position:absolute;right:24px}.footer-links a,.footer-links button{background:none;border:none;color:#ffffff59;cursor:pointer;font:inherit;text-decoration:none;transition:color .2s}.footer-links a:hover,.footer-links button:hover{color:#ffffffbf}.backend-note{color:#ffffff40;font-size:11px;line-height:1.5;margin:10px 0 0;text-align:center}.lobby-help-btn{align-items:center;background:#2ead8714;border:1px solid #2ead874d;border-radius:50%;color:#2ead87;cursor:pointer;display:flex;font-family:DM Sans,sans-serif;font-size:16px;font-weight:700;height:34px;justify-content:center;line-height:1;padding-bottom:1px;position:absolute;right:18px;top:18px;transition:background .2s,border-color .2s,transform .15s;width:34px;z-index:10}.lobby-help-btn:hover{background:#2ead8729;border-color:#2ead8780;transform:translateY(-1px)}.lobby-help-btn:active{transform:translateY(0)}.lobby-help-btn:focus-visible{outline:2px solid #2ead87;outline-offset:2px}@media (max-width:420px){.lobby-help-btn{font-size:14px;height:30px;right:14px;top:14px;width:30px}}.htp-overlay{align-items:center;animation:htp-overlay-in .25s ease;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);background:#000000a6;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:1000}@keyframes htp-overlay-in{0%{opacity:0}to{opacity:1}}.htp-dialog{animation:htp-dialog-in .3s cubic-bezier(.22,1,.36,1);background:#1c1c1afa;border:.5px solid #ffffff1a;border-radius:20px;box-shadow:0 32px 80px #0009;display:flex;flex-direction:column;font-family:DM Sans,Inter,system-ui,-apple-system,sans-serif;max-height:85vh;max-width:520px;overflow:hidden;position:relative;width:100%}@keyframes htp-dialog-in{0%{opacity:0;transform:translateY(24px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.htp-close-btn{align-items:center;background:#ffffff0d;border:none;border-radius:50%;color:#ffffff80;cursor:pointer;display:flex;font-family:inherit;font-size:20px;height:36px;justify-content:center;line-height:1;position:absolute;right:16px;top:14px;transition:background .2s,color .2s;width:36px;z-index:10}.htp-close-btn:hover{background:#ffffff1f;color:#ffffffd9}.htp-content{flex:1 1;min-height:320px;overflow-y:auto;padding:32px 28px 20px}.htp-content,.htp-page{align-items:center;display:flex;flex-direction:column}.htp-page{text-align:center;width:100%}.htp-page-title{color:#fff;font-size:22px;font-weight:700;letter-spacing:-.01em;margin:0 0 6px}.htp-page-title .accent{color:#2ead87}.htp-page-subtitle{color:#fff6;font-size:13px;letter-spacing:.03em;margin:0 0 20px}.htp-page-body{color:#ffffffbf;font-size:15px;line-height:1.6;max-width:420px}.htp-page-body strong{color:#fff;font-weight:600}.htp-page-body .highlight{color:#2ead87;font-weight:600}.htp-card-showcase{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:16px 0 20px}.htp-card-showcase img{border-radius:7px;box-shadow:0 6px 20px #0006;display:block;height:120px;transition:transform .3s ease;width:auto}.htp-card-showcase img:first-child{transform:rotate(-4deg)}.htp-card-showcase img:nth-child(2){transform:rotate(1deg) translateY(-4px)}.htp-card-showcase img:nth-child(3){transform:rotate(5deg)}.htp-flow{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:14px 0 18px}.htp-flow-step{background:#ffffff0a;border:.5px solid #ffffff1a;border-radius:12px;color:#ffffffbf;font-size:13px;font-weight:500;min-width:80px;padding:14px 16px;text-align:center}.htp-flow-step strong{color:#2ead87;display:block;font-size:18px;margin-bottom:2px}.htp-flow-arrow{color:#ffffff4d;font-size:22px;font-weight:700}.htp-scenarios{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:14px 0 16px;width:100%}.htp-scenario{background:#ffffff08;border:.5px solid #ffffff14;border-radius:14px;flex:1 1;max-width:200px;min-width:140px;padding:16px 12px;text-align:center}.htp-scenario .htp-scenario-icon{font-size:28px;margin-bottom:6px}.htp-scenario .htp-scenario-label{color:#ffffff8c;font-size:12px;line-height:1.4}.htp-scenario.match{background:#2ead870f;border-color:#2ead8759}.htp-scenario.match .htp-scenario-icon{color:#2ead87}.htp-scenario.nomatch{border-color:#ffffff0f}.htp-scenario.nomatch .htp-scenario-icon{opacity:.5}.htp-comparison{display:flex;flex-direction:column;gap:16px;margin:16px 0 18px;width:100%}.htp-comp-row{align-items:center;background:hsla(0,0%,100%,.025);border-radius:14px;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:12px 14px}.htp-comp-row img{border-radius:5px;box-shadow:0 4px 14px #00000059;flex-shrink:0;height:90px;width:auto}.htp-comp-sep{flex-shrink:0;font-size:26px;font-weight:700;text-align:center;width:32px}.htp-comp-sep.bad{color:#e07060}.htp-comp-sep.good{color:#2ead87}.htp-comp-label{color:#ffffff8c;font-size:12px;line-height:1.4;margin-top:2px;text-align:center;width:100%}.htp-comp-label strong{color:#fff}.htp-screenshot-frame{background:#ffffff05;border:.5px solid #ffffff1a;border-radius:12px;margin-top:12px;overflow:hidden;width:100%}.htp-screenshot-img{display:block;height:auto;max-height:220px;object-fit:cover;width:100%}@media (max-width:380px){.htp-screenshot-img{max-height:160px}}.htp-links{gap:10px;margin:16px 0 4px;width:100%}.htp-link-card,.htp-links{display:flex;flex-direction:column}.htp-link-card{align-items:flex-start;background:#ffffff08;border:.5px solid #ffffff1a;border-radius:12px;color:inherit;cursor:pointer;gap:3px;padding:14px 16px;text-decoration:none;transition:border-color .2s,background .2s,transform .15s}.htp-link-card:hover{background:#ffffff0f;border-color:#ffffff40;transform:translateY(-1px)}.htp-link-card:active{transform:translateY(0)}.htp-link-text{color:#ffffffb3;font-size:14px;font-weight:500}.htp-link-sub{color:#ffffff59;font-size:11px}.htp-dots{display:flex;gap:8px;justify-content:center;padding:6px 0 14px}.htp-dot{background:#fff3;border:none;border-radius:50%;cursor:pointer;height:8px;padding:0;transition:background .2s,transform .2s;width:8px}.htp-dot.active{background:#2ead87;transform:scale(1.35)}.htp-dot:hover:not(.active){background:#fff6}.htp-nav{align-items:center;display:flex;gap:12px;justify-content:space-between;padding:8px 28px 24px}.htp-nav-btn{background:#0000;border:1.5px solid #ffffff26;border-radius:10px;color:#fff9;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;padding:10px 22px;transition:all .2s;white-space:nowrap}.htp-nav-btn:hover{border-color:#ffffff59;color:#ffffffe6}.htp-nav-btn.primary{background:#2ead87;border-color:#2ead87;color:#fff;min-width:100px}.htp-nav-btn.primary:hover{border-color:#2ead87;opacity:.88}.htp-nav-btn:disabled{cursor:not-allowed;opacity:.3}.htp-nav-spacer{flex:1 1;min-width:0}@media (max-width:520px){.htp-dialog{border-radius:16px;max-width:100%}.htp-content{min-height:280px;padding:24px 16px 12px}.htp-page-title{font-size:19px}.htp-page-body{font-size:14px}.htp-card-showcase img{height:90px}.htp-comp-row img{height:68px}.htp-nav{gap:8px;padding:4px 14px 18px}.htp-nav-btn{font-size:13px;padding:10px 16px}}@media (max-width:380px){.htp-scenarios{align-items:center;flex-direction:column}.htp-scenario{max-width:100%;width:100%}.htp-flow{flex-direction:column;gap:6px}.htp-flow-arrow{transform:rotate(90deg)}}.card{align-items:center;background:#0000;border:none;border-radius:6px;box-shadow:0 4px 12px #00000040;box-sizing:border-box;cursor:pointer;display:flex;flex-shrink:0;height:140px;justify-content:center;overflow:visible;padding:0;position:relative;-webkit-user-select:none;user-select:none;width:auto}.card-small{height:84px}.card-image{border-radius:6px;display:block;height:100%;pointer-events:none;width:auto}.card.selected{box-shadow:0 0 0 3px gold,0 8px 25px #ffd70066;z-index:5}.card.disabled{cursor:not-allowed;opacity:.6}.card-back-content{align-items:center;background:linear-gradient(135deg,#2d2d6b,#1a1a4e);border:2px solid #4a4a8a;border-radius:6px;box-shadow:inset 0 0 20px #0000004d;display:flex;font-size:32px;height:100%;justify-content:center;width:100px}@media (max-width:768px){.card{height:112px}.card-small{height:63px}}@media (max-width:480px){.card{height:84px}.card-small{height:53px}}.yaku-ref-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0d0d0b80;inset:0;position:fixed;z-index:200}.yaku-ref-panel{background:#1a1a18;border-left:.5px solid #ffffff14;bottom:0;display:flex;flex-direction:column;overflow:hidden;position:fixed;right:0;top:0;width:340px;z-index:201}.yaku-ref-header{align-items:center;border-bottom:.5px solid #ffffff0f;display:flex;flex-shrink:0;justify-content:space-between;padding:18px 20px}.yaku-ref-title{color:#aaa;font-family:var(--sans);font-size:12px;font-weight:500;letter-spacing:.2em;text-transform:uppercase}.yaku-ref-close{align-items:center;background:#0000;border:none;border-radius:4px;color:#5a5a5a;cursor:pointer;display:flex;padding:4px;transition:color .15s}.yaku-ref-close:hover{color:#e8e5df}.yaku-ref-list{display:flex;flex:1 1;flex-direction:column;gap:20px;overflow-y:auto;padding:12px 16px}.yaku-ref-list::-webkit-scrollbar{width:4px}.yaku-ref-list::-webkit-scrollbar-track{background:#0000}.yaku-ref-list::-webkit-scrollbar-thumb{background:#ffffff14;border-radius:2px}.yaku-ref-item{background:#ffffff05;border:.5px solid #ffffff0d;border-radius:10px;display:flex;flex-direction:column;gap:6px;padding:14px;transition:border-color .2s}.yaku-ref-item.complete{background:#2ead870a;border-color:#2ead8740}.yaku-ref-item.optional{border-color:#c9a84c26}.yaku-ref-item-header{align-items:center;display:flex;gap:8px;justify-content:space-between}.yaku-ref-name{color:#e8e5df;font-family:var(--sans);font-size:13px;font-weight:500}.yaku-ref-item.complete .yaku-ref-name{color:#2ead87}.yaku-ref-pts{color:#c9a84c;flex-shrink:0;font-size:12px;font-weight:500}.yaku-ref-optional-badge{border:.5px solid #c9a84c59;border-radius:4px;color:#c9a84c;flex-shrink:0;font-size:9px;letter-spacing:.1em;padding:1px 5px;text-transform:uppercase}.yaku-ref-desc{color:#5a5a5a;font-size:11px;letter-spacing:.04em}.yaku-ref-optional-note{color:#c9a84c8c;font-size:10px;font-style:italic;letter-spacing:.03em}.yaku-ref-cards{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.yaku-ref-card{border-radius:4px;flex-shrink:0;height:50px;overflow:visible;position:relative;width:36px}.yaku-ref-card img{border-radius:4px;display:block;height:100%;object-fit:contain;pointer-events:none;width:100%}.yaku-ref-card.missing img{filter:grayscale(1);opacity:.18}.yaku-ref-card.collected img{filter:none;opacity:1}.yaku-ref-card.collected:after{content:"";inset:0;pointer-events:none;position:absolute}.yaku-ref-progress{background:#ffffff0f;border-radius:1px;height:2px;margin-top:4px;overflow:hidden}.yaku-ref-progress-fill{background:#2ead87;border-radius:1px;height:100%}.yaku-ref-item.complete .yaku-ref-progress-fill{box-shadow:0 0 6px #2ead8766}.yaku-ref-count{color:#5a5a5a;font-size:10px;letter-spacing:.06em}.yaku-ref-bonus{color:#c9a84c}.yaku-ref-trigger{align-items:center;background:var(--accent-pale);border:.5px solid var(--accent-border);border-radius:50%;color:var(--accent);cursor:pointer;display:flex;flex-shrink:0;font-family:var(--sans);font-size:11px;font-weight:600;height:20px;justify-content:center;padding:0;transition:background .18s,border-color .18s,transform .15s;width:20px}.yaku-ref-trigger:hover{background:#2ead8729;border-color:#2ead8766;transform:scale(1.08)}.yaku-ref-trigger:active{transform:scale(1)}.yaku-ref-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.month-card-tile{background:hsla(0,0%,100%,.025);border:.5px solid var(--rule);border-radius:12px;cursor:default;display:flex;flex-direction:column;gap:10px;margin-top:12px;max-width:136px;overflow:visible;padding:12px 12px 10px;position:relative;transition:border-color .2s;width:100%}.month-card-tile:hover{border-color:var(--accent-border)}.month-tile-header{align-items:center;display:flex;justify-content:center;width:100%}.month-tile-kanji{color:var(--accent);flex-shrink:0;font-family:var(--serif);font-size:20px;font-weight:300;line-height:1;opacity:.75}.month-tile-cards{height:80px;margin:0 auto;overflow:visible;position:relative;transition:width .28s cubic-bezier(.34,1.2,.64,1);width:56px}.month-tile-cards.expanded{width:194px}.month-tile-card{height:80px;left:0;position:absolute;top:0;width:auto}.month-tile-card-img{border-radius:5px;box-shadow:0 2px 8px #00000059;display:block;height:80px;pointer-events:none;width:auto}.month-tile-card-fallback{align-items:center;background:linear-gradient(135deg,#2d2d6b,#1a1a4e);border-radius:5px;display:flex;font-size:20px;height:80px;justify-content:center;width:56px}@media (max-width:640px){.month-card-tile{border-radius:6px;gap:4px;margin-top:6px;max-width:90px;padding:6px}.month-tile-kanji{font-size:11px;letter-spacing:.02em}.month-tile-cards{align-items:center;display:flex;height:34px;justify-content:center;margin:0 auto;width:24px}.month-tile-cards.expanded{width:141px}.month-tile-card{height:34px;width:24px}.month-tile-card-img{border-radius:2px;box-shadow:0 1px 3px #0000004d;height:34px;width:24px}.month-tile-card-fallback{border-radius:2px;font-size:9px;height:34px;width:24px}}*{-webkit-backface-visibility:hidden;backface-visibility:hidden}.game-root{isolation:isolate}.cards-row{overflow:hidden;position:relative}.table-cards{min-height:150px;position:relative}.card{touch-action:manipulation;transform:translateZ(0);-webkit-transform:translateZ(0);will-change:transform,opacity}:root{--ink:#e8e5df;--ink-mid:#aaa;--ink-light:#5a5a5a;--paper:#131311;--accent:#2ead87;--accent-dim:#0e6e55;--accent-pale:#2ead870f;--accent-border:#2ead872e;--rule:#ffffff0f;--serif:"Noto Serif JP",serif;--sans:"DM Sans",sans-serif;--gold:#c9a84c;--gold-pale:#c9a84c14;--gold-border:#c9a84c38}#root,.game-root,body,html{background-color:#131311;background-color:var(--paper);min-height:100vh}.game-root{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='22'%3E%3Cellipse cx='20' cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='40' cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='10' cy='11' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='30' cy='11' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3C/svg%3E");background-size:40px 22px;color:#e8e5df;color:var(--ink);display:flex;flex-direction:column;font-family:DM Sans,sans-serif;font-family:var(--sans);height:100vh;min-width:640px;overflow:hidden}.status-strip{align-items:center;border-bottom:.5px solid #ffffff0f;border-bottom:.5px solid var(--rule);display:flex;flex-shrink:0;gap:12px;justify-content:center;padding:10px 24px;position:relative}.exit-btn,.mute-btn{align-items:center;background:#0000;border:none;border-radius:6px;color:#5a5a5a;color:var(--ink-light);cursor:pointer;display:flex;font-family:DM Sans,sans-serif;font-family:var(--sans);font-size:12px;gap:6px;letter-spacing:.08em;padding:4px 8px;position:absolute;transition:color .18s}.exit-btn{left:16px}.mute-btn{right:16px}.exit-btn:hover,.mute-btn:hover{color:#e8e5df;color:var(--ink)}.exit-btn svg,.mute-btn svg,.status-dot{flex-shrink:0}.status-dot{background:#5a5a5a;background:var(--ink-light);border-radius:50%;height:6px;width:6px}.status-dot.active{background:#2ead87;background:var(--accent);box-shadow:0 0 6px #2ead8780}.status-dot.gold{background:#c9a84c;background:var(--gold);box-shadow:0 0 6px #c9a84c80}.status-label{color:#aaa;color:var(--ink-mid);font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase}.status-label.active{color:#2ead87;color:var(--accent)}.status-label.gold{color:#c9a84c;color:var(--gold)}.game-grid{display:grid;flex:1 1;grid-template-areas:"opponent  captures" "table     captures" "hand      captures";grid-template-columns:1fr .28fr;grid-template-rows:auto 1fr auto;min-height:0;overflow:hidden}.area-statusbar{display:none}.area-opponent{border-bottom:.5px solid #ffffff0f;border-bottom:.5px solid var(--rule);flex-direction:column;gap:10px;grid-area:opponent}.area-opponent,.area-table{display:flex;padding:14px 24px}.area-table{gap:20px;grid-area:table;overflow:hidden}.area-hand{border-top:.5px solid #ffffff0f;border-top:.5px solid var(--rule);gap:10px;grid-area:hand;padding:14px 24px calc(14px + env(safe-area-inset-bottom))}.area-captures,.area-hand{display:flex;flex-direction:column}.area-captures{border-left:.5px solid #ffffff0f;border-left:.5px solid var(--rule);gap:16px;grid-area:captures;overflow-y:auto;padding:16px 14px}.area-label{color:#5a5a5a;color:var(--ink-light);font-size:11px;font-weight:500;letter-spacing:.2em;text-transform:uppercase}.cards-row{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.card-back{border-radius:8px;flex-shrink:0;height:100px;overflow:hidden;width:72px}.card-back svg{display:block}.deck-col{align-items:center;align-self:flex-start;background:#ffffff05;border:.5px solid #ffffff0f;border:.5px solid var(--rule);border-radius:12px;display:flex;flex-direction:column;flex-shrink:0;gap:10px;min-width:136px;padding:14px}.deck-count{color:#aaa;color:var(--ink-mid);font-size:12px;letter-spacing:.1em}.deck-count span{color:#2ead87;color:var(--accent);font-weight:500}.table-col{flex:1 1;flex-direction:column;gap:10px;overflow:hidden}.table-cards,.table-col{display:flex;justify-content:center}.table-cards{align-content:center;align-items:center;flex:1 1;flex-wrap:wrap;gap:12px}.capture-hint{color:#c9a84c;color:var(--gold);font-size:12px;letter-spacing:.06em}.captures-player{display:flex;flex-direction:column;gap:8px}.captures-player-label{border-bottom:.5px solid #ffffff0f;border-bottom:.5px solid var(--rule);color:#5a5a5a;color:var(--ink-light);font-size:10px;letter-spacing:.18em;padding-bottom:6px;text-transform:uppercase}.capture-group{display:flex;flex-direction:column;gap:4px}.capture-group-label{color:#5a5a5a;color:var(--ink-light);display:flex;font-size:10px;justify-content:space-between;letter-spacing:.1em}.capture-group-label span{color:#2ead87;color:var(--accent)}.capture-group-cards{display:flex;flex-wrap:wrap;gap:3px}.stacked-card{box-shadow:-2px -2px 0 #1a1a18,-4px -4px 0 #151513}.game-error,.game-loading{align-items:center;background-color:#131311;background-color:var(--paper);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='22'%3E%3Cellipse cx='20' cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='40' cy='22' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='10' cy='11' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3Cellipse cx='30' cy='11' rx='20' ry='14' fill='none' stroke='%232ead87' stroke-width='.4' stroke-opacity='.07'/%3E%3C/svg%3E");background-size:40px 22px;color:#e8e5df;color:var(--ink);display:flex;flex-direction:column;font-family:DM Sans,sans-serif;font-family:var(--sans);gap:16px;justify-content:center;min-height:100vh}.game-error .btn{margin-top:8px}.loading-spinner{animation:spin 1.4s linear infinite;font-size:2rem}@keyframes spin{to{transform:rotate(1turn)}}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0d0d0bd1;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:100}.modal{background:#1c1c1a;border:.5px solid #2ead872e;border:.5px solid var(--accent-border);border-radius:18px;display:flex;flex-direction:column;gap:20px;max-width:420px;padding:36px 40px;width:100%}.modal--waiting{border-color:#ffffff0f;border-color:var(--rule);max-width:380px}.modal-kanji{color:#2ead87;color:var(--accent);font-family:"Noto Serif JP",serif;font-family:var(--serif);font-size:32px;font-weight:300;opacity:.4;text-align:center}.modal-eyebrow{color:#5a5a5a;color:var(--ink-light);font-size:10px;letter-spacing:.22em;text-align:center;text-transform:uppercase}.modal-title{color:#e8e5df;color:var(--ink);font-family:"Noto Serif JP",serif;font-family:var(--serif);font-size:20px;font-weight:400;line-height:1.3;text-align:center}.modal-sub{color:#5a5a5a;color:var(--ink-light);font-size:12px;letter-spacing:.14em;text-align:center;text-transform:uppercase}.modal-divider{background:#ffffff0f;background:var(--rule);height:.5px}.modal-choice-row{display:flex;gap:10px}.modal-choice{border:.5px solid #ffffff0f;border:.5px solid var(--rule);border-radius:12px;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:6px;padding:16px;transition:border-color .18s,background .18s}.modal-choice:hover{background:#ffffff05;border-color:#ffffff24}.modal-choice--shobu{background:#2ead870f;background:var(--accent-pale);border-color:#2ead872e;border-color:var(--accent-border)}.modal-choice--shobu:hover{background:#2ead871a;border-color:#2ead874d}.modal-choice-label{color:#e8e5df;color:var(--ink);font-family:"Noto Serif JP",serif;font-family:var(--serif);font-size:15px;font-weight:400}.modal-choice--shobu .modal-choice-label{color:#2ead87;color:var(--accent)}.modal-choice-sub{color:#5a5a5a;color:var(--ink-light);font-size:11px;letter-spacing:.02em;line-height:1.4}.modal-waiting-note{color:#aaa;color:var(--ink-mid);font-size:12px;letter-spacing:.04em;text-align:center}.modal-waiting-indicator{align-items:center;display:flex;gap:6px;justify-content:center;padding:4px 0}.waiting-dot{animation:waiting-pulse 1.4s ease-in-out infinite;background:#5a5a5a;background:var(--ink-light);border-radius:50%;height:5px;width:5px}.waiting-dot:nth-child(2){animation-delay:.2s}.waiting-dot:nth-child(3){animation-delay:.4s}@keyframes waiting-pulse{0%,80%,to{opacity:.2;transform:scale(.85)}40%{opacity:1;transform:scale(1)}}.yaku-list{background:#c9a84c14;background:var(--gold-pale);border:.5px solid #c9a84c38;border:.5px solid var(--gold-border);border-radius:10px;display:flex;flex-direction:column;gap:6px;list-style:none;padding:14px 16px}.yaku-item{color:#aaa;color:var(--ink-mid);display:flex;font-size:13.5px;justify-content:space-between}.yaku-pts,.yaku-total{color:#c9a84c;color:var(--gold);font-weight:500}.yaku-total{border-top:.5px solid #c9a84c38;border-top:.5px solid var(--gold-border);display:flex;font-size:14px;justify-content:space-between;margin-top:2px;padding-top:8px}.modal-buttons{display:flex;gap:10px}.btn-koikoi{background:#0000;border:.5px solid #ffffff0f;border:.5px solid var(--rule);border-radius:10px;color:#aaa;color:var(--ink-mid);cursor:pointer;flex:1 1;font-family:DM Sans,sans-serif;font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:.04em;padding:12px;transition:border-color .18s,color .18s}.btn-koikoi:hover{border-color:#ffffff26;color:#e8e5df;color:var(--ink)}.btn{border:.5px solid #0000;border-radius:8px;cursor:pointer;font-family:DM Sans,sans-serif;font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:.04em;padding:10px 20px;transition:all .18s}.btn:disabled{cursor:not-allowed;opacity:.4}.btn-primary{background:#2ead870f;background:var(--accent-pale);border-color:#2ead872e;border-color:var(--accent-border);color:#2ead87;color:var(--accent)}.btn-primary:hover:not(:disabled){background:#2ead871f}.btn-secondary{background:#0000;border-color:#ffffff0f;border-color:var(--rule);color:#aaa;color:var(--ink-mid)}.btn-secondary:hover:not(:disabled){border-color:#ffffff1f;color:#e8e5df;color:var(--ink)}.score-board{background:#ffffff08;border:1px solid #ffffff14;border-radius:12px;padding:12px;width:100%}.score-board-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.score-board-title{color:#aaa;color:var(--ink-mid);font-size:11px;font-weight:600;letter-spacing:.15em;text-transform:uppercase}.score-board-rounds{background:#ffd7001a;border-radius:8px;color:gold;font-size:11px;font-weight:600;padding:2px 8px}.score-board-players{align-items:center;display:flex;gap:8px}.score-board-player{flex:1 1;text-align:center}.player-name{color:#aaa;color:var(--ink-mid);font-size:10px;letter-spacing:.1em;margin-bottom:4px;text-transform:uppercase}.player-score{color:#5a5a5a;color:var(--ink-light);font-size:24px;font-weight:700;line-height:1;margin-bottom:6px}.score-board-player.leading .player-score{color:gold}.score-board-vs{color:#aaa;color:var(--ink-mid);font-size:10px;font-weight:700;padding-top:20px}.round-history{display:flex;gap:6px;justify-content:center;margin-top:10px}.round-dot{border-radius:50%;cursor:pointer;height:10px;position:relative;width:10px}.round-dot.won{background:#4caf50}.round-dot.lost{background:#f44336}.round-dot.draw{background:#9e9e9e}.round-dot-tooltip{background:#000000e6;border-radius:4px;bottom:100%;color:#fff;display:none;font-size:10px;left:50%;margin-bottom:4px;padding:4px 8px;position:absolute;transform:translateX(-50%);white-space:nowrap}.round-dot:hover .round-dot-tooltip{display:block}.captures-player-label-row{align-items:center;border-bottom:.5px solid #ffffff0f;border-bottom:.5px solid var(--rule);display:flex;justify-content:space-between;padding-bottom:6px}.captures-player-label-text{color:#5a5a5a;color:var(--ink-light);font-size:10px;letter-spacing:.18em;text-transform:uppercase}.yaku-item--with-cards{align-items:stretch;flex-direction:column;gap:6px}.yaku-item-header{display:flex;justify-content:space-between}.yaku-cards-row{display:flex;flex-wrap:wrap;gap:3px}.yaku-card-img{border-radius:3px;box-shadow:0 1px 4px #0006;flex-shrink:0;height:36px;opacity:.85;transition:opacity .15s;width:auto}.yaku-card-img:hover{opacity:1}.yaku-card-fallback{background:#ffffff0d;border:.5px solid #ffffff0f;border:.5px solid var(--rule);border-radius:3px;flex-shrink:0;height:36px;width:25px}@media (min-width:1024px){.table-cards .card:not(.card-small){height:162px}}@media (min-width:1280px){.table-cards .card:not(.card-small){height:180px}}@media (max-width:640px){#root,body,html{overflow-x:hidden}.game-root{height:100dvh;min-height:100dvh;min-width:0;overflow:hidden}.status-strip{flex:0 0 auto;padding:6px 16px}.status-strip .exit-btn,.status-strip .mute-btn,.status-strip .status-label{font-size:9px}.game-grid{display:flex;flex:1 1 auto;flex-direction:column;grid-template-areas:none;grid-template-columns:none;grid-template-rows:none;min-height:0;overflow:hidden}.area-statusbar{background:hsla(0,0%,100%,.015);border-bottom:.5px solid #ffffff0f;border-bottom:.5px solid var(--rule);flex:0 0 auto;justify-content:space-between;order:1;padding:6px 14px}.area-statusbar,.stat-item{align-items:center;display:flex}.stat-item{flex-direction:column;gap:1px}.stat-item--score{align-items:baseline;flex-direction:row;gap:4px}.stat-label{color:#5a5a5a;color:var(--ink-light);font-size:8px;letter-spacing:.12em;text-transform:uppercase}.stat-value{font-feature-settings:"tnum";color:#e8e5df;color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums;font-weight:600}.stat-value-sep{color:#5a5a5a;color:var(--ink-light);font-weight:400;margin:0 2px}.area-opponent{align-items:flex-start;display:flex;height:0!important;justify-content:center;left:0!important;pointer-events:none!important;position:fixed!important;right:0!important;top:50px!important;visibility:hidden!important;z-index:1000!important}.area-captures{display:contents}.captures-player{flex:0 0 auto;gap:4px;min-height:0}.captures-player--opponent{border-bottom:.5px solid #ffffff0f;border-bottom:.5px solid var(--rule);order:2}.captures-player--mine,.captures-player--opponent{border-top:.5px solid #ffffff0f;border-top:.5px solid var(--rule);padding:6px 12px}.captures-player--mine{order:4}.captures-player-label,.captures-player-label-text{font-size:9px;padding-bottom:3px}.capture-groups-grid{grid-gap:4px 10px;display:grid;gap:4px 10px;grid-template-columns:2fr 3fr}.capture-group{gap:1px;min-width:0}.capture-group-label{font-size:8px}.capture-group-cards{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;flex-wrap:nowrap;gap:2px;overflow-x:auto;scrollbar-width:none}.capture-group-cards::-webkit-scrollbar{display:none}.area-table{flex:1 1 auto;gap:8px;min-height:0;order:3;overflow:hidden;padding:6px 10px}.deck-col{border-radius:8px;gap:4px;min-width:0;padding:6px;width:clamp(56px,20vw,84px)}.deck-count{font-size:9px}.deck-col .score-board{display:none}.table-cards{flex:1 1 auto;gap:6px;min-height:0;overflow:hidden}.area-hand{flex:0 0 auto;gap:4px;order:5;padding:6px 12px calc(6px + env(safe-area-inset-bottom))}.area-label{font-size:9px}.cards-row{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:6px;justify-content:flex-start;overflow-x:auto;padding-bottom:2px;scroll-snap-type:x proximity}.area-hand .cards-row .card{scroll-snap-align:center}.game-root .card-back{height:clamp(48px,15vh,72px);width:clamp(34px,12vw,52px)}.game-root .area-hand .card:not(.card-small),.game-root .table-cards .card:not(.card-small){height:clamp(46px,12vh,76px)!important}.game-root .capture-group-cards .card-small{height:clamp(20px,5vh,32px)!important}.modal-overlay{padding:12px}.modal{gap:14px;max-height:92dvh;max-width:100%;overflow-y:auto;padding:18px 20px}.modal-kanji{font-size:22px}.modal-title{font-size:16px}.modal-sub{font-size:10.5px}.modal-choice{gap:4px;padding:12px}.modal-choice-label{font-size:13px}.modal-choice-sub{font-size:10px}.yaku-list{gap:4px;padding:10px 12px}.yaku-item{font-size:12px}.yaku-total{font-size:12.5px}.modal .yaku-card-img{height:clamp(22px,6vh,34px);width:auto}.modal .yaku-card-fallback{height:clamp(22px,6vh,34px);width:clamp(15px,4.2vh,23px)}.modal .btn,.modal .btn-koikoi{font-size:12px;padding:9px 14px}.modal .score-board{padding:8px}.modal .player-score{font-size:18px}.modal .player-name,.modal .score-board-title{font-size:9px}.modal .round-dot{height:8px;width:8px}}.App{text-align:center}.back-button-container{left:20px;position:fixed;top:20px;z-index:1000}.back-button{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px;transition:all .3s}.back-button:hover{background:#ffffff4d}*{box-sizing:border-box;padding:0}*,body{margin:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}
/*# sourceMappingURL=main.721a08cc.css.map*/