/* ═══ 홈 화면 스타일 5종 (개인 설정 /my/settings) ═══════════════════════════════════════════
   디오라마(diorama) · 타이포(type) · 글래스(glass, 기본) · 스튜디오(studio) · 소프트(soft)
   - 고른 값은 <html data-home="스타일" data-home-fin="solid|glass"> (theme.js amesHome · App.razor 쿠키 ames.home).
   - 적용 범위: 홈 사이트맵(.hs-live) 은 <html> 속성으로, 개인 설정 미리보기(.hs-pv[data-hs][data-fin]) 는 자기 속성으로 고른다.
     두 범위를 :is() 로 묶어 같은 규칙을 쓰고, 미리보기는 .hs-live 밖에 있어 홈 값과 섞이지 않는다.
   - 마크업은 HomeTile.razor 하나 — 스타일마다 필요한 부분만 보인다. 장면 그림(home/iso/*.svg)은 CSS 배경이라
     고른 스타일·테마의 규칙만 걸려 그 그림만 내려받는다(생성기: 시안 gen_iso.py 장면 + 변형별 재질).
   - 스타일 전용 토큰은 --hs-* 로 .hs-live/.hs-pv 안에서만 정의한다. 라이트는 html[data-theme="light"] 에서 바꾼다. */

/* Radzen 번들 Inter(가변) — 외부 글꼴을 못 받는 공장 내부망에서도 타이포 코드가 같은 글꼴로 */
@font-face {
    font-family: "AMES Inter";
    src: url("../_content/Radzen.Blazor/fonts/InterVariable.woff2") format("woff2");
    font-weight: 100 900; font-style: normal; font-display: swap;
}

.hs-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── 토큰 (다크 기본) ───────────────────────────────────────────── */
.hs-live, .hs-pv {
    --hs-font: "AMES Inter", "Inter", "Noto Sans KR", "Malgun Gothic", sans-serif;
    --hs-page: var(--ames-sf-060b17);
    /* 카드 계열(글래스·타이포·디오라마) */
    --hs-card: rgba(255,255,255,.045);
    --hs-line: rgba(255,255,255,.08);
    --hs-ink: #f5f5f7;
    --hs-ink2: rgba(235,235,245,.62);
    --hs-ink3: rgba(235,235,245,.40);
    --hs-track: rgba(255,255,255,.08);
    --hs-lift: inset 0 1px 0 rgba(255,255,255,.04), 0 2px 6px rgba(0,0,0,.18), 0 10px 24px rgba(0,0,0,.18);
    --hs-type-a: rgba(22,36,61,.55);
    --hs-type-b: rgba(14,26,48,.62);
    --hs-stage: rgba(147,197,253,.10);
    --hs-acc: #93c5fd;
    --hs-acc2: #5b98e6;
    --hs-ico-sh1: rgba(0,0,0,.28);
    --hs-ico-sh2: rgba(0,0,0,.38);
    /* 뉴모피즘 계열(스튜디오·소프트) — 시안 v6/v7/v8 다크 */
    --hs-bg: #161d2e;
    --hs-hi: #202a41;
    --hs-lo: #0b0f19;
    --hs-well: #121827;
    --hs-text: #e8edf6;
    --hs-muted: #a6b1c6;
    --hs-faint: #7d89a1;
    --hs-deep: inset 6px 6px 14px #080b13, inset -5px -5px 12px #1e2740;
    --hs-raise: 9px 9px 20px var(--hs-lo), -9px -9px 20px var(--hs-hi);
    --hs-raise-sm: 3px 3px 7px var(--hs-lo), -3px -3px 7px var(--hs-hi);
    --hs-inset: inset 3px 3px 7px var(--hs-lo), inset -3px -3px 7px var(--hs-hi);
    --hs-well-sh: inset 4px 4px 10px var(--hs-lo), inset -4px -4px 10px var(--hs-hi);
    --hs-socket: inset 5px 5px 11px var(--hs-lo), inset -5px -5px 11px var(--hs-hi);
    --hs-track-sh: inset 2px 2px 5px var(--hs-lo), inset -2px -2px 5px var(--hs-hi);
    --hs-groove: inset 2px 2px 4px var(--hs-lo), inset -2px -2px 4px var(--hs-hi);
}
/* 라이트 — 아이보리 테마 위: 카드는 크림 유리, 뉴모피즘은 페이지 바탕(--ames-bg)과 같은 판에서 솟고 파인다 */
html[data-theme="light"] .hs-live, html[data-theme="light"] .hs-pv {
    --hs-page: var(--ames-bg);
    --hs-card: rgba(255,255,255,.62);
    --hs-line: var(--ames-border);
    --hs-ink: var(--ames-text);
    --hs-ink2: var(--ames-text-dim);
    --hs-ink3: rgba(44,39,33,.60);
    --hs-track: rgba(44,39,33,.10);
    --hs-lift: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(80,60,20,.08), 0 10px 24px -6px rgba(80,60,20,.14);
    --hs-type-a: rgba(255,255,255,.80);
    --hs-type-b: rgba(255,255,255,.56);
    --hs-stage: rgba(59,130,246,.08);
    --hs-acc: #2f7ff0;
    --hs-acc2: #1d4ed8;
    --hs-ico-sh1: rgba(60,45,20,.20);
    --hs-ico-sh2: rgba(60,45,20,.24);
    --hs-bg: var(--ames-bg);
    --hs-hi: #ffffff;
    --hs-lo: #c9bea6;
    --hs-well: #e6dec9;
    --hs-text: var(--ames-text);
    --hs-muted: var(--ames-text-dim);
    --hs-faint: #756b58;
    --hs-deep: inset 6px 6px 14px #cbbfa4, inset -5px -5px 12px #ffffff;
}

