/* Reviewed development UI, 2026-11-01. No combat or reward formulas. */
#game-root input[data-role="player-name-input"]::placeholder { color:#727d66; opacity:.85; }
#game-root .region-map {
  width:min(100%,420px); max-height:none; height:auto; flex:0 0 auto; aspect-ratio:1;
  border-radius:0; isolation:isolate; background:#eee5ca;
  clip-path:polygon(1% 1%,12% 0,24% 1%,39% 0,52% 1%,67% 0,81% 1%,98% 0,99% 13%,98% 26%,100% 42%,99% 57%,100% 71%,98% 86%,99% 99%,85% 98%,71% 100%,55% 99%,40% 100%,25% 98%,12% 100%,0 98%,1% 84%,0 69%,1% 53%,0 39%,1% 23%,0 10%);
  box-shadow:inset 0 0 14px #806d4c77;
}
#game-root .region-map::after { content:""; position:absolute; inset:0; box-shadow:inset 0 0 14px 5px #84704766; pointer-events:none; z-index:3; }
#game-root .region-territories { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
#game-root .region-territories path { fill:transparent; stroke:transparent; stroke-width:5; cursor:pointer; pointer-events:all; transition:fill .15s,stroke .15s; }
#game-root .region-territories path:hover { fill:#fff4c51a; stroke:#e5c67499; }
#game-root .region-territories path.is-selected { fill:#fff2a522; stroke:#ffe5a0; filter:drop-shadow(0 0 4px #b78420); }
#game-root .birth-region-label { z-index:2; }
#game-root .region-cancel-button { flex:none; align-self:center; width:180px; min-height:38px; }

#game-root .sect-selection-view { gap:10px; }
#game-root .sect-selection-media { width:88%; aspect-ratio:16/9; height:auto; min-height:0; overflow:hidden; border:1px solid #ad9c6c; border-radius:14px 4px; background:#cbd5be; box-shadow:0 3px 10px #24413d33; }
#game-root .sect-selection-image { width:100%; height:100%; object-fit:cover; }
#game-root .sect-selection-navigation { display:grid!important; grid-template-columns:52px minmax(0,220px) 52px; justify-content:center; align-items:center; width:100%; gap:12px; margin:0!important; }
#game-root .sect-selection-navigation button { width:100%!important; margin:0!important; min-height:42px; }
#game-root .sect-selection-counter { color:#697b65; text-align:center; font-size:13px; }
#game-root .sect-teleport-button { width:150px; min-height:38px; margin:2px auto 0; }

#game-root .companion-kungfu-grid, #game-root .companion-equipment-grid { align-items:start; gap:6px; }
#game-root .companion-slot-card { display:flex!important; flex-direction:column; justify-content:flex-start!important; align-items:center; height:auto!important; min-height:0!important; padding:8px 3px!important; gap:6px!important; }
#game-root .companion-slot-card .reserved-slot-card__icon { width:min(100%,50px); height:auto!important; aspect-ratio:1; flex:none; }
#game-root .companion-equipment-grid .reserved-slot-card__icon { width:min(100%,62px); }
#game-root .companion-slot-card .reserved-slot-card__content { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; min-height:0!important; gap:2px; margin:0!important; padding:0!important; }
#game-root .companion-slot-card .reserved-slot-card__label { line-height:1.3; margin:0; }
#game-root .companion-slot-card .reserved-slot-card__name { font-size:11px; line-height:1.25; overflow-wrap:anywhere; }
#game-root .companion-slot-card .reserved-slot-card__name:empty { display:none; }

