/* Shared UI scale. This file owns the final type, control and surface tokens. */
@media(min-width:981px) {
  html[data-theme="studio"][data-navigation-style="arena"] .nav-button[aria-label="모의밴픽(개발중)"] {display:grid;grid-template-columns:34px minmax(0,1fr);gap:0 9px;padding-top:7px;padding-bottom:7px}
  html[data-theme="studio"] .nav-button[aria-label="모의밴픽(개발중)"] .nav-icon {grid-row:1 / 3}
  html[data-theme="studio"] .nav-button[aria-label="모의밴픽(개발중)"] .nav-status {grid-column:2;margin-left:0;font-size:10px}
}
@font-face {
  font-family:"Pretendard Variable";
  font-style:normal;
  font-weight:45 920;
  font-display:swap;
  src:url("/assets/fonts/pretendard-1.3.9/PretendardVariable.woff2") format("woff2");
}
html[data-theme="studio"] {
  --bg:#f6f7fa;
  --ui-action:#29374f;
  --ui-font:"Pretendard Variable",Pretendard,"Segoe UI","Malgun Gothic",sans-serif;
  --ui-control-height:40px;
  --ui-card-radius:12px;
  --ui-control-radius:8px;
}
html[data-theme="studio"] body {font-family:var(--ui-font);font-size:15px;line-height:1.5}
html[data-theme="studio"] :is(button,input,select,textarea) {font-family:var(--ui-font)}
html[data-theme="studio"] .page-heading h1 {font-size:28px;line-height:1.3;font-weight:700;letter-spacing:-.035em}
html[data-theme="studio"] :is(.c-card-heading h2,.panel-heading h2,.team-builder h2,.score-surveys h2) {font-size:18px;line-height:1.5;font-weight:650}
html[data-theme="studio"] :is(.c-card-heading,.c-chart-heading):has(h2) .c-kicker {display:none}
html[data-theme="studio"] :is(.c-card-heading h2,.page-heading h1) {margin-top:0}
html[data-theme="studio"] .app-shell .main-content :is(input,select,textarea):where(:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"])) {
  min-height:var(--ui-control-height);font-size:16px;line-height:1.4;border:1px solid var(--line);border-radius:var(--ui-control-radius);padding:9px 12px;background:#fff;color:var(--text);
}
html[data-theme="studio"] input[type="number"] {font-size:16px;font-variant-numeric:tabular-nums}
html[data-theme="studio"] input[type="checkbox"] {accent-color:var(--c-blue)}
html[data-theme="studio"] .button {min-height:var(--ui-control-height);font-size:14px;line-height:1.4;border-radius:var(--ui-control-radius);padding:9px 14px;font-weight:600}
html[data-theme="studio"] .button.primary {font-size:15px;background:var(--ui-action);border-color:var(--ui-action);color:#fff}
html[data-theme="studio"] .button.primary:hover {background:#202d42;border-color:#202d42}
html[data-theme="studio"] .button.ghost {border-color:#d6dce5;color:#4b5a70;background:transparent}
html[data-theme="studio"] .button.ghost:hover {background:var(--panel2)}
html[data-theme="studio"] .text-button {font-size:13px}
html[data-theme="studio"] .app-shell #room-ranking-min-games {font-size:16px;min-height:var(--ui-control-height);width:140px}
html[data-theme="studio"] :is(.panel,.c-card,.team-player-option,.team-role-row,.team-groups,.team-result-side,.survey-card,.player-hub-roster-button) {border-radius:var(--ui-card-radius);box-shadow:none}
html[data-theme="studio"] :is(.team-player-info strong,.team-role-identity h3,.team-result-identity>strong,.player-hub-roster-name,.c-participant-line strong,.user-cell strong) {font-size:15px;font-weight:600}
html[data-theme="studio"] :is(.room-ranking-name,.player-hub-roster-main strong) {font-size:15px;font-weight:600}
html[data-theme="studio"] :is(.room-ranking-eligible,.room-ranking-note,.room-ranking-rank small,.room-ranking-unit,.room-ranking-sample) {font-size:12px}
html[data-theme="studio"] :is(.team-player-info small,.team-help,.team-inline-error,.team-group-names,.team-group-positions .position-label,.team-result-identity>small,.team-rating-badge,.player-hub-aliases,.player-hub-highlights small,.player-hub-metric small,.c-chart-foot) {font-size:12px}
html[data-theme="studio"] :is(.numeric-cell,.team-total,.team-result-rating) {font-variant-numeric:tabular-nums}
/* Retain the room cards and list; improve number/unit and long-name readability. */
html[data-theme="studio"] .c-dashboard .c-stat strong {font-size:28px;letter-spacing:-.035em;font-weight:700;line-height:1.3}
html[data-theme="studio"] .c-stat-duration {display:inline-flex;gap:.28em;white-space:nowrap}
html[data-theme="studio"] .c-stat-unit {display:inline-block;white-space:nowrap}
html[data-theme="studio"] .c-stat-unit small {font-size:.66em;font-weight:500;color:#59697f;margin-left:.12em;letter-spacing:0}
html[data-theme="studio"] :is(.room-ranking-value,.room-ranking-number) {font-variant-numeric:tabular-nums;color:var(--text);font-weight:700}
html[data-theme="studio"] :is(.room-ranking-unit,.room-ranking-sample,.room-ranking-note) {color:#59697f}
html[data-theme="studio"] .c-dashboard .c-participant-inner {gap:12px;align-items:center}
html[data-theme="studio"] .c-dashboard .c-participant-body {min-width:0;flex:1}
html[data-theme="studio"] .c-dashboard .c-participant-line strong {white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45}
html[data-theme="studio"] .c-dashboard .c-participant-tag {font-size:11px;margin-top:3px;color:#667286}
html[data-theme="studio"] .c-dashboard .c-participant-games {min-width:48px;justify-content:flex-end;align-items:baseline;gap:4px}
html[data-theme="studio"] .c-dashboard .c-participant-games strong {font-size:16px;color:var(--text)}
html[data-theme="studio"] .c-dashboard .c-participant-games small {font-size:11px}
html[data-theme="studio"] .c-dashboard .c-participant-list {grid-auto-rows:minmax(50px,auto)}
html[data-theme="studio"] .team-player-grid {gap:12px}
html[data-theme="studio"] .team-player-option {padding:16px;min-height:84px}
html[data-theme="studio"] .team-player-option>input {order:3;margin-left:auto}
html[data-theme="studio"] .team-player-option .team-player-info {flex:1}
html[data-theme="studio"] .team-player-option.is-selected {background:#fff6fa;border-color:#d590b0}
html[data-theme="studio"] .topbar {min-height:60px;padding:8px 32px;justify-content:flex-end}
html[data-theme="studio"] .main-content {padding-top:24px}
html[data-theme="studio"] .page-heading {margin-bottom:20px}
html[data-theme="studio"] .sidebar-header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
html[data-theme="studio"] .sidebar-header .sidebar-wordmark {margin:0}
html[data-theme="studio"] .account-menu {position:relative;z-index:40}
html[data-theme="studio"] .account-menu>summary {display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;min-height:44px;font-size:14px;max-width:240px}
html[data-theme="studio"] .account-menu>summary::-webkit-details-marker {display:none}
html[data-theme="studio"] .account-menu>summary .avatar {flex-shrink:0}
html[data-theme="studio"] .account-menu-name {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="studio"] .account-menu-items {position:absolute;right:0;top:calc(100% + 6px);min-width:180px;max-width:calc(100vw - 32px);padding:8px;display:grid;gap:3px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 24px #23314a18}
html[data-theme="studio"] .account-menu-items>button {display:block;width:100%;padding:10px 12px;min-height:44px;border:0;border-radius:8px;background:#fff;color:var(--text);text-align:left;font-size:14px}
html[data-theme="studio"] .account-menu-items>button:hover {background:var(--panel2)}
html[data-theme="studio"] .account-menu-role {padding:6px 12px;font-size:12px;color:var(--muted)}
html[data-theme="studio"] .mobile-account-menu {display:none}
/* Each player owns a card; role controls share five aligned columns on desktop. */
html[data-theme="studio"] .team-role-list {display:grid;gap:12px;border:0;background:transparent;overflow:visible}
html[data-theme="studio"] .team-role-row {display:grid;grid-template-columns:minmax(180px,230px) minmax(0,1fr);gap:20px;padding:16px;border:1px solid var(--line);background:#fff;min-height:120px}
html[data-theme="studio"] .team-role-identity {grid-row:auto;align-self:center;gap:8px}
html[data-theme="studio"] .team-role-controls {display:grid;gap:8px;min-width:0}
html[data-theme="studio"] .team-player-controls {display:flex;gap:14px;flex-wrap:wrap}
html[data-theme="studio"] .team-player-controls .text-button {font-size:12px;min-height:28px;padding:3px 0}
html[data-theme="studio"] .team-player-controls .text-button:disabled {color:var(--muted);opacity:.55}
html[data-theme="studio"] .team-position-options {gap:8px}
html[data-theme="studio"] .team-position-option {min-height:40px;padding:8px 5px;border-radius:8px;background:#fff;flex-direction:row;gap:5px}
html[data-theme="studio"] .team-position-option[aria-pressed="true"] {background:var(--c-pink-soft);border-color:var(--c-pink);color:#b73873}
html[data-theme="studio"] .team-position-option .position-label {font-size:14px;flex-direction:row;gap:5px}
html[data-theme="studio"] .team-position-check {position:static;font-size:12px;order:-1}
html[data-theme="studio"] .team-player-scores {grid-column:auto}
html[data-theme="studio"] .team-score-heading {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-theme="studio"] .team-score-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
html[data-theme="studio"] .team-score-grid>label {display:block;min-width:0}
html[data-theme="studio"] .team-score-grid>label>.position-label {display:none}
html[data-theme="studio"] .team-builder .team-score-grid input {width:100%;min-width:0;min-height:40px!important;padding:8px 5px!important;font-size:16px!important;line-height:1.4;text-align:center;border-radius:8px;appearance:textfield}
html[data-theme="studio"] .team-score-grid input.is-edited {border-color:#c76591;background:#fff6fa}
html[data-theme="studio"] .team-score-grid input[aria-invalid="true"] {border-color:#bd345a;box-shadow:0 0 0 1px #bd345a}
html[data-theme="studio"] .team-score-grid input:disabled {background:#f6f8fc;color:#8794a8;opacity:.8}
html[data-theme="studio"] .team-score-grid input::-webkit-inner-spin-button {appearance:none}
html[data-theme="studio"] .team-builder .team-mercenary-name input {font-size:16px!important;min-height:40px!important}
html[data-theme="studio"] .team-steps {display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:20px}
html[data-theme="studio"] .team-step {border:0;background:transparent;padding:6px 0;gap:7px;min-height:36px;font-size:13px!important}
html[data-theme="studio"] .team-builder .team-step.is-current {background:transparent;color:var(--ui-action)}
html[data-theme="studio"] .team-step.is-current .team-step-number {background:var(--ui-action)}
html[data-theme="studio"] .team-step-number {width:24px;height:24px}
html[data-theme="studio"] .team-mobile-steps {display:none}
html[data-theme="studio"] .team-heading-actions .button {font-size:13px}
html[data-theme="studio"] .team-readiness {padding:14px 16px;border-radius:12px}
html[data-theme="studio"] .team-readiness .team-ready {color:#435a4e}
html[data-theme="studio"] .team-readiness-copy>strong {font-size:14px}
html[data-theme="studio"] .team-readiness-copy>span {font-size:12px}
/* A single matrix retains the actual inputs across mobile tabs and resizing. */
html[data-theme="studio"] .survey-guide {padding:0;background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;margin:0 0 16px}
html[data-theme="studio"] .survey-guide summary {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:14px;padding:10px 0;list-style:none}
html[data-theme="studio"] .survey-guide summary strong {color:#c32972}
html[data-theme="studio"] .survey-guide summary::-webkit-details-marker {display:none}
html[data-theme="studio"] .survey-guide summary::after {content:"⌄";color:var(--muted)}
html[data-theme="studio"] .survey-guide[open] summary::after {content:"⌃"}
html[data-theme="studio"] .survey-guide-range {margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap}
html[data-theme="studio"] .survey-guide p {padding-bottom:12px}
html[data-theme="studio"] .survey-title h2 {margin:0}
html[data-theme="studio"] .survey-management {position:relative}
html[data-theme="studio"] .survey-management>summary {cursor:pointer;min-height:40px;padding:9px 12px;font-size:14px;color:var(--muted)}
html[data-theme="studio"] .survey-management-menu {position:absolute;right:0;top:100%;z-index:10;display:grid;gap:4px;min-width:190px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #23314a18}
html[data-theme="studio"] .survey-management-menu .button {text-align:left;background:#fff;border:0}
html[data-theme="studio"] .survey-management-menu .button:hover {background:var(--panel2)}
html[data-theme="studio"] .survey-role-tabs {display:none}
html[data-theme="studio"] .survey-matrix input {font-size:16px;min-height:40px;padding:8px 5px;border-radius:8px}
html[data-theme="studio"] .survey-player-label {font-size:15px;font-weight:600}
html[data-theme="studio"] .survey-submit-status {display:grid;gap:4px;min-width:0}
html[data-theme="studio"] .survey-submit-status>[data-survey-progress] {font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}
html[data-theme="studio"] .survey-submit-status p {margin:0;font-size:13px;overflow-wrap:anywhere}
@media(max-width:980px) {
 html[data-theme="studio"] .topbar {display:none}
 html[data-theme="studio"] .mobile-account-menu {display:block}
 html[data-theme="studio"] .mobile-account-menu .account-menu-name {display:none}
 html[data-theme="studio"] .mobile-account-menu>summary {min-width:44px;justify-content:center}
 html[data-theme="studio"] .sidebar {overflow:visible;padding:12px 16px 0}
 html[data-theme="studio"] .sidebar-header {margin-bottom:8px;width:100%}
 html[data-theme="studio"] .sidebar nav {padding-bottom:8px}
}
@media(max-width:720px) {
 html[data-theme="studio"] {--ui-control-height:44px}
 html[data-theme="studio"] .c-dashboard .c-stat strong {font-size:clamp(20px,6.15vw,24px)}
 html[data-theme="studio"] .main-content {padding:20px 16px}
 html[data-theme="studio"] .page-heading h1 {font-size:24px}
 html[data-theme="studio"] .page-heading {margin-bottom:18px}
 html[data-theme="studio"] .app-shell .main-content :is(input,select,textarea):where(:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"])) {font-size:16px;min-height:44px}
 html[data-theme="studio"] .button {min-height:44px}
 html[data-theme="studio"] .app-shell .main-content :is(button,summary) {min-height:44px}
 html[data-theme="studio"] .app-shell .main-content .room-rankings-arrow {min-width:44px}
 html[data-theme="studio"] .team-steps {display:none}
 html[data-theme="studio"] .team-mobile-steps {display:block;margin-bottom:12px}
 html[data-theme="studio"] .team-mobile-steps>summary {display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;cursor:pointer;color:var(--ui-action);font-size:14px;font-weight:600}
 html[data-theme="studio"] .team-mobile-steps>summary::-webkit-details-marker {display:none}
 html[data-theme="studio"] .team-mobile-count {padding:4px 7px;border-radius:6px;background:#edf0f5;font-size:12px;white-space:nowrap}
 html[data-theme="studio"] .team-mobile-steps nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0}
 html[data-theme="studio"] .team-mobile-steps .button {font-size:13px}
 html[data-theme="studio"] .team-step-title {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
 html[data-theme="studio"] .team-step-heading {margin-bottom:12px}
 html[data-theme="studio"] .team-rating-badge {background:transparent;padding:0;font-size:12px;font-weight:400;color:var(--muted)}
 html[data-theme="studio"] .team-heading-actions {width:100%;justify-content:space-between;gap:10px}
 html[data-theme="studio"] .team-role-row {grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}
 html[data-theme="studio"] .team-role-controls {gap:14px}
 html[data-theme="studio"] .team-role-identity {grid-column:1}
 html[data-theme="studio"] .team-player-controls {gap:16px}
 html[data-theme="studio"] .team-player-controls .text-button {min-height:32px}
 html[data-theme="studio"] .team-position-options {gap:5px}
 html[data-theme="studio"] .team-position-option {min-height:44px;padding:6px 3px;gap:2px}
 html[data-theme="studio"] .team-position-option .position-label {font-size:13px;gap:3px}
 html[data-theme="studio"] .team-position-option .position-icon {display:none}
 html[data-theme="studio"] .team-position-check {font-size:11px}
 html[data-theme="studio"] .team-score-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html[data-theme="studio"] .team-score-grid>label.is-unselected {display:none}
 html[data-theme="studio"] .team-score-grid>label.is-selected {display:grid;gap:6px}
 html[data-theme="studio"] .team-score-grid>label>.position-label {display:inline-flex;font-size:12px}
 html[data-theme="studio"] .team-builder .team-score-grid input {min-height:44px!important}
 html[data-theme="studio"] .team-readiness .button {min-height:44px}
}
@media(max-width:650px) {
 html[data-theme="studio"] .score-surveys {gap:14px}
 html[data-theme="studio"] .survey-form {padding:16px}
 html[data-theme="studio"] .survey-role-tabs {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:4px;margin:0 0 12px;background:var(--panel2);border-radius:10px}
 html[data-theme="studio"] .survey-role-tab {padding:8px 1px;min-height:44px;font-size:14px;border:0;border-radius:7px;background:transparent;color:var(--muted);white-space:nowrap}
 html[data-theme="studio"] .survey-role-tab[aria-selected="true"] {background:#fff;color:var(--c-blue);font-weight:650;box-shadow:0 1px 4px #23314a12}
 html[data-theme="studio"] .survey-role-tab.has-errors {color:var(--danger);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
 html[data-theme="studio"] .survey-matrix-view .survey-table-scroll {overflow:visible;max-height:none;isolation:auto}
 html[data-theme="studio"] .survey-matrix-view .survey-matrix {min-width:0;width:100%}
 html[data-theme="studio"] .survey-matrix-view .survey-name-column {width:calc(100% - 90px)}
 html[data-theme="studio"] .survey-matrix-view :is(th,td,col)[data-position-column] {display:none}
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="TOP"] [data-position-column="TOP"],
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="JUNGLE"] [data-position-column="JUNGLE"],
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="MIDDLE"] [data-position-column="MIDDLE"],
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="BOTTOM"] [data-position-column="BOTTOM"],
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="UTILITY"] [data-position-column="UTILITY"] {display:table-cell}
 html[data-theme="studio"] .survey-matrix-view col[data-position-column] {width:90px}
 html[data-theme="studio"] .survey-matrix-view col[data-position-column]:is([data-position-column="TOP"],[data-position-column="JUNGLE"],[data-position-column="MIDDLE"],[data-position-column="BOTTOM"],[data-position-column="UTILITY"]) {display:none}
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="TOP"] col[data-position-column="TOP"],
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="JUNGLE"] col[data-position-column="JUNGLE"],
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="MIDDLE"] col[data-position-column="MIDDLE"],
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="BOTTOM"] col[data-position-column="BOTTOM"],
 html[data-theme="studio"] .survey-matrix-view[data-mobile-role="UTILITY"] col[data-position-column="UTILITY"] {display:table-column}
 html[data-theme="studio"] .survey-matrix-view .survey-matrix :is(th,td) {position:static;padding:12px 9px}
 html[data-theme="studio"] .survey-matrix-view .survey-matrix thead th {padding:5px;background:#f6f8fc}
 html[data-theme="studio"] .survey-matrix-view .survey-matrix input {font-size:16px;min-height:44px;width:100%;max-width:72px}
 html[data-theme="studio"] .survey-player-label {font-size:14px;gap:8px}
 html[data-theme="studio"] .survey-guide summary {gap:7px;font-size:13px}
 html[data-theme="studio"] .survey-guide-range {font-size:12px}
 html[data-theme="studio"] .survey-submit-bar {position:sticky;bottom:8px;z-index:4;display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:10px;padding:12px;margin:16px -4px 0;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 22px #23314a12}
 html[data-theme="studio"] .survey-submit-status {display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
 html[data-theme="studio"] .survey-submit-status p {font-size:12px}
 html[data-theme="studio"] .survey-heading>.button {padding-inline:10px}
}
