/* RA1h9 (칸 10-26 00:3x~00:5x 「녹색 · 밤색 야간처럼 진하게」 · 「남색은 골드로 진하게」 · 「이대로 진행」) — theme-plus(RA1h) 위에 바탕 · 카드 · 선 · 단추 · 얇은 색 상자 토큰만 덮어씀.
   ★ 야간과 같은 깊이: 바탕이 가장 어둡고 카드 · 선 · 주 단추는 한 단계씩 밝게. 글자는 theme-plus 그대로(밝은 글자).
   ★ data-theme="navy" 자리는 이제 「골드」(검은 금빛 바탕 · 구리빛 주 단추 · 펄 샴페인 강조). 이름 「골드」는 pit-theme · 화면 설정 창에서 바꿈.
   ★ 「금색 채움 = 돈 나가는 단추」(09-05): 돈 단추(.primary.gold)는 theme-plus 그대로 밝은 금 + 밝은 테두리 · 골드 테마의 일반 주 단추는 짙은 구리색이라 섞이지 않음.
   ★ theme-plus 의 「바탕이 밝은 중간톤이라 얇은 색 상자를 어둡게 깐」 값(RA1h2)은 어두운 바탕에서 안 보이므로 야간처럼 밝은 색을 얇게 까는 값으로 되돌림.
   ★ 선택자는 theme-plus 와 같은 html[data-theme=…]:root 에 :not(#…) 한 칸을 더해 앞섬(파일 순서와 무관). 전역 규칙 0 · 다른 테마(주간 · 야간 · 블랙) 0. */