#game-root .newcomer-day-tab { justify-items:center; align-content:center; gap:4px; padding:5px 1px; min-height:60px; }
#game-root .newcomer-day-reward-icon { display:block; width:27px; height:27px; }
#game-root .newcomer-day-reward-icon img { width:100%; height:100%; object-fit:contain; }
#game-root .newcomer-day-tab:disabled { opacity:.6; }
#game-root [data-role="newcomer-sign-in-card"] { position:relative; isolation:isolate; display:flex!important; flex-direction:column; justify-content:flex-start!important; align-items:center; gap:12px; min-height:100%; height:auto; padding:28px 18px 30px!important; border:1px solid #bca77a; border-radius:14px 5px; background:linear-gradient(#eef0dacc,#d1ddc6aa); color:#234541; overflow:hidden; box-sizing:border-box; }
#game-root [data-role="newcomer-sign-in-card"]::before { content:""; position:absolute; inset:0; z-index:-1; background:url('../assets/images/layout-v7/birth-map-v31.png') center/cover; opacity:.11; mask-image:linear-gradient(transparent,#000); pointer-events:none; }
#game-root .newcomer-sign-in-title { font-size:24px!important; line-height:1.4; color:#244541!important; }
#game-root .newcomer-sign-in-subtitle, #game-root .newcomer-sign-in-hint { color:#647761; font-size:13px; }
#game-root .newcomer-sign-in-rewards { display:grid; justify-content:center; width:100%; margin:10px 0; }
#game-root .newcomer-sign-in-reward { display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
#game-root .newcomer-sign-in-reward > span:last-child { color:#234541!important; font-size:17px!important; line-height:1.5; }
#game-root .newcomer-reward-art { display:grid; place-items:center; width:172px; height:172px; padding:18px; box-sizing:border-box; border:1px solid #bea76b; border-radius:50%; background:radial-gradient(#fbf6dfcc,#b3cbb755,transparent); box-shadow:0 0 0 6px #f6eedb44,0 0 0 8px #c6af6b33; }
#game-root .newcomer-reward-art img { width:100%; height:100%; object-fit:contain; }
#game-root .newcomer-sign-in-rewards.is-multiple { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 8px; }
#game-root .is-multiple .newcomer-reward-art { width:66px; height:66px; padding:7px; }
#game-root .is-multiple .newcomer-sign-in-reward { gap:8px; }
#game-root .is-multiple .newcomer-sign-in-reward > span:last-child { font-size:12px!important; }
#game-root [data-role="newcomer-sign-in-card"] .newcomer-claim-button { min-width:170px; min-height:44px; margin-top:5px; }

