body.reversi-product-page{min-width:0;min-height:100vh;background:radial-gradient(circle at 76% 16%,rgba(126,87,194,.08),transparent 30%),linear-gradient(135deg,#080b11,#0b0d13 58%,#110b12);color:var(--text-main);font-family:Outfit,Segoe UI,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans SC,sans-serif}.reversi-product-page,.reversi-product-page *{box-sizing:border-box}.reversi-product-page a{color:inherit;text-decoration:none}.reversi-product-page [hidden]{display:none!important}.reversi-shell{width:100%;min-height:calc(100vh - 62px);margin:0 auto;padding:12px;display:grid;grid-template-columns:52px minmax(520px,1fr) minmax(400px,470px);gap:12px;align-items:start}.reversi-product-page.reversi-observer-open .reversi-shell{grid-template-columns:52px minmax(260px,300px) minmax(520px,1fr) minmax(400px,470px)}.reversi-tool-rail,.reversi-observer-panel,.reversi-center,.reversi-control-sidebar{min-width:0}.reversi-tool-rail{position:sticky;top:74px;min-height:112px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid rgba(212,175,55,.28);border-radius:13px;background:#0c0f16f0;box-shadow:0 12px 34px #0000003d}.reversi-tool-button,.reversi-observer-close{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#e2e8f0;cursor:pointer}.reversi-tool-button{width:38px;height:38px;padding:0;border-radius:10px;font-size:17px;line-height:1}.reversi-tool-button:hover,.reversi-tool-button[aria-expanded=true]{border-color:#d4af37b8;background:#d4af3724;color:#fde68a}.reversi-tool-button:focus-visible,.reversi-observer-close:focus-visible,.reversi-workspace-tabs button:focus-visible,.reversi-product-page summary:focus-visible{outline:2px solid var(--primary-gold);outline-offset:2px}.reversi-observer-panel{position:sticky;top:74px;max-height:calc(100vh - 86px);overflow:auto;padding:15px;border:1px solid rgba(212,175,55,.28);border-radius:13px;background:#0c0f16f5;box-shadow:0 16px 42px #00000052}.reversi-observer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.08)}.reversi-observer-header strong{color:#f1f5f9;font-size:16px}.reversi-observer-close{width:32px;height:32px;padding:0;border-radius:8px;font-size:19px}.reversi-observer-copy{margin-top:12px;color:#9ba8b8;font-size:13px;line-height:1.65}#reversi-commentary{margin:14px 0 0;padding:14px;border:1px solid rgba(52,211,153,.16);border-radius:11px;background:#091f1b6b;color:#c1d5ce;font-size:15px;line-height:1.8;font-style:normal;-webkit-user-select:text;user-select:text}.reversi-center{position:sticky;top:74px;display:grid;gap:12px}.reversi-board-card,.reversi-control-card,.reversi-prompt-card,.reversi-history-card{padding:15px}.reversi-board-card{min-height:calc(100vh - 86px);display:flex;flex-direction:column;justify-content:center;border-color:#d4af3757;background:linear-gradient(145deg,#11141cf5,#0a0d13fa);box-shadow:0 18px 54px #00000057}.reversi-page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.reversi-page-title h1{margin:0;color:var(--primary-gold);font-size:clamp(22px,2vw,30px);line-height:1.2}.reversi-page-title h1 span{color:#f4d675;font-weight:600}.reversi-page-title p{margin:7px 0 0;color:#aab6c5;font-size:14px;line-height:1.65}.reversi-level-chip{flex:0 0 auto;border:1px solid rgba(167,243,208,.3);border-radius:999px;background:#10b98117;color:#a7f3d0;padding:6px 10px;font-size:12px;font-weight:700}#reversi-board-root{width:100%;display:grid;place-items:center}#reversi-board-root .reversi-arena{width:100%}#reversi-board-root .reversi-board{width:min(100%,660px);margin-inline:auto}#reversi-board-root .reversi-header,#reversi-board-root .reversi-message{font-size:14px}#reversi-board-root .reversi-status{font-size:17px}.reversi-status-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:#ffffff09}#reversi-status-banner{color:#e2e8f0;font-size:15px;font-weight:700;line-height:1.5}#reversi-current-participant{color:#fde68a;font-size:14px;line-height:1.5;text-align:right}.reversi-control-sidebar{position:sticky;top:74px;height:calc(100vh - 86px);display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid rgba(212,175,55,.3);border-radius:13px;overflow:hidden;background:#0a0d14f7;box-shadow:0 18px 48px #0000004d}.reversi-workspace-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:8px;border-bottom:1px solid rgba(255,255,255,.08);background:#080b11fa}.reversi-workspace-tabs button{min-width:0;min-height:40px;padding:8px 7px;border:1px solid transparent;border-radius:9px;background:transparent;color:#9ba8b8;font:inherit;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}.reversi-workspace-tabs button:hover{color:#e2e8f0;background:#ffffff09}.reversi-workspace-tabs button.is-active,.reversi-workspace-tabs button[aria-selected=true]{border-color:#d4af37a8;background:#d4af3726;color:#fde68a;box-shadow:inset 0 0 0 1px #d4af370f}.reversi-workspace-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px;scrollbar-color:#687386 #11151e;scrollbar-width:thin}.reversi-workspace-panel{min-width:0;display:grid;gap:12px;align-content:start}.reversi-workspace-panel>div,.reversi-workspace-panel>article,.reversi-workspace-panel>details{min-width:0}.reversi-workspace-panel .card,.reversi-workspace-panel .host-roster-card,.reversi-workspace-panel .model-context-card,.reversi-workspace-panel .ai-tuning-card,.reversi-workspace-panel .player-suggestion-card,.reversi-workspace-panel .turn-runtime-card,.reversi-workspace-panel .influence-event-export-card,.reversi-workspace-panel .match-archive-card{margin:0;border-color:#d4af3738;border-radius:12px;background:#12161fd1}.reversi-section-title,.reversi-product-page .reversi-workspace-panel .card-title,.reversi-product-page .reversi-workspace-panel .model-context-title{color:var(--primary-gold);font-size:16px!important;font-weight:800;line-height:1.4}.reversi-section-help,.reversi-product-page .reversi-workspace-panel .host-roster-subtitle,.reversi-product-page .reversi-workspace-panel .model-context-subtitle,.reversi-product-page .reversi-workspace-panel .ai-tuning-subtitle,.reversi-product-page .reversi-workspace-panel .player-suggestion-help,.reversi-product-page .reversi-workspace-panel .turn-runtime-help,.reversi-product-page .reversi-workspace-panel .influence-event-export-help,.reversi-product-page .reversi-workspace-panel .match-archive-help{margin-top:5px;color:#a5b1c0!important;font-size:13px!important;line-height:1.6!important}.reversi-product-page .reversi-workspace-panel label,.reversi-product-page .reversi-workspace-panel .desktop-field-caption,.reversi-product-page .reversi-workspace-panel .model-context-field,.reversi-product-page .reversi-workspace-panel .player-suggestion-scope{font-size:14px!important}.reversi-product-page .reversi-workspace-panel input,.reversi-product-page .reversi-workspace-panel select,.reversi-product-page .reversi-workspace-panel textarea,.reversi-import-grid textarea,.reversi-prompt-card textarea,.reversi-prompt-card select{width:100%;min-width:0;max-width:100%;min-height:40px;box-sizing:border-box;border:1px solid rgba(212,175,55,.28);border-radius:8px;background:#171c27;color:#e2e8f0;padding:9px 12px;font:inherit;font-size:14px!important;line-height:1.45;color-scheme:dark}.reversi-product-page .reversi-workspace-panel input:hover,.reversi-product-page .reversi-workspace-panel select:hover,.reversi-product-page .reversi-workspace-panel textarea:hover,.reversi-import-grid textarea:hover,.reversi-prompt-card textarea:hover,.reversi-prompt-card select:hover{border-color:#d4af378c;background:#1b2230}.reversi-product-page .reversi-workspace-panel input:focus,.reversi-product-page .reversi-workspace-panel select:focus,.reversi-product-page .reversi-workspace-panel textarea:focus,.reversi-import-grid textarea:focus,.reversi-prompt-card textarea:focus,.reversi-prompt-card select:focus{outline:none;border-color:var(--primary-gold);box-shadow:0 0 0 2px #d4af3721}.reversi-product-page .reversi-workspace-panel textarea,.reversi-import-grid textarea,.reversi-prompt-card textarea{resize:vertical;overflow-wrap:anywhere}.reversi-product-page .reversi-workspace-panel .btn,.reversi-controls .btn,.reversi-prompt-actions .btn{min-height:40px;padding:8px 12px;font-size:14px}.reversi-prompt-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.reversi-execution-mode{min-width:150px;display:grid;gap:6px;color:#cbd5e1;font-size:14px;font-weight:700}.reversi-paste-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.reversi-paste-steps span{min-width:0;padding:9px 8px;border:1px solid rgba(255,255,255,.075);border-radius:9px;background:#ffffff06;color:#b5c0ce;font-size:13px;text-align:center}.reversi-paste-steps b{color:#fde68a}.reversi-prompt-disclosure,.reversi-advanced-tools,.reversi-runtime-disclosure{margin-top:12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#0000001f;overflow:hidden}.reversi-prompt-disclosure summary,.reversi-advanced-tools summary,.reversi-runtime-disclosure summary{padding:11px 12px;color:#cbd5e1;font-size:14px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.reversi-prompt-disclosure[open] summary,.reversi-advanced-tools[open] summary,.reversi-runtime-disclosure[open] summary{border-bottom:1px solid rgba(255,255,255,.08);background:#ffffff06}#reversi-prompt-preview{margin:0;max-height:300px;overflow:auto;padding:13px;background:#00000038;color:#cbd5e1;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.62;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}#reversi-model-input{min-height:150px;margin-top:12px;-webkit-user-select:text;user-select:text}.reversi-prompt-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}#reversi-parser-feedback{display:block;margin-top:10px;padding:11px 12px;border-radius:9px;font-size:13px;line-height:1.6;background:#ffffff09;color:#aab6c5}#reversi-parser-feedback.success{background:#10b9811a;color:#a7f3d0}#reversi-parser-feedback.error{background:#ef44441a;color:#fecaca}#reversi-parser-feedback.warning{background:#f59e0b1f;color:#fde68a}.reversi-match-status{margin-top:12px;padding:14px;border:1px solid rgba(96,165,250,.18);border-radius:11px;background:linear-gradient(145deg,#141f2eb8,#0c121ca8)}.reversi-match-status>div:first-child{display:flex;align-items:center;gap:10px}.reversi-match-status-dot{width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:#94a3b8;box-shadow:0 0 12px #94a3b859}#reversi-match-status-title{color:#f1f5f9;font-size:17px}#reversi-match-status-detail{margin:8px 0 0;color:#b5c0ce;font-size:14px;line-height:1.6}.reversi-match-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.reversi-match-meta span{padding:5px 9px;border:1px solid rgba(148,163,184,.14);border-radius:999px;background:#ffffff09;color:#cbd5e1;font-size:13px}.reversi-match-status[data-reversi-match-status=running]{border-color:#34d39938;background:linear-gradient(145deg,#102722a8,#0a17189e)}.reversi-match-status[data-reversi-match-status=running] .reversi-match-status-dot{background:#34d399;box-shadow:0 0 14px #34d399ad}.reversi-match-status[data-reversi-match-status=paused]{border-color:#fbbf243d;background:linear-gradient(145deg,#2c220e94,#18150ea3)}.reversi-match-status[data-reversi-match-status=paused] .reversi-match-status-dot{background:#fbbf24;box-shadow:0 0 14px #fbbf249e}.reversi-match-status[data-reversi-match-status=gameover],.reversi-match-status[data-reversi-match-status=stopped]{border-color:#f8717133;background:linear-gradient(145deg,#2d161b8f,#1a11169e)}.reversi-match-status[data-reversi-match-status=gameover] .reversi-match-status-dot,.reversi-match-status[data-reversi-match-status=stopped] .reversi-match-status-dot{background:#f87171;box-shadow:0 0 14px #f871718a}.reversi-action-section{display:grid;gap:8px;margin-top:12px;padding:11px;border:1px solid rgba(255,255,255,.075);border-radius:10px;background:#ffffff06}.reversi-action-label{color:#aab6c5;font-size:13px;font-weight:700}.reversi-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reversi-controls .btn{width:100%;justify-content:center}.reversi-controls #btn-reversi-stop:last-child:nth-child(3){grid-column:1 / -1}.reversi-advanced-tools{margin-top:12px}.reversi-advanced-tools>.reversi-controls,.reversi-advanced-tools>.reversi-import-grid{margin:10px 11px}.reversi-import-grid textarea{min-height:110px;-webkit-user-select:text;user-select:text}#reversi-history-list{display:grid;gap:7px;max-height:430px;overflow:auto;margin-top:11px}.reversi-history-item{display:grid;grid-template-columns:minmax(110px,1fr) auto auto;gap:9px;align-items:center;padding:10px;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:#ffffff08;font-size:13px}.reversi-history-item span,.reversi-history-item small{color:#9faebe}.reversi-history-item strong{color:#fde68a;font-size:14px}.reversi-empty{padding:22px;border:1px dashed rgba(148,163,184,.18);border-radius:10px;background:#94a3b806;text-align:center;color:#9eabb9;font-size:13px}.reversi-runtime-disclosure>#turn-runtime-root{padding:10px}.reversi-footer{padding:16px 18px 22px;text-align:center;color:#7f8b9a;font-size:12px;line-height:1.6}@media (max-width: 1499px) and (min-width: 1200px){.reversi-shell,.reversi-product-page.reversi-observer-open .reversi-shell{grid-template-columns:48px minmax(500px,1fr) minmax(390px,430px)}.reversi-observer-panel{position:fixed;z-index:1500;top:74px;left:72px;width:min(320px,calc(100vw - 96px))}}@media (max-width: 1199px),(any-pointer: coarse){.app-header{height:auto;min-height:60px;padding:10px 12px;gap:10px;flex-wrap:wrap}.arena-nav{width:100%;overflow-x:auto}.reversi-shell,.reversi-product-page.reversi-observer-open .reversi-shell{display:flex;flex-direction:column;padding:12px}.reversi-tool-rail{position:static;order:1;width:100%;min-height:0;flex-direction:row;justify-content:flex-end}.reversi-center{position:static;order:0;width:100%}.reversi-board-card{min-height:0}.reversi-observer-panel{position:static;order:2;width:100%;max-height:none}.reversi-control-sidebar{position:static;order:3;width:100%;height:auto;min-height:0}.reversi-workspace-scroll{overflow:visible}.reversi-workspace-panel{padding-bottom:4px}}@media (max-width: 700px){.brand-subtitle{display:none}.nav-item{min-height:40px;white-space:nowrap}.reversi-board-card,.reversi-control-card,.reversi-prompt-card,.reversi-history-card{padding:12px}.reversi-page-title,.reversi-status-line,.reversi-prompt-toolbar{align-items:flex-start;flex-direction:column}.reversi-level-chip,.reversi-execution-mode{width:100%}#reversi-current-participant{text-align:left}.reversi-workspace-tabs{gap:4px;padding:6px}.reversi-workspace-tabs button{min-height:42px;padding-inline:4px;font-size:13px}.reversi-paste-steps,.reversi-prompt-actions,.reversi-controls{grid-template-columns:1fr}.reversi-controls #btn-reversi-stop:last-child:nth-child(3){grid-column:auto}.reversi-product-page .reversi-workspace-panel input,.reversi-product-page .reversi-workspace-panel select,.reversi-product-page .reversi-workspace-panel textarea,.reversi-import-grid textarea,.reversi-prompt-card textarea,.reversi-prompt-card select,.reversi-product-page .reversi-workspace-panel .btn,.reversi-controls .btn,.reversi-prompt-actions .btn{min-height:42px;font-size:16px!important}.reversi-history-item{grid-template-columns:1fr auto}.reversi-history-item small{grid-column:1 / -1}}
