/* Local typography and interaction refinements. No remote font or script required. */
:root {
  font-family: Inter, "MiSans", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { color: #f1f3f6; }
.brand-copy strong { font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.brand-copy small { font-size: 9px; letter-spacing: .1em; }
.hero h1 { letter-spacing: -.065em; }
.hero-subtitle { color: #b1b3b9; font-size: 15px; }
.hero-meta, .search-hint, .globe-label, .globe-coordinate, .hero-bottom { letter-spacing: .07em; }
.search { border-radius: 12px; }
.search input { font-size: 14px; }
.search-hint { font-size: 10px; }
.directory-head h2 { letter-spacing: -.065em; }
.directory-caption { font-size: 11px; color: #a2a5ac; letter-spacing: .015em; }
.category-chip { font-size: 12px; letter-spacing: .01em; }
.category-chip:focus-visible { outline-offset: 3px; }

/* Lightweight CSS globe: layered depth and cursor driven lighting without WebGL. */
.globe-zone { perspective: 1100px; isolation: isolate; --globe-scale: 1; }
.globe-zone.globe-ready #globe-fallback { opacity: 0; }
.globe-scene { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transform-style: preserve-3d; }
.globe-float { position: relative; width: min(78%, 450px); aspect-ratio: 1; transform-style: preserve-3d; transform: translate3d(var(--depth-x,0),var(--depth-y,0),0) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) scale(var(--globe-scale)); transition: filter .45s ease; animation: globe-drift 7s ease-in-out infinite; }
.globe-sphere { position: absolute; inset: 5%; overflow: hidden; border: 1px solid #74d8ff88; border-radius: 50%; transform-style: preserve-3d; background: radial-gradient(ellipse at 34% 25%,#2885bd9c 0%,#124d7c 24%,#092846 56%,#04101f 82%); box-shadow: inset -28px -24px 48px #020812d9,inset 15px 11px 34px #78dfff35,0 0 35px #2194e83a,0 0 95px #3275d324; }
.globe-sphere::before { content:""; position:absolute; z-index:3; inset:0; border-radius:inherit; background:radial-gradient(ellipse at var(--light-x,50%) var(--light-y,43%),#e7fbff5c 0%,#94e4ff20 15%,transparent 43%),linear-gradient(115deg,transparent 34%,#77d6ff13 49%,transparent 64%); mix-blend-mode:screen; transition:opacity .35s; }
.globe-map { position:absolute; inset:0; transform:translate3d(calc(var(--depth-x,0px)*-.28),calc(var(--depth-y,0px)*-.28),12px) scale(1.04); opacity:.68; filter:drop-shadow(0 0 4px #52caff3a); }
.globe-map svg { width:100%;height:100%;overflow:visible; }
.globe-map path { fill:#55c7df;stroke:#a3f1ff;stroke-width:.6;opacity:.44; }
.globe-grid { position:absolute; z-index:2; inset:-1%; border-radius:50%; transform:translate3d(calc(var(--depth-x,0px)*-.48),calc(var(--depth-y,0px)*-.48),20px) scale(1.015); background:repeating-linear-gradient(0deg,transparent 0 13.7%,#78d9ff1b 13.9%,transparent 14.15%),repeating-linear-gradient(90deg,transparent 0 12.2%,#78d9ff22 12.4%,transparent 12.65%); mask-image:radial-gradient(ellipse,#000 58%,transparent 72%); }
.globe-vignette { position:absolute;z-index:4;inset:0;border-radius:50%;background:radial-gradient(ellipse at center,transparent 43%,#02091650 78%,#010610d9 100%);box-shadow:inset 0 0 32px #020914a8; }
.globe-nodes { position:absolute;z-index:5;inset:0;transform:translate3d(calc(var(--depth-x,0px)*-.65),calc(var(--depth-y,0px)*-.65),30px); }
.globe-nodes i { position:absolute;left:var(--node-x);top:var(--node-y);width:4px;height:4px;border-radius:50%;background:#b4f7ff;box-shadow:0 0 8px 2px #60d9ff99;transform:translate(-50%,-50%);opacity:.74;transition:transform .3s,opacity .3s,box-shadow .3s; }
.globe-nodes i.is-active { opacity:1;transform:translate(-50%,-50%) scale(2.3);box-shadow:0 0 13px 5px #71cfff; }
.globe-light { position:absolute;z-index:6;inset:0;border-radius:50%;background:radial-gradient(circle at var(--light-x,50%) var(--light-y,43%),#fff8 0%,#89ddff30 10%,transparent 38%);mix-blend-mode:screen;opacity:.62;transition:opacity .35s; }
.globe-shadow { position:absolute;z-index:-1;width:62%;height:13%;left:19%;bottom:12%;border-radius:50%;background:radial-gradient(ellipse,#01040caf 0%,#07132260 38%,transparent 72%);filter:blur(12px);transform:translate(var(--shadow-x,0),var(--shadow-y,7px)) rotate(-8deg) scaleX(1.15);transition:filter .35s; }
.globe-orbits { position:absolute;z-index:0;inset:12% 2%;transform-style:preserve-3d;transform:rotate(-18deg) rotateX(66deg) translate3d(calc(var(--depth-x,0px)*.4),calc(var(--depth-y,0px)*.4),-12px);transition:opacity .4s;opacity:.62; }
.globe-orbits i { position:absolute;inset:0;border:1px solid #75caff5c;border-radius:50%;box-shadow:0 0 12px #498fe020; }
.globe-orbits i:nth-child(2) { inset:10% -4%;transform:rotate(48deg);border-color:#a58aff38; }
.globe-orbits i:nth-child(3) { inset:17% 7%;transform:rotate(-37deg);border-color:#73e9ff35; }
.globe-scene.is-hovered { --globe-scale:1.035; }
.globe-scene.is-hovered .globe-float { filter:drop-shadow(0 0 18px #4dbbff4b); }
.globe-scene.is-hovered .globe-light { opacity:.95; }
.globe-scene.is-hovered .globe-orbits { opacity:.95; }
.globe-scene.is-dragging .globe-float { animation-play-state:paused; }
.globe-ripple { position:absolute;z-index:5;width:18px;height:18px;border:1px solid #9ceaff;border-radius:50%;box-shadow:0 0 16px #57cfffaa;transform:translate(-50%,-50%);pointer-events:none;animation:globe-ripple .42s ease-out forwards; }
@keyframes globe-drift { 0%,100% { translate:0 0 } 50% { translate:0 -7px } }
@keyframes globe-ripple { to { opacity:0;scale:9; } }
@media(max-width:620px) { .globe-zone { pointer-events:auto; } .hero-copy { pointer-events:none; } .hero-copy>* { pointer-events:auto; } .globe-float { width:min(82%,350px); } }
@media(prefers-reduced-motion:reduce) { .globe-float { animation:none;transition:none; } .globe-zone.globe-ready #globe-fallback { transition:none; } .globe-ripple { animation-duration:.01ms; } }

.link-card {
  border-radius: 14px;
  overflow: visible;
  transition: transform .24s cubic-bezier(.2,.75,.25,1), border-color .24s, box-shadow .24s, background .24s;
}
.link-card-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 14px;
  padding-right: 24px;
  color: inherit;
  text-decoration: none;
  transform-style: preserve-3d;
}
.link-card-link:focus-visible { outline-offset: -4px; border-radius: 9px; }
.link-card:focus-within { border-color: #e2e8f079; box-shadow: inset 0 1px #ffffff52, 0 18px 36px #0007, 0 0 24px #b5c7e10c; }
.link-card:hover, .link-card:focus-within { z-index: 5; }
.link-icon { position: relative; }
.link-icon-fallback { position: relative; z-index: 0; }
.link-icon img.site-logo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 7px; border-radius: inherit; background: linear-gradient(145deg, #edf2f7, #c8d0db); }
.favorite-button {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #ffffff24;
  border-radius: 9px;
  color: #a8abb2;
  background: #090a0dc9;
  font-size: 17px;
  line-height: 1;
  opacity: .7;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: color .18s, background .18s, border-color .18s, transform .18s, opacity .18s;
}
.link-card:hover .favorite-button, .favorite-button:focus-visible { opacity: 1; }
.favorite-button:hover { color: #fff; border-color: #ffffff66; transform: translateY(-1px) scale(1.05); }
.favorite-button.is-favorite { color: #f4d68b; border-color: #e9c87566; background: #59451d88; opacity: 1; }
.favorite-chip.active { color: #f8e7b7; border-color: #e4c77980; background: #8e6b291f; box-shadow: inset 0 1px #ffffff1b, 0 7px 20px #0003; }
.link-copy strong { font-size: 14px; font-weight: 620; }
.link-copy small { font-size: 11px; color: #b1b3b9; }
.link-destination { font-size: 10px; color: #929aa5; }
.group h3 { font-size: 15px; font-weight: 600; }
.group-count { font-size: 11px; letter-spacing: .04em; }
.empty p { font-size: 14px; line-height: 1.7; }
.ghost, .round-button { font-size: 12px; }
.ghost:focus-visible, .round-button:focus-visible { outline-offset: 3px; }
.favorites-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #e5ca8060;
  border-radius: 9px;
  color: #f3e2b4;
  background: linear-gradient(135deg, #ad84321e, #ffffff08);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.favorites-toggle > span:first-child { font-size: 17px; line-height: 1; }
.favorites-toggle b {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  color: #17130b;
  background: #e4ca84;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.favorites-toggle:hover { transform: translateY(-2px); border-color: #f1d78d; background: #c39b4430; box-shadow: 0 7px 20px #0005, 0 0 18px #e5ca801c; }
.favorites-toggle:active { transform: scale(.97); }
.favorites-toggle:focus-visible { outline-offset: 3px; }
.footer-actions { display: inline-flex; align-items: center; gap: 18px; }
.footer-actions button {
  padding: 5px 8px;
  border: 1px solid #ffffff20;
  border-radius: 6px;
  color: #90949c;
  background: #ffffff05;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
}
.footer-actions button:hover { color: #f4f5f6; border-color: #ffffff50; background: #ffffff0c; }
.category-chip { animation: chip-in .24s both; }
@keyframes chip-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.link-card { animation: card-in .42s both; animation-delay: calc(min(var(--card-index, 0), 8) * 35ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); } }

@media (hover: hover) and (pointer: fine) {
  .link-card:hover { will-change: transform; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { width: 100%; max-width: 680px; }
}
@media (max-width: 620px) {
  .hero-subtitle { font-size: 14px; }
  .favorites-toggle { min-height: 32px; gap: 5px; padding: 0 8px; font-size: 11px; }
  .favorites-toggle b { min-width: 17px; height: 17px; }
  .footer-actions { gap: 10px; }
  .search-hint { font-size: 9px; }
  .link-card { padding: 16px; }
  .link-card-link { gap: 12px; padding-right: 25px; }
  .favorite-button { top: 7px; right: 7px; width: 28px; height: 28px; }
  .link-copy small { font-size: 11px; }
  .link-destination { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .link-card { will-change: auto; }
  .favorite-button { transition: none; }
  .category-chip, .link-card { animation: none; }
  .favorites-toggle { transition: none; }
}

/* Navigation first: make search and destinations easier to scan at a glance. */
:root {
  color: #edf2f7;
  background: #0b0e13;
  scroll-padding-top: 24px;
}
body {
  background-color: #0b0e13;
  background-image: radial-gradient(ellipse at 76% 14%, #172537 0%, transparent 32%), radial-gradient(ellipse at 9% 45%, #171621 0%, transparent 35%);
}
.shell { width: min(1360px, calc(100% - 80px)); }
.topbar { height: 80px; border-bottom-color: #d6e1ee1a; }
.brand-mark { border-radius: 10px; background: #151d27; box-shadow: inset 0 1px #ffffff24; }
.live-indicator { color: #b5c2d0; font-size: 11px; letter-spacing: .02em; }
.favorites-toggle { border-color: #d9c17b58; }
.hero { min-height: 570px; padding: 28px 0 68px; }
.hero-copy { padding-top: 0; }
.hero h1 {
  max-width: 690px;
  margin-bottom: 18px;
  color: #f0f3f6;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  font-size: clamp(48px, 4.7vw, 70px);
  line-height: 1.2;
  letter-spacing: -.055em;
  text-wrap: pretty;
}
.hero-subtitle { max-width: 500px; margin-bottom: 27px; color: #b7c1cc; font-size: 16px; line-height: 1.7; }
.search {
  height: 60px;
  border-color: #6374868c;
  border-radius: 12px;
  background: #121821e8;
  box-shadow: 0 14px 34px #0005, inset 0 1px #ffffff15;
}
.search input { font-size: 15px; }
.search input::placeholder { color: #a4b2c2; }
.search-hint { margin-top: 12px; color: #a1adba; font-size: 12px; }
.search-hint kbd { color: #e0e8ef; border-color: #8998a777; }
.globe-zone { height: clamp(400px, 38vw, 500px); min-height: 0; }
.globe-label, .globe-coordinate { color: #b3c5d8; font-size: 11px; letter-spacing: .04em; }
.hero-bottom { bottom: 24px; color: #a3b0be; font-size: 11px; letter-spacing: .04em; }
.directory { padding: 54px 0 76px; border-top-color: #d6e1ee24; }
.directory-head { align-items: center; margin-bottom: 23px; }
.directory-head h2 { color: #f0f3f6; font-size: clamp(32px, 3.2vw, 42px); line-height: 1.2; letter-spacing: -.045em; }
.directory-head h2 span { color: inherit; }
.directory-head h2 sup { display: none; }
.directory-caption { max-width: 440px; margin: 0; color: #b4bfcb; font-size: 14px; line-height: 1.65; letter-spacing: 0; }
.category-nav { gap: 8px; padding-bottom: 20px; }
.category-chip {
  min-height: 42px;
  padding: 9px 14px;
  color: #c2ccd6;
  background: #111720;
  border-color: #4a5867a6;
  border-radius: 8px;
  font-size: 13px;
}
.category-chip:hover, .category-chip.active {
  color: #f1f7fb;
  border-color: #75cbe4b3;
  background: #17303a;
  box-shadow: inset 0 1px #ffffff18;
}
.groups { gap: 29px; }
.group-head { gap: 12px; margin: 3px 0 14px; }
.group-number { min-width: 31px; color: #a9d9e8; border-color: #587b88; text-align: center; }
.group h3 { color: #edf2f7; font-size: 16px; letter-spacing: .01em; }
.group-count { color: #acb9c6; font-size: 12px; letter-spacing: .01em; }
.link-grid { gap: 13px; }
.link-card {
  min-height: 108px;
  padding: 17px;
  border-color: #59657380;
  border-radius: 13px;
  background: #12171e;
  box-shadow: inset 0 1px #ffffff12, 0 8px 22px #0003;
  backdrop-filter: blur(8px);
}
.link-card:hover, .link-card:focus-within {
  border-color: #83bdd1c2;
  background: #17212a;
  box-shadow: inset 0 1px #ffffff1b, 0 14px 30px #0005;
}
.link-icon { width: 48px; height: 48px; border-radius: 12px; font-size: 19px; }
.link-copy { gap: 5px; }
.link-copy strong { color: #f0f3f6; font-size: 15px; font-weight: 650; }
.link-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #c3ccd5;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.link-destination { margin-top: 1px; color: #9eb3c6; font-size: 11px; }
.arrow { color: #bfd5e2; font-size: 18px; }
.favorite-button { color: #c1cbd4; background: #0b1017e8; }
.empty { border-color: #4d5b68; background: #12171e; }
.empty p { color: #c0cad3; }
footer { min-height: 88px; border-top-color: #d6e1ee24; color: #a1adba; font-size: 10px; letter-spacing: .04em; }
.footer-brand { color: #c0cbd5; }

@media (max-width: 960px) {
  .shell { width: min(calc(100% - 56px), 1440px); }
  .hero { min-height: 560px; padding: 70px 0 72px; }
  .globe-zone { height: 470px; }
  .directory { padding-top: 46px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  .topbar { height: 68px; }
  .hero { min-height: 600px; padding: 67px 0 60px; align-items: start; }
  .hero h1 { max-width: 360px; margin-bottom: 14px; font-size: clamp(42px, 11.2vw, 50px); line-height: 1.22; letter-spacing: -.055em; }
  .hero-subtitle { max-width: 330px; margin-bottom: 21px; font-size: 15px; }
  .search { height: 56px; }
  .search-hint { font-size: 11px; line-height: 1.6; }
  .globe-zone { top: 210px; height: 350px; opacity: .19; }
  .directory { padding: 38px 0 58px; }
  .directory-head { align-items: start; gap: 10px; margin-bottom: 19px; }
  .directory-head h2 { font-size: 33px; }
  .directory-caption { max-width: 45%; padding-top: 3px; font-size: 12px; }
  .category-nav { margin-right: -18px; padding-right: 18px; padding-bottom: 18px; }
  .category-chip { min-height: 40px; padding: 8px 12px; font-size: 12px; }
  .groups { gap: 25px; }
  .group-head { margin-bottom: 11px; }
  .group h3 { font-size: 15px; }
  .group-count { font-size: 11px; }
  .link-grid { gap: 10px; }
  .link-card { min-height: 96px; padding: 14px; border-radius: 12px; box-shadow: inset 0 1px #ffffff12, 0 7px 17px #0003; }
  .link-icon { width: 44px; height: 44px; }
  .link-copy strong { font-size: 14px; }
  .link-copy small { font-size: 13px; }
  .link-destination { font-size: 10px; }
  footer { min-height: 76px; flex-wrap: wrap; padding: 16px 0; font-size: 9px; }
}

/* Hallmark · app screen · redesign: navigation-first · existing NetVision brand */
:root {
  --nav-surface: #111a24;
  --nav-border: #405266;
  --nav-ink: #edf3f8;
  --nav-muted: #b8c7d6;
  --nav-accent: #8bd4ed;
  --nav-active: #1b3746;
}
html, body { overflow-x: clip; }
.shell { width: min(1280px, calc(100% - 80px)); }
.topbar { height: 72px; }
.hero { min-height: 405px; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); padding: 30px 0 52px; }
.hero h1 { max-width: 690px; font-size: clamp(40px, 4vw, 58px); line-height: 1.2; letter-spacing: -.035em; }
.hero-subtitle { color: var(--nav-muted); }
.search { width: min(560px, 100%); border-color: var(--nav-border); background: var(--nav-surface); }
.search:focus-within { border-color: var(--nav-accent); }
.search input { font-size: 16px; }
.globe-zone { height: clamp(300px, 29vw, 390px); transform: none; }
.globe-label, .globe-coordinate, .hero-bottom { letter-spacing: 0; }
.hero-bottom { bottom: 15px; }
.directory { padding: 35px 0 72px; }
.directory-head h2 { font-size: clamp(27px, 2.4vw, 34px); letter-spacing: -.02em; }
.directory-caption { color: var(--nav-muted); }
.category-chip { min-height: 44px; border-color: var(--nav-border); background: var(--nav-surface); font-size: 14px; }
.category-chip:hover, .category-chip.active { border-color: var(--nav-accent); background: var(--nav-active); }
.link-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.link-card { min-height: 98px; border-color: var(--nav-border); background: var(--nav-surface); }
.link-card:hover, .link-card:focus-within { border-color: var(--nav-accent); background: var(--nav-active); }
.link-copy strong { color: var(--nav-ink); }
.link-copy small, .link-destination, .group-count { color: var(--nav-muted); }
.favorite-button { min-width: 36px; min-height: 36px; }
.favorites-toggle, .round-button { min-height: 44px; }
.round-button { min-width: 44px; }
:focus-visible { outline: 2px solid var(--nav-accent) !important; outline-offset: 3px; }
@media (max-width: 960px) {
  .shell { width: calc(100% - 48px); }
  .hero { min-height: 390px; padding: 52px 0 56px; }
  .globe-zone { top: 16px; right: 0; height: 340px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .topbar { height: 68px; }
  .hero { min-height: 355px; padding: 48px 0 55px; }
  .hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .hero-subtitle { font-size: 15px; }
  .globe-zone { top: 85px; right: -8%; width: 70%; height: 260px; opacity: .2; }
  .directory { padding: 30px 0 58px; }
  .directory-head { display: block; }
  .directory-caption { max-width: none; margin-top: 7px; font-size: 13px; }
  .link-card { min-height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .link-card, .category-chip, .globe-float { animation: none; }
}

/* Hallmark · app screen · redesign: navigation workspace · NetVision */
:root {
  --workspace-bg: #0c1720;
  --workspace-surface: #14242d;
  --workspace-raised: #1a2c35;
  --workspace-edge: #36505a;
  --workspace-text: #edf5f0;
  --workspace-muted: #b1c6c4;
  --workspace-accent: #b5e7c8;
  --workspace-accent-ink: #102b24;
}
body { color: var(--workspace-text); background: var(--workspace-bg); }
.ambient { opacity: .16; }
.shell { width: min(1440px, calc(100% - 64px)); }
.topbar { height: 74px; border-color: var(--workspace-edge); }
.brand-mark { background: var(--workspace-accent); color: var(--workspace-accent-ink); border: 0; box-shadow: none; }
.brand-star { color: var(--workspace-accent-ink); }
.brand-copy strong { font-size: 16px; }
.brand-copy small { color: var(--workspace-muted); font-size: 11px; letter-spacing: 0; }
.live-indicator { color: var(--workspace-muted); }
.favorites-toggle { color: var(--workspace-text); background: var(--workspace-surface); border-color: var(--workspace-edge); box-shadow: none; }
.favorites-toggle b { color: var(--workspace-accent-ink); background: var(--workspace-accent); }
.round-button { background: var(--workspace-surface); border-color: var(--workspace-edge); }
.hero { min-height: 250px; grid-template-columns: minmax(0, 1fr) 280px; padding: 30px 0 24px; gap: 24px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .85fr); align-items: end; column-gap: 40px; }
.hero h1 { grid-column: 1; margin: 0 0 10px; max-width: 580px; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.18; letter-spacing: -.035em; }
.hero-subtitle { grid-column: 1; grid-row: 2; margin: 0; color: var(--workspace-muted); }
.search { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 100%; height: 60px; border: 1px solid var(--workspace-edge); background: var(--workspace-surface); box-shadow: none; }
.search:focus-within { border-color: var(--workspace-accent); box-shadow: 0 0 0 3px #b5e7c82a; transform: none; }
.search-icon { color: var(--workspace-accent); }
.search-hint { grid-column: 2; margin: 9px 0 0; color: var(--workspace-muted); }
.globe-zone { width: 280px; height: 230px; min-height: 0; justify-self: end; filter: saturate(.65); }
.globe-label, .globe-coordinate, .hero-bottom { display: none; }
.directory { display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 38px; align-items: start; padding: 30px 0 80px; border-color: var(--workspace-edge); }
.directory:before { display: none; }
.directory-head { grid-column: 1 / -1; align-items: baseline; margin-bottom: 25px; }
.directory-head h2 { font-size: 29px; letter-spacing: -.02em; }
.directory-caption { color: var(--workspace-muted); }
.category-nav { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 5px; overflow: visible; padding: 0; position: sticky; top: 20px; }
.category-chip { width: 100%; min-height: 46px; padding: 11px 14px; text-align: left; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--workspace-muted); box-shadow: none; }
.category-chip:hover { color: var(--workspace-text); background: var(--workspace-surface); border-color: var(--workspace-edge); box-shadow: none; }
.category-chip.active, .category-chip.active:hover { color: var(--workspace-accent-ink); background: var(--workspace-accent); border-color: var(--workspace-accent); box-shadow: none; font-weight: 700; }
.groups, .empty { grid-column: 2; grid-row: 2; min-width: 0; }
#status:empty { display: none; }
.groups { gap: 32px; }
.group-head { margin: 0 0 15px; }
.group-number { color: var(--workspace-accent); border: 0; padding: 0; min-width: 24px; font-size: 12px; }
.group h3 { font-size: 18px; }
.group-count { color: var(--workspace-muted); }
.link-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: 10px; }
.link-card { min-height: 94px; padding: 16px; border: 1px solid var(--workspace-edge); border-radius: 10px; background: var(--workspace-surface); box-shadow: none; backdrop-filter: none; animation: none; }
.link-card:before, .link-card:after { display: none; }
.link-card:hover, .link-card:focus-within { background: var(--workspace-raised); border-color: var(--workspace-accent); box-shadow: none; }
.link-copy strong { font-size: 15px; }
.link-copy small, .link-destination { color: var(--workspace-muted); }
.favorite-button { background: var(--workspace-bg); }
.empty { border-color: var(--workspace-edge); background: var(--workspace-surface); }
footer { border-color: var(--workspace-edge); }
:focus-visible { outline-color: var(--workspace-accent) !important; }
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) 210px; }
  .hero-copy { display: block; }
  .hero-subtitle { margin-bottom: 20px; }
  .globe-zone { position: relative; top: auto; right: auto; width: 210px; height: 210px; opacity: .8; pointer-events: auto; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .hero { display: block; min-height: 0; padding: 35px 0 28px; }
  .hero-copy { position: relative; z-index: 2; max-width: none; padding-right: 0; }
  .hero h1 { font-size: clamp(32px, 8vw, 44px); max-width: 75%; }
  .hero-subtitle { max-width: 75%; }
  .globe-zone { position: absolute; top: 8px; right: -12px; width: 145px; height: 145px; opacity: .38; }
  .search { max-width: none; }
  .directory { display: block; padding-top: 26px; }
  .directory-head { display: block; margin-bottom: 16px; }
  .directory-caption { margin-top: 6px; }
  .category-nav { position: static; display: flex; flex-direction: row; overflow-x: auto; gap: 7px; margin: 0 -16px 22px; padding: 0 16px 8px; }
  .category-chip { width: auto; flex: 0 0 auto; padding: 9px 14px; border-color: var(--workspace-edge); background: var(--workspace-surface); }
  .link-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
}

/* Hallmark · Hum palette · app restyle: preserve navigation and interactions */
:root {
  --hum-paper: oklch(97% .012 95);
  --hum-paper-2: oklch(94.5% .018 95);
  --hum-card: oklch(98.8% .007 95);
  --hum-ink: oklch(20% .014 255);
  --hum-muted: oklch(39% .014 255);
  --hum-edge: oklch(83% .04 88);
  --hum-yellow: oklch(87% .175 96);
  --hum-yellow-deep: oklch(72% .16 92);
  --hum-blue: oklch(50% .17 250);
  --hum-mint: oklch(82% .15 152);
  --workspace-bg: var(--hum-paper);
  --workspace-surface: var(--hum-card);
  --workspace-raised: var(--hum-paper-2);
  --workspace-edge: var(--hum-edge);
  --workspace-text: var(--hum-ink);
  --workspace-muted: var(--hum-muted);
  --workspace-accent: var(--hum-yellow);
  --workspace-accent-ink: var(--hum-ink);
  --nav-surface: var(--hum-card);
  --nav-border: var(--hum-edge);
  --nav-ink: var(--hum-ink);
  --nav-muted: var(--hum-muted);
  --nav-accent: var(--hum-blue);
  --nav-active: var(--hum-paper-2);
  color: var(--hum-ink);
  background: var(--hum-paper);
}
body { color: var(--hum-ink); background: var(--hum-paper); }
.ambient { opacity: .06; }
.brand-mark { background: var(--hum-yellow); color: var(--hum-ink); }
.brand-star { color: var(--hum-ink); }
.brand-copy strong, .hero h1, .directory-head h2, .group h3, .link-copy strong { color: var(--hum-ink); }
.brand-copy small, .live-indicator, .hero-subtitle, .search-hint, .directory-caption, .group-count, .link-copy small, .link-destination, footer, .footer-brand { color: var(--hum-muted); }
.hero h1 { -webkit-text-fill-color: var(--hum-ink); }
.search { background: var(--hum-card); border-color: var(--hum-muted); box-shadow: 0 4px 0 var(--hum-edge); }
.search:before { display: none; }
.search:focus-within { border-color: var(--hum-blue); box-shadow: 0 0 0 3px color-mix(in oklch, var(--hum-blue) 25%, transparent); }
.search-icon, .arrow { color: var(--hum-blue); }
.search input { color: var(--hum-ink); }
.search input::placeholder { color: var(--hum-muted); }
.search kbd, .search-hint kbd { color: var(--hum-ink); background: var(--hum-paper-2); border-color: var(--hum-edge); }
.favorites-toggle, .round-button { color: var(--hum-ink); background: var(--hum-card); border-color: var(--hum-edge); }
.favorites-toggle b { color: var(--hum-ink); background: var(--hum-yellow); }
.favorites-toggle:hover, .round-button:hover { color: var(--hum-ink); background: var(--hum-paper-2); border-color: var(--hum-blue); }
.globe-zone { filter: saturate(.65); }
.category-chip { color: var(--hum-ink); }
.category-chip:hover { color: var(--hum-ink); background: var(--hum-paper-2); border-color: var(--hum-edge); }
.category-chip.active, .category-chip.active:hover, .favorite-chip.active { color: var(--hum-ink); background: var(--hum-yellow); border-color: var(--hum-yellow-deep); box-shadow: 0 3px 0 var(--hum-yellow-deep); }
.group-number { color: var(--hum-blue); }
.link-card { background: var(--hum-card); border-color: var(--hum-edge); box-shadow: 0 3px 0 var(--hum-edge); }
.link-card:hover, .link-card:focus-within { background: var(--hum-paper-2); border-color: var(--hum-blue); box-shadow: 0 3px 0 var(--hum-edge); }
.favorite-button { color: var(--hum-muted); background: var(--hum-card); border-color: var(--hum-edge); }
.favorite-button:hover, .favorite-button.is-favorite { color: var(--hum-ink); background: var(--hum-yellow); border-color: var(--hum-yellow-deep); }
.empty { color: var(--hum-ink); background: var(--hum-card); border-color: var(--hum-edge); }
.empty p { color: var(--hum-muted); }
footer a:hover { color: var(--hum-blue); }
.footer-actions button { color: var(--hum-ink); background: var(--hum-card); border-color: var(--hum-edge); }
.footer-actions button:hover { color: var(--hum-ink); background: var(--hum-paper-2); border-color: var(--hum-blue); }
dialog { color: var(--hum-ink); background: var(--hum-card); border-color: var(--hum-edge); }
dialog::backdrop { background: oklch(20% .014 255 / .65); }
.dialog-body label, .stack-form label { color: var(--hum-ink); }
.dialog-body input { color: var(--hum-ink); background: var(--hum-paper); border-color: var(--hum-edge); }
.icon-button, .dialog-body button:not(.icon-button), .tabs button { color: var(--hum-ink); background: var(--hum-paper-2); border-color: var(--hum-edge); }
.dialog-body button.primary, .tabs .active { color: var(--hum-ink); background: var(--hum-yellow); border-color: var(--hum-yellow-deep); }
.dialog-body button.danger, .form-error { color: oklch(43% .18 22); }
.admin-group, .admin-link, hr { border-color: var(--hum-edge); }
:focus-visible { outline-color: var(--hum-blue) !important; }
::selection { color: var(--hum-ink); background: var(--hum-mint); }