#game-root .physique-categories { grid-template-columns:repeat(2,minmax(0,1fr)); }
#game-root [data-role="physique-categories"] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
#game-root [data-role="physique-content"] { display:flex!important; flex-direction:column; align-content:start; gap:14px; overflow-y:auto; padding:4px 2px 16px; }
#game-root .physique-panel-section, #game-root .physique-advance-section, #game-root .physique-refinement-panel { flex:none; padding:12px 10px; border:1px solid #b5b897; border-radius:13px 5px; background:linear-gradient(135deg,#eef1dce8,#cbd9c4dc); color:#244741; box-shadow:0 3px 8px #274b3c16; }
#game-root .physique-panel-section { gap:4px; }
#game-root .physique-panel-section > h3, #game-root .physique-subpanel-title { margin:0 auto 8px; width:fit-content; padding:3px 20px; border:1px solid #bea572; background:#f2ecd7; color:#31524a; font-size:17px; font-weight:500; }
#game-root .physique-card { display:grid; grid-template-columns:94px minmax(0,1fr); grid-template-rows:auto auto; gap:8px 12px; min-height:0!important; padding:6px; background:transparent!important; border:0; box-shadow:none; }
#game-root .physique-card > .physique-visual-icon { grid-column:1; grid-row:1/3; width:90px!important; height:90px!important; align-self:center; }
#game-root .physique-card__heading { grid-column:2; flex-direction:column; align-items:flex-start; gap:5px; }
#game-root .physique-card__heading strong { font-size:22px; }
#game-root .physique-card__heading span { border:1px solid var(--physique-quality-color); border-radius:14px; padding:2px 10px; color:#546b5e; }
#game-root .physique-card__effect { grid-column:2; }
#game-root .physique-card__effect > small, #game-root .physique-card__active { display:none; }
#game-root .physique-effect-list { color:#31544d; font-size:13px; line-height:1.6; }
#game-root .physique-change-button { display:block; margin:6px 0 0 auto; min-height:32px; padding:4px 14px; font-size:13px; }
#game-root .physique-advancement-flow { display:grid; grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr); align-items:center; gap:5px; }
#game-root .physique-advance-node { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:0; padding:4px 2px; gap:4px; border:0; background:transparent; }
#game-root .physique-advance-node .physique-visual-icon { display:block; width:58px; height:58px; }
#game-root .physique-visual-icon img { width:100%; height:100%; object-fit:contain; }
#game-root .physique-advance-node strong { font-size:17px; color:#31544d; }
#game-root .physique-advance-node > small, #game-root .physique-advance-node > span { color:#667960; font-size:12px; }
#game-root .physique-flow-arrow { color:#a58a4f; font-size:26px; text-align:center; }
#game-root .physique-advance-effects { padding:10px 6px; border-top:1px solid #a6b49580; }
#game-root .physique-advance-effects > small { color:#6c785e; }
#game-root .physique-advance-material { padding:9px; margin:3px 0 9px; border:1px solid #b4bd9f; background:#ffffff24; border-radius:6px; color:#466354; font-size:13px; }
#game-root .physique-advance-material strong { color:#58724d; font-size:13px; }
#game-root .physique-advance-button, #game-root .physique-exchange-button { width:100%; min-height:40px; }
#game-root .physique-advance-layout { display:flex; flex-direction:column; gap:14px; }
#game-root .physique-origin-inputs { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
#game-root .physique-origin-slot { display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 6px; min-height:0; border:1px solid #b1b99b; background:#f6f1d947; border-radius:9px; color:#35564e; }
#game-root .physique-origin-icon { display:grid; place-items:center; width:48px; height:48px; border:1px solid #bbaa70; background:radial-gradient(#f4f0d9,#b1c3aa66); border-radius:50%; color:#a48b54; font-size:30px; }
#game-root .physique-origin-icon img { width:100%; height:100%; object-fit:contain; }
#game-root .physique-origin-slot strong { color:#35564e; font-size:13px; }
#game-root .physique-origin-output { width:65%; margin:0 auto 10px; }
#game-root .physique-section-hint, #game-root .physique-empty { color:#687b66; font-size:13px; line-height:1.65; }
#game-root .physique-refinement-panel .physique-empty { text-align:center; padding:24px 4px; }
#game-root .physique-empty__title { display:block; text-align:center; color:#426151; font-size:18px; }
@media (prefers-reduced-motion:reduce) { #game-root .region-territories path { transition:none; } }

/* Screenshot follow-up: reuse the existing teal-cloud ornament and paper palette. */
#game-root .companion-portrait--upper-body { overflow:hidden; }
#game-root .companion-portrait--upper-body img { width:100%; height:100%; object-fit:cover; object-position:50% 0; transform:scale(2.15); transform-origin:50% 0; }
#game-root .reserved-slot-card__label[hidden], #game-root .reserved-slot-card__name:empty { display:none!important; }
#game-root .reserved-slot-card__content { min-height:0; }
#game-root .reserved-slot-card__name { line-height:1.3; white-space:normal; overflow-wrap:anywhere; }
#game-root .newcomer-day-tab { min-height:34px; padding:6px 2px; }
html[data-ui-theme="teal-cloud-a"] #game-root [data-role="physique-categories"] button {
  background:var(--tc-corners),var(--tc-action-art) center/100% 100% no-repeat,#c4d0b8!important;
  color:var(--tc-ink-strong)!important; border:1px solid #a59b74; border-radius:7px;
  box-shadow:inset 0 1px #fff8d477; text-shadow:none;
}
html[data-ui-theme="teal-cloud-a"] #game-root [data-role="physique-categories"] button.is-active {
  background:var(--tc-corners),var(--tc-button-fill)!important;
  color:var(--tc-button-ink)!important; border-color:#b49a63; box-shadow:inset 0 0 0 2px #ddbf7933;
}
html[data-ui-theme="teal-cloud-a"] #game-root .physique-subpanel-title {
  background:var(--tc-corners),var(--tc-action-art) center/100% 100% no-repeat,#c4d0b8!important;
  color:var(--tc-ink-strong)!important; border:1px solid #a59b74; border-radius:6px; padding:4px 22px;
}
html[data-ui-theme="teal-cloud-a"] #game-root .physique-advance-material {
  border:0!important; border-radius:0; background:none!important; box-shadow:none!important;
  padding:5px 2px; display:flex; justify-content:flex-start; flex-wrap:wrap; gap:6px; color:#34584e;
}
html[data-ui-theme="teal-cloud-a"] #game-root .physique-origin-slot,
html[data-ui-theme="teal-cloud-a"] #game-root .physique-origin-output {
  border:0!important; background:none!important; box-shadow:none!important; padding:6px 4px;
  gap:7px; cursor:default; min-height:0; text-shadow:none;
}
html[data-ui-theme="teal-cloud-a"] #game-root .physique-origin-slot::before,
html[data-ui-theme="teal-cloud-a"] #game-root .physique-origin-slot::after { display:none!important; }
html[data-ui-theme="teal-cloud-a"] #game-root .physique-origin-slot > small,
html[data-ui-theme="teal-cloud-a"] #game-root .physique-origin-slot > strong { color:#294e45!important; }
html[data-ui-theme="teal-cloud-a"] #game-root button.physique-origin-icon {
  width:58px; height:58px; min-width:0!important; min-height:0!important; box-sizing:border-box; padding:7px; border-radius:50%!important;
  background:radial-gradient(circle,#f6f1d9,#bdceb5)!important; color:#65794e!important;
  border:1px solid #a99c68!important; box-shadow:0 0 0 3px #ede7cf88!important; cursor:pointer; text-shadow:none;
}
html[data-ui-theme="teal-cloud-a"] #game-root button.physique-origin-icon.is-selected { background:radial-gradient(circle,#fff6da,#c6d6b8)!important; border-color:#a78b47!important; }
html[data-ui-theme="teal-cloud-a"] #game-root button.physique-origin-icon:focus-visible { outline:2px solid #376960; outline-offset:4px; }
#game-root .sect-kungfu-exchange__message:empty { display:none; }