html[data-theme="green"]:root:not(#ra1h9-deep){
  --bg:#0A1A12; --card:#12291D; --card2:#0E2017; --line:#1F3D2D; --line-soft:rgba(31,61,45,.55);
  --ground:#06110C; --stage-glow:#12301F; --nav:#07140D; --deep:#081610; --ctrl:#22382C; --toast:#123022; --dot-off:#3B5446;
  --scrim:rgba(6,17,12,.92); --scrim-soft:rgba(3,10,7,.86); --veil:rgba(6,16,11,.72);
  --fg-a-03:rgba(255,255,255,.03); --fg-a-08:rgba(255,255,255,.08);
  --key:#2F7A55; --key2:#256445; --on-key:#F2FAF5;
  --hero-a:#123323; --hero-b:#0B2216;
  --sum-a:#12291D; --sum-b:#0E2017; --sum-line:#1F3D2D;
  --inst-a:#12291D; --inst-b:#0E2017; --inst-line:#1F3D2D;
  --lp-a:#12291D; --lp-b:#0E2017;
  --coin-kaia-bg:#16301F; --bar-vault:#3D6B55;
  --ra1h-home:linear-gradient(180deg,#0C1F15 0%,#0A1A12 55%,#08150E 100%);
  --tint-key:rgba(207,235,221,.12); --tint-blue:rgba(207,235,221,.09); --tint-dim:rgba(160,190,175,.13);
  --tint-green:rgba(34,197,94,.14); --on-green-tint:#9BE8BC;
  --tint-red:rgba(239,100,97,.14); --on-red-tint:#FFB3B1;
  --tint-purple:rgba(164,148,220,.14); --on-purple-tint:#C9BEEB;
  --tint-gold:rgba(240,146,62,.14); --on-gold-tint:#FFC995;
}

html[data-theme="brown"]:root:not(#ra1h9-deep){
  --bg:#1A0F09; --card:#2A1A10; --card2:#22150D; --line:#46301F; --line-soft:rgba(70,48,31,.55);
  --ground:#120A06; --stage-glow:#2E1A0E; --nav:#140B06; --deep:#160D08; --ctrl:#3A2A1E; --toast:#2E1B10; --dot-off:#5A4434;
  --scrim:rgba(18,10,6,.92); --scrim-soft:rgba(10,6,3,.86); --veil:rgba(18,10,6,.72);
  --fg-a-03:rgba(255,255,255,.03); --fg-a-08:rgba(255,255,255,.08);
  --key:#8A5233; --key2:#6E4128; --on-key:#FFF4EC;
  --hero-a:#33200F; --hero-b:#22140A;
  --sum-a:#2A1A10; --sum-b:#22150D; --sum-line:#46301F;
  --inst-a:#2A1A10; --inst-b:#22150D; --inst-line:#46301F;
  --lp-a:#2A1A10; --lp-b:#22150D;
  --coin-kaia-bg:#2E1E14; --bar-vault:#7A5A44;
  --ra1h-home:linear-gradient(180deg,#1E120B 0%,#1A0F09 55%,#150C07 100%);
  --tint-key:rgba(242,193,176,.12); --tint-blue:rgba(242,193,176,.09); --tint-dim:rgba(200,170,150,.13);
  --tint-green:rgba(34,197,94,.14); --on-green-tint:#9BE8BC;
  --tint-red:rgba(239,100,97,.14); --on-red-tint:#FFB3B1;
  --tint-purple:rgba(164,148,220,.14); --on-purple-tint:#C9BEEB;
  --tint-gold:rgba(240,130,60,.14); --on-gold-tint:#FFD0AA;
}

/* 골드(옛 남색 자리) — 검은 금빛 바탕 · 구리빛 주 단추 · 강조는 theme-plus navy 의 펄 샴페인 그대로 */
html[data-theme="navy"]:root:not(#ra1h9-deep){
  --bg:#141006; --card:#241C0A; --card2:#1C1608; --line:#4A3A16; --line-soft:rgba(74,58,22,.55);
  --ground:#0E0B04; --stage-glow:#2A2008; --nav:#100C05; --deep:#120E05; --ctrl:#3A3018; --toast:#2A200C; --dot-off:#5A4C2A;
  --scrim:rgba(14,11,4,.92); --scrim-soft:rgba(8,6,2,.86); --veil:rgba(14,11,4,.72);
  --fg-a-03:rgba(255,255,255,.03); --fg-a-08:rgba(255,255,255,.08);
  --key:#6E5418; --key2:#574213; --on-key:#FFF6DC;
  --hero-a:#2E230C; --hero-b:#1E1708;
  --sum-a:#241C0A; --sum-b:#1C1608; --sum-line:#4A3A16;
  --inst-a:#241C0A; --inst-b:#1C1608; --inst-line:#4A3A16;
  --lp-a:#241C0A; --lp-b:#1C1608;
  --coin-kaia-bg:#2A220E; --bar-vault:#7A6530;
  --ra1h-home:linear-gradient(180deg,#1A1408 0%,#141006 55%,#100C04 100%);
  --tint-key:rgba(240,226,198,.12); --tint-blue:rgba(240,226,198,.09); --tint-dim:rgba(200,185,150,.13);
  --tint-green:rgba(34,197,94,.14); --on-green-tint:#9BE8BC;
  --tint-red:rgba(239,100,97,.14); --on-red-tint:#FFB3B1;
  --tint-purple:rgba(164,148,220,.14); --on-purple-tint:#C9BEEB;
  --tint-gold:rgba(240,146,62,.14); --on-gold-tint:#FFD3AA;
}
html[data-theme="navy"]:not(#ra1h9-deep) .tgl.on{background:#A8873A}
html[data-theme="navy"]:not(#ra1h9-deep) input[type=range]{accent-color:#D9B45A}
/* 골드 테마 앱 안 P 로고 = 구리빛 원 + 밝은 금 글자(theme-plus navy 로고의 색 두 개만 바꿈) */
/* UI4(10-29 · 칸 10-28 「P 마크 동그라미 테두리 선」): 골드(navy 자리) P 마크 바깥 테두리 = 금빛 #E8C877 · 불투명 · 굵기 2.8/64 (theme-plus UI4 와 같은 꼴) */
html[data-theme="navy"]:not(#ra1h9-deep){--ra1h-p:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><circle cx='32' cy='32' r='32' fill='%236E5418'/><circle cx='32' cy='32' r='30.6' fill='none' stroke='%23E8C877' stroke-width='2.8'/><path d='M25.5 50V30.5a11 11 0 1 1 11 11h-3.5' fill='none' stroke='%23F6E3B0' stroke-width='7.5' stroke-linejoin='round'/></svg>")}
/* RA1h10 (칸 10-26 01:5x): 화면 설정 창 테마 견본(theme-plus 464~470 의 옛 중간톤 · 「골드」 칸의 옛 남색 견본)을 진해진 테마 값으로 — 반은 바탕(--bg) · 반은 주 단추(--key) / 골드는 금 강조 + 금 테두리. 견본 3개만 · 다른 규칙 0 */
dialog.ra1h-disp .ra1h-sw.ra1h-sw-green:not(#ra1h10-sw){background:linear-gradient(135deg,#0A1A12 0 50%,#2F7A55 50% 100%)}
dialog.ra1h-disp .ra1h-sw.ra1h-sw-brown:not(#ra1h10-sw){background:linear-gradient(135deg,#1A0F09 0 50%,#8A5233 50% 100%)}
dialog.ra1h-disp .ra1h-sw.ra1h-sw-navy:not(#ra1h10-sw){background:linear-gradient(135deg,#141006 0 50%,#D9B45A 50% 100%);box-shadow:0 0 0 1.5px #D9B45A}
/* RA1h10 r2 (칸 10-26 02:4x · 02:5x): 블랙 테마 테더 카드 회색(티타늄) → 샴페인 골드 — 야간 금색 카드(gold-card GC2NX7 #F2D68E · #D9AE52 · #B8862B)보다 약간 옅게(단계마다 밝기 +10% · 채도 ×0.82)
   글자 · 보내기/받기 테두리 · 점은 야간 금색 카드 값(남색 #0A1530 · #2A2410 · 브론즈 #4E3908 · #C99A3A) · 대비(가장 어두운 끝): 글자 7.1 · 보조 6.1 · 단추 테두리 4.3 · 단추는 채움 없음(「금색 채움 = 돈 단추」와 다름)
   블랙 바탕 · 다른 카드(원화페이 준비 카드 등) · 다른 테마 그대로 · 화면 설정 창 블랙 견본도 반은 이 금색 */
html[data-theme="black"]:root:not(#ra1h10-blk){--ra1h-card:linear-gradient(135deg,#F2E4C1 0%,#D9BE85 42%,#C69C50 100%);--ra1h-card-ink:#0A1530;--ra1h-card-sub:#2A2410;--ra1h-card-line:#4E3908;--ra1h-card-dot:#C99A3A}
html[data-theme="black"]:not(#ra1h10-blk) #home #walletCards .wallet-card[data-wallet-card="USDT"] .unit,
html[data-theme="black"]:not(#ra1h10-blk) #home #walletCards .wallet-card[data-wallet-card="USDT"] strong,
html[data-theme="black"]:not(#ra1h10-blk) #home #walletCards .wallet-card[data-wallet-card="USDT"] strong .amt{text-shadow:0 1px 0 rgba(255,255,255,.35)}
html[data-theme="black"]:not(#ra1h10-blk) #home #walletCards .wallet-card[data-wallet-card="USDT"] .actions button:not(:disabled):active{background:rgba(10,21,48,.10)}
dialog.ra1h-disp .ra1h-sw.ra1h-sw-black:not(#ra1h10-sw){background:linear-gradient(135deg,#000000 0 50%,#D9BE85 50% 100%)}
