/* Fit birthplace selection inside the fixed game canvas, keeping its action below the sect list. */
#game-root .region-selection-panel:not([hidden]) {
  position:absolute; inset:0; width:100%; height:100%; min-height:0; margin:0;
  box-sizing:border-box; padding:14px 16px 16px; border-radius:0;
  display:flex; flex-direction:column; gap:10px; overflow-y:auto; scrollbar-width:none;
  background:linear-gradient(135deg,#f5efdf,#e3e9db);
}
#game-root .region-selection-panel::-webkit-scrollbar { display:none; }
#game-root .region-selection-panel__heading { flex:none; }
#game-root .region-selection-panel__heading h2 { margin:0; font-size:19px; line-height:1.5; color:#23413f; }
#game-root .region-selection-panel__subtitle { display:none; }
#game-root .region-map {
  position:relative; flex:0 1 auto; min-height:220px; max-height:420px; width:100%; aspect-ratio:1;
  margin:0 auto; overflow:hidden; border-radius:12px; user-select:none; -webkit-user-select:none;
  -webkit-touch-callout:none; -webkit-tap-highlight-color:transparent;
}
#game-root .region-map img { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; user-select:none; -webkit-user-drag:none; }
#game-root .birth-region-label {
  position:absolute; transform:translate(-50%,-50%); display:flex; flex-direction:column; align-items:center;
  min-height:34px; padding:5px 8px; border:1px solid #ab9870; border-radius:7px;
  background:#f7f0dfef; box-shadow:0 2px 5px #183e3d40; color:#203e3b;
  font:17px/1.25 KaiTi,STKaiti,SimSun,serif; white-space:nowrap; cursor:pointer;
}
#game-root .birth-region-label small { font-size:12px; color:#5c655a; }
#game-root .birth-region-label.is-selected { background:#214e50; color:#fff0bc; border:2px solid #d9b76c; }
#game-root .birth-region-label.is-selected small { color:#eee3c7; }
#game-root .birth-region-label:focus-visible { outline:2px solid #795b26; outline-offset:3px; }
#game-root .birth-region-label[data-region-id="north"] { left:50%; top:20%; }
#game-root .birth-region-label[data-region-id="west"] { left:19%; top:49%; }
#game-root .birth-region-label[data-region-id="central"] { left:50%; top:49%; }
#game-root .birth-region-label[data-region-id="east"] { left:81%; top:49%; }
#game-root .birth-region-label[data-region-id="south"] { left:50%; top:79%; }
#game-root .region-detail { flex:none; padding:10px 12px; }
#game-root .region-detail h4 { font-size:17px; margin:0 0 4px; }
#game-root .region-sect-slots { margin:0; }
#game-root .region-sect-slots li { padding:6px 0; font-size:15px; line-height:1.4; }
#game-root .region-confirm-button { flex:none; position:static; align-self:center; margin-top:4px; width:240px; min-height:44px; font-size:18px; background:#24595b; color:#fff0bc; border:1px solid #c5a76a; }
#game-root[data-active-page="cultivate"] .player-currencies { left:194px; right:10px; gap:5px; grid-template-columns:1.12fr 1fr; }
#game-root[data-active-page="cultivate"] .player-currencies > span { font-size:13px; gap:1px; }
#game-root[data-active-page="cultivate"] .player-currencies b { font-size:14px; }
#game-root[data-active-page="cultivate"] .player-currencies b[data-compact="true"] { font-size:12px; }
#game-root .player-currencies .header-currency-icon { width:15px; height:15px; flex:none; }
#game-root .game-content:has(> .region-selection-panel:not([hidden])) { position:absolute!important; inset:46px 0 0!important; padding:0!important; overflow:hidden; }
#game-root .region-confirm-button:not(:disabled) { background:linear-gradient(135deg,#286265,#19434a)!important; color:#fff0bc!important; }