/* 모듈 색 — 글래스·소프트 아이콘 3단 그라디언트(--c1~3, 시안 v5), 타이포 점·막대·메뉴 코드(--m, 시안 v4). 홈 타일과 좌측 메뉴 아이콘이 함께 쓴다 */
:is(.hs-tile, .hs-nic, .ames-map-row).hs-scm { --c1: #FFC15A; --c2: #FF9A2E; --c3: #F2760F; --m: #f5c04a; }
:is(.hs-tile, .hs-nic, .ames-map-row).hs-pp  { --c1: #6BB8FF; --c2: #2F7FF0; --c3: #1A5FD6; --m: #93c5fd; }
:is(.hs-tile, .hs-nic, .ames-map-row).hs-mnt { --c1: #FF8A7E; --c2: #F2554A; --c3: #D63A33; --m: #ff9f5a; }
:is(.hs-tile, .hs-nic, .ames-map-row).hs-rpt { --c1: #C79BFF; --c2: #9A63F2; --c3: #7444D6; --m: #c7d0dc; }
:is(.hs-tile, .hs-nic, .ames-map-row).hs-wh  { --c1: #5EE0CF; --c2: #22B8AA; --c3: #0F918A; --m: #5fd39a; }
:is(.hs-tile, .hs-nic, .ames-map-row).hs-fg  { --c1: #74E08D; --c2: #34C25B; --c3: #1F9C45; --m: #ff7a70; }
:is(.hs-tile, .hs-nic, .ames-map-row).hs-md  { --c1: #8E97FF; --c2: #5F5BE0; --c3: #4239C2; --m: #5fd6c8; }
:is(.hs-tile, .hs-nic, .ames-map-row).hs-sys { --c1: #B3BAC4; --c2: #858C97; --c3: #5E6570; --m: #b8b4ff; }
/* 라이트: 타이포 점·막대만 한 단계 진하게(아이보리 위 대비) — 아이콘 그라디언트는 그대로 */
html[data-theme="light"] :is(.hs-tile, .hs-nic, .ames-map-row).hs-scm { --m: #c98a0c; }
html[data-theme="light"] :is(.hs-tile, .hs-nic, .ames-map-row).hs-pp  { --m: #2563eb; }
html[data-theme="light"] :is(.hs-tile, .hs-nic, .ames-map-row).hs-mnt { --m: #e0661c; }
html[data-theme="light"] :is(.hs-tile, .hs-nic, .ames-map-row).hs-rpt { --m: #64748b; }
html[data-theme="light"] :is(.hs-tile, .hs-nic, .ames-map-row).hs-wh  { --m: #15985a; }
html[data-theme="light"] :is(.hs-tile, .hs-nic, .ames-map-row).hs-fg  { --m: #e0483d; }
html[data-theme="light"] :is(.hs-tile, .hs-nic, .ames-map-row).hs-md  { --m: #0f9488; }
html[data-theme="light"] :is(.hs-tile, .hs-nic, .ames-map-row).hs-sys { --m: #6a5fe0; }

/* ── 공통 타일 뼈대 ─────────────────────────────────────────────── */
.hs-tile {
    position: relative; display: flex; flex-direction: column; justify-content: flex-start;
    gap: 0; min-width: 0; box-sizing: border-box; overflow: hidden;
    font-family: var(--hs-font); color: var(--hs-ink); letter-spacing: -.011em;
    -webkit-font-smoothing: antialiased;
}
.hs-tile .hs-art, .hs-tile .hs-sock, .hs-tile .hs-idx, .hs-tile .hs-big,
.hs-tile .hs-shadow, .hs-tile .hs-halo { display: none; }
.hs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.hs-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hs-val { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-val small { margin-left: 3px; }
.hs-lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-track { overflow: hidden; }
.hs-track i { display: block; height: 100%; border-radius: inherit; }
.hs-scene { flex: 1 1 auto; min-width: 0; background-position: center; background-size: contain; background-repeat: no-repeat; }

/* ── 스쿼클 앱 아이콘(글래스·소프트) — 시안 v5 A(솔리드) / B(리퀴드 글래스) ── */
.hs-ico { position: relative; display: block; width: var(--s); height: var(--s); flex: none; }
.hs-face { position: absolute; inset: 0; clip-path: url(#hs-sq); display: grid; place-items: center; overflow: hidden; }
.hs-ms {
    position: relative; z-index: 2;
    font-family: "Material Symbols"; font-weight: normal; font-style: normal; line-height: 1;
    letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
    font-feature-settings: "liga"; -webkit-font-feature-settings: "liga";
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 48;
    font-size: calc(var(--s) * .54); color: #fff; user-select: none;
}
.hs-rim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.hs-rim path { fill: none; vector-effect: non-scaling-stroke; }
.hs-rim .hs-rim-a { stroke: url(#hs-rimA); stroke-width: 2px; }
.hs-rim .hs-rim-b { stroke: url(#hs-rimB); stroke-width: 2.2px; }
.hs-rim .hs-rim-b2 { stroke: url(#hs-rimB2); stroke-width: 6px; }

/* 솔리드 마감 — 위가 밝고 아래가 진한 3단 그라디언트, 흰 글리프, 상단 하이라이트 */
/* 그림자는 filter:drop-shadow 대신 아이콘 뒤 둥근 판의 box-shadow — 필터는 아이콘마다 오프스크린 합성이라 비싸다(12-03 느려짐) */
:is(html[data-home-fin="solid"] :is(.hs-live, .ames-side), .hs-pv[data-fin="solid"]) .hs-ico::before {
    content: ""; position: absolute; inset: 1px; border-radius: 24%;
    box-shadow: 0 1px 1px var(--hs-ico-sh1), 0 calc(var(--s) * .1) calc(var(--s) * .16) var(--hs-ico-sh2);
}
:is(html[data-home-fin="solid"] :is(.hs-live, .ames-side), .hs-pv[data-fin="solid"]) .hs-face { background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 58%, var(--c3) 100%); }
:is(html[data-home-fin="solid"] :is(.hs-live, .ames-side), .hs-pv[data-fin="solid"]) .hs-face::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(120% 62% at 50% -8%, rgba(255,255,255,.30), rgba(255,255,255,0) 62%);
}
:is(html[data-home-fin="solid"] :is(.hs-live, .ames-side), .hs-pv[data-fin="solid"]) .hs-face::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,.10));
}
:is(html[data-home-fin="solid"] :is(.hs-live, .ames-side), .hs-pv[data-fin="solid"]) .hs-ms { text-shadow: 0 calc(var(--s) * .012) calc(var(--s) * .02) rgba(0,0,0,.22); }
:is(html[data-home-fin="solid"] :is(.hs-live, .ames-side), .hs-pv[data-fin="solid"]) .hs-rim-b, :is(html[data-home-fin="solid"] :is(.hs-live, .ames-side), .hs-pv[data-fin="solid"]) .hs-rim-b2 { display: none; }

/* 리퀴드 글래스 마감 — 뒤의 색 덩어리(halo)가 굴절되어 비치는 유리, 굴절 링·반사광 호·아래 색 반사 */
:is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-halo {
    display: block; position: absolute; inset: 10%; z-index: 0; border-radius: 40%;
    background:
        radial-gradient(circle at 28% 26%, var(--c1), transparent 62%),
        radial-gradient(circle at 76% 78%, var(--c3), transparent 64%),
        radial-gradient(circle at 50% 50%, var(--c2), transparent 78%);
    opacity: .95;   /* 블러 필터 없음 — 방사형 그라디언트 가장자리가 이미 부드럽다 */
}
:is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-shadow {
    display: block; position: absolute; inset: 0; z-index: 0; opacity: .72;
    transform: translateY(calc(var(--s) * .14)) scale(1.05, .8);
    background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--c3) 45%, #000) 35%, transparent 100%);
}
html[data-theme="light"] :is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-shadow { opacity: .38; }
:is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-face {
    z-index: 1;
    /* backdrop-filter 없음 — 뒤가 이미 흐린 halo 그라디언트라 유리 효과는 이 위 반투명 면·반사광으로 낸다 */
    background: linear-gradient(180deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.08) 45%, rgba(255,255,255,.03) 70%, color-mix(in srgb, var(--c1) 26%, transparent) 100%);
}
:is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-face::before {
    content: ""; position: absolute; z-index: 1; left: 9%; right: 9%; top: 3.5%; height: 42%;
    border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
    background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.06) 70%, rgba(255,255,255,0));
    opacity: .85;
}
:is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-face::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(70% 38% at 50% 104%, color-mix(in srgb, var(--c1) 70%, #fff 10%), transparent 70%);
    opacity: .4;   /* mix-blend-mode 는 격리 합성이 생겨 빼고 투명도로 */
}
:is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-ms {
    text-shadow: 0 0 calc(var(--s) * .12) color-mix(in srgb, var(--c2) 70%, transparent), 0 calc(var(--s) * .015) calc(var(--s) * .02) rgba(0,0,0,.18);
}
html[data-theme="light"] :is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-ms {
    text-shadow: 0 0 calc(var(--s) * .12) color-mix(in srgb, var(--c3) 80%, transparent), 0 calc(var(--s) * .015) calc(var(--s) * .03) rgba(0,0,0,.28);
}
:is(html[data-home-fin="glass"] :is(.hs-live, .ames-side), .hs-pv[data-fin="glass"]) .hs-rim-a { display: none; }

/* ═══ 1. 글래스(glass) — 반투명 카드 + 스쿼클 앱 아이콘 (시안 v5) ═══ */
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-tile {
    padding: 22px 22px 20px; border-radius: 26px;
    background: var(--hs-card); border: 1px solid var(--hs-line); box-shadow: var(--hs-lift);
}
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-top { flex-direction: column; align-items: flex-start; gap: 18px; }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-sock { display: block; --s: 64px; }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-code { font: 600 12px/1 var(--hs-font); letter-spacing: .06em; color: var(--hs-ink3); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-name { margin-top: 4px; font: 600 19px/1.25 var(--hs-font); letter-spacing: -.015em; }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-metric { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-row { flex-direction: row-reverse; font-size: 13px; color: var(--hs-ink2); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-val { font: 600 15px/1 var(--hs-font); letter-spacing: -.01em; color: var(--hs-ink); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-val small { font: 500 15px/1 var(--hs-font); color: var(--hs-ink3); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-track { height: 4px; border-radius: 4px; background: var(--hs-track); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .hs-track i { background: linear-gradient(90deg, var(--c1), var(--c2)); }

/* ═══ 2. 타이포(type) — 큰 모듈 코드 + 색 점·진행 막대 (시안 v4) ═══ */
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-tile {
    isolation: isolate; padding: 24px 26px 24px; border-radius: 26px;
    background: linear-gradient(180deg, var(--hs-type-a), var(--hs-type-b));
    border: 1px solid var(--hs-line);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 40px -28px rgba(0,0,0,.9);
}
html[data-theme="light"] :is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-tile {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 18px 36px -26px rgba(80,60,20,.35);
}
/* 모듈 색이 좌상단에서 아주 옅게 번지는 그라디언트 하나 */
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-tile::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
    background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--m) 16%, transparent), transparent 55%);
}
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-code { display: none; }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-idx {
    display: flex; align-items: center; gap: 10px; min-width: 0;
    font: 500 13px/1 var(--hs-font); letter-spacing: -.005em; color: var(--hs-ink3);
}
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--m); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-num { font: 500 12px/1 var(--ames-font-mono); color: var(--hs-ink2); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-sub { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-big {
    display: block; margin-top: 26px; font: 800 80px/.86 var(--hs-font); letter-spacing: -.055em; color: var(--hs-ink);
}
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-name { margin-top: 14px; font: 500 18px/1.3 var(--hs-font); letter-spacing: -.02em; }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-metric { margin-top: auto; padding-top: 24px; }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-val { font: 700 28px/1 var(--hs-font); letter-spacing: -.03em; color: var(--hs-ink); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-val small { font: 400 15px/1 var(--hs-font); letter-spacing: -.01em; color: var(--hs-ink3); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-lbl { font: 400 13px/1.2 var(--hs-font); color: var(--hs-ink3); text-align: right; }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-track { margin-top: 12px; height: 6px; border-radius: 999px; background: var(--hs-track); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .hs-track i { background: var(--m); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .is-locked .hs-big { color: var(--hs-ink3); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .is-locked .hs-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--hs-ink3); }

/* ═══ 3. 디오라마(diorama) — 아이소메트릭 공장 장면 (시안 v3) ═══ */
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-tile {
    padding: 0; border-radius: 26px;
    background: var(--hs-card); border: 1px solid var(--hs-line);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 40px -24px rgba(0,0,0,.6);
}
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-tile {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 18px 36px -24px rgba(80,60,20,.30);
}
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-art {
    display: flex; height: 150px; padding: 18px 16px 4px; box-sizing: border-box;
    background: radial-gradient(120% 90% at 50% 0%, var(--hs-stage), transparent 60%);
}
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-top { padding: 12px 22px 0; }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-code { font: 600 12px/1 var(--hs-font); letter-spacing: .04em; color: var(--hs-ink3); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-name { padding: 6px 22px 0; font: 600 19px/1.3 var(--hs-font); letter-spacing: -.02em; }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-metric { margin-top: auto; padding: 16px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-row { flex-direction: row-reverse; font-size: 13px; color: var(--hs-ink2); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-val { font: 600 15px/1 var(--hs-font); color: var(--hs-ink); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-val small { font: 500 15px/1 var(--hs-font); color: var(--hs-ink3); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-track { height: 4px; border-radius: 4px; background: var(--hs-track); }
/* 장면이 그레이 + 블루 한 점이라 막대도 같은 블루 */
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-track i { background: linear-gradient(90deg, var(--hs-acc2), var(--hs-acc)); }

/* ═══ 뉴모피즘 공통(스튜디오·소프트) — 같은 바탕 판에서 카드는 솟고, 우물·소켓·막대 홈은 파인다 ═══ */
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .hs-tile {
    border: 0; border-radius: 24px; background: var(--hs-bg); color: var(--hs-text); box-shadow: var(--hs-raise);
}
/* 홈: 사이트맵 전체를 뉴모피즘 판으로 — 다크 페이지(#060b17) 위에 남색-차콜 판, 라이트는 페이지 바탕과 같은 판 */
:is(html[data-home="studio"], html[data-home="soft"]) .hs-live {
    gap: 26px; padding: 26px; border-radius: 30px; background: var(--hs-bg);
    box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 30px 60px -36px rgba(0,0,0,.8);
}
html[data-theme="light"]:is([data-home="studio"], [data-home="soft"]) .hs-live { box-shadow: none; }
:is(html[data-home="studio"], html[data-home="soft"]) .hs-live .ames-map-row { gap: 24px; }

/* ═══ 4. 스튜디오(studio) — 뉴모피즘 카드의 파인 우물 안에 아이소 장면 (시안 v7) ═══ */
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-tile { padding: 14px 14px 18px; }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-art {
    display: flex; height: 150px; padding: 18px 16px 14px; box-sizing: border-box; border-radius: 18px; overflow: hidden;
    background:
        radial-gradient(80% 70% at 30% 18%, rgba(147,197,253,.07), transparent 70%),
        radial-gradient(62% 34% at 52% 84%, rgba(0,0,0,.34), transparent 72%),
        var(--hs-well);
    box-shadow: var(--hs-deep);
}
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-art {
    background:
        radial-gradient(80% 70% at 30% 18%, rgba(59,130,246,.06), transparent 70%),
        radial-gradient(62% 34% at 52% 84%, rgba(120,90,40,.16), transparent 72%),
        var(--hs-well);
}
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-scene { background-position: center 40%; }   /* 접지 그림자는 필터 대신 우물 바닥 그라디언트 */
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-top { padding: 16px 8px 0; }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-code {
    font: 600 11.5px/1 var(--hs-font); letter-spacing: .07em; color: var(--hs-acc);
    padding: 7px 11px; border-radius: 999px; background: var(--hs-bg); box-shadow: var(--hs-inset);
}
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-name { padding: 10px 8px 0; font: 700 17px/1.3 var(--hs-font); letter-spacing: -.015em; }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-metric { margin-top: auto; padding: 14px 8px 0; }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-row { flex-direction: row-reverse; margin-bottom: 9px; font: 500 12px/1.2 var(--hs-font); color: var(--hs-faint); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-val { font: 700 13px/1 var(--hs-font); color: var(--hs-text); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-val small { font: 500 12px/1 var(--hs-font); color: var(--hs-faint); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-track {
    height: 10px; padding: 2px; box-sizing: border-box; border-radius: 999px; background: var(--hs-bg); box-shadow: var(--hs-track-sh);
}
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-track i {
    background: linear-gradient(90deg, var(--hs-acc2), var(--hs-acc)); box-shadow: 1px 1px 3px var(--hs-lo);
}

/* ═══ 5. 소프트(soft) — 뉴모피즘 카드의 파인 소켓 안에 스쿼클 앱 아이콘 (시안 v8) ═══ */
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-tile { padding: 20px 20px 18px; }
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-top { align-items: flex-start; }
/* 소켓 — 아이콘과 동심(아이콘 반경 + 여백)이라 테두리 간격이 일정하다 */
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-sock {
    --s: 58px; --gap: 11px;
    display: grid; place-items: center; position: relative; flex: none;
    width: calc(var(--s) + var(--gap) * 2); height: calc(var(--s) + var(--gap) * 2);
    border-radius: calc(var(--s) * .29 + var(--gap));
    background: var(--hs-bg); box-shadow: var(--hs-socket);
}
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-sock::before {
    content: ""; position: absolute; inset: 6px; border-radius: inherit; pointer-events: none; opacity: .35;
    background: radial-gradient(60% 50% at 50% 72%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 72%);
}
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-code {
    display: inline-flex; align-items: center; gap: 6px;
    font: 600 11.5px/1 var(--hs-font); letter-spacing: .07em; color: var(--hs-muted);
    padding: 7px 10px 7px 9px; border-radius: 999px; background: var(--hs-bg); box-shadow: var(--hs-well-sh);
}
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-code::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(180deg, var(--c1), var(--c3)); box-shadow: 0 0 6px color-mix(in srgb, var(--c2) 60%, transparent);
}
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-name { margin: 16px 0 14px; font: 700 17.5px/1.25 var(--hs-font); letter-spacing: -.015em; }
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-metric {
    margin-top: auto; padding: 12px 14px 14px; border-radius: 14px; background: var(--hs-bg); box-shadow: var(--hs-well-sh);
}
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-row { flex-direction: row-reverse; margin-bottom: 10px; font-size: 12.5px; color: var(--hs-muted); }
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-val { font: 700 15px/1 var(--hs-font); letter-spacing: -.01em; color: var(--hs-text); }
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-val small { font: 500 12.5px/1 var(--hs-font); color: var(--hs-faint); }
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-track {
    height: 10px; padding: 2px; box-sizing: border-box; border-radius: 999px; background: var(--hs-bg); box-shadow: var(--hs-track-sh);
}
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .hs-track i {
    background: linear-gradient(90deg, var(--c1), var(--c2) 60%, var(--c3));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 1px 1px 3px var(--hs-lo);
}


/* ═══ 오른쪽 화면 칩 칸(.ames-map-links) — 타일과 같은 디자인 언어 ════════════════════════════
   칩 = .ames-map-link(.lid 화면 코드 + .t 이름, 잠김 .is-off + 자물쇠), MD 그룹 머리 = .ames-map-group-h(.letter).
   모듈 색(--m, --c1~3)은 줄(.ames-map-row.hs-키)에서 받는다. 칩 크기(250px 격자)·링크 동작은 app.css 그대로. */

/* ── 글래스 — 유리 카드 칸 안에 유리 알약 칩, 코드 앞에 모듈 색 스쿼클 점 ── */
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-links { border-radius: 24px; background: var(--hs-card); border-color: var(--hs-line); box-shadow: var(--hs-lift); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-link {
    border-radius: 999px; padding: 6px 12px 6px 10px; gap: 8px;
    background: rgba(255,255,255,.05); border: 1px solid var(--hs-line); color: var(--hs-ink);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    font: 500 13px/1.2 var(--hs-font); letter-spacing: -.01em;
    transition: transform .15s;
}
html[data-theme="light"] :is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-link { background: rgba(255,255,255,.72); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(80,60,20,.06); color: var(--ames-text); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-link .lid {
    display: inline-flex; align-items: center; gap: 6px; flex: 0 0 70px; width: 70px;
    font: 600 11px/1 var(--hs-font); letter-spacing: .03em; color: color-mix(in srgb, var(--c1) 82%, #fff);
}
html[data-theme="light"] :is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-link .lid { color: color-mix(in srgb, var(--c3) 85%, #000); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-link .lid::before {
    content: ""; flex: none; width: 8px; height: 8px; border-radius: 3px;
    background: linear-gradient(180deg, var(--c1), var(--c3)); box-shadow: 0 0 0 .5px rgba(0,0,0,.15);
}
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) a.ames-map-link:hover {
    transform: translateY(-1px); color: var(--hs-ink);
    background: rgba(255,255,255,.09); border-color: color-mix(in srgb, var(--c2) 45%, transparent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 8px 18px -10px color-mix(in srgb, var(--c2) 70%, transparent);
}
html[data-theme="light"] :is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) a.ames-map-link:hover { background: #fff; color: var(--ames-text); }
/* 리퀴드 마감 — 칩도 위가 밝은 유리, 점은 번지는 색 덩어리 */
:is(html[data-home="glass"][data-home-fin="glass"] .hs-live, .hs-pv[data-hs="glass"][data-fin="glass"]) .ames-map-link {
    background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.03) 60%, color-mix(in srgb, var(--c1) 10%, transparent));
    border-color: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.05);
}
html[data-theme="light"] :is(html[data-home="glass"][data-home-fin="glass"] .hs-live, .hs-pv[data-hs="glass"][data-fin="glass"]) .ames-map-link {
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.55) 60%, color-mix(in srgb, var(--c1) 12%, transparent));
    border-color: rgba(255,255,255,.95); box-shadow: 0 0 0 1px var(--ames-border), inset 0 1px 0 #fff;
}
:is(html[data-home="glass"][data-home-fin="glass"] .hs-live, .hs-pv[data-hs="glass"][data-fin="glass"]) .ames-map-link .lid::before {
    border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, var(--c1) 40%, var(--c3) 100%);
    box-shadow: 0 0 6px color-mix(in srgb, var(--c2) 70%, transparent);
}
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-group-h { font: 600 12px/1 var(--hs-font); letter-spacing: .02em; color: var(--hs-ink2); }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-group-h .letter {
    width: 20px; height: 20px; border-radius: 6px; color: #fff; font: 700 11px/1 var(--hs-font);
    background: linear-gradient(180deg, var(--c1), var(--c2) 58%, var(--c3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 2px rgba(0,0,0,.25);
}
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"]) .ames-map-link:focus-visible { outline: 2px solid var(--c2); outline-offset: 2px; }

/* ── 타이포 — 칸은 타일과 같은 카드, 칩은 상자 없이 글자 위계(굵은 모듈 색 코드 + 차분한 이름 + 화살표) ── */
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-links {
    border-radius: 26px; border-color: var(--hs-line);
    background: linear-gradient(180deg, var(--hs-type-a), var(--hs-type-b));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 40px -28px rgba(0,0,0,.9);
}
html[data-theme="light"] :is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-links { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 18px 36px -26px rgba(80,60,20,.35); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-link {
    border: 0; border-radius: 10px; padding: 7px 10px; background: transparent; box-shadow: none;
    color: var(--hs-ink2); font: 400 14px/1.2 var(--hs-font); letter-spacing: -.015em;
    transition: color .15s;
}
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-link .lid { flex: 0 0 64px; width: 64px; font: 700 12px/1 var(--hs-font); letter-spacing: -.01em; color: var(--m); }
html[data-theme="light"] :is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-link .lid { color: color-mix(in srgb, var(--m) 78%, #000); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) a.ames-map-link::after { content: "→"; flex: none; margin-left: auto; color: var(--m); opacity: 0; transform: translateX(-3px); transition: opacity .2s, transform .2s; }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) a.ames-map-link:hover { background: rgba(255,255,255,.05); color: var(--hs-ink); transform: none; border: 0; }
html[data-theme="light"] :is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) a.ames-map-link:hover { background: rgba(44,39,33,.05); color: var(--ames-text); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) a.ames-map-link:hover::after { opacity: 1; transform: none; }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-link.is-off .lid { color: var(--hs-ink3); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-group-h { font: 600 13px/1 var(--hs-font); letter-spacing: -.01em; color: var(--hs-ink); text-transform: none; }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-group-h .letter { width: auto; height: auto; background: none; border-radius: 0; font: 800 13px/1 var(--hs-font); color: var(--m); }
html[data-theme="light"] :is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-group-h .letter { color: color-mix(in srgb, var(--m) 78%, #000); }
:is(html[data-home="type"] .hs-live, .hs-pv[data-hs="type"]) .ames-map-link:focus-visible { outline: 2px solid var(--m); outline-offset: 1px; }

/* ── 디오라마 — 아이소 장면의 산업 라벨: 알루미늄 판 칩 + 블루 각인 코드 태그 ── */
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-links { border-radius: 26px; background: var(--hs-card); border-color: var(--hs-line); box-shadow: var(--hs-lift); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-link {
    border-radius: 6px; padding: 5px 10px 5px 5px; gap: 9px;
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.09); color: var(--hs-ink);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 0 rgba(0,0,0,.35);
    font: 500 13px/1.2 var(--hs-font); letter-spacing: -.01em;
    transition: transform .15s;
}
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-link {
    background: linear-gradient(180deg, #ffffff, #eceff3); border-color: rgba(60,70,90,.18); color: #1f2633;
    box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(40,50,70,.14);
}
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-link .lid {
    flex: 0 0 64px; width: 64px; box-sizing: border-box; padding: 3px 0; border-radius: 3px; text-align: center;
    font: 700 calc(10px + var(--ames-fs-bump))/1.2 var(--ames-font-mono); letter-spacing: .05em;
    color: #c4dcff; background: rgba(147,197,253,.14); box-shadow: inset 0 0 0 1px rgba(147,197,253,.22);
}
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-link .lid { color: #fff; background: #1d4ed8; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) a.ames-map-link:hover {
    transform: translateY(-1px); border-color: rgba(147,197,253,.5); color: var(--hs-ink);
    background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 6px 14px -8px rgba(37,99,235,.6);
}
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) a.ames-map-link:hover { background: linear-gradient(180deg, #ffffff, #f2f4f7); border-color: rgba(47,127,240,.5); color: #1f2633; }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) a.ames-map-link:hover .lid { color: #0b1220; background: var(--hs-acc); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) a.ames-map-link:hover .lid { color: #fff; background: #1e40af; }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-link.is-off .lid { color: var(--hs-ink3); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--hs-line); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-link.is-off .lid { color: #5b6474; background: #dfe3e9; box-shadow: none; }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-group-h { font-family: var(--ames-font-mono); color: var(--hs-ink2); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-group-h .letter { border-radius: 4px; color: #1b2030; background: linear-gradient(180deg, #e1e5eb, #9aa1ac); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 0 rgba(0,0,0,.3); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .ames-map-link:focus-visible { outline: 2px solid var(--hs-acc); outline-offset: 2px; }

/* ── 스튜디오·소프트 — 파인 우물 칸 안에서 칩은 솟고 누르면 들어간다. 코드는 눌린 홈 안 ── */
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-links { background: var(--hs-bg); border: 0; border-radius: 22px; box-shadow: var(--hs-well-sh); padding: 16px 18px; }
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-link {
    border: 1px solid transparent; border-radius: 12px; padding: 5px 10px 5px 5px; gap: 9px;
    background: var(--hs-bg); box-shadow: var(--hs-raise-sm); color: var(--hs-text);
    font: 500 13px/1.2 var(--hs-font); letter-spacing: -.01em;
    transition: color .15s;
}
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-link .lid {
    flex: 0 0 66px; width: 66px; box-sizing: border-box; padding: 4px 0; border-radius: 999px; text-align: center;
    font: 600 calc(10.5px + var(--ames-fs-bump))/1.1 var(--hs-font); letter-spacing: .05em;
    background: var(--hs-bg); box-shadow: var(--hs-groove);
}
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .ames-map-link .lid { color: var(--hs-acc); }
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .ames-map-link .lid { color: var(--hs-muted); display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .ames-map-link .lid::before {
    content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
    background: linear-gradient(180deg, var(--c1), var(--c3)); box-shadow: 0 0 5px color-mix(in srgb, var(--c2) 60%, transparent);
}
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) a.ames-map-link:hover { background: var(--hs-bg); border-color: transparent; box-shadow: var(--hs-inset); transform: none; color: var(--hs-acc); }
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) a.ames-map-link:active { box-shadow: inset 4px 4px 8px var(--hs-lo), inset -3px -3px 6px var(--hs-hi); }
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-link.is-off { box-shadow: none; background: transparent; }
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-group-h { font: 600 11.5px/1 var(--hs-font); letter-spacing: .06em; color: var(--hs-faint); text-transform: uppercase; }
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-group-h .letter { width: 20px; height: 20px; border-radius: 7px; background: var(--hs-bg); box-shadow: var(--hs-raise-sm); color: var(--hs-acc); font: 700 11px/1 var(--hs-font); }
:is(html[data-home="soft"] .hs-live, .hs-pv[data-hs="soft"]) .ames-map-group-h .letter { color: #fff; background: linear-gradient(180deg, var(--c1), var(--c2) 58%, var(--c3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 2px 2px 5px var(--hs-lo), -2px -2px 5px var(--hs-hi); }
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-link:focus-visible { outline: 2px solid var(--hs-acc); outline-offset: 2px; }

/* ── 잠긴 칩(권한 없음) — 모든 스타일: 흐리게, 자물쇠는 보조 글자색 ── */
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"], html[data-home="type"] .hs-live, .hs-pv[data-hs="type"], html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"], html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-link.is-off { opacity: .45; }
:is(html[data-home="glass"] .hs-live, .hs-pv[data-hs="glass"], html[data-home="type"] .hs-live, .hs-pv[data-hs="type"], html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"], html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-link.is-off .rzi { color: var(--hs-ink3); }
:is(html[data-home="studio"] .hs-live, html[data-home="soft"] .hs-live, .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-map-link.is-off .rzi { color: var(--hs-faint); }

/* ── 장면 그림 — 고른 스타일·테마 규칙만 걸리므로 그 그림만 받는다 ── */
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-scm .hs-scene { background-image: url("iso/diorama-dark-scm.svg"); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-pp  .hs-scene { background-image: url("iso/diorama-dark-pp.svg"); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-mnt .hs-scene { background-image: url("iso/diorama-dark-mnt.svg"); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-rpt .hs-scene { background-image: url("iso/diorama-dark-rpt.svg"); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-wh  .hs-scene { background-image: url("iso/diorama-dark-wh.svg"); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-fg  .hs-scene { background-image: url("iso/diorama-dark-fg.svg"); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-md  .hs-scene { background-image: url("iso/diorama-dark-md.svg"); }
:is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-sys .hs-scene { background-image: url("iso/diorama-dark-sys.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-scm .hs-scene { background-image: url("iso/diorama-light-scm.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-pp  .hs-scene { background-image: url("iso/diorama-light-pp.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-mnt .hs-scene { background-image: url("iso/diorama-light-mnt.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-rpt .hs-scene { background-image: url("iso/diorama-light-rpt.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-wh  .hs-scene { background-image: url("iso/diorama-light-wh.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-fg  .hs-scene { background-image: url("iso/diorama-light-fg.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-md  .hs-scene { background-image: url("iso/diorama-light-md.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .hs-live, .hs-pv[data-hs="diorama"]) .hs-sys .hs-scene { background-image: url("iso/diorama-light-sys.svg"); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-scm .hs-scene { background-image: url("iso/studio-dark-scm.svg"); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-pp  .hs-scene { background-image: url("iso/studio-dark-pp.svg"); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-mnt .hs-scene { background-image: url("iso/studio-dark-mnt.svg"); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-rpt .hs-scene { background-image: url("iso/studio-dark-rpt.svg"); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-wh  .hs-scene { background-image: url("iso/studio-dark-wh.svg"); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-fg  .hs-scene { background-image: url("iso/studio-dark-fg.svg"); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-md  .hs-scene { background-image: url("iso/studio-dark-md.svg"); }
:is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-sys .hs-scene { background-image: url("iso/studio-dark-sys.svg"); }
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-scm .hs-scene { background-image: url("iso/studio-light-scm.svg"); }
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-pp  .hs-scene { background-image: url("iso/studio-light-pp.svg"); }
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-mnt .hs-scene { background-image: url("iso/studio-light-mnt.svg"); }
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-rpt .hs-scene { background-image: url("iso/studio-light-rpt.svg"); }
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-wh  .hs-scene { background-image: url("iso/studio-light-wh.svg"); }
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-fg  .hs-scene { background-image: url("iso/studio-light-fg.svg"); }
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-md  .hs-scene { background-image: url("iso/studio-light-md.svg"); }
html[data-theme="light"] :is(html[data-home="studio"] .hs-live, .hs-pv[data-hs="studio"]) .hs-sys .hs-scene { background-image: url("iso/studio-light-sys.svg"); }

/* ═══ 좌측 메뉴 모듈 아이콘(NavModuleIcon) — 홈 스타일을 따른다 ═══════════════════════════════════
   메뉴는 .ames-side 가 기준(<html data-home>), 개인 설정 미리보기는 .hs-pv. 기본 자리 22px, 메뉴 글자(11px)와 한 줄에 맞춘다. */
.ames-side, .hs-pv {
    --hs-nlo: rgba(0,0,0,.55);          /* 작은 소켓·칸의 어두운 그림자 */
    --hs-nhi: rgba(255,255,255,.07);    /* 밝은 그림자 */
    --hs-ncell: rgba(255,255,255,.035);
}
html[data-theme="light"] .ames-side, html[data-theme="light"] .hs-pv {
    --hs-nlo: rgba(30,50,90,.26);
    --hs-nhi: rgba(255,255,255,.95);
    --hs-ncell: rgba(255,255,255,.55);
}
.hs-nic {
    position: relative; display: inline-grid; place-items: center; flex: none; box-sizing: border-box;
    width: 22px; height: 22px; font-size: 0; line-height: 1; letter-spacing: normal; text-transform: none;
}
.hs-nic > span, .hs-nic .hs-halo { display: none; }
.hs-nic .hs-ms { font-size: calc(var(--s) * .62); font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20; }
.hs-nic .hs-rim .hs-rim-a, .hs-nic .hs-rim .hs-rim-b { stroke-width: 1px; }

/* 글래스·소프트 — 작은 스쿼클 앱 아이콘(마감은 홈과 같은 규칙). 작은 크기용 그림자(시안 v5 small) */
:is(html[data-home="glass"] .ames-side, html[data-home="soft"] .ames-side, .hs-pv[data-hs="glass"], .hs-pv[data-hs="soft"]) .hs-nic-app { display: grid; place-items: center; }
:is(html[data-home="glass"] .ames-side, html[data-home="soft"] .ames-side, .hs-pv[data-hs="glass"], .hs-pv[data-hs="soft"]) .hs-nic .hs-ico { --s: 20px; }
:is(html[data-home-fin="solid"] .ames-side, .hs-pv[data-fin="solid"]) .hs-nic .hs-ico::before {
    box-shadow: 0 .5px .6px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
}
html[data-theme="light"] :is(html[data-home-fin="solid"] .ames-side, .hs-pv[data-fin="solid"]) .hs-nic .hs-ico::before {
    box-shadow: 0 .5px .6px rgba(30,40,70,.28), 0 1px 2px rgba(30,40,70,.18);
}
/* 메뉴(모든 화면)의 작은 아이콘은 SVG clipPath 참조 대신 둥근 모서리 — 20px 에서는 차이가 0.5px 미만 */
.hs-nic .hs-face { clip-path: none; border-radius: 24%; }
/* 소프트 — 아이콘이 파인 소켓에 끼워진 모양, 열린 섹션은 소켓 바닥에 모듈 색이 번진다 */
:is(html[data-home="soft"] .ames-side, .hs-pv[data-hs="soft"]) .hs-nic { width: 28px; height: 28px; }
:is(html[data-home="soft"] .ames-side, .hs-pv[data-hs="soft"]) .hs-nic-app {
    width: 28px; height: 28px; border-radius: 9px;
    box-shadow: inset 1.5px 1.5px 3px var(--hs-nlo), inset -1.5px -1.5px 3px var(--hs-nhi);
}
:is(html[data-home="soft"] .ames-side, .hs-pv[data-hs="soft"]) .hs-nic .hs-ico { --s: 18px; }
:is(html[data-home="soft"] .ames-side) .ames-nav-section.open .hs-nic-app {
    background: radial-gradient(60% 55% at 50% 70%, color-mix(in srgb, var(--c2) 34%, transparent), transparent 75%);
}

/* 디오라마·스튜디오 — 시안 v3 의 32px 단순 아이소(정적 SVG, 고른 스타일·테마 것만 받는다) */
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic { width: 24px; height: 22px; }
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic-iso { display: block; width: 100%; height: 100%; background-position: center; background-size: contain; background-repeat: no-repeat; }
/* 스튜디오 — 살짝 솟은 칸 안에 놓이고(시안 v7 .cell), 열린 섹션은 칸이 눌린다 */
:is(html[data-home="studio"] .ames-side, .hs-pv[data-hs="studio"]) .hs-nic {
    width: 30px; height: 28px; border-radius: 8px; background: var(--hs-ncell);
    box-shadow: 2px 2px 5px var(--hs-nlo), -1.5px -1.5px 4px var(--hs-nhi);
}
:is(html[data-home="studio"] .ames-side, .hs-pv[data-hs="studio"]) .hs-nic-iso { width: 22px; height: 20px; }
:is(html[data-home="studio"] .ames-side) .ames-nav-section.open .hs-nic {
    box-shadow: inset 2px 2px 4px var(--hs-nlo), inset -1.5px -1.5px 3px var(--hs-nhi);
}
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-scm .hs-nic-iso { background-image: url("iso/mini-dark-scm.svg"); }
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-pp .hs-nic-iso { background-image: url("iso/mini-dark-pp.svg"); }
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-mnt .hs-nic-iso { background-image: url("iso/mini-dark-mnt.svg"); }
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-rpt .hs-nic-iso { background-image: url("iso/mini-dark-rpt.svg"); }
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-wh .hs-nic-iso { background-image: url("iso/mini-dark-wh.svg"); }
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-fg .hs-nic-iso { background-image: url("iso/mini-dark-fg.svg"); }
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-md .hs-nic-iso { background-image: url("iso/mini-dark-md.svg"); }
:is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-sys .hs-nic-iso { background-image: url("iso/mini-dark-sys.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-scm .hs-nic-iso { background-image: url("iso/mini-light-scm.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-pp .hs-nic-iso { background-image: url("iso/mini-light-pp.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-mnt .hs-nic-iso { background-image: url("iso/mini-light-mnt.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-rpt .hs-nic-iso { background-image: url("iso/mini-light-rpt.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-wh .hs-nic-iso { background-image: url("iso/mini-light-wh.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-fg .hs-nic-iso { background-image: url("iso/mini-light-fg.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-md .hs-nic-iso { background-image: url("iso/mini-light-md.svg"); }
html[data-theme="light"] :is(html[data-home="diorama"] .ames-side, html[data-home="studio"] .ames-side, .hs-pv[data-hs="diorama"], .hs-pv[data-hs="studio"]) .hs-nic.hs-sys .hs-nic-iso { background-image: url("iso/mini-light-sys.svg"); }

/* 타이포 — 아이콘 대신 굵은 모듈 코드(모듈 색, 시안 v4 메뉴). 글자 앞 「코드 · 」는 겹쳐서 숨긴다 */
:is(html[data-home="type"] .ames-side, .hs-pv[data-hs="type"]) .hs-nic { width: 32px; justify-items: start; }
:is(html[data-home="type"] .ames-side, .hs-pv[data-hs="type"]) .hs-nic-code {
    display: block; font: 700 12px/1 "AMES Inter", "Inter", var(--ames-font-sans); letter-spacing: -.01em; color: var(--m);
}
html[data-home="type"] .ames-side .hs-nt-code { display: none; }
/* 접힌 메뉴는 아이콘만 가운데 — 타이포 규칙과 같은 무게, 뒤에 와서 이긴다 */
:is(html[data-home="type"] .ames-side--collapsed) .hs-nic { justify-items: center; }

/* ═══ 화면 상단 지표 칸(.ames-kpis/.ames-kpi) — 모든 화면이 고른 홈 스타일을 따른다(마크업 그대로, CSS 만) ═══
   97개 화면에 반복되므로 backdrop-filter·filter 없이 그림자 1~2겹만. 상태 색(ok·warn·bad·info·OEE)은 app.css 의 ::before 바탕을
   그대로 쓰고 위치·모양만 바꾼다(의미 유지). 글자 크기를 화면이 인라인으로 준 곳은 그 값이 이긴다. */
.ames-kpi { --k: #93c5fd; }
.ames-kpi.ok { --k: #22c55e; }
.ames-kpi.warn { --k: #f59e0b; }
.ames-kpi.bad { --k: #ef4444; }
.ames-kpi.info { --k: #22d3ee; }
.ames-kpi.pp-oee-kpi-a { --k: #60a5fa; }
.ames-kpi.pp-oee-kpi-p { --k: #a78bfa; }
.ames-kpi.pp-oee-kpi-q { --k: #22d3ee; }

/* ── 글래스 — 반투명 카드(블러 없음), 상태는 아래쪽 둥근 막대 ── */
:is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi {
    border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 18px -12px rgba(0,0,0,.6);
}
html[data-theme="light"] :is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi { background: rgba(255,255,255,.62); border-color: var(--ames-border); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(80,60,20,.35); }
:is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi::before { left: 14px; right: 14px; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
:is(html[data-home="glass"][data-home-fin="glass"], .hs-pv[data-hs="glass"][data-fin="glass"]) .ames-kpi {
    background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.025) 60%, color-mix(in srgb, var(--k) 8%, transparent));
    border-color: rgba(255,255,255,.15); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 18px -12px rgba(0,0,0,.6);
}
html[data-theme="light"] :is(html[data-home="glass"][data-home-fin="glass"], .hs-pv[data-hs="glass"][data-fin="glass"]) .ames-kpi {
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.55) 60%, color-mix(in srgb, var(--k) 10%, transparent));
    border-color: rgba(255,255,255,.95); box-shadow: 0 0 0 1px var(--ames-border), 0 6px 14px -10px rgba(80,60,20,.35);
}
:is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi-l { font: 600 calc(12px + var(--ames-fs-bump))/1.2 "AMES Inter", "Inter", var(--ames-font-sans); letter-spacing: .01em; text-transform: none; color: rgba(235,235,245,.62); }
:is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi-v { font-family: "AMES Inter", "Inter", var(--ames-font-sans); font-weight: 700; letter-spacing: -.02em; color: #f5f5f7; }
:is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi-s { font-family: "AMES Inter", "Inter", var(--ames-font-sans); font-size: 12px; color: rgba(235,235,245,.42); }
html[data-theme="light"] :is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi-l { color: var(--ames-text-dim); }
html[data-theme="light"] :is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi-v { color: var(--ames-text); }
html[data-theme="light"] :is(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi-s { color: var(--ames-text-dim); }

/* ── 타이포 — 상태 색이 좌상단에서 옅게 번지는 카드, 상태 점 + 큰 굵은 숫자 ── */
:is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi {
    border-radius: 16px; border: 1px solid rgba(255,255,255,.08);
    background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--k) 14%, transparent), transparent 55%),
                linear-gradient(180deg, rgba(22,36,61,.55), rgba(14,26,48,.62));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
html[data-theme="light"] :is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi {
    border-color: var(--ames-border); box-shadow: inset 0 1px 0 #fff;
    background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--k) 12%, transparent), transparent 55%),
                linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.56));
}
:is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi::before { left: 13px; top: 14px; width: 7px; height: 7px; border-radius: 50%; }
:is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi-l { padding-left: 15px; font: 500 calc(12.5px + var(--ames-fs-bump))/1.2 "AMES Inter", "Inter", var(--ames-font-sans); letter-spacing: -.005em; text-transform: none; color: rgba(235,240,247,.55); }
:is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi-v { font-family: "AMES Inter", "Inter", var(--ames-font-sans); font-weight: 800; letter-spacing: -.045em; color: #f5f7fa; }
:is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi-s { font-family: "AMES Inter", "Inter", var(--ames-font-sans); font-size: 12px; color: rgba(235,240,247,.42); }
html[data-theme="light"] :is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi-l { color: var(--ames-text-dim); }
html[data-theme="light"] :is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi-v { color: var(--ames-text); }
html[data-theme="light"] :is(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi-s { color: var(--ames-text-dim); }

/* ── 디오라마 — 알루미늄 계기판: 금속 판 + 상태 램프 막대, 산업용 고정폭 머리글 ── */
:is(html[data-home="diorama"], .hs-pv[data-hs="diorama"]) .ames-kpi {
    border-radius: 8px; border: 1px solid rgba(255,255,255,.09);
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 0 rgba(0,0,0,.35);
}
html[data-theme="light"] :is(html[data-home="diorama"], .hs-pv[data-hs="diorama"]) .ames-kpi { border-color: rgba(60,70,90,.18); background: linear-gradient(180deg, #ffffff, #eceff3); box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(40,50,70,.14); }
:is(html[data-home="diorama"], .hs-pv[data-hs="diorama"]) .ames-kpi::before { left: 6px; top: 9px; bottom: 9px; height: auto; width: 3px; border-radius: 2px; box-shadow: 0 0 6px color-mix(in srgb, var(--k) 55%, transparent); }
:is(html[data-home="diorama"], .hs-pv[data-hs="diorama"]) .ames-kpi-l { color: #b9d3f5; }
html[data-theme="light"] :is(html[data-home="diorama"], .hs-pv[data-hs="diorama"]) .ames-kpi-l { color: #1d4ed8; }
html[data-theme="light"] :is(html[data-home="diorama"], .hs-pv[data-hs="diorama"]) .ames-kpi-v { color: #1f2633; }

/* ── 스튜디오·소프트 — 솟은 부드러운 카드, 상태는 아래쪽 눌린 홈 안의 막대 ── */
:is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi {
    border: 0; border-radius: 16px; padding-bottom: 20px;
    background: linear-gradient(145deg, #1a2235, #141b2b);
    box-shadow: 0 10px 20px -12px rgba(0,0,0,.85), inset 1px 1px 0 rgba(255,255,255,.05), inset -1px -1px 0 rgba(0,0,0,.35);
}
html[data-theme="light"] :is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi { background: var(--ames-bg); box-shadow: 6px 6px 14px #c9bea6, -6px -6px 14px #ffffff; }
:is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 8px; border-radius: 999px;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,.55), inset -1px -1px 3px rgba(255,255,255,.06);
}
html[data-theme="light"] :is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi::after { box-shadow: inset 2px 2px 4px #c9bea6, inset -2px -2px 4px #ffffff; }
:is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi::before { z-index: 1; left: 14px; right: 14px; top: auto; bottom: 9px; width: auto; height: 4px; border-radius: 999px; }
:is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi-l { font: 600 calc(11.5px + var(--ames-fs-bump))/1.2 "AMES Inter", "Inter", var(--ames-font-sans); letter-spacing: .06em; color: #93c5fd; }
:is(html[data-home="soft"], .hs-pv[data-hs="soft"]) .ames-kpi-l { color: #a6b1c6; text-transform: none; letter-spacing: .01em; font-size: calc(12.5px + var(--ames-fs-bump)); }
:is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi-v { font-family: "AMES Inter", "Inter", var(--ames-font-sans); font-weight: 700; letter-spacing: -.02em; color: #e8edf6; }
:is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi-s { font-family: "AMES Inter", "Inter", var(--ames-font-sans); font-size: 12px; color: #7d89a1; }
html[data-theme="light"] :is(html[data-home="studio"], .hs-pv[data-hs="studio"]) .ames-kpi-l { color: var(--ames-accent); }
html[data-theme="light"] :is(html[data-home="soft"], .hs-pv[data-hs="soft"]) .ames-kpi-l { color: var(--ames-text-dim); }
html[data-theme="light"] :is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi-v { color: var(--ames-text); }
html[data-theme="light"] :is(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi-s { color: #756b58; }

/* 숫자 크기는 가장 약한 무게로 — 컴팩트 KPI·화면별 CSS·인라인 크기가 그대로 이긴다 */
:where(html[data-home="glass"], .hs-pv[data-hs="glass"]) .ames-kpi-v { font-size: 24px; }
:where(html[data-home="type"], .hs-pv[data-hs="type"]) .ames-kpi-v { font-size: 28px; }
:where(html[data-home="studio"], html[data-home="soft"], .hs-pv[data-hs="studio"], .hs-pv[data-hs="soft"]) .ames-kpi-v { font-size: 25px; }

/* ═══ 개인 설정 화면(/my/settings) ═══════════════════════════════════════════ */
.my-set { display: flex; flex-direction: column; gap: 14px; max-width: 1320px; }
.my-sec { padding: 14px 18px 18px; margin-bottom: 0; }
.my-sec-d { font-size: 13px; color: var(--ames-tx-white-a55); margin: -2px 0 14px; }
.my-check { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ames-tx-blue-300); }
.my-check .rzi { font-size: 16px !important; }
.my-pick:focus-visible { outline: 2px solid var(--ames-tx-blue-300); outline-offset: 2px; }

/* 화면 모드 — 라이트/다크 작은 창 그림. 그림 색은 각 테마의 실제 바탕·상단바·카드 색을 줄여 그린 것 */
.my-modes { display: flex; flex-wrap: wrap; gap: 14px; }
.my-mode {
    display: flex; flex-direction: column; gap: 10px; width: 220px; box-sizing: border-box; padding: 10px;
    border-radius: 14px; border: 1px solid var(--ames-bd-white-a10); background: rgba(255,255,255,.03);
    color: var(--ames-tx-white); font: inherit; text-align: left; cursor: pointer;
    transition: border-color .15s;
}
.my-mode:hover { border-color: rgba(147,197,253,.45); }
.my-mode.on { border-color: #60a5fa; box-shadow: 0 0 0 1px #60a5fa; }
html[data-theme="light"] .my-mode { background: var(--ames-surface); border-color: var(--ames-border); }
html[data-theme="light"] .my-mode:hover { border-color: rgba(29,78,216,.45); }
html[data-theme="light"] .my-mode.on { border-color: var(--ames-accent); box-shadow: 0 0 0 1px var(--ames-accent); }
.my-mode-pv {
    height: 92px; border-radius: 9px; overflow: hidden; display: grid; gap: 6px; padding: 0 8px 8px 0;
    grid-template: "top top" 14px "side main" 1fr / 26% 1fr;
}
.my-mode-pv i { display: block; border-radius: 4px; }
.my-mode-pv i:nth-child(1) { grid-area: top; border-radius: 0; margin-right: -8px; }
.my-mode-pv i:nth-child(2) { grid-area: side; border-radius: 0 4px 4px 0; }
.my-mode-pv i:nth-child(3) { grid-area: main; }
.my-mode-pv.is-dark  { background: #060b17; }
.my-mode-pv.is-dark  i:nth-child(1) { background: #0b1426; }
.my-mode-pv.is-dark  i:nth-child(2) { background: #0a1222; }
.my-mode-pv.is-dark  i:nth-child(3) { background: linear-gradient(160deg, #16243d, #0e1a30); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.my-mode-pv.is-light { background: #eee7d6; box-shadow: inset 0 0 0 1px rgba(120,98,52,.18); }
.my-mode-pv.is-light i:nth-child(1) { background: #dbe6f7; }
.my-mode-pv.is-light i:nth-child(2) { background: #e6eefa; }
.my-mode-pv.is-light i:nth-child(3) { background: #faf6ec; box-shadow: inset 0 0 0 1px rgba(120,98,52,.18); }
.my-mode-t { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.my-mode-t .rzi { font-size: 18px !important; }
.my-mode-t .my-check { margin-left: auto; }

/* 홈 스타일 카드 — 실물 타일을 줄여(zoom) 보여 준다 */
.my-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(246px, 1fr)); gap: 16px; }
.my-style {
    display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--ames-bd-white-a10); background: rgba(255,255,255,.02);
    transition: border-color .15s;
}
.my-style:hover { border-color: rgba(147,197,253,.45); }
.my-style.on { border-color: #60a5fa; box-shadow: 0 0 0 1px #60a5fa; }
html[data-theme="light"] .my-style { background: var(--ames-surface); border-color: var(--ames-border); }
html[data-theme="light"] .my-style:hover { border-color: rgba(29,78,216,.45); }
html[data-theme="light"] .my-style.on { border-color: var(--ames-accent); box-shadow: 0 0 0 1px var(--ames-accent); }
.my-style .my-pick { display: flex; flex-direction: column; cursor: pointer; border-radius: 16px 16px 0 0; }
.my-pv {
    height: 384px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; overflow: hidden;
    background:
        radial-gradient(90% 70% at 15% 0%, rgba(37,99,235,.16), transparent 65%),
        var(--hs-page);
}
html[data-theme="light"] .my-pv { background: radial-gradient(90% 70% at 15% 0%, rgba(37,99,235,.06), transparent 65%), var(--hs-page); }
.my-pv.hs-pv:is([data-hs="studio"], [data-hs="soft"]) { background: var(--hs-bg); }   /* 라이트 .my-pv 규칙보다 앞서게 클래스 둘 */
.my-pv .hs-tile { flex: none; width: 330px; zoom: .6; }
/* 미리보기 안 화면 칩 칸(줄인 실물) */
.my-pv .my-pv-chips { display: block; flex: none; zoom: .6; }
.my-pv .my-pv-chips .ames-map-links { padding: 14px 16px; }
/* 미리보기 안 지표 칸(줄인 실물) */
.my-pv .my-pv-kpi { flex: none; width: 260px; zoom: .6; text-align: left; }
/* 미리보기 아래 좌측 메뉴 아이콘 줄 */
.my-pv-nav { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.04); }
html[data-theme="light"] .my-pv-nav { background: rgba(255,255,255,.55); }
.my-pv.hs-pv:is([data-hs="studio"], [data-hs="soft"]) .my-pv-nav { background: var(--hs-bg); box-shadow: var(--hs-well-sh); }
.my-style-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; }
.my-style-name { font-size: 15px; font-weight: 700; color: var(--ames-tx-white); }
.my-fin { display: flex; align-items: center; gap: 10px; padding: 0 14px 12px; }
.my-fin-l { font-size: 12px; color: var(--ames-tx-white-a55); margin-right: auto; }
.my-seg { display: inline-flex; padding: 2px; border-radius: 9px; background: rgba(255,255,255,.06); border: 1px solid var(--ames-bd-white-a08); }
.my-seg button {
    border: 0; background: transparent; cursor: pointer; padding: 4px 12px; border-radius: 7px;
    font: 600 12.5px/1.4 var(--ames-font-sans); color: var(--ames-tx-white-a55);
}
.my-seg button:hover { color: var(--ames-tx-white); }
.my-seg button[aria-pressed="true"] { background: rgba(255,255,255,.16); color: var(--ames-tx-white); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.my-seg button:focus-visible { outline: 2px solid var(--ames-tx-blue-300); outline-offset: 1px; }
html[data-theme="light"] .my-seg { background: var(--ames-hover); border-color: var(--ames-border); }
html[data-theme="light"] .my-seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(80,60,20,.18); }

/* ═══ 내부 로그인·계정 안내 화면 뉴모피즘(.ames-auth--neu — Account/Login, AuthCard: 잠김·접근 거부·사용자 오류) ═══
   홈 스타일과 상관없이 항상 뉴모피즘, 낮·밤은 data-theme(ames.theme 쿠키 → App.razor). 토큰은 스튜디오·소프트와 같은 값.
   외부 포탈 로그인(.portal-auth)은 대상이 아니다. 렌더 비용 규칙: backdrop-filter·filter·mask 없이 box-shadow 2~4겹만. */
.ames-auth--neu {
    --na-bg: #161d2e; --na-hi: #202a41; --na-lo: #0b0f19;
    --na-text: #e8edf6; --na-muted: #a6b1c6; --na-faint: #7d89a1;
    --na-acc: #93c5fd; --na-ring: rgba(147,197,253,.75); --na-err: #fca5a5; --na-err-bar: #ef4444;
    --na-code-bg: rgba(0,0,0,.28);
    --na-raise: 14px 14px 32px var(--na-lo), -14px -14px 32px var(--na-hi);
    --na-raise-sm: 6px 6px 14px var(--na-lo), -5px -5px 12px var(--na-hi);
    --na-press-sm: 2px 2px 5px var(--na-lo), -2px -2px 4px var(--na-hi);
    --na-well-sm: inset 3px 3px 7px var(--na-lo), inset -3px -3px 7px var(--na-hi);
    background: radial-gradient(1000px 640px at 50% -10%, rgba(147,197,253,.06), transparent 60%), var(--na-bg);
    color: var(--na-text);
}
/* 라이트 — 홈 뉴모피즘과 같은 아이보리 판(--ames-bg), 밝은 그림자 흰색·어두운 그림자 #c9bea6 */
html[data-theme="light"] .ames-auth--neu {
    --na-bg: var(--ames-bg); --na-hi: #ffffff; --na-lo: #c9bea6;
    --na-text: var(--ames-text); --na-muted: var(--ames-text-dim); --na-faint: #756b58;
    --na-acc: #1d4ed8; --na-ring: rgba(29,78,216,.7); --na-err: #b91c1c; --na-err-bar: #dc2626;
    --na-code-bg: rgba(255,255,255,.7);
    background: radial-gradient(1000px 640px at 50% -10%, rgba(37,99,235,.05), transparent 60%), var(--na-bg);
}
.ames-auth--neu .ames-auth-bg-grid { display: none; }
/* 솟은 카드 */
.ames-auth--neu .ames-auth-card {
    background: var(--na-bg); border: 0; border-radius: 28px; padding: 38px 38px 30px;
    box-shadow: var(--na-raise); backdrop-filter: none;
}
/* 브랜드 — 솟은 배지 안의 블루 점(시안 v8 브랜드 점) + 블루 글자 로고 */
.ames-auth--neu .ames-auth-brand { margin-bottom: 26px; }
.ames-auth--neu .ames-auth-brand::before {
    content: ""; display: block; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 19px;
    background: radial-gradient(circle at 50% 50%, #6BB8FF 0, #2F7FF0 5px, #1A5FD6 7px, transparent 8px), var(--na-bg);
    box-shadow: var(--na-raise-sm);
}
.ames-auth--neu .ames-auth-logo { background: linear-gradient(135deg, #93c5fd, #5b98e6); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .ames-auth--neu .ames-auth-logo { background: linear-gradient(135deg, #2f7ff0, #1a5fd6); -webkit-background-clip: text; background-clip: text; }
.ames-auth--neu .ames-auth-sub { color: var(--na-muted); }
/* 오류 — 파인 홈 + 왼쪽 빨간 표시줄 */
.ames-auth--neu .ames-auth-error {
    background: var(--na-bg); border: 0; border-radius: 14px; color: var(--na-err); font-weight: 600;
    box-shadow: inset 4px 0 0 var(--na-err-bar), var(--na-well-sm);
}
.ames-auth--neu .ames-auth-label { color: var(--na-muted); }
/* 입력칸 — 평소엔 솟고, 포커스(입력 중)면 안으로 들어간다. 테두리·outline·고리 같은 선은 어느 상태에도 두지 않는다(12-04).
   키보드 포커스 위치는 눌림 그림자 + 한 단계 짙은 바탕(--na-fill)으로 구분하고, 검증 실패(Blazor .invalid)는 붉은 바탕 + 아래 안내 글.
   up·down 은 겹 수·inset 순서를 똑같이(바깥 2 + 안 2, 안 쓰는 겹은 투명) 맞춰야 box-shadow 전환이 끊기지 않는다.
   테두리 폭도 0 이어야 한다 — 투명 1px 테두리 자리에는 inset 그림자가 닿지 않아 자동완성 바탕색이 하얀 선으로 비쳤다(12-03). */
.ames-auth--neu .ames-auth-input {
    --na-fill: var(--na-bg);
    --na-field-up: 5px 5px 11px var(--na-lo), -4px -4px 10px var(--na-hi), inset 0 0 0 transparent, inset 0 0 0 transparent;
    --na-field-down: 0 0 0 transparent, 0 0 0 transparent, inset 5px 5px 10px var(--na-lo), inset -5px -5px 10px var(--na-hi);
    background-color: var(--na-fill); border: 0; outline: 0; border-radius: 14px; padding: 14px 17px;
    color: var(--na-text); caret-color: var(--na-acc); box-shadow: var(--na-field-up);
    transition: box-shadow .18s ease, background-color .18s ease;
}
.ames-auth--neu .ames-auth-input::placeholder { color: var(--na-faint); }
.ames-auth--neu .ames-auth-input:focus {
    --na-fill: color-mix(in srgb, var(--na-bg), var(--na-lo) 28%);
    outline: 0; box-shadow: var(--na-field-down);
}
.ames-auth--neu .ames-auth-input.invalid { --na-fill: color-mix(in srgb, var(--na-bg), var(--na-err-bar) 12%); }
/* 브라우저 자동완성 — 기본 노란/흰 바탕을 칸 바탕색(--na-fill)으로 덮고(맨 아래 겹), 솟음·눌림 그림자는 그대로 */
.ames-auth--neu .ames-auth-input:-webkit-autofill,
.ames-auth--neu .ames-auth-input:-webkit-autofill:hover {
    -webkit-text-fill-color: var(--na-text); caret-color: var(--na-text);
    -webkit-box-shadow: var(--na-field-up), inset 0 0 0 1000px var(--na-fill);
    transition: box-shadow .18s ease, background-color 9999s ease-out 0s;   /* 자동완성 바탕색 자체는 늦춰 둔다 */
}
.ames-auth--neu .ames-auth-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--na-text);
    -webkit-box-shadow: var(--na-field-down), inset 0 0 0 1000px var(--na-fill);
}
.ames-auth--neu .ames-auth-vm { color: var(--na-err); }
.ames-auth--neu .ames-auth-remember { color: var(--na-muted); }
.ames-auth--neu .ames-auth-remember input { accent-color: #2563eb; }
/* 솟은 주 버튼 — 블루 3단(흰 글자 대비 4.5 이상), 올리면 그림자가 줄어 눌리기 시작, 누르면 안으로 */
.ames-auth--neu .ames-auth-submit {
    border-radius: 14px; padding: 14px 16px; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.2);
    background: linear-gradient(180deg, #5aa6ff 0%, #2563eb 58%, #1d4ed8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.18), var(--na-raise-sm);
    transition: transform .1s;
}
.ames-auth--neu .ames-auth-submit:hover {
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.18), var(--na-press-sm);
}
.ames-auth--neu .ames-auth-submit:active {
    transform: translateY(1px);
    box-shadow: inset 3px 3px 8px rgba(0,0,0,.35), inset -2px -2px 5px rgba(255,255,255,.12);
}
.ames-auth--neu .ames-auth-submit:focus-visible { outline: 2px solid var(--na-ring); outline-offset: 3px; }
/* 개발 계정 안내 — 파인 홈 */
.ames-auth--neu .ames-auth-hint { background: var(--na-bg); border: 0; border-radius: 14px; color: var(--na-muted); box-shadow: var(--na-well-sm); }
.ames-auth--neu .ames-auth-hint code { color: var(--na-acc); background: var(--na-code-bg); }
.ames-auth--neu .ames-auth-meta { color: var(--na-faint); }
.ames-auth--neu .ames-auth-meta a { color: var(--na-acc); }
.ames-auth--neu .ames-auth-meta a:hover { color: var(--na-text); }
.ames-auth--neu .ames-auth-foot { color: var(--na-faint); }
