:root{--ui-font-scale: 1}:root[data-font-size=medium]{--ui-font-scale: 1.15}:root[data-font-size=large]{--ui-font-scale: 1.3}.font-size-setting{min-width:0}.font-size-control{display:inline-flex;align-items:center;gap:9px;color:#64705a}.font-size-label{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;font-size:calc(11px * var(--ui-font-scale))}.font-size-choices{display:inline-flex;align-items:stretch;padding:3px;gap:2px;border:1px solid #dce4d3;background:#f7f9f2;border-radius:9px}.font-size-choices>button{display:inline-flex;align-items:center;justify-content:center;min-width:39px;min-height:37px;padding:6px 10px;border:1px solid transparent;border-radius:6px;background:transparent;font-size:calc(12px * var(--ui-font-scale));line-height:1.2;color:#75816a;cursor:pointer}.font-size-choices>button:hover{color:#2c4f37;background:#e9f0e0}.font-size-choices>button[aria-pressed=true]{color:#fff;background:#3b5b45;border-color:#314f39;box-shadow:0 2px 5px #35564316}.font-size-choices>button:focus-visible{outline:3px solid #a5baa4;outline-offset:3px}.font-size-choices>button:active{transform:translateY(1px)}.font-size-announcement{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.font-size-save-note{display:block;max-width:300px;margin-top:7px;font-size:calc(11px * var(--ui-font-scale));line-height:1.6;color:#8b7448}.login-font-settings{align-self:flex-end;margin-bottom:15px}.topbar-font-settings{display:flex;align-items:center;flex-shrink:0}.admin-login-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}html[data-font-size] .topbar-actions,html[data-font-size] .adm-topbar-actions{margin-left:auto}html[data-font-size] .adm-topbar{gap:20px}html[data-font-size]:not([data-font-size=small]) .button,html[data-font-size]:not([data-font-size=small]) .adm-button,html[data-font-size]:not([data-font-size=small]) .order-picker>button{white-space:normal;min-width:0}html[data-font-size]:not([data-font-size=small]) .section-heading>div,html[data-font-size]:not([data-font-size=small]) .game-heading>div,html[data-font-size]:not([data-font-size=small]) .turn-banner>div,html[data-font-size]:not([data-font-size=small]) .adm-page-heading>div,html[data-font-size]:not([data-font-size=small]) .adm-section-head>div{min-width:0}html[data-font-size]:not([data-font-size=small]) .turn-banner strong,html[data-font-size]:not([data-font-size=small]) .modal h2,html[data-font-size]:not([data-font-size=small]) .room-card h3{overflow-wrap:anywhere}html[data-font-size]:not([data-font-size=small]) .gomoku-confirm-bar{flex-wrap:wrap}html[data-font-size]:not([data-font-size=small]) .gomoku-confirm-actions{margin-left:auto;flex-wrap:wrap}html[data-font-size]:not([data-font-size=small]) .gomoku-confirm-actions button{min-height:40px;padding:7px 10px}html[data-font-size]:not([data-font-size=small]) .adm-stat small{white-space:normal}html[data-font-size]:not([data-font-size=small]) .adm-login-security{align-items:flex-start;line-height:1.7}html[data-font-size]:not([data-font-size=small]) .adm-search,html[data-font-size]:not([data-font-size=small]) .search-box{height:auto;min-height:40px}html[data-font-size]:not([data-font-size=small]) .adm-field input,html[data-font-size]:not([data-font-size=small]) .adm-login-card .adm-field input{height:auto;min-height:46px}@media(max-width:1100px){html[data-font-size] .topbar{height:auto;min-height:82px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:9px 15px}html[data-font-size] .topbar>.topbar-font-settings{flex-basis:100%;justify-content:flex-end}html[data-font-size] .adm-topbar{height:auto;min-height:77px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:9px 15px}html[data-font-size] .adm-topbar>.topbar-font-settings{flex-basis:100%;justify-content:flex-end}}@media(max-width:650px){.font-size-choices>button{min-width:40px;min-height:40px}.font-size-control{gap:8px}.login-font-settings{align-self:center;margin-bottom:25px}.admin-login-tools{flex-wrap:wrap}.admin-login-tools>.font-size-setting{margin-left:auto}html[data-font-size] .topbar>.topbar-font-settings,html[data-font-size] .adm-topbar>.topbar-font-settings{justify-content:center}html[data-font-size]:not([data-font-size=small]) .room-grid{grid-template-columns:minmax(0,1fr)}html[data-font-size]:not([data-font-size=small]) .room-card .button{min-height:42px}html[data-font-size]:not([data-font-size=small]) .room-meta{flex-wrap:wrap}html[data-font-size]:not([data-font-size=small]) .board-bottom{flex-wrap:wrap}html[data-font-size]:not([data-font-size=small]) .settings-card .order-picker>button{flex-direction:column;gap:5px}html[data-font-size]:not([data-font-size=small]) .adm-form-pair{grid-template-columns:minmax(0,1fr)}html[data-font-size]:not([data-font-size=small]) .adm-token-meta{grid-template-columns:minmax(0,1fr)}html[data-font-size]:not([data-font-size=small]) .adm-profile-actions,html[data-font-size]:not([data-font-size=small]) .adm-modal-actions,html[data-font-size]:not([data-font-size=small]) .adm-section-head{flex-wrap:wrap}html[data-font-size]:not([data-font-size=small]) .adm-modal-actions>button{flex:1}}:root{font-family:Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#303b34;background:#f6f5f0;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-weight:400;font-size:calc(14px * var(--ui-font-scale, 1));--green: #2e5345;--green-dark: #234438;--muted: #8a8e84;--line: #e6e7de;--orange: #c47b5b;--paper: #f6f5f0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button,input{outline:none}button{color:inherit;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.5}button:not(:disabled),a,input{transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:3px solid #a5baa4;outline-offset:4px}input:focus-visible{border-color:#6b8c72;box-shadow:0 0 0 3px #6680671a}button svg{flex-shrink:0}h1,h2,h3,p{margin:0}button{border:0}input{width:100%;border:1px solid #dfe2d8;background:#fff;border-radius:8px;padding:13px 15px;color:#303b34;min-width:0}input::placeholder{color:#aaaea4}label{display:flex;align-items:center;justify-content:space-between;font-size:calc(13px * var(--ui-font-scale, 1));font-weight:500;margin:0 0 10px}a{color:var(--green)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:7px;min-height:43px;padding:11px 18px;font-size:calc(13px * var(--ui-font-scale, 1));font-weight:500;white-space:nowrap;border:1px solid transparent}.button-primary{color:#fff;background:var(--green);box-shadow:0 3px 4px #23443809}.button-primary:hover:not(:disabled){background:#203e32;box-shadow:0 4px 12px #23443820}.button-secondary{background:#fff;border-color:#dfe2d8;color:#53604e}.button-secondary:hover:not(:disabled){background:#eef1e9;border-color:#b9c4b3}.button-small{min-height:39px;padding:9px 14px;font-size:calc(12px * var(--ui-font-scale, 1))}.button-danger{background:#a65e49;color:#fff}.button-danger:hover:not(:disabled){background:#8c4937}.full-width{width:100%}.icon-button{display:inline-flex;justify-content:center;align-items:center;background:transparent;color:#7b8275;border-radius:6px;width:34px;height:34px;flex-shrink:0}.icon-button:hover:not(:disabled){background:#e9ede3;color:#345541}.text-button{display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;font-size:calc(12px * var(--ui-font-scale, 1));color:#6d7e62}.text-button:hover{color:var(--green);text-decoration:underline}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.brand{display:flex;align-items:center;gap:11px}.brand-mark{position:relative;display:block;width:43px;height:43px;background:#2d5143;border-radius:12px;overflow:hidden}.brand-mark:before,.brand-mark:after{content:"";position:absolute;background:#ffffff25}.brand-mark:before{width:1px;left:21px;top:0;bottom:0;box-shadow:13px 0 #ffffff25,-13px 0 #ffffff25}.brand-mark:after{height:1px;top:21px;left:0;right:0;box-shadow:0 13px #ffffff25,0 -13px #ffffff25}.brand-mark i{position:absolute;width:14px;height:14px;border-radius:50%;background:#f5f3ea;left:9px;top:9px;z-index:1}.brand-mark i+i{background:#d99b77;left:24px;top:25px;width:11px;height:11px}.brand strong{font-family:"Noto Serif SC",serif;font-size:calc(26px * var(--ui-font-scale, 1));letter-spacing:3px;font-weight:700;display:block;line-height:1.1}.brand-period{color:var(--orange);letter-spacing:0}.brand-en{font-size:calc(7px * var(--ui-font-scale, 1));letter-spacing:1.5px;display:block;margin-top:7px;color:#838a79}.brand-small .brand-mark{width:35px;height:35px}.brand-small strong{font-size:calc(23px * var(--ui-font-scale, 1))}.brand-small .brand-en{display:none}.eyebrow,.section-kicker{font-size:calc(10px * var(--ui-font-scale, 1));letter-spacing:1.9px;font-weight:500;color:#7c8971;display:flex;align-items:center;gap:8px}.tiny-line{height:1px;width:23px;background:#7e9478;display:inline-block}.presence{width:6px;height:6px;border-radius:50%;background:#70916b;display:inline-block;flex-shrink:0}.presence.offline{background:#bf8a60}.loading-page{display:flex;min-height:100dvh;flex-direction:column;gap:26px;align-items:center;justify-content:center;color:#7b8775}.loading-page .brand{margin-bottom:12px}.loading-page p{font-size:calc(13px * var(--ui-font-scale, 1))}.state-loading{min-height:55vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:#7a8771}.input-with-button{display:flex;border:1px solid #dfe2d8;background:#fff;border-radius:7px;align-items:center;padding-right:7px}.input-with-button:focus-within{border-color:#749071;box-shadow:0 0 0 3px #66806712}.input-with-button input{border:0;background:transparent;box-shadow:none;padding-top:15px;padding-bottom:15px}.input-with-button input:focus-visible{box-shadow:none}.input-error{border-color:#bd7863}.field-hint{font-size:calc(11px * var(--ui-font-scale, 1));color:#979c8f;display:flex;align-items:center;gap:6px;margin-top:11px;line-height:1.8}.field-error{color:#ad604c;font-size:calc(12px * var(--ui-font-scale, 1));line-height:1.8;margin-top:9px}.small-icon{color:#879879;display:inline-flex;padding-top:2px}.avatar{background:#e8edde;color:#64764d;width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-family:"Noto Serif SC",serif;font-size:calc(13px * var(--ui-font-scale, 1));flex-shrink:0;border:1px solid #e1e7d7;overflow:hidden}.avatar>img{display:block;width:100%;height:100%;object-fit:cover}.avatar-initial{line-height:1}.avatar-sand{background:#f1e8da;color:#947d58;border-color:#e8decc}.avatar-empty{background:#f4f4ee;border:1px dashed #daddcf;color:#b2b8a5}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.spin{animation-duration:2s!important}}.site-navigation-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;color:var(--green);text-decoration:none;font-size:calc(12px * var(--ui-font-scale));white-space:nowrap}.site-navigation-link:hover{background:#edf1e9}@media(max-width:760px){.site-navigation-link{padding:7px;min-width:38px}.site-navigation-link span{display:none}}
