:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Noto Sans CJK SC,Microsoft YaHei,sans-serif;color:#2a2a2a;background:#f5f5f5;font-synthesis:none;font-weight:400;--paper: #f5f5f5;--white: #fff;--ink: #252525;--muted: #919191;--line: #e5e5e5;--serif: "Noto Serif CJK SC", "Songti SC", "STSong", serif;font-size:14px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:default}button,input,select{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #6a6a6a;outline-offset:4px}button{transition:background .16s,border-color .16s,opacity .16s,transform .16s}button:not(:disabled):active{transform:translateY(1px)}button:disabled{opacity:.38}h1,h2,h3,p{margin:0}h2,h3{font-weight:600}button svg,a svg{flex-shrink:0}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:78px;background:#f9f9f9;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;z-index:20}.brand-seal{width:40px;height:46px;border-radius:7px 7px 9px 9px;display:flex;justify-content:center;align-items:center;background:var(--ink);color:#f9f9f9;font-family:var(--serif);font-weight:600;font-size:30px;box-shadow:inset 0 -4px #575757;margin:26px 0 43px;position:relative}.brand-seal:after{content:"";position:absolute;inset:4px;border:1px solid #f5f5f526;border-radius:4px}.sidebar nav{display:flex;flex-direction:column;gap:15px}.sidebar nav a{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border-radius:10px;color:#7d7d7d;position:relative}.sidebar nav a.active{background:#e8e8e8;color:#343434}.sidebar nav a.active:before{content:"";position:absolute;left:-18px;width:3px;height:20px;border-radius:0 3px 3px 0;background:var(--ink)}.sidebar nav a:hover{background:#ededed;color:var(--ink)}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:24px;padding:30px 0}.side-help{background:none;border:0;color:#7d7d7d}.side-user{border:1px solid #dedede;background:#ededed;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;color:#757575;font-size:13px}.side-user.signed-in{background:#343434;color:#fff;border:0}.app-main{margin-left:78px}.topbar{height:90px;display:flex;align-items:center;gap:23px;padding:0 42px;border-bottom:1px solid var(--line);background:#f8f8f8}.wordmark{display:flex;align-items:baseline;gap:10px}.wordmark strong{font-family:var(--serif);font-size:24px;letter-spacing:2px;font-weight:700}.wordmark>span{font-size:10px;font-weight:600;letter-spacing:3px}.topbar-divider{width:1px;height:18px;background:#ddd}.topbar-description{font-size:11px;color:#7d7d7d;letter-spacing:1px;white-space:nowrap}.top-nav{margin-left:auto;display:flex;height:100%;gap:31px;align-items:center;font-size:12px}.top-nav a{height:100%;display:flex;align-items:center;position:relative;color:#7d7d7d}.top-nav a.active{color:var(--ink);font-weight:600}.top-nav a.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--ink)}.account-button{display:flex;align-items:center;gap:9px;background:none;border:0;padding:9px 0 9px 22px;border-left:1px solid #dedede;font-size:12px;max-width:210px}.account-button>span:not(.account-avatar){max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-button svg:last-child{color:#7d7d7d}.account-avatar{width:27px;height:27px;background:#e8e8e8;display:grid;place-items:center;border-radius:50%;font-size:11px}.main-content{max-width:1530px;margin:0 auto;padding:41px 42px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:31px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:500;color:#7d7d7d;line-height:1.6}.page-heading h1{font-family:var(--serif);font-size:34px;letter-spacing:2px;line-height:1.5;font-weight:500;margin-top:9px}.page-heading p{font-size:12px;color:#7d7d7d;margin-top:8px;letter-spacing:.4px}.heading-actions{display:flex;align-items:center;gap:10px;padding-top:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;border:1px solid transparent;border-radius:7px;padding:10px 17px;font-size:12px;font-weight:500;white-space:nowrap}.primary{background:var(--ink);color:#fafafa;border-color:var(--ink)}.button.primary:hover:not(:disabled){background:#404040}.secondary{background:#fbfbfb;border-color:#ddd;color:#4e4e4e}.button.secondary:hover:not(:disabled){background:#e9e9e9;border-color:#bcbcbc}.button.full{width:100%;min-height:44px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:none;color:#6b6b6b;font-size:11px;padding:7px 0;white-space:nowrap}.text-button:hover{color:#212121}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;width:30px;height:30px;border-radius:6px;color:#7d7d7d}.icon-button:hover:not(:disabled){background:#ebebeb;color:#393939}.table-grid{display:grid;grid-template-columns:minmax(0,1fr) 303px;gap:22px}.table-card,.scoreboard,.actions-card,.activity-card,.history-card,.score-reference{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.card-heading{display:flex;justify-content:space-between;align-items:center;height:63px;padding:0 24px}.card-heading h2{font-size:12px;font-weight:600;letter-spacing:.5px}.table-title{display:flex;align-items:center;gap:9px}.live-dot{width:5px;height:5px;background:#626262;border-radius:50%;box-shadow:0 0 0 3px #f0f0f0}.room-code{display:flex;align-items:center;gap:8px;font-size:10px;font-family:ui-monospace,SFMono-Regular,monospace;border:1px solid #e1e1e1;border-radius:4px;padding:3px 6px;background:#fafafa;color:#727272;max-width:200px;word-break:break-all}.table-card-status{display:flex;align-items:center;gap:9px;color:#7d7d7d;font-size:10px}.connection{display:flex;align-items:center;gap:5px;color:#7d7d7d}.connection.connected{color:#777}.table-card-status .end-button{width:25px;height:25px}.table-stage{height:464px;position:relative;isolation:isolate;background:#f5f5f5;overflow:hidden;border-top:1px solid #ebebeb;border-bottom:1px solid #e9e9e9}.table-grid-lines{position:absolute;z-index:-1;inset:0;opacity:.6;background-image:linear-gradient(#e7e7e770 1px,transparent 1px),linear-gradient(90deg,#e7e7e770 1px,transparent 1px);background-size:24px 24px;-webkit-mask-image:radial-gradient(ellipse at center,#0008,#0004);mask-image:radial-gradient(ellipse at center,#0008,#0004)}.stage-label{position:absolute;left:20px;top:18px;font-size:7px;letter-spacing:1.5px;color:#7d7d7d;writing-mode:vertical-rl;line-height:1}.corner-mark{position:absolute;width:12px;height:12px;border:solid #cdcdcd;border-width:1px 0 0 1px}.top-left{top:18px;left:18px}.top-right{top:18px;right:18px;transform:rotate(90deg)}.bottom-left{bottom:18px;left:18px;transform:rotate(-90deg)}.bottom-right{bottom:18px;right:18px;transform:rotate(180deg)}.mahjong-table{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:234px;height:202px;background:#313131;border-radius:10px;box-shadow:0 6px #e2e2e2,0 15px 25px -16px #42424250;border:1px solid #2c2c2c;color:#f2f2f2;padding:12px}.table-inner{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;border:1px solid #ffffff16;border-radius:4px;padding:17px 4px 7px}.table-brand{font-family:var(--serif);font-size:9px;letter-spacing:5px;color:#7d7d7d;position:absolute;top:11px;left:50%;transform:translate(-50%);white-space:nowrap}.round-eyebrow{font-size:6px;letter-spacing:1.6px;margin-top:13px;color:#7d7d7d}.round-title{font-family:var(--serif);font-size:37px;font-weight:400;letter-spacing:6px;margin:7px 0 15px}.waiting-title{font-family:var(--serif);font-size:23px;letter-spacing:2px;font-weight:400;line-height:1.7;margin:6px 0 8px}.table-inner>p{color:#7d7d7d;font-size:9px;margin-top:-3px}.start-button{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:7px;background:#f2f2f2;color:#424242;border:0;border-radius:4px;padding:8px 12px;font-size:9px;min-height:29px}.start-button:disabled{opacity:.48}.center-status{font-size:8px;letter-spacing:.5px;color:#7d7d7d;margin-top:9px}.mat-wind{position:absolute;color:#cbcbcb30;font-family:var(--serif);font-size:10px;line-height:1}.mat-east{left:calc(50% - 5px);bottom:4px}.mat-south{right:3px;top:calc(50% - 5px)}.mat-west{left:calc(50% - 5px);top:3px}.mat-north{left:3px;top:calc(50% - 5px)}.table-counters{display:flex;gap:17px;font-size:9px;color:#7d7d7d}.table-counters>span{display:flex;align-items:center;gap:5px}.stick{width:23px;height:4px;background:#eaeaea;border-radius:1px;position:relative;display:inline-block}.stick:after{content:"";position:absolute;left:11px;top:1px;width:2px;height:2px;background:#313131;border-radius:50%}.stick.honba:after{box-shadow:-5px 0 #313131,5px 0 #313131}.seat{position:absolute;width:168px;height:91px;border:1px solid #dbdbdb;background:#fdfdfd;border-radius:8px;text-align:left;padding:12px 13px;color:#434343;box-shadow:0 3px 6px #47474703;opacity:1!important;overflow:hidden}.seat.empty-seat{background:#fafafa99;border:1px dashed #cecece;box-shadow:none}.seat-0{bottom:20px;left:50%;transform:translate(-50%)}.seat-1{right:17px;top:50%;transform:translateY(-50%)}.seat-2{top:18px;left:50%;transform:translate(-50%)}.seat-3{left:17px;top:50%;transform:translateY(-50%)}.seat-0:not(:disabled):active,.seat-2:not(:disabled):active{transform:translate(-50%,1px)}.seat-1:not(:disabled):active,.seat-3:not(:disabled):active{transform:translateY(calc(-50% + 1px))}.seat:not(:disabled):hover{background:#fff;border-color:#939393}.seat.your-seat{border:1px solid #7b7b7b;box-shadow:0 0 0 3px #dcdcdc40}.seat-wind{display:flex;align-items:center;gap:6px;margin-bottom:9px}.seat-wind>span{font-family:var(--serif);font-size:13px;line-height:1}.seat-wind small{font-size:7px;letter-spacing:1.2px;color:#7d7d7d}.seat-wind em{margin-left:auto;background:#ebebeb;color:#6d6d6d;font-size:8px;font-style:normal;padding:1px 4px;border-radius:2px;line-height:1.5}.seat-person{display:flex;align-items:center;gap:9px}.seat-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#ededed;color:#7d7d7d;font-size:13px;flex-shrink:0}.seat-avatar.dashed{background:transparent;border:1px dashed #cccccc;color:#7d7d7d}.seat-person>div{min-width:0}.seat-person strong{font-size:10px;display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:95px}.seat-person>div>span{display:block;font-size:8px;color:#7d7d7d;margin-top:5px}.occupied .seat-person>div>span{font-size:12px;letter-spacing:.3px;color:#606060}.seat .host-label{position:absolute;top:11px;right:12px;font-size:7px;color:#7d7d7d}.seat.your-seat .host-label{display:none}.riichi-indicator{margin-left:auto;width:19px;height:3px;background:#6d6d6d;border-radius:1px}.stage-bottom-label{position:absolute;bottom:7px;left:50%;transform:translate(-50%);font-size:7px;letter-spacing:1px;color:#7d7d7d;white-space:nowrap}.outside-bar{min-height:59px;display:flex;align-items:center;padding:13px 21px;gap:17px}.outside-label{display:flex;align-items:center;gap:6px;font-size:10px;flex-shrink:0;color:#7d7d7d}.outside-people{display:flex;gap:12px;flex-wrap:wrap;min-width:0}.outside-people .hint{font-size:9px}.outside-member{display:flex;align-items:center;gap:5px;font-size:9px}.outside-member i{font-style:normal;background:#efefef;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;font-size:9px}.outside-member small{font-size:8px;color:#7d7d7d}.outside-count{display:flex;gap:5px;align-items:center;margin-left:auto;white-space:nowrap;font-size:9px;color:#7d7d7d}.table-aside{display:flex;flex-direction:column;gap:19px}.scoreboard .card-heading{height:62px;padding:0 21px}.pill{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #e5e5e5;border-radius:4px;padding:3px 6px;font-size:8px;color:#7d7d7d;font-weight:400;line-height:1.4}.scoreboard-caption{display:flex;justify-content:space-between;color:#7d7d7d;font-size:8px;margin:2px 21px 9px}.scoreboard-players{padding:0 17px}.scoreboard-player{display:flex;align-items:center;gap:10px;padding:16px 4px;border-bottom:1px solid #efefef}.scoreboard-player:last-child{border-bottom:0}.score-rank{font-size:8px;color:#7d7d7d;width:13px;flex-shrink:0}.score-avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#f2f2f2;color:#7d7d7d;font-size:11px;font-family:var(--serif);flex-shrink:0}.score-player-name{min-width:0}.score-player-name strong{font-size:10px;font-weight:500;display:block;max-width:86px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#7c7c7c}.score-player-name strong small{font-size:7px;margin-left:4px;color:#7d7d7d}.score-player-name>span{display:block;color:#7d7d7d;font-size:6px;letter-spacing:1px;margin-top:4px}.scoreboard-player .points{margin-left:auto;font-size:16px;letter-spacing:-.5px;color:#696969;font-weight:500}.scoreboard-player .points:not(:only-child){min-width:51px;text-align:right}.scoreboard-player.self .score-avatar{background:#e8e8e8;color:#777}.scoreboard-basics{background:#f9f9f9;border-top:1px solid #efefef;display:flex;justify-content:space-between;padding:14px 24px;margin-top:4px}.scoreboard-basics>div{display:flex;flex-direction:column;gap:6px}.scoreboard-basics>div:last-child{text-align:right}.scoreboard-basics span{font-size:8px;color:#7d7d7d}.scoreboard-basics strong{font-size:13px;color:#7a7a7a;letter-spacing:.3px;font-weight:500}.rules-indicator{display:flex;align-items:center;padding:13px 22px;gap:7px;font-size:8px;color:#7d7d7d;border-top:1px solid #efefef}.rules-indicator button{margin-left:auto;display:grid;place-items:center;background:none;border:0;color:#7d7d7d}.quiet-card{border:1px solid var(--line);border-radius:9px;background:#f1f1f1;padding:18px 21px 15px}.quiet-card-heading{display:flex;align-items:center;gap:8px;color:#7d7d7d}.quiet-card-heading h3{font-size:10px;font-weight:500}.three-steps{display:flex;flex-direction:column;margin-top:16px;gap:13px}.three-steps>div{display:flex;align-items:center;gap:11px}.three-steps>div>span{font-size:8px;color:#7d7d7d;font-family:ui-monospace,monospace}.three-steps strong{font-size:10px;font-weight:400;color:#7d7d7d}.quiet-card>p{border-top:1px solid #e4e4e4;margin-top:16px;padding-top:11px;font-size:8px;letter-spacing:.2px;color:#7d7d7d}.bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) 303px;gap:22px;margin-top:22px}.actions-card,.activity-card{padding:20px 22px;overflow:visible}.section-label{display:flex;align-items:center;justify-content:space-between;font-weight:500;font-size:11px;gap:10px}.section-label>span{font-size:9px;color:#7d7d7d;font-weight:400}.action-buttons{display:flex;gap:10px;margin-top:19px}.score-action{display:flex;align-items:center;gap:11px;flex:1;min-width:0;padding:13px 12px;border:1px solid #e4e4e4;border-radius:6px;background:#fcfcfc;text-align:left;color:#7d7d7d}.score-action.primary{background:#353535;color:#f0f0f0;border-color:#353535;flex:1.6}.score-action:not(:disabled):hover{background:#f1f1f1}.score-action.primary:not(:disabled):hover{background:#4c4c4c}.score-action:disabled{opacity:.6;filter:grayscale(1)}.score-action strong{font-size:10px;font-weight:500;display:block;white-space:nowrap}.score-action small{font-size:7px;display:block;margin-top:5px;white-space:nowrap;opacity:.55}.score-action>svg:last-child{margin-left:auto}.action-tile{width:24px;height:31px;display:grid;place-items:center;border:1px solid #cccccc50;border-radius:3px;font-family:var(--serif);font-size:16px;box-shadow:0 2px #cbcbcb22}.action-stick{width:23px;height:4px;border:1px solid #aeaeae;display:block;transform:rotate(-50deg);position:relative;flex-shrink:0}.action-stick i{width:3px;height:3px;background:#a5a5a5;position:absolute;left:10px;top:-1px;border-radius:50%}.activity-list{margin-top:19px;display:flex;flex-direction:column;gap:15px}.activity-list>div{display:flex;align-items:center;gap:8px;font-size:9px;color:#7d7d7d}.activity-list i{width:4px;height:4px;flex-shrink:0;background:#bcbcbc;border-radius:50%}.activity-list>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-list time{margin-left:auto;font-size:8px;color:#7d7d7d;flex-shrink:0}.activity-empty{display:flex;gap:22px;align-items:center;margin-top:20px}.activity-empty p{font-size:9px;line-height:1.9;color:#7d7d7d}.tile-stack{height:43px;width:52px;position:relative;margin-left:6px;flex-shrink:0}.tile-stack i{height:36px;width:27px;border:1px solid #c5c5c5;border-radius:4px;background:#fafafa;position:absolute;transform:rotate(-17deg);top:2px;left:2px}.tile-stack i:nth-child(2){transform:rotate(5deg);left:10px;top:0}.tile-stack i:last-child{transform:rotate(23deg);left:22px;top:4px;font-size:22px;display:grid;place-items:center;font-style:normal;color:#7d7d7d;font-family:var(--serif);box-shadow:0 3px #eaeaea}.last-result{margin-top:15px;padding-top:13px;border-top:1px solid #ebebeb;display:flex;gap:10px;justify-content:space-between;align-items:center}.last-result>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.last-result strong{font-size:9px;font-weight:500;color:#7d7d7d}.last-result>div>span:last-child{font-size:8px;color:#7d7d7d}.last-result-dot{width:4px;height:4px;background:#a8a8a8;border-radius:50%}.last-result .text-button{font-size:9px;color:#777}.last-result .hint{font-size:8px;white-space:nowrap}.pending-banner{display:flex;align-items:center;gap:15px;background:#ebebeb;border:1px solid #d8d8d8;border-radius:8px;padding:16px 22px;margin-top:21px}.pending-icon{width:38px;height:38px;display:grid;place-items:center;background:#e1e1e1;border-radius:50%;color:#7d7d7d}.pending-banner strong{font-size:12px;color:#666;font-weight:500}.pending-banner p{font-size:10px;color:#7d7d7d;margin-top:5px}.pending-banner>.text-button{margin-left:auto}.pending-banner>.button:last-child{margin-left:auto}.finished-actions{display:flex;align-items:center;gap:13px;margin-top:20px;color:#848484}.finished-actions>div{display:flex;flex-direction:column;gap:6px;flex:1}.finished-actions strong{font-size:12px;font-weight:500}.finished-actions>div>span{font-size:9px;color:#7d7d7d}.finished-actions .button{font-size:10px;padding:8px 11px;min-height:35px}.recent-section{margin-top:28px}.recent-rooms{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.recent-rooms>button{display:flex;align-items:center;padding:14px;gap:12px;border:1px solid var(--line);border-radius:8px;background:#fcfcfc;text-align:left;min-width:0}.recent-rooms>button:hover{background:#fff}.recent-icon{width:32px;height:32px;display:grid;place-items:center;background:#f0f0f0;border-radius:6px;color:#7d7d7d;flex-shrink:0}.recent-rooms>button>div{display:flex;flex-direction:column;gap:6px;min-width:0}.recent-rooms strong{font-family:ui-monospace,monospace;font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis}.recent-rooms>button>div>span{font-size:8px;color:#7d7d7d}.recent-rooms>button>svg:last-child{margin-left:auto;color:#7d7d7d}.page-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:8px;color:#7d7d7d;margin-top:31px;padding:22px 0 25px;border-top:1px solid #e6e6e6;letter-spacing:.5px}.page-footer>span:first-child{display:flex;align-items:center;gap:8px}.footer-sumi{font-size:6px;letter-spacing:1.2px}.page-footer i{height:9px;width:1px;background:#dedede;margin:0 5px}.page-footer>span:last-child{font-size:6px;letter-spacing:1.6px}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%);background:#303030;color:#f1f1f1;box-shadow:0 8px 30px #22222225;padding:13px 21px;display:flex;align-items:center;gap:10px;z-index:200;border-radius:7px;font-size:11px;max-width:90vw;animation:toast-in .2s ease-out}.toast svg{flex-shrink:0}.spin{animation:spin .9s linear infinite}.boot,.fatal{min-height:100vh;display:flex;align-items:center;justify-content:center;color:#7d7d7d;font-family:var(--serif)}.fatal{flex-direction:column;gap:18px}.fatal .brand-seal{margin:0}.fatal h1{font-size:28px}.fatal p{font-size:13px}.fatal .button{margin-top:10px}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#1a1a1a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:32px;overflow:auto;animation:fade-in .16s ease-out}.modal{background:#fcfcfc;border-radius:14px;width:450px;max-width:100%;max-height:calc(100dvh - 64px);overflow:auto;padding:28px;box-shadow:0 25px 100px #16161630;animation:dialog-in .2s ease-out}.modal.wide{width:810px;padding:27px 29px 0}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.modal-heading h2{font-family:var(--serif);font-size:24px;font-weight:500;letter-spacing:1px;margin-top:5px}.modal-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.modal-heading>.icon-button{align-self:flex-start}.modal .segmented{margin-bottom:20px}.segmented{display:flex;gap:4px;background:#eee;border:1px solid #ebebeb;padding:4px;border-radius:7px}.segmented button{background:none;border:0;border-radius:4px;padding:10px 12px;flex:1;font-size:11px;color:#7d7d7d;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.segmented button.active{background:#fff;color:#525252;box-shadow:0 1px 4px #30303009}.segmented button>span{font-size:8px;color:#7d7d7d}.form-field{display:flex;flex-direction:column;gap:9px;margin:19px 0;font-size:11px;font-weight:500;position:relative;color:#6e6e6e}.form-field input,.form-field select,select{border:1px solid #e2e2e2;background:#fff;border-radius:5px;padding:11px 12px;width:100%;min-width:0;color:#5f5f5f;font-weight:400;font-size:12px;height:42px}.form-field input::placeholder,input::placeholder{color:#7d7d7d;font-size:11px}.form-field input:focus,select:focus{border-color:#a2a2a2;box-shadow:0 0 0 3px #ebebeb}.hint{font-size:9px;font-weight:400;color:#7d7d7d;line-height:1.85}.field-label{display:block;font-size:11px;font-weight:500;margin-bottom:12px;color:#7a7a7a}.form-section{margin-top:25px}.form-section>.hint{margin-top:10px}.form-section .segmented{margin:0}.form-error{background:#ebebeb;border:1px solid #d7d7d7;border-radius:5px;color:#6b6b6b;font-size:11px;line-height:1.7;padding:10px 12px;margin:14px 0}.note{display:flex;gap:8px;align-items:flex-start;background:#f1f1f1;color:#7d7d7d;border-radius:5px;font-size:10px;line-height:1.9;padding:11px 12px;margin:20px 0}.note svg{margin-top:2px;flex-shrink:0}.auth-illustration{height:115px;display:flex;align-items:center;justify-content:center;gap:33px;position:relative;isolation:isolate}.auth-tile{height:64px;width:44px;display:grid;place-items:center;border:1px solid #d0d0d0;border-bottom:5px solid #d0d0d0;border-radius:7px;font-family:var(--serif);font-size:35px;color:#838383;background:#fbfbfb;transform:rotate(-12deg)}.auth-illustration>svg{color:#7d7d7d;transform:rotate(9deg)}.auth-circle{position:absolute;z-index:-1;width:124px;height:124px;border:1px solid #ebebeb;border-radius:50%;transform:rotate(30deg);box-shadow:0 0 0 13px #f8f8f8,0 0 0 14px #f0f0f0}.auth-tabs{margin-top:24px}.auth-hint{display:flex;align-items:flex-start;gap:7px;margin:5px 0 20px}.auth-hint svg{flex-shrink:0;margin-top:1px}.optional{position:absolute;right:0;top:0;font-size:9px;font-weight:400;color:#7d7d7d}.privacy-note{font-size:9px;color:#7d7d7d;text-align:center;margin-top:18px;line-height:1.8}.mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mode-choices button{border:1px solid #e2e2e2;border-radius:7px;background:#fff;padding:18px;display:flex;flex-direction:column;align-items:flex-start;position:relative}.mode-choices .selected{border-color:#909090;background:#f6f6f6;box-shadow:0 0 0 1px #909090}.mode-kanji{font-family:var(--serif);font-size:30px;color:#7d7d7d;margin-bottom:9px}.mode-choices strong{font-size:12px;color:#757575}.mode-choices button>span:not(.mode-kanji){font-size:9px;color:#7d7d7d;margin-top:7px}.mode-choices small{font-size:8px;border:1px solid #e5e5e5;color:#7d7d7d;border-radius:3px;padding:2px 5px;margin-top:12px}.mode-choices svg{position:absolute;right:13px;top:15px;color:#7d7d7d}.room-code-input{font-family:ui-monospace,monospace;letter-spacing:1px!important;font-size:18px!important;height:49px!important}.profile-card{display:flex;align-items:center;gap:14px;background:#f2f2f2;border-radius:8px;padding:17px}.profile-avatar{width:45px;height:45px;display:grid;place-items:center;background:#e5e5e5;border-radius:50%;font-family:var(--serif);font-size:20px;color:#7d7d7d}.profile-card>div{display:flex;flex-direction:column;gap:7px}.profile-card strong{font-size:14px;color:#767676}.profile-card>div>span{font-size:9px;color:#7d7d7d}.profile-card>svg{margin-left:auto;color:#7d7d7d}.uid-field{display:flex;flex-direction:column;gap:8px;padding:10px 0;color:#7d7d7d;font-size:9px}.uid-field code{font-size:10px;word-break:break-all;color:#7d7d7d}.logout{display:flex;margin:17px auto 0;color:#7d7d7d;font-size:10px}.dialog-description{font-size:12px;line-height:1.9;color:#7d7d7d;margin:0 0 19px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.finish-ranking{margin:20px 0}.finish-ranking>div{display:flex;align-items:center;gap:16px;padding:14px 4px;border-bottom:1px solid #eaeaea;font-size:12px;color:#848484}.finish-ranking .rank-number{font-size:10px;color:#7d7d7d}.finish-ranking b{margin-left:auto;font-size:17px;font-weight:500}.tenpai-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tenpai-grid button{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e6e6e6;border-radius:5px;padding:12px;font-size:11px;position:relative;color:#7d7d7d}.tenpai-grid button.selected{background:#f1f1f1;border-color:#aeaeae}.tenpai-grid small{font-size:8px;margin-left:auto}.tenpai-grid svg{position:absolute;right:7px;top:5px;width:9px}.wind-tag{font-family:var(--serif);color:#7d7d7d;font-size:16px}.player-select{display:flex;gap:9px;flex-wrap:wrap}.player-select button{border:1px solid #e5e5e5;background:#fff;color:#7d7d7d;display:flex;align-items:center;gap:8px;padding:10px 11px;border-radius:6px;font-size:11px;flex:1;min-width:100px}.player-select button.selected{background:#f2f2f2;border-color:#a5a5a5;color:#818181}.player-select button>svg{margin-left:auto}.mini-avatar{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#ededed;color:#7d7d7d;font-size:10px;flex-shrink:0}.delta-list{border-top:1px solid #e7e7e7;margin-top:16px;padding-top:5px}.delta-list>div{display:flex;align-items:center;gap:8px;padding:10px 0;color:#7d7d7d;font-size:10px}.delta-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:85px}.delta{margin-left:auto;color:#7d7d7d;font-size:11px}.delta.positive{color:#737373;font-weight:600}.result-total{min-width:57px;text-align:right;font-size:11px;color:#7d7d7d}.claim-summaries>div{display:flex;align-items:center;gap:10px;background:#f4f4f4;border-radius:6px;padding:13px;margin:9px 0}.claim-summaries strong{font-size:11px;color:#7f7f7f}.claim-summaries p{font-size:9px;line-height:1.8;color:#7d7d7d;max-width:230px;margin-top:4px}.claim-summaries b{margin-left:auto;font-size:10px;color:#7d7d7d;white-space:nowrap}.wizard-steps{display:flex;border-bottom:1px solid #e9e9e9;gap:24px;padding-bottom:15px;margin-bottom:22px}.wizard-steps button{display:flex;align-items:center;gap:9px;flex:1;position:relative;padding:0;background:none;border:0;font-size:11px;color:#7d7d7d;text-align:left}.wizard-steps button>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #e7e7e7;border-radius:50%;font-size:8px}.wizard-steps button.current{color:#6d6d6d}.wizard-steps button.current>span{color:#f7f7f7;background:#737373;border-color:#737373}.wizard-steps button.done>span{background:#eee;color:#7d7d7d}.wizard-content{min-height:310px}.win-methods{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 24px}.method{border:1px solid #e6e6e6;background:#fff;border-radius:8px;display:flex;align-items:flex-start;flex-direction:column;gap:11px;position:relative;padding:23px;color:#7d7d7d}.method.selected{border-color:#989898;background:#f6f6f6;box-shadow:0 0 0 1px #989898}.method>strong{font-family:var(--serif);font-size:24px;font-weight:400;color:#6c6c6c}.method>span{font-size:10px;color:#7d7d7d}.method i,.yaku-option i{display:grid;place-items:center;position:absolute;top:15px;right:15px;width:17px;height:17px;border:1px solid #e2e2e2;border-radius:50%;color:#858585}.method.selected i{background:#ebebeb;border-color:#b3b3b3}.wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:13px;border-top:1px solid #e8e8e8;padding:19px 0 23px;margin-top:24px;background:#fcfcfc;position:sticky;bottom:0;z-index:2}.selection-total{font-size:9px;color:#7d7d7d;margin-left:auto}.wizard-footer .button{font-size:11px;min-height:38px}.yaku-toolbar{display:flex;align-items:center;gap:15px;margin:0 0 17px}.filter-tabs{display:flex;gap:22px;align-items:center;white-space:nowrap}.filter-tabs button{position:relative;background:none;border:0;padding:10px 0;font-size:11px;color:#7d7d7d}.filter-tabs button.active{font-weight:500;color:#737373}.filter-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;background:#878787;height:2px;border-radius:2px}.search-field{display:flex;align-items:center;gap:6px;border:1px solid #eaeaea;border-radius:5px;padding:8px 10px;background:#fff;color:#7d7d7d;min-width:0}.yaku-toolbar .search-field{width:148px;margin-left:auto}.search-field input{min-width:0;width:100%;border:0;background:none;color:#7d7d7d;font-size:10px}.search-field input::placeholder{font-size:9px;color:#7d7d7d}.yaku-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:330px;overflow:auto;padding:1px 1px 5px}.yaku-option{background:#fff;position:relative;text-align:left;border:1px solid #e8e8e8;border-radius:6px;padding:13px 12px 12px;min-height:93px}.yaku-option.selected{background:#f3f3f3;border-color:#a9a9a9}.yaku-option>div{display:flex;align-items:center;justify-content:space-between;gap:7px;padding-right:19px}.yaku-option strong{font-weight:500;font-size:11px;color:#7d7d7d}.yaku-option>div>span{font-size:8px;color:#7d7d7d;white-space:nowrap}.yaku-option p{font-size:8px;line-height:1.8;color:#7d7d7d;margin-top:9px;padding-right:3px}.yaku-option i{width:13px;height:13px;top:13px;right:10px;border-radius:3px}.yaku-option.selected i{background:#b1b1b1;border-color:#b1b1b1;color:#fff}.selected-yaku{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:16px 0 10px}.selected-yaku>span{font-size:9px;color:#7d7d7d;margin-right:3px}.selected-yaku>button{display:flex;align-items:center;gap:6px;border:1px solid #e2e2e2;background:#f4f4f4;border-radius:4px;padding:4px 7px;font-size:9px;color:#7d7d7d}.bonus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:19px;padding-top:16px;border-top:1px solid #eaeaea}.counter{display:flex;align-items:center;justify-content:space-between;gap:5px}.counter>div:first-child>span{font-size:10px;color:#7d7d7d}.counter small{display:block;font-size:7px;color:#7d7d7d;margin-top:5px}.counter-controls{display:flex;align-items:center;gap:10px}.counter-controls button{display:grid;place-items:center;width:22px;height:22px;background:#fff;border:1px solid #e5e5e5;border-radius:4px;color:#7d7d7d}.counter-controls strong{font-weight:500;font-size:12px;color:#7d7d7d;width:12px;text-align:center}.counter.muted{opacity:.55}.scoring-layout{display:grid;grid-template-columns:minmax(0,1fr) 277px;gap:24px}.shape-panel .section-label{margin-bottom:17px}.shape-panel .section-label>span{font-size:8px}.small-segment.segmented{padding:3px;margin-bottom:15px}.small-segment.segmented button{font-size:9px;padding:8px}.fixed-fu{border:1px dashed #dbdbdb;display:flex;flex-direction:column;gap:14px;align-items:center;padding:30px 15px;border-radius:7px;background:#f8f8f8;color:#7d7d7d}.fixed-fu strong{font-size:12px;font-weight:500;color:#7d7d7d}.fixed-fu p{font-size:9px;color:#7d7d7d}.shape-fields{display:grid;grid-template-columns:minmax(0,1.4fr) 1fr;gap:10px}.shape-fields label{font-size:9px;color:#7d7d7d}.shape-fields select{font-size:9px;height:34px;padding:7px;margin-top:7px;color:#7d7d7d}.meld-list{display:flex;flex-direction:column;margin-top:15px}.meld-row{padding:10px 0;border-bottom:1px solid #e9e9e9}.meld-row>div:first-child{display:flex;align-items:center;gap:10px}.meld-no{font-size:8px;color:#7d7d7d;min-width:16px}.meld-row select{font-size:10px;height:30px;padding:5px 7px;max-width:110px}.checkbox{display:flex;align-items:center;gap:5px;font-size:9px;color:#7d7d7d;cursor:pointer;white-space:nowrap}.checkbox input{accent-color:#919191;width:12px;height:12px;margin:0}.meld-options{display:flex;flex-wrap:wrap;gap:13px;margin-top:9px;padding-left:26px}.fu-details{font-size:9px;color:#7d7d7d;margin-top:19px}.fu-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;margin-bottom:8px}.fu-details>div{display:flex;justify-content:space-between;line-height:2.3;color:#7d7d7d}.liability-field{display:flex;align-items:center;gap:12px;color:#7d7d7d;font-size:10px;margin-top:16px}.liability-field select{font-size:10px;height:34px;padding:6px;flex:1}.score-preview{background:#f5f5f5;border:1px solid #e9e9e9;border-radius:7px;padding:20px 18px}.score-preview .eyebrow{font-size:7px;color:#7d7d7d;letter-spacing:1.4px}.score-preview h3{font-size:11px;color:#7d7d7d;font-weight:400;margin-top:10px}.score-hero{display:flex;align-items:baseline;justify-content:flex-start;gap:6px;margin-top:13px;min-height:43px;color:#7d7d7d}.score-hero>strong{font-size:35px;font-weight:500;letter-spacing:-1px}.score-hero>span{font-size:10px;color:#7d7d7d}.score-hero .score-dash{font-size:33px}.han-fu{font-size:10px;color:#7d7d7d;margin:7px 0 18px}.score-yaku{border-top:1px solid #e6e6e6;padding-top:10px}.score-yaku>div{display:flex;justify-content:space-between;gap:7px;font-size:8px;line-height:2.2;color:#7d7d7d}.score-yaku b{font-weight:400;color:#7d7d7d}.score-preview .delta-list{margin-top:10px}.score-preview .delta-list>div{font-size:8px;padding:8px 0}.score-preview .delta-name{max-width:64px}.score-preview .mini-avatar{height:19px;width:19px;font-size:8px}.score-preview .delta{font-size:9px}.score-preview .result-total{font-size:9px;min-width:40px}.score-preview .hint{font-size:7px;margin-top:9px;color:#7d7d7d}.multi-ron{padding:14px;background:#f7f7f7;white-space:normal;line-height:1.7;margin-top:20px;font-size:10px;border-radius:5px}.empty-state{border:1px solid var(--line);border-radius:11px;background:#fff;padding:74px 20px;display:flex;align-items:center;flex-direction:column;text-align:center}.empty-icon{height:76px;width:76px;display:grid;place-items:center;background:#f4f4f4;color:#7d7d7d;border-radius:50%;margin-bottom:25px}.empty-state h2{font-family:var(--serif);font-size:24px;font-weight:400;letter-spacing:1px;color:#7d7d7d}.empty-state p{font-size:11px;color:#7d7d7d;margin-top:14px;line-height:1.8}.empty-state .button{margin-top:24px}.history-intro{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;color:#7d7d7d;font-size:11px}.history-table-head,.history-row{display:grid;grid-template-columns:minmax(180px,1.7fr) 1fr 1fr 1fr 20px;align-items:center;gap:20px;padding:19px 26px}.history-table-head{background:#f8f8f8;color:#7d7d7d;font-size:9px;border-bottom:1px solid #eaeaea}.history-row{background:#fff;border:0;border-bottom:1px solid #ededed;width:100%;text-align:left;color:#7d7d7d;font-size:11px;min-height:90px}.history-row:last-child{border:0}.history-row:hover{background:#fafafa}.history-row strong{font-family:ui-monospace,monospace;font-size:13px;display:flex;gap:11px;align-items:center;font-weight:500;color:#7d7d7d}.history-row small{display:block;font-size:9px;margin-top:8px;color:#7d7d7d}.history-status{display:inline-block;font-family:inherit;letter-spacing:0;font-size:7px;background:#f4f4f4;border-radius:3px;padding:3px 6px;color:#7d7d7d;white-space:nowrap}.history-status.ongoing{background:#eee;color:#7d7d7d}.placing{display:flex;gap:7px;align-items:center;font-size:11px;color:#7d7d7d}.placing.first{color:#7d7d7d}.history-score>strong{font-family:inherit;letter-spacing:.2px;font-size:18px;font-weight:500}.history-score>small{font-size:8px}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:20px;color:#7d7d7d;font-size:10px}.history-footnote{font-size:9px;color:#7d7d7d;line-height:1.8;text-align:center;margin-top:24px}.loading-area{padding:70px;display:flex;align-items:center;justify-content:center;gap:12px;color:#7d7d7d;font-size:11px}.match-meta{display:flex;gap:12px;font-size:9px;color:#7d7d7d}.match-ranking{display:grid;grid-template-columns:repeat(4,1fr);background:#f6f6f6;border:1px solid #e8e8e8;border-radius:7px;margin-top:18px;padding:18px 6px}.match-ranking>div{padding:0 17px;display:flex;flex-direction:column;border-right:1px solid #e8e8e8;gap:9px}.match-ranking>div:last-child{border:0}.match-ranking>div>span{font-size:8px;color:#7d7d7d}.match-ranking strong{font-size:11px;font-weight:500;color:#7d7d7d;word-break:break-all}.match-ranking b{font-size:21px;font-weight:500;letter-spacing:-.5px;color:#7d7d7d}.match-ranking small{font-size:8px;color:#7d7d7d}.timeline-heading{margin:27px 0 19px}.match-timeline{display:flex;flex-direction:column;gap:14px;padding-bottom:25px}.hand-log{border:1px solid #e8e8e8;border-radius:7px;background:#fff;padding:18px}.hand-log.voided{opacity:.5}.hand-log-title{display:flex;align-items:center;gap:10px}.log-icon{width:32px;height:32px;background:#f5f5f5;color:#7d7d7d;border-radius:5px;display:grid;place-items:center}.hand-log h3{font-size:11px;color:#7d7d7d;font-weight:500}.hand-log-title>div>span{font-size:8px;color:#7d7d7d;display:block;margin-top:6px}.hand-log-title>.pill{margin-left:auto;font-size:8px}.log-claims{margin-top:12px}.log-claims strong{font-size:11px;font-weight:500;color:#7d7d7d}.log-claims>div>span{font-size:9px;margin-left:13px;color:#7d7d7d}.log-claims p{font-size:9px;line-height:1.9;color:#7d7d7d;margin-top:8px}.hand-log>.hint{margin-top:12px}.rules-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.rules-feature{display:flex;align-items:center;gap:20px;background:#f3f3f3;border:1px solid #e5e5e5;border-radius:9px;padding:27px;color:#7d7d7d}.rules-feature h2{font-family:var(--serif);font-size:24px;font-weight:400;color:#7d7d7d}.rules-feature p{font-size:11px;color:#7d7d7d;margin-top:12px}.rules-feature>span{font-size:9px;writing-mode:vertical-rl;letter-spacing:2px;margin-left:auto;color:#7d7d7d}.rules-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:21px}.rule-block{position:relative;border:1px solid #e7e7e7;background:#fff;border-radius:8px;padding:25px 25px 23px 61px}.rule-block>span{position:absolute;left:23px;top:26px;font-size:10px;color:#7d7d7d}.rule-block h3{font-size:13px;font-weight:500;color:#7d7d7d}.rule-block p{font-size:10px;line-height:2.2;color:#7d7d7d;margin-top:13px}.rules-source{font-size:8px;line-height:2;color:#7d7d7d;margin-top:23px}.rules-source a{display:inline-flex;align-items:center;gap:3px;text-decoration:underline;text-underline-offset:3px;margin:0 4px}.rules-search{max-width:400px;margin-bottom:23px;padding:12px}.reference-yaku{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.reference-yaku article{border:1px solid #e6e6e6;background:#fff;border-radius:7px;padding:20px;display:flex;flex-direction:column}.reference-yaku article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.reference-yaku h3{font-size:13px;font-weight:500;color:#7d7d7d}.reference-yaku article>div>span{font-size:9px;color:#7d7d7d;white-space:nowrap}.reference-yaku p{font-size:10px;line-height:2;color:#7d7d7d;margin:13px 0}.reference-yaku small{margin-top:auto;font-size:8px;color:#7d7d7d}.score-reference{padding:28px}.score-reference>.section-label{font-size:13px}.score-reference .segmented{width:150px;margin:0}.score-reference table{width:100%;border-collapse:collapse;margin:22px 0;text-align:left}.score-reference th,.score-reference td{padding:18px 16px;border-bottom:1px solid #e6e6e6;font-weight:400;font-size:12px;color:#7d7d7d}.score-reference thead th{font-size:10px;color:#7d7d7d;background:#f6f6f6}.score-reference tbody th{font-size:11px;color:#7d7d7d}.limit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.limit-grid>div{display:flex;flex-direction:column;gap:12px;background:#f6f6f6;border-radius:5px;padding:19px;color:#7d7d7d}.limit-grid strong{font-size:12px;font-weight:500;color:#7d7d7d}.limit-grid>div>span{font-size:9px}.limit-grid b{font-size:22px;font-weight:500;color:#7d7d7d}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes toast-in{0%{opacity:0;bottom:20px}to{opacity:1;bottom:30px}}@media(min-width:1450px){.table-stage{height:490px}.mahjong-table{width:254px;height:214px}.seat{width:182px;height:96px}.seat-1{right:26px}.seat-3{left:26px}.table-grid,.bottom-grid{grid-template-columns:minmax(0,1fr) 320px}.quiet-card{padding:21px 24px}.three-steps{gap:16px}.table-aside{gap:23px}.scoreboard-player{padding:18px 4px}}@media(max-width:1250px){.main-content{padding:31px 26px 0}.topbar{padding:0 26px;gap:18px}.topbar-description{display:none}.table-grid,.bottom-grid{grid-template-columns:minmax(0,1fr) 270px;gap:17px}.table-stage{height:464px}.mahjong-table{width:194px;height:178px;padding:10px}.waiting-title{font-size:20px;letter-spacing:1px}.table-inner{padding:13px 2px 4px}.table-brand{top:9px;font-size:8px}.round-eyebrow{font-size:5px;margin-top:14px}.round-title{font-size:30px;margin:8px 0 12px}.seat{width:145px;height:85px;padding:11px}.seat-1{right:13px}.seat-3{left:13px}.seat-person{gap:7px}.seat-avatar{width:26px;height:26px}.seat-person strong{max-width:85px;font-size:9px}.seat-person>div>span{font-size:7px}.occupied .seat-person>div>span{font-size:11px}.seat-wind{margin-bottom:8px}.action-buttons{gap:8px}.score-action{padding:12px 9px;gap:8px}.score-action strong{font-size:9px}.score-action small{font-size:6px}.score-action>svg:last-child{width:16px}.actions-card,.activity-card{padding:18px}.scoreboard-player{gap:7px}.scoreboard-player .points{font-size:15px}.scoreboard-players{padding:0 15px}.recent-rooms{grid-template-columns:repeat(3,1fr)}}@media(max-width:1050px){.sidebar{width:65px}.app-main{margin-left:65px}.brand-seal{width:34px;height:40px;font-size:27px}.sidebar nav a.active:before{left:-11px}.topbar{height:77px}.top-nav{gap:23px}.page-heading h1{font-size:30px}.page-heading .eyebrow{font-size:7px;letter-spacing:1.4px}.heading-actions{gap:8px}.heading-actions .button{padding:9px 12px;font-size:10px}.table-grid{grid-template-columns:minmax(0,1fr)}.table-aside{display:grid;grid-template-columns:minmax(0,1.6fr) 1fr;align-items:stretch}.scoreboard .card-heading{height:48px}.scoreboard-caption{display:none}.scoreboard-players{display:grid;grid-template-columns:1fr 1fr;padding:0 18px;gap:0 20px}.scoreboard-player{border-bottom:1px solid #efefef;padding:11px 0}.scoreboard-basics{display:none}.rules-indicator{padding:10px 20px;margin-top:7px}.quiet-card{padding:16px 20px}.three-steps{margin-top:15px;gap:11px}.quiet-card>p{margin-top:13px;padding-top:11px;font-size:7px}.table-stage{height:464px}.mahjong-table{width:240px;height:205px}.round-eyebrow{font-size:6px}.waiting-title{font-size:24px}.round-title{font-size:36px}.seat{width:178px;height:91px;padding:12px 14px}.seat-1{right:28px}.seat-3{left:28px}.seat-person strong{font-size:11px;max-width:105px}.seat-avatar{height:29px;width:29px}.seat-person>div>span{font-size:8px}.occupied .seat-person>div>span{font-size:12px}.bottom-grid{grid-template-columns:minmax(0,1fr) 250px;gap:17px}.action-buttons{flex-wrap:wrap}.score-action.primary{flex:1 1 100%}.score-action{flex:1;min-height:49px}.score-action strong{font-size:10px}.score-action small{font-size:7px}.action-tile{width:20px;height:26px;font-size:15px}.activity-list{margin-top:27px;gap:20px}.activity-empty{margin-top:32px;gap:15px}.recent-rooms{grid-template-columns:repeat(3,1fr)}.page-footer>span:last-child{font-size:5px}.history-table-head,.history-row{grid-template-columns:minmax(150px,1.6fr) .7fr .8fr 1fr 15px;padding:19px;gap:13px}.rule-block{padding-left:52px}.rule-block>span{left:20px}}@media(max-width:800px){.topbar{padding:0 22px}.top-nav{display:none}.account-button{margin-left:auto;border:0}.topbar-description{display:block;font-size:9px}.topbar-divider{display:none}.main-content{padding:28px 22px 0}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:17px;margin-bottom:24px}.page-heading h1{font-size:29px;letter-spacing:1.5px}.heading-actions{padding:0;margin-left:auto}.table-stage{height:449px}.mahjong-table{width:200px;height:182px}.waiting-title{font-size:21px}.seat{width:145px;height:85px;padding:11px 12px}.seat-1{right:13px}.seat-3{left:13px}.seat-person strong{font-size:10px;max-width:83px}.seat-avatar{height:24px;width:24px}.seat-person>div>span{font-size:7px}.outside-bar{padding:12px 17px;gap:12px}.outside-label{font-size:9px}.table-aside{grid-template-columns:minmax(0,1.6fr) 1fr;gap:16px}.scoreboard-players{padding:0 14px;gap:0 10px}.scoreboard-player{gap:7px}.score-rank{font-size:7px;width:10px}.score-avatar{width:22px;height:22px;font-size:9px}.score-player-name strong{font-size:9px;max-width:70px}.scoreboard-player .points{font-size:13px;min-width:40px}.scoreboard-player .points:not(:only-child){min-width:43px}.quiet-card{padding:16px}.quiet-card-heading h3,.three-steps strong{font-size:9px}.quiet-card>p{font-size:6px}.bottom-grid{grid-template-columns:minmax(0,1.6fr) 1fr;gap:16px}.activity-empty{gap:8px;flex-direction:column;align-items:flex-start;margin-top:21px}.activity-empty p{font-size:8px}.activity-list>div{font-size:8px}.activity-list{gap:18px;margin-top:23px}.activity-card>.section-label>span{display:none}.recent-rooms{grid-template-columns:1fr 1fr}.modal-backdrop{padding:20px}.modal,.modal.wide{max-height:calc(100dvh - 40px);padding:23px}.modal.wide{padding-bottom:0}.modal-heading h2{font-size:23px}.scoring-layout{grid-template-columns:minmax(0,1fr) 235px;gap:17px}.score-preview{padding:17px 14px}.shape-fields{grid-template-columns:1fr}.shape-fields select{margin-top:5px}.shape-panel .section-label>span{display:none}.yaku-grid{grid-template-columns:repeat(2,1fr)}.yaku-toolbar{gap:10px}.filter-tabs{gap:18px}.filter-tabs button{font-size:10px}.bonus-grid{gap:11px}.counter{flex-direction:column;align-items:flex-start;gap:12px}.counter-controls{width:100%;justify-content:space-between;max-width:105px}.wizard-steps{gap:15px}.pending-banner{padding:15px;gap:10px}.pending-banner p{font-size:8px}.pending-banner strong{font-size:10px}.pending-icon{height:30px;width:30px;flex-shrink:0}.pending-banner .button{font-size:9px;padding:8px 12px;min-height:34px}.pending-banner>.text-button{font-size:8px}.history-row,.history-table-head{grid-template-columns:minmax(125px,1.5fr) .6fr .7fr 1fr 12px;gap:12px}.history-status{display:none}.history-score strong{font-size:17px}.history-row>span{font-size:10px}.history-row strong{font-size:12px}.rules-feature h2{font-size:21px}.rules-feature p{font-size:10px}.reference-yaku{grid-template-columns:1fr 1fr}.rule-block{padding:22px 20px}.rule-block>span{position:static;display:block;margin-bottom:12px;font-size:9px}.rule-block p{font-size:10px}.match-ranking>div{padding:0 10px}.match-ranking b{font-size:19px}.limit-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.sidebar{width:53px}.app-main{margin-left:53px}.brand-seal{width:29px;height:35px;font-size:23px;margin-top:22px;margin-bottom:33px;border-radius:5px}.sidebar nav a{width:34px;height:37px;border-radius:7px}.sidebar nav a.active:before{left:-10px;width:2px;height:17px}.sidebar nav a svg{width:18px}.sidebar nav{gap:14px}.sidebar-bottom{gap:21px;padding:23px 0}.side-user{width:29px;height:29px;font-size:11px}.side-help svg{width:18px}.topbar{height:76px;padding:0 17px;gap:10px}.wordmark{gap:7px}.wordmark strong{font-size:21px;letter-spacing:1px}.wordmark>span{font-size:7px;letter-spacing:2px}.topbar-description{display:none}.account-button{font-size:9px;padding-left:6px;gap:6px;max-width:140px}.account-button>span:not(.account-avatar){max-width:75px}.account-avatar{height:24px;width:24px;font-size:9px}.account-button svg:last-child{width:12px}.main-content{padding:24px 16px 0}.page-heading h1{font-size:27px;letter-spacing:1px;margin-top:8px}.page-heading .eyebrow{font-size:5px;letter-spacing:1.3px}.page-heading p{font-size:10px;line-height:1.8;margin-top:6px;letter-spacing:.2px}.heading-actions{width:100%;margin-left:0;gap:8px}.heading-actions .button{font-size:10px;min-height:36px;flex:1;padding:8px 10px}.heading-actions .button svg{width:14px}.page-heading{gap:16px}.table-card{border-radius:8px}.card-heading{padding:0 13px;height:49px}.card-heading h2{font-size:10px}.table-title{gap:7px}.room-code{font-size:8px;gap:4px;padding:3px 5px;max-width:100px}.room-code svg{width:10px}.table-card-status{font-size:8px;gap:4px}.connection{gap:3px;font-size:7px}.connection svg{width:10px}.table-card-status .end-button{height:20px;width:20px}.table-card-status .end-button svg{width:12px}.table-stage{height:456px}.mahjong-table{width:145px;height:145px;top:49%;padding:8px;border-radius:7px;box-shadow:0 4px #e2e2e2,0 10px 20px -13px #42424240}.table-inner{padding:12px 1px 4px}.table-brand{font-size:6px;letter-spacing:3px;top:7px}.round-eyebrow{font-size:4px;letter-spacing:1px;margin-top:10px}.waiting-title{font-size:15px;letter-spacing:1px;margin:5px 0 6px}.table-inner>p{font-size:7px}.start-button{font-size:7px;padding:5px 6px;gap:3px;min-height:24px;margin-top:7px}.start-button svg{width:10px}.center-status{font-size:5px;margin-top:8px}.mat-wind{font-size:7px}.mat-east{bottom:3px}.round-title{font-size:25px;letter-spacing:3px;margin:7px 0 9px}.table-counters{font-size:6px;gap:8px}.stick{width:14px;height:3px}.stick:after{left:6px;top:1px;width:1px;height:1px}.stick.honba:after{box-shadow:-3px 0 #313131,3px 0 #313131}.table-counters>span{gap:3px}.seat{width:112px;height:78px;padding:9px}.seat-0{bottom:34px}.seat-2{top:28px}.seat-1{right:10px;top:auto;bottom:132px;transform:none}.seat-3{left:10px;top:134px;transform:none}.seat-1:not(:disabled):active,.seat-3:not(:disabled):active{transform:translateY(1px)}.seat-wind{margin-bottom:8px;gap:5px}.seat-wind>span{font-size:11px}.seat-wind small{font-size:5px;letter-spacing:.8px}.seat-wind em{font-size:6px}.seat-person{gap:6px}.seat-avatar{width:22px;height:22px;font-size:10px}.seat-avatar svg{width:13px}.seat-person strong{font-size:8px;max-width:65px}.seat-person>div>span{font-size:5px;margin-top:4px}.occupied .seat-person>div>span{font-size:10px}.seat .host-label{font-size:5px;right:8px;top:10px}.stage-label{font-size:5px;top:18px;left:13px;letter-spacing:1px}.corner-mark{height:8px;width:8px}.top-left{left:10px;top:11px}.top-right{right:10px;top:11px}.bottom-left{left:10px;bottom:11px}.bottom-right{right:10px;bottom:11px}.stage-bottom-label{font-size:5px;bottom:12px;letter-spacing:.7px}.outside-bar{padding:11px 12px;gap:9px;min-height:48px}.outside-label{font-size:8px;gap:4px}.outside-label svg{width:12px}.outside-people .hint{font-size:7px;line-height:1.7}.outside-count{font-size:7px;gap:3px}.outside-count svg{width:11px}.outside-people{gap:7px}.outside-member{font-size:7px;gap:4px}.outside-member i{width:18px;height:18px;font-size:7px}.outside-member small{font-size:6px}.table-aside{display:flex;flex-direction:column;gap:14px}.scoreboard .card-heading{height:47px;padding:0 15px}.scoreboard-players{gap:0 16px;padding:0 15px}.scoreboard-player{padding:14px 0;gap:7px}.scoreboard-player .points{font-size:14px}.score-player-name strong{font-size:9px}.score-player-name>span{font-size:5px}.score-avatar{width:24px;height:24px;font-size:10px}.rules-indicator{font-size:8px;padding:11px 17px}.rules-indicator svg{width:12px}.quiet-card{display:none}.table-grid{gap:16px}.bottom-grid{grid-template-columns:1fr;gap:15px;margin-top:16px}.actions-card,.activity-card{padding:17px 15px}.action-buttons{gap:8px;margin-top:17px}.score-action.primary{flex:1 1 100%;min-height:53px}.score-action{padding:12px;gap:13px}.score-action strong{font-size:11px}.score-action small{font-size:7px}.section-label{font-size:10px}.section-label>span{font-size:7px}.activity-card>.section-label>span{display:inline}.activity-empty{flex-direction:row;align-items:center;gap:20px;margin-top:19px}.activity-empty p{font-size:9px}.activity-list{gap:13px;margin-top:19px}.activity-list>div{font-size:9px}.activity-list time{font-size:7px}.page-footer{margin-top:25px;flex-direction:column;align-items:flex-start;gap:12px;padding:18px 0 21px;font-size:7px}.page-footer>span:last-child{font-size:5px}.recent-section{margin-top:23px}.recent-rooms{gap:9px;margin-top:12px}.recent-rooms>button{gap:8px;padding:11px 9px}.recent-rooms strong{font-size:9px}.recent-icon{height:25px;width:25px}.recent-icon svg{width:14px}.recent-rooms>button>div>span{font-size:6px}.recent-rooms>button>svg:last-child{width:12px}.last-result{flex-wrap:wrap;gap:7px}.last-result strong{font-size:8px}.last-result>div>span:last-child{font-size:7px}.last-result .text-button{font-size:8px}.pending-banner{padding:13px 12px;flex-wrap:wrap;gap:10px}.pending-banner>div:nth-child(2){flex:1}.pending-banner strong{font-size:9px}.pending-banner p{font-size:7px;line-height:1.7}.pending-icon{height:26px;width:26px}.pending-icon svg{width:16px}.pending-banner .button{margin-left:auto!important}.finished-actions{flex-wrap:wrap}.finished-actions>div{min-width:150px}.finished-actions strong{font-size:11px}.finished-actions>div>span{font-size:8px}.finished-actions .button{flex:1;font-size:10px}.toast{font-size:10px;bottom:20px;padding:12px 16px;max-width:calc(100vw - 25px);width:max-content;white-space:normal;line-height:1.7}.modal-backdrop{padding:12px;align-items:center}.modal{padding:23px 20px;width:100%;border-radius:11px;max-height:calc(100dvh - 24px)}.modal.wide{padding:21px 17px 0;max-height:calc(100dvh - 24px)}.modal-heading{margin-bottom:20px}.modal-heading h2{font-size:21px}.modal-heading .eyebrow{font-size:7px;letter-spacing:1px}.modal-heading>.icon-button{height:25px;width:25px}.modal-heading>.icon-button svg{width:18px}.auth-illustration{height:95px}.auth-tile{height:54px;width:37px;font-size:29px}.auth-illustration>svg{width:43px}.auth-circle{width:95px;height:95px}.auth-tabs{margin-top:20px}.segmented button{font-size:10px;padding:9px 6px}.form-field{font-size:10px;margin:19px 0;gap:8px}.form-field input,.form-field select{font-size:11px}.hint{font-size:8px}.auth-hint{font-size:9px}.privacy-note{font-size:8px}.button{font-size:11px}.form-error{font-size:10px}.mode-choices button{padding:15px}.mode-choices strong{font-size:11px}.mode-choices button>span:not(.mode-kanji){font-size:8px}.mode-choices small{font-size:7px}.note{font-size:9px;padding:11px;line-height:1.8}.form-section{margin-top:23px}.field-label{font-size:10px}.wizard-steps{gap:10px;margin-bottom:21px;padding-bottom:14px}.wizard-steps button{font-size:9px;gap:6px}.wizard-steps button>span{height:21px;width:21px;font-size:7px;flex-shrink:0}.wizard-content{min-height:280px}.win-methods{gap:11px;margin-top:17px}.method{padding:20px 16px;gap:10px}.method>svg{width:25px}.method>strong{font-size:24px}.method>span{font-size:8px;line-height:1.7}.method i{height:15px;width:15px;right:12px;top:13px}.player-select{gap:8px}.player-select button{font-size:9px;min-width:80px;padding:9px;gap:6px}.mini-avatar{width:22px;height:22px;font-size:9px}.form-section .segmented button{flex-direction:column;gap:5px;padding:11px 7px;font-size:11px}.segmented button>span{font-size:7px}.wizard-footer{padding:16px 0 18px;gap:9px;margin-top:22px}.wizard-footer .button{font-size:10px;padding:9px 12px;gap:7px;min-height:36px}.wizard-footer .text-button{font-size:9px;gap:3px}.selection-total{font-size:7px}.wizard-footer .selection-total{max-width:80px;line-height:1.7}.yaku-toolbar{flex-wrap:wrap;gap:12px}.yaku-toolbar .filter-tabs{width:100%;justify-content:space-between;gap:10px}.yaku-toolbar .filter-tabs button{font-size:10px}.yaku-toolbar .search-field{width:100%;padding:9px 10px}.yaku-toolbar .search-field input{font-size:11px}.yaku-grid{gap:9px;max-height:300px}.yaku-option{padding:12px 10px;min-height:100px}.yaku-option>div{gap:5px;padding-right:16px;flex-wrap:wrap}.yaku-option strong{font-size:10px}.yaku-option>div>span{font-size:7px}.yaku-option p{font-size:7px;line-height:1.9;margin-top:7px}.yaku-option i{right:9px;width:12px;height:12px}.selected-yaku{gap:6px}.selected-yaku>button{font-size:8px;padding:4px 6px}.bonus-grid{gap:13px}.counter>div:first-child>span{font-size:9px}.counter-controls{gap:7px}.counter-controls button{height:22px;width:22px}.counter small{font-size:6px}.scoring-layout{grid-template-columns:1fr;gap:21px}.shape-panel .section-label>span{display:inline;font-size:7px}.shape-fields{grid-template-columns:1.4fr 1fr;gap:10px}.shape-fields label{font-size:9px}.shape-fields select{font-size:9px;height:34px}.score-preview{padding:19px}.score-preview .eyebrow{font-size:7px}.score-preview h3{font-size:11px}.score-hero>strong{font-size:35px}.han-fu{font-size:11px}.score-preview .score-yaku>div{font-size:10px;line-height:2.1}.score-preview .delta-list>div{font-size:10px}.score-preview .delta-name{max-width:100px}.score-preview .delta,.score-preview .result-total{font-size:11px}.score-preview .result-total{min-width:65px}.score-preview .mini-avatar{width:24px;height:24px;font-size:9px}.score-preview .hint{font-size:8px}.multi-ron{font-size:9px;align-items:flex-start}.multi-ron input{margin-top:2px;flex-shrink:0}.fu-details{font-size:9px}.meld-row select{max-width:130px}.meld-options{gap:16px}.fixed-fu{padding:28px}.dialog-description{font-size:11px}.claim-summaries strong{font-size:10px}.claim-summaries p{font-size:8px;max-width:160px}.claim-summaries b{font-size:8px}.delta-list>div{font-size:10px}.tenpai-grid button{font-size:10px}.finish-ranking>div{font-size:11px}.empty-state{padding:55px 18px}.empty-state h2{font-size:21px;line-height:1.7}.empty-state p{font-size:10px}.empty-icon{height:65px;width:65px}.history-intro{font-size:9px;gap:12px;line-height:1.8}.history-intro .pill{font-size:6px;flex-shrink:0}.history-table-head{display:none}.history-row{grid-template-columns:minmax(85px,1fr) 42px 65px 12px;gap:8px;padding:18px 13px;min-height:82px}.history-row>span:nth-child(2){display:none}.history-row strong{font-size:11px;word-break:break-all}.history-row small{font-size:7px}.history-row .placing{font-size:10px;gap:4px}.history-row .placing svg{width:12px}.history-score>strong{font-size:16px;letter-spacing:-.5px}.history-score>small{font-size:7px}.history-row>svg:last-child{width:12px}.history-footnote{font-size:8px;line-height:2.1}.loading-area{padding:55px 20px;font-size:10px}.match-ranking{grid-template-columns:1fr 1fr;gap:22px 0;padding:17px 0}.match-ranking>div{padding:0 18px;gap:7px}.match-ranking>div:nth-child(2){border:0}.match-ranking strong{font-size:11px}.match-ranking b{font-size:21px}.match-ranking small{font-size:8px}.hand-log{padding:14px}.hand-log h3{font-size:10px}.hand-log-title>.pill{font-size:6px;white-space:normal;max-width:70px;line-height:1.6}.log-claims strong{font-size:10px}.log-claims>div>span{display:block;margin:8px 0;font-size:9px}.log-claims p{font-size:8px}.hand-log .delta-list>div{font-size:9px}.hand-log .result-total{font-size:10px}.timeline-heading span{font-size:7px}.match-meta{font-size:8px}.rules-top .filter-tabs{gap:21px}.rules-top .filter-tabs button{font-size:10px}.rules-top>.pill{display:none}.rules-feature{padding:21px 17px;gap:13px;align-items:flex-start}.rules-feature>svg{width:25px;flex-shrink:0}.rules-feature h2{font-size:19px;line-height:1.7}.rules-feature p{font-size:9px;line-height:1.9;margin-top:8px}.rules-feature>span{display:none}.rules-grid{grid-template-columns:1fr;gap:13px;margin-top:17px}.rule-block{padding:21px}.rule-block>span{font-size:9px;margin-bottom:11px}.rule-block h3{font-size:13px}.rule-block p{font-size:10px;line-height:2.2;margin-top:11px}.rules-source{font-size:8px}.reference-yaku{grid-template-columns:1fr;gap:12px}.reference-yaku article{padding:18px}.reference-yaku h3{font-size:13px}.reference-yaku p{font-size:10px}.reference-yaku small{font-size:8px}.score-reference{padding:19px 15px}.score-reference>.section-label{font-size:11px;gap:15px}.score-reference .segmented{width:110px}.score-reference .segmented button{padding:7px;font-size:9px}.score-reference th,.score-reference td{padding:16px 6px;font-size:11px}.score-reference thead th{font-size:8px}.score-reference tbody th{font-size:10px}.limit-grid>div{padding:15px;gap:10px}.limit-grid b{font-size:21px}.uid-field code{font-size:9px}.form-field .hint{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.mahjong-table .table-brand{color:#bfbfbf}.mahjong-table .round-eyebrow{color:#aaa}.mahjong-table .center-status{color:#bababa}.mahjong-table .table-counters{color:#c5c5c5}.mahjong-table .table-inner>p{color:#c3c3c3}.score-action.primary{color:#eee}.score-action.primary small{color:#ccc}.score-action:disabled{opacity:.45}@media(max-width:480px){.mahjong-table{width:106px;height:132px}.mahjong-table .waiting-title{font-size:13px;letter-spacing:.5px}.mahjong-table .round-title{font-size:23px}.mahjong-table .round-eyebrow{font-size:3px;letter-spacing:.5px}.mahjong-table .table-counters{gap:5px;font-size:5px}.table-counters .stick{width:9px}.stick:after{left:4px}.mahjong-table .start-button{font-size:6px;padding:5px;gap:2px}.mahjong-table .start-button svg{width:8px}.mahjong-table .table-inner>p{font-size:6px}.mahjong-table .center-status{font-size:4px}.seat-1,.seat-3{width:82px;height:83px;top:50%;bottom:auto;transform:translateY(-50%);padding:10px 7px}.seat-1{right:9px}.seat-3{left:9px}.seat-1 .seat-avatar,.seat-3 .seat-avatar{display:none}.seat-1 .seat-wind small,.seat-3 .seat-wind small{font-size:4px;letter-spacing:.3px}.seat-1 .seat-person strong,.seat-3 .seat-person strong{max-width:66px}.seat-1 .seat-wind,.seat-3 .seat-wind{gap:4px;margin-bottom:10px}.seat-1 .host-label,.seat-3 .host-label{top:10px;right:6px;font-size:4px}.seat-1:not(:disabled):active,.seat-3:not(:disabled):active{transform:translateY(calc(-50% + 1px))}.table-stage{height:409px}.scoreboard-players{gap:0 11px}.scoreboard-player{gap:5px}.scoreboard-player .score-avatar{display:none}.scoreboard-player .score-player-name strong{max-width:64px}.scoreboard-player .points{font-size:13px}.scoreboard-player .points:not(:only-child){min-width:41px}}@media(max-width:360px){.sidebar{display:none}.app-main{margin:0}.seat-1{right:5px}.seat-3{left:5px}}.card-heading h2{font-size:13px}.table-card-status{font-size:11px}.score-player-name strong{font-size:12px}.score-player-name>span{font-size:9px}.scoreboard-player .points{font-size:18px}.scoreboard-caption,.scoreboard-basics span{font-size:10px}.scoreboard-basics strong{font-size:16px}.rules-indicator{font-size:10px}.quiet-card-heading h3{font-size:12px}.three-steps strong{font-size:11px}.quiet-card>p{font-size:10px}.section-label{font-size:12px}.section-label>span{font-size:10px}.score-action strong{font-size:12px}.score-action small{font-size:9px}.activity-list>div{font-size:11px}.activity-list time{font-size:9px}.activity-empty p{font-size:11px}.form-field,.field-label{font-size:12px}.form-field input,.form-field select{font-size:13px}.hint{font-size:11px}.form-error{font-size:12px}.note{font-size:11px}.yaku-option strong{font-size:12px}.yaku-option p{font-size:10px}.yaku-option>div>span{font-size:10px}.filter-tabs button{font-size:12px}.counter>div:first-child>span{font-size:12px}.checkbox{font-size:11px}.score-preview h3{font-size:13px}.han-fu{font-size:12px}.score-yaku>div{font-size:11px}.score-preview .delta-list>div{font-size:10px}.score-preview .hint{font-size:10px}.rule-block p,.reference-yaku p{font-size:12px}.auth-hint{font-size:11px}.privacy-note{font-size:10px}@media(max-width:800px){.score-player-name strong{font-size:11px}.score-player-name>span{font-size:8px}.quiet-card-heading h3{font-size:11px}.quiet-card>p{font-size:9px}.activity-list>div{font-size:10px}.activity-list time{font-size:8px}.yaku-option strong{font-size:11px}.yaku-option p{font-size:10px}.yaku-option>div>span{font-size:9px}.section-label>span{font-size:9px}.scoreboard-player .points{font-size:16px}}@media(max-width:600px){.card-heading h2{font-size:11px}.table-card-status{font-size:8px}.scoreboard-player .points{font-size:15px}.score-player-name strong{font-size:11px}.score-player-name>span{font-size:7px}.rules-indicator{font-size:10px}.section-label{font-size:11px}.section-label>span{font-size:8px}.score-action strong{font-size:12px}.score-action small{font-size:9px}.activity-empty p{font-size:11px}.activity-list>div{font-size:10px}.form-field .hint,.checkbox,.score-preview .hint{font-size:10px}.bonus-grid .counter>div:first-child>span{font-size:11px}.counter small,.wizard-footer .selection-total{font-size:8px}.yaku-toolbar .filter-tabs button{font-size:11px}.field-label{font-size:12px}.player-select button{font-size:11px}.method>span{font-size:10px}.reference-yaku p,.rule-block p{font-size:12px}.privacy-note{font-size:10px}.score-preview .score-yaku>div{font-size:11px}}body{overscroll-behavior-y:none}input,button,a,summary{-webkit-tap-highlight-color:transparent}.app-main{padding-bottom:env(safe-area-inset-bottom)}.sidebar{padding-top:env(safe-area-inset-top)}.topbar{padding-top:env(safe-area-inset-top);height:calc(90px + env(safe-area-inset-top))}.guest-mode .page-heading{min-height:min(62vh,560px);flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:32px;margin-bottom:0}.guest-mode .heading-actions{justify-content:center}.guest-mode .main-content{min-height:calc(100dvh - 90px)}.connection-banner{display:flex;align-items:center;gap:10px;padding:12px 16px;margin-bottom:22px;background:#eeede9;border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:1.7}.connection-banner>svg{flex-shrink:0}.connection-banner>span{flex:1}.connection-banner button{flex-shrink:0}.dialog-loading{position:fixed;z-index:100;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:14px 22px;background:#222;color:#fff;border-radius:8px;font-size:12px}.profile-tabs{margin-bottom:24px}.player-style{margin:2px 0 22px}.style-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.style-heading h3{font-size:14px}.style-heading span{font-size:10px;color:var(--muted)}.style-radar{display:block;width:280px;max-width:100%;margin:12px auto;overflow:visible}.radar-ring{fill:none;stroke:#deddd8;stroke-width:1}.radar-axis{stroke:#e8e7e1;stroke-width:1}.radar-area{fill:#1f24231a;stroke:#353b38;stroke-width:1.6}.radar-value{stroke:#353b38;stroke-width:1.6;fill:none}.radar-dot{fill:#303633}.radar-label{font-size:13px;font-weight:600;fill:#303330}.radar-score{font-size:11px;font-weight:400;fill:#757973}.radar-empty{font-size:12px;fill:#999c96}.style-metrics{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:8px;overflow:hidden}.style-metrics>div{display:flex;flex-direction:column;gap:7px;padding:14px;background:var(--paper)}.style-metrics span{font-size:10px;color:var(--muted)}.style-metrics strong{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums}.style-sample{line-height:1.85;margin:14px 0}.style-formulas{font-size:11px;color:var(--muted);line-height:1.9}.style-formulas summary{cursor:pointer;color:var(--ink)}.style-formulas p{margin-top:10px}.style-formulas ul{padding-left:18px}.install-card{padding:18px;border:1px solid var(--line);border-radius:9px;background:#f9f9f6}.install-card>div{display:flex;align-items:center;gap:9px;font-size:12px}.install-card p{margin-top:10px;font-size:11px;color:var(--muted);line-height:1.9}.install-card button{margin-top:14px;font-size:11px}.install-help{padding-top:9px;border-top:1px solid var(--line)}.turn-field{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin:24px 0 2px;padding-top:20px;border-top:1px solid var(--line)}.turn-field label{font-size:12px}.turn-field label span{margin-left:6px;font-size:10px;color:var(--muted)}.turn-field>div{display:flex;align-items:center;gap:9px;font-size:12px}.turn-field input{width:72px;height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff}.turn-field p{grid-column:1 / -1;line-height:1.8}.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.practice-card,.practice-progress{background:#fff;border:1px solid var(--line);border-radius:12px}.practice-card{padding:28px;min-width:0}.practice-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.practice-heading .eyebrow{font-size:9px;letter-spacing:2px}.practice-heading h2{margin-top:9px;font-size:19px}.practice-context{display:flex;align-items:center;justify-content:space-between;margin-top:24px;font-size:10px;color:var(--muted)}.practice-context>span:last-child{display:flex;align-items:center;gap:5px}.practice-prompt{margin-top:30px;font-size:13px}.practice-tiles{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px;margin:25px 0 24px;padding:12px 0 0}.tile-button{position:relative;padding:0;border:none;background:transparent;cursor:pointer;border-radius:5px;touch-action:manipulation}.mahjong-tile{display:block;width:100%;height:auto;color:#52544e}.tile-rank{font-size:21px;font-family:Georgia,serif;fill:#252a27}.tile-suit{font-size:13px;fill:#4a514b}.tile-honor{font-size:23px;fill:#353e35;font-family:serif}.tile-button.selected{transform:translateY(-9px);box-shadow:0 4px #393f39}.tile-button.selected .mahjong-tile{color:#232923}.tile-button:disabled{opacity:1}.tile-button.optimal:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:#3d493f;bottom:-10px;left:calc(50% - 2px)}.practice-action{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0 24px}.practice-answer{padding:22px 0 0;border-top:1px solid var(--line)}.practice-verdict{display:flex;gap:12px;align-items:center}.answer-symbol{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;background:#eeefe9;border-radius:50%}.practice-verdict h3{font-size:14px}.practice-verdict p,.practice-explanation{font-size:12px;line-height:1.9;color:var(--muted);margin-top:6px}.practice-explanation{padding:16px;margin-top:18px;background:#f8f8f4;border-radius:7px}.practice-waits{margin-top:25px;font-size:11px}.practice-waits>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.practice-waits>div>span{width:29px;text-align:center}.practice-waits small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.practice-comparison{margin-top:24px;font-size:11px}.practice-comparison summary{cursor:pointer}.comparison-table{margin-top:14px}.comparison-table>div{display:grid;grid-template-columns:1fr .8fr 1.4fr;padding:10px 12px;font-size:11px;border-bottom:1px solid #eeeee8}.comparison-table>div:first-child{color:var(--muted);font-size:10px}.comparison-table>div>span{display:flex;align-items:center;gap:7px}.comparison-table .best-choice{background:#f2f3ed;font-weight:600}.practice-next{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0 10px}.practice-next .hint{max-width:250px;line-height:1.9}.practice-next .button{flex-shrink:0}.practice-scope{padding-top:22px;border-top:1px solid var(--line);font-size:10px;line-height:1.9;color:#8a8e87}.practice-aside{display:grid;gap:20px}.practice-progress{padding:20px}.practice-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:26px 0;text-align:center}.practice-numbers>div{display:flex;flex-direction:column;gap:9px}.practice-numbers strong{font:26px Georgia,serif}.practice-numbers span{font-size:9px;color:var(--muted)}.practice-progress .hint{line-height:1.9}.practice-progress>button{margin-top:20px;font-size:10px}@media(max-width:1100px){.practice-layout{grid-template-columns:minmax(0,1fr)}.practice-aside{grid-template-columns:1fr 1fr}}@media(max-width:600px){.topbar{height:calc(76px + env(safe-area-inset-top))}.guest-mode .page-heading{gap:26px;min-height:60dvh;padding-top:0}.guest-mode .page-heading .eyebrow{font-size:7px;letter-spacing:1.3px}.guest-mode .heading-actions{width:100%}.guest-mode .heading-actions .button{flex:1}.connection-banner{font-size:10px;padding:10px;align-items:flex-start;gap:8px}.connection-banner button{font-size:10px}.style-radar{width:240px;margin-top:18px}.practice-card{padding:20px 15px}.practice-heading h2{font-size:17px}.practice-heading .eyebrow{font-size:8px}.practice-tiles{grid-template-columns:repeat(7,minmax(0,1fr));row-gap:19px;column-gap:5px;margin-top:18px}.practice-action{flex-direction:column;align-items:stretch;text-align:center;padding-bottom:20px}.practice-action .button{justify-content:center}.practice-aside{grid-template-columns:1fr}.practice-context{font-size:9px}.practice-verdict{gap:9px}.practice-verdict h3{font-size:12px}.practice-verdict p,.practice-explanation{font-size:10px}.practice-next{flex-direction:column;align-items:stretch;gap:14px}.practice-next .hint{max-width:none}.practice-next .button{justify-content:center}}@media(display-mode:standalone){.topbar{-webkit-user-select:none;user-select:none}}
