/* XIAK V8 — contact hierarchy / full brand; all existing scene UI preserved. */
:root {
  color-scheme: dark;
  --ink: #071014;
  --paper: #f6f2e8;
  --silver: #c9e3dc;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --edge: clamp(22px, 4.15vw, 84px);
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; background: var(--ink); }
body { color: var(--paper); font-family: var(--sans); overflow: hidden; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible { outline: 1px solid var(--paper); outline-offset: 5px; }
::selection { color: #fff; background: #702d2a; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 18px; z-index: 100; padding: 14px 22px; color: #0a1418; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; top: 0; left: 0; right: 0; padding: max(18px, env(safe-area-inset-top)) var(--edge) 12px; min-height: 100px; display: flex; justify-content: space-between; align-items: center; z-index: 10; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.brand { width: clamp(144px, 9.6vw, 170px); display: block; }
.brand img { display: block; width: 100%; height: auto; }
.main-nav { display: flex; gap: 27px; align-items: center; }
.nav-button { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; min-width: 56px; min-height: 44px; padding: 4px; font: 400 21px var(--serif); letter-spacing: .17em; white-space: nowrap; text-shadow: 0 2px 5px #000; }
.nav-button::after { content: ""; position: absolute; bottom: 2px; height: 1px; left: 6px; right: 6px; background: currentColor; opacity: 0; transform: scaleX(.5); transition: transform .2s, opacity .2s; }
.nav-button:hover::after, .nav-button:focus-visible::after { opacity: .7; transform: scaleX(1); }
.nav-button .icon { width: 15px; height: 15px; opacity: .85; }
#main, .view { position: fixed; inset: 0; overflow: hidden; }
#main:focus, .sr-only:focus { outline: none; }
.home-scenery { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; user-select: none; }
.home-enter { position: absolute; left: 50%; bottom: clamp(33px, 6.15vh, 78px); transform: translateX(-50%); min-height: 58px; display: flex; align-items: center; gap: 29px; padding: 4px; font-family: var(--serif); white-space: nowrap; text-shadow: 0 2px 5px #000; }
.home-enter-label { font-size: 26px; letter-spacing: .22em; padding-left: .22em; }
.enter-lead { width: 41px; height: 1px; background: linear-gradient(90deg, transparent, #d6ddd0); }
.enter-circle { display: grid; place-items: center; width: 51px; height: 51px; border: 1px solid rgba(222,233,221,.55); border-radius: 50%; transition: border-color .25s, background-color .25s; }
.enter-circle .icon { width: 22px; height: 22px; transition: transform .25s; }
.home-enter:hover .enter-circle, .home-enter:focus-visible .enter-circle { border-color: var(--paper); background: rgba(217,238,227,.12); }
.home-enter:hover .icon { transform: translateX(3px); }
.realm-atmosphere { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; opacity: .4; filter: blur(20px) brightness(.55); pointer-events: none; }
.realm-viewport { position: absolute; inset: 0; overflow: hidden; scrollbar-width: none; overscroll-behavior: contain; }
.realm-viewport::-webkit-scrollbar { display: none; }
.realm-world { --scene-scale: 1; position: relative; width: 1536px; height: 1024px; isolation: isolate; }
.realm-scenery { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; pointer-events: none; }
.realm-world.is-letterboxed .realm-scenery { mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
/* This single anchor contains its visible title, portal feedback and CTA.
   No separate empty hotspot, no independently positioned hover rectangle. */
.realm-gate { position: absolute; display: block; cursor: pointer; color: var(--paper); outline: none; -webkit-tap-highlight-color: transparent; }
.gate-plaque { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 86%; height: 27.8%; min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: max(16px, calc(27px * var(--scene-scale))); background: radial-gradient(ellipse at 50% 35%, rgba(3,12,15,.79), rgba(3,12,15,.6) 50%, rgba(3,12,15,.08) 78%, transparent 100%); text-shadow: 0 2px 5px #020a0d, 0 0 14px #020a0d; transition: color .24s; }
.plaque-frame { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; pointer-events: none; color: #cbe2d9; }
.frame-outline { stroke: currentColor; stroke-width: .7; opacity: .5; transition: opacity .25s; }
.frame-echo { stroke: currentColor; stroke-width: .5; opacity: .17; }
.frame-circuit { stroke: currentColor; stroke-width: .65; opacity: .28; }
.frame-detail { stroke: currentColor; stroke-width: .55; opacity: .4; }
.gate-name { position: relative; font: 600 clamp(25px, calc(38px * var(--scene-scale)), 60px)/1.2 var(--serif); letter-spacing: .24em; padding-left: .24em; white-space: nowrap; }
.gate-domain { position: relative; font: 500 clamp(12px, calc(14px * var(--scene-scale)), 20px)/1.2 var(--sans); letter-spacing: .11em; margin-top: max(9px, calc(13px * var(--scene-scale))); color: #f2f4ec; }
.plaque-rule { width: max(21px, calc(28px * var(--scene-scale))); height: 1px; background: rgba(230,242,229,.66); margin-top: max(12px, calc(16px * var(--scene-scale))); }
.portal-shimmer { position: absolute; inset: 29% 2% 12%; pointer-events: none; background: radial-gradient(ellipse, rgba(205,237,226,.15), transparent 68%); opacity: 0; transition: opacity .3s; }
.gate-step { position: absolute; left: 50%; bottom: 1.2%; transform: translateX(-50%); width: max(138px, calc(199px * var(--scene-scale))); height: max(49px, calc(62px * var(--scene-scale))); display: flex; gap: max(12px, calc(17px * var(--scene-scale))); align-items: center; justify-content: center; padding-bottom: max(6px, calc(8px * var(--scene-scale))); background: transparent; border: 0; box-shadow: none; font: 500 clamp(21px, calc(25px * var(--scene-scale)), 36px)/1.2 var(--serif); letter-spacing: .2em; text-shadow: 0 2px 3px #000, 0 0 9px #031116; }
.gate-step::before { content: ""; position: absolute; z-index: -1; inset: 0 -5% 7%; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, rgba(3,13,17,.64), rgba(3,13,17,.22) 47%, transparent 73%); }
.step-word { padding-left: .2em; position: relative; }
.gate-step .icon { width: max(21px, calc(24px * var(--scene-scale))); height: max(21px, calc(24px * var(--scene-scale))); stroke-width: 1.2; transition: transform .3s; }
.step-line { position: absolute; left: 1%; right: 1%; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, rgba(152,207,212,.3) 15%, #edf8ef 50%, rgba(152,207,212,.3) 85%, transparent); box-shadow: 0 1px 6px rgba(147,229,237,.35); pointer-events: none; }
.step-line::after { content: ""; position: absolute; inset: -3px 12%; background: radial-gradient(ellipse, rgba(183,247,247,.35), transparent 65%); filter: blur(3px); opacity: .65; transition: opacity .25s; }
.realm-gate:hover .frame-outline, .realm-gate:focus-visible .frame-outline { opacity: 1; }
.realm-gate:hover .frame-circuit, .realm-gate:focus-visible .frame-circuit { opacity: .55; }
.realm-gate:hover .portal-shimmer, .realm-gate:focus-visible .portal-shimmer { opacity: 1; }
.realm-gate:hover .gate-step .icon { transform: translateX(4px); }
.realm-gate:hover .step-line::after, .realm-gate:focus-visible .step-line::after { opacity: 1; }
.realm-gate:focus-visible .gate-plaque { outline: 1px solid rgba(221,247,236,.88); outline-offset: 3px; }
.realm-gate:focus-visible .gate-step { outline: 1px solid rgba(221,247,236,.88); outline-offset: 3px; }
.realm-gate:active .step-word { color: #c5e6dc; }
.realm-selector { position: fixed; z-index: 7; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.realm-selector::before { content: ""; position: absolute; inset: -40px -70px -25px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at center, rgba(3,11,15,.9), transparent 70%); }
.realm-choice { position: relative; font: 400 16px var(--serif); letter-spacing: .12em; min-height: 46px; min-width: 82px; padding: 7px 8px; color: #bacbc4; }
.realm-choice::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 1px; height: 1px; background: currentColor; opacity: 0; }
.realm-choice[aria-pressed=true] { color: var(--paper); }
.realm-choice[aria-pressed=true]::after { opacity: .9; }
.selector-divider { width: 23px; height: 1px; background: #637e77; }
.realms-view.is-panoramic .realm-viewport { overflow-x: auto; touch-action: pan-x; }
.no-script-links { position: fixed; z-index: 20; bottom: 30px; left: 20px; right: 20px; display: none; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; padding: 18px; background: #0a171cee; }
.no-script-links a { min-height: 44px; display: flex; align-items: center; text-decoration: underline; }
@media(max-width:700px) {
  .site-header { min-height: 85px; padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 10px; }
  .brand { width: 128px; }
  .main-nav { gap: 14px; }
  .nav-button { font-size: 17px; letter-spacing: .14em; min-width: 44px; gap: 6px; }
  .nav-button .icon { width: 13px; height: 13px; }
  .home-scenery { object-position: 22% 50%; }
  .home-enter { bottom: max(40px, env(safe-area-inset-bottom)); gap: 21px; }
  .enter-lead { width: 31px; }
  .home-enter-label { font-size: 25px; }
  .gate-plaque { width: 88%; }
}
@media(max-width:350px) { :root { --edge: 17px; } .brand { width: 119px; } .main-nav { gap: 9px; } .nav-button { font-size: 16px; letter-spacing: .12em; } }
@media(max-height:500px) {
  .site-header { min-height: 64px; padding-top: 6px; padding-bottom: 6px; }
  .brand { width: 120px; }
  .nav-button { font-size: 17px; letter-spacing: .14em; }
  .home-enter { bottom: 17px; min-height: 46px; }
  .enter-circle { width: 42px; height: 42px; }
  .home-enter-label { font-size: 22px; }
  .gate-plaque { min-height: 88px; padding-top: 12px; }
  .gate-name { font-size: 23px; }
  .gate-domain { font-size: 11px; margin-top: 8px; }
  .plaque-rule { margin-top: 10px; }
  .gate-step { font-size: 19px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
/* A feathered header scrim keeps live navigation legible over bright mobile crops. */
.site-header { isolation: isolate; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -32px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(2,8,11,.56), rgba(2,8,11,.22) 60%, transparent); }
.plaque-frame { opacity: .9; transition: opacity .25s, filter .25s; }
.realm-gate:hover .plaque-frame, .realm-gate:focus-visible .plaque-frame { opacity: 1; filter: drop-shadow(0 0 3px rgba(169,220,208,.35)); }

/* V8 CONTACT — full calligraphy identity, quieter title, clearer action hierarchy.
   Every visible action owns its own border/hover/hit area. Scene CSS above is unchanged. */
.contact-dialog {
  --contact-line: rgba(190,220,209,.55);
  width: min(664px, calc(100vw - 36px)); max-width: 664px;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--paper); overflow: visible;
  box-shadow: none; filter: drop-shadow(0 28px 48px rgba(0,0,0,.55));
}
.contact-dialog::backdrop {
  background: rgba(2,8,11,.53);
  backdrop-filter: blur(3px) saturate(.8); -webkit-backdrop-filter: blur(3px) saturate(.8);
}
.contact-shell { position: relative; isolation: isolate; width: 100%; }
.contact-surface, .contact-lattice, .contact-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contact-surface {
  z-index: -2;
  background: radial-gradient(ellipse at 50% 0%, rgba(70,107,96,.25), transparent 57%),
    linear-gradient(158deg, rgba(11,23,27,.982), rgba(6,15,19,.985) 58%, rgba(12,26,29,.985));
  clip-path: polygon(3% 0,97% 0,100% 4%,100% 85.4%,98% 88%,98% 93.3%,95.4% 97.7%,88.3% 97.7%,86.6% 100%,13.4% 100%,11.7% 97.7%,4.6% 97.7%,2% 93.3%,2% 88%,0 85.4%,0 4%);
}
.contact-lattice {
  z-index: -1; opacity: .15;
  background: linear-gradient(90deg,rgba(130,174,157,.1) 1px,transparent 1px),linear-gradient(rgba(130,174,157,.09) 1px,transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg,#000,transparent 25%,transparent 75%,#000);
  -webkit-mask-image: linear-gradient(90deg,#000,transparent 25%,transparent 75%,#000);
}
.contact-frame { z-index: 0; color: var(--silver); fill: none; }
.contact-frame path { vector-effect: non-scaling-stroke; }
.contact-outline { stroke: currentColor; stroke-width: .8; opacity: .52; }
.contact-echo { stroke: currentColor; stroke-width: .6; opacity: .18; }
.contact-circuit { stroke: currentColor; stroke-width: .7; opacity: .28; }
.contact-knot { stroke: currentColor; stroke-width: .7; opacity: .45; }
.contact-ray { stroke: #def3e6; stroke-width: 1; opacity: .65; filter: drop-shadow(0 0 4px rgba(167,228,211,.28)); }
.contact-content {
  position: relative; padding: 37px 58px 22px; text-align: center;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #59786f transparent;
}
.close-dialog {
  position: absolute; top: 20px; right: 24px; width: 48px; height: 48px;
  z-index: 4; display: grid; place-items: center; padding: 0; color: #d5e3d8; border-radius: 50%;
}
.contact-close-ring { position: absolute; inset: 4px; border: 1px solid rgba(192,215,203,.42); border-radius: 50%; background: rgba(8,19,23,.75); transition: border-color .2s,background .2s; pointer-events: none; }
.close-dialog .icon { width: 19px; height: 19px; stroke-width: 1.15; position: relative; pointer-events: none; }
.close-dialog:hover .contact-close-ring, .close-dialog:focus-visible .contact-close-ring { border-color: var(--paper); background: #223a39; }
.contact-intro { margin: 0 auto; width: 100%; }
.contact-signature { display: flex; justify-content: center; align-items: center; }
.contact-brand { display: block; width: 216px; max-width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.contact-content h2 {
  display: flex; align-items: center; justify-content: center; gap: 19px;
  margin: 9px 0 0; color: #d5e0d6; font: 400 24px/1.35 var(--serif); letter-spacing: .22em;
}
.contact-content h2 span { padding-left: .22em; }
.contact-content h2::before,.contact-content h2::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg,transparent,rgba(184,212,194,.38)); pointer-events: none; }
.contact-content h2::after { transform: scaleX(-1); }
.contact-content h2:focus { outline: none; }
.contact-address { margin-top: 27px; }
.contact-address-label { margin: 0 0 5px; color: #b8c9bf; font: 400 14px/1.6 var(--serif); letter-spacing: .18em; padding-left: .18em; }
.email-link {
  display: inline-flex; align-items: center; min-height: 52px; position: relative;
  padding: 2px 2px 5px; color: #faf6eb; font: 400 34px/1.35 Georgia,"Times New Roman",var(--serif); letter-spacing: .025em;
  user-select: text; -webkit-user-select: text; white-space: nowrap; border-radius: 1px;
}
.email-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(198,223,207,.7),transparent); opacity: 0; transition: opacity .2s; }
.email-link:hover::after,.email-link:focus-visible::after { opacity: 1; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.contact-action {
  position: relative; isolation: isolate; min-width: 0; height: 60px; display: flex; justify-content: center; align-items: center;
  gap: 13px; padding: 0 16px; border: 0; border-radius: 0; margin: 0; background: transparent;
  color: var(--paper); font: 400 18px/1.4 var(--serif); letter-spacing: .12em; white-space: nowrap;
}
.contact-action > span:not(.action-light),.contact-action > .icon { position: relative; }
.contact-action::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,rgba(103,147,131,.065),rgba(11,27,31,.03));
  clip-path: polygon(4% 0,96% 0,100% 14%,100% 86%,96% 100%,4% 100%,0 86%,0 14%); transition: background .2s;
}
.action-frame { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; color: #c2dccf; pointer-events: none; }
.action-frame path { stroke: currentColor; stroke-width: .8; opacity: .5; vector-effect: non-scaling-stroke; transition: opacity .2s; }
.action-frame .action-frame-echo { stroke-width: .5; opacity: .12; }
.contact-action .icon { width: 19px; height: 19px; stroke-width: 1.2; color: currentColor; pointer-events: none; }
.action-light { position: absolute; pointer-events: none; bottom: 1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg,transparent,rgba(179,224,208,.75),transparent); opacity: .4; transition: opacity .25s; }
.action-write { color: #f3f7ee; }
.action-write::before { background: linear-gradient(158deg,rgba(129,180,157,.31),rgba(50,94,81,.24)); }
.action-write .action-frame path { opacity: .85; }
.action-write .action-frame .action-frame-echo { opacity: .25; }
.action-write .action-light { opacity: .9; filter: drop-shadow(0 0 3px rgba(170,227,210,.32)); }
.contact-action:hover .action-frame path,.contact-action:focus-visible .action-frame path { opacity: 1; }
.contact-action:hover .action-frame .action-frame-echo,.contact-action:focus-visible .action-frame .action-frame-echo { opacity: .35; }
.contact-action:hover::before,.contact-action:focus-visible::before { background: linear-gradient(180deg,rgba(148,199,176,.22),rgba(54,92,82,.14)); }
.action-write:hover::before,.action-write:focus-visible::before { background: linear-gradient(158deg,rgba(153,203,179,.4),rgba(75,126,105,.29)); }
.contact-action:hover .action-light,.contact-action:focus-visible .action-light { opacity: 1; }
.contact-action:active { transform: translateY(1px); }
.contact-action:focus-visible { outline-offset: 4px; }
.copy-email .copied-glyph { display: none; }
.copy-email[data-state="copied"] .copy-glyph { display: none; }
.copy-email[data-state="copied"] .copied-glyph { display: block; }
.copy-email[data-state="copied"] { color: #d6f0da; }
.copy-email[data-state="copying"] { cursor: progress; }
.contact-feedback { position: relative; min-height: 44px; margin-top: 17px; }
.contact-guidance,.copy-status { margin: 0; padding: 0; font: 400 13px/1.65 var(--sans); color: #b8c9bf; letter-spacing: .02em; overflow-wrap: anywhere; }
.contact-feedback[data-state="idle"] .copy-status { position: absolute; inset: 0; pointer-events: none; }
.contact-feedback:not([data-state="idle"]) .contact-guidance { visibility: hidden; }
.contact-feedback:not([data-state="idle"]) .copy-status { position: absolute; inset: 0; }
.contact-feedback[data-state="copied"] .copy-status { color: #d1e8d4; }
.contact-feedback[data-state="error"] .copy-status { color: #ead1af; }
.contact-dialog[open] { animation: contact-arrive 200ms ease-out both; }
@keyframes contact-arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:700px) {
  .contact-dialog { width: min(580px,calc(100vw - 32px)); }
  .contact-content { padding: 34px 26px 19px; }
  .contact-brand { width: 184px; }
  .contact-content h2 { font-size: 23px; margin-top: 8px; gap: 15px; }
  .contact-content h2::before,.contact-content h2::after { width: 28px; }
  .close-dialog { top: 15px; right: 15px; }
  .contact-address { margin-top: 24px; }
  .email-link { font-size: clamp(26px,7.35vw,33px); min-height: 50px; }
  .contact-actions { gap: 13px; margin-top: 25px; }
  .contact-action { height: 56px; font-size: 16px; letter-spacing: .08em; gap: 10px; padding: 0 10px; }
  .contact-action .icon { width: 18px; height: 18px; }
  .contact-feedback { margin-top: 15px; min-height: 44px; }
}
@media(max-width:350px) {
  .contact-dialog { width: calc(100vw - 24px); }
  .contact-content { padding: 33px 21px 18px; }
  .contact-brand { width: 170px; }
  .close-dialog { top: 12px; right: 10px; }
  .contact-actions { gap: 10px; }
  .contact-action { font-size: 15px; gap: 7px; padding: 0 8px; }
  .contact-action .icon { width: 17px; height: 17px; }
  .contact-guidance,.copy-status { font-size: 12px; }
}
/* Landscape is recomposed, not shrunk until the identity disappears. */
@media(max-height:540px) and (min-width:560px) {
  .contact-dialog { width: min(688px,calc(100vw - 28px)); max-width: 688px; max-height: calc(100dvh - 24px); }
  .contact-content { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 28px; align-items: center; padding: 42px 38px 23px; max-height: calc(100dvh - 24px); }
  .contact-brand { width: 155px; }
  .contact-content h2 { font-size: 22px; gap: 11px; margin-top: 6px; }
  .contact-content h2::before,.contact-content h2::after { width: 18px; }
  .contact-address { margin-top: 0; }
  .contact-address-label { font-size: 13px; }
  .email-link { min-height: 44px; font-size: 28px; }
  .contact-actions { gap: 10px; margin-top: 17px; }
  .contact-action { height: 50px; font-size: 15px; gap: 8px; padding: 0 8px; }
  .contact-action .icon { width: 17px; height: 17px; }
  .contact-feedback { margin-top: 12px; min-height: 42px; }
  .contact-guidance,.copy-status { font-size: 12px; }
  .close-dialog { top: 7px; right: 13px; }
}
@media(max-height:540px) and (max-width:559px) {
  .contact-content { padding-top: 28px; padding-bottom: 12px; }
  .contact-brand { width: 152px; }
  .contact-content h2 { font-size: 21px; margin-top: 5px; }
  .contact-address { margin-top: 16px; }
  .contact-address-label { font-size: 13px; }
  .email-link { min-height: 44px; font-size: 26px; }
  .contact-actions { margin-top: 17px; }
  .contact-action { height: 50px; }
  .contact-feedback { margin-top: 12px; min-height: 39px; }
  .close-dialog { top: 9px; right: 11px; }
}
@media(prefers-reduced-motion:reduce) { .contact-dialog[open] { animation: none; } }
@media(forced-colors:active) {
  .contact-dialog { background: Canvas; color: CanvasText; border: 1px solid CanvasText; filter: none; }
  .contact-frame,.contact-lattice,.contact-surface,.action-frame,.action-light { display: none; }
  .contact-action { border: 1px solid ButtonText; color: ButtonText; }
  .contact-close-ring { border-color: ButtonText; background: Canvas; }
  .close-dialog,.contact-content h2,.contact-address-label,.contact-guidance,.copy-status { color: CanvasText; }
  .email-link { color: LinkText; text-decoration: underline; }
  .contact-brand { background: #071014; forced-color-adjust: none; }
}
