:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --page: #fbfaf7;
  --ink: #1f1e1c;
  --ink-2: #5f5e5a;
  --ink-3: #888780;
  --line: #d3d1c7;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.in-atom { background: #03040a; overscroll-behavior: none; overflow: hidden; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- Landing ---------- */
.home { max-width: 1480px; margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left)); min-height: 100%; display: flex; flex-direction: column; }
.home-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.home-header .logo { width: 30px; height: 30px; color: #185FA5; }
.home-header h1 { font-size: 26px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.install-btn { margin-left: 8px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px; padding: 7px 14px; font-size: 13px; }
.install-btn svg { width: 16px; height: 16px; }
.install-btn:hover { border-color: var(--ink-3); }

.table-scroll { overflow-x: auto; padding: 6px 2px 10px; }
.ptable {
  --gap: 4px;
  min-width: 940px;
  max-width: max(940px, calc((100vh - 285px) * 1.9));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 20px repeat(18, minmax(0, 1fr));
  grid-template-rows: 20px repeat(7, auto) 14px repeat(2, auto);
  gap: var(--gap);
}
.lab { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; justify-content: center; }
.lab.row-name { justify-content: flex-end; padding-right: 8px; white-space: nowrap; }

.tile {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: 7px; border: 1px solid transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3px 2px; line-height: 1.1; text-align: center; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease, border-color .15s ease;
  background: #eee; color: #333; user-select: none; -webkit-user-select: none;
}
button.tile { font: inherit; }
.tile:hover, .tile:focus-visible { transform: translateY(-3px) scale(1.07); border-color: currentColor; box-shadow: 0 8px 18px rgba(0,0,0,.14); z-index: 3; outline: none; }
.tile .z { position: absolute; top: 3px; left: 5px; font-size: clamp(8px, .62vw, 11px); opacity: .8; }
.tile .sym { font-size: clamp(15px, 1.55vw, 25px); font-weight: 600; }
.tile .nm { font-size: clamp(8px, .62vw, 11px); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; opacity: .9; }
.tile .ms { font-size: clamp(8px, .58vw, 10px); opacity: .7; }
.tile.placeholder { cursor: default; }
.tile.placeholder:hover { transform: none; box-shadow: none; border-color: transparent; }
.tile.placeholder .sym { font-size: clamp(11px, 1vw, 15px); }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 4px; }
.lg { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; white-space: nowrap; color: #444441; cursor: pointer; padding: 3px 6px; border-radius: 6px; border: 1px solid transparent; background: none; text-align: left; }
.lg:hover { background: rgba(0,0,0,.04); }
.lg.on { border-color: #888780; }
.lg i { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }

.home-footer { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.colorby { display: flex; align-items: center; gap: 10px; }
.colorby-label { font-size: 13px; color: var(--ink-3); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: none; padding: 7px 16px; font-size: 13px; color: var(--ink-2); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--ink); color: #fff; }
.footnote { font-size: 12px; color: var(--ink-3); margin: 0; text-align: center; }

@media (max-width: 1100px) { .tile .ms { display: none; } }

/* ---------- Atom view ---------- */
.atom { position: fixed; inset: 0; height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) 380px; background: #03040a; color: #e8ecff; z-index: 10; }
.stage { position: relative; overflow: hidden; transition: background .6s ease; }
#atomCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#atomCanvas:active { cursor: grabbing; }

.toolbar { position: absolute; top: calc(14px + env(safe-area-inset-top)); left: calc(14px + env(safe-area-inset-left)); right: 14px; user-select: none; -webkit-user-select: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; z-index: 2; pointer-events: none; }
.toolbar > * { pointer-events: auto; }
.tb-btn, .tb-icon { background: rgba(14, 18, 36, .72); color: #e8ecff; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: 7px 13px; font-size: 13px; backdrop-filter: blur(6px); }
.tb-icon { padding: 7px 11px; min-width: 36px; }
.tb-btn:hover, .tb-icon:hover { border-color: rgba(255,255,255,.35); }
.tb-btn.on { border-color: #5ff5d5; color: #5ff5d5; }
.tb-group { display: inline-flex; gap: 4px; }
.tb-more, .tb-row { display: contents; }
.more-btn { display: none; }
.panel-btn { order: 99; margin-left: auto; display: inline-flex; align-items: center; justify-content: center; }
.panel-btn svg { width: 18px; height: 18px; }
.atom.full .panel-btn .pb-fill { opacity: 0; }
.atom.full .panel-btn { border-color: #5ff5d5; color: #5ff5d5; }
@media (min-width: 901px) {
  .atom.full { grid-template-columns: minmax(0, 1fr) 0; }
  .atom.full .panel { display: none; }
}
.cname { display: none; color: #fff; font-weight: 600; }
@media (min-width: 901px) { .atom.full .cname { display: inline; } }
.seg.dark { background: rgba(14, 18, 36, .72); border-color: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.seg.dark button { color: #b7c0e6; }
.seg.dark button + button { border-left-color: rgba(255,255,255,.14); }
.seg.dark button.on { background: #e8ecff; color: #0a0e1f; }
.speed { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #b7c0e6; background: rgba(14, 18, 36, .72); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: 5px 12px; }
.speed input { width: 90px; accent-color: #5ff5d5; }

.counts { position: absolute; left: calc(16px + env(safe-area-inset-left)); bottom: 16px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #b7c0e6; background: rgba(14, 18, 36, .6); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 8px 12px; backdrop-filter: blur(6px); }
.counts b { color: #fff; font-weight: 600; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.emission-note { position: absolute; left: 16px; bottom: 62px; font-size: 12px; color: #b7c0e6; background: rgba(14,18,36,.6); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 5px 10px; }
.hint { position: absolute; right: 16px; bottom: 16px; font-size: 12px; color: rgba(232,236,255,.5); }

.panel { background: #0b0e1a; border-left: 1px solid rgba(255,255,255,.08); overflow-y: auto; padding: 22px 22px 30px; }
.p-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.p-tile { width: 84px; height: 84px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid; }
.p-tile .z { font-size: 12px; opacity: .85; }
.p-tile .sym { font-size: 32px; font-weight: 600; line-height: 1.1; }
.p-name { font-size: 24px; font-weight: 600; margin: 0; }
.p-cat { font-size: 13px; margin-top: 2px; }
.p-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.p-table td { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); vertical-align: top; }
.p-table td:first-child { color: #8f9ac4; padding-right: 12px; width: 46%; }
.p-table td:last-child { text-align: right; color: #eef1ff; }
.p-table sup { font-size: .7em; }
.pred { color: #8f9ac4; font-size: 11.5px; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; border: 1px solid rgba(255,255,255,.3); }
.story { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.story h2 { font-size: 13px; font-weight: 600; margin: 0 0 6px; color: #8f9ac4; }
.story p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #e3e7fb; }
.p-note { font-size: 11.5px; color: #6f7aa3; margin-top: 14px; line-height: 1.5; }



/* ---------- Touch devices ---------- */
@media (hover: none) {
  .tile:hover { transform: none; box-shadow: none; border-color: transparent; }
  .tile:active { transform: scale(.94); border-color: currentColor; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .home { padding: 0 0 calc(18px + env(safe-area-inset-bottom)); }
  .home-header { position: sticky; top: 0; z-index: 6; background: var(--page); margin: 0; padding: calc(10px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 8px calc(12px + env(safe-area-inset-left)); }
  .home-header h1 { font-size: 21px; }
  .home-header .logo { width: 26px; height: 26px; }
  .install-btn { padding: 6px 11px; font-size: 12.5px; }
  .table-scroll, .home-footer .legend, .home-footer .colorby, .fn-legend { display: none; }
  .home-footer { margin-top: 18px; padding: 0 16px; }
  .install-btn { padding: 0; width: 36px; height: 36px; justify-content: center; }
  .install-label { display: none; }
  .menu-btn { display: inline-flex; }

  /* element grid */
  .m-bar { display: block; position: sticky; top: var(--hdr, 54px); z-index: 5; background: var(--page); padding: 2px 0 8px; }
  .egrid { display: block; padding: 0 calc(10px + env(safe-area-inset-right)) 0 calc(10px + env(safe-area-inset-left)); }

  /* atom view */
  .back-label { display: none; }
  .toolbar { left: calc(10px + env(safe-area-inset-left)); right: 10px; top: calc(10px + env(safe-area-inset-top)); gap: 6px; }
  .more-btn { display: inline-block; font-size: 16px; margin-left: auto; }
  .tb-more { display: none; }
  .tb-more.open { display: flex; flex-direction: column; align-items: stretch; gap: 8px; position: absolute; top: 46px; right: 0; padding: 10px; border-radius: 12px; background: rgba(11, 14, 26, .94); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.5); backdrop-filter: blur(8px); }
  .tb-more.open .tb-row { display: flex; gap: 8px; }
  .tb-more.open .seg button { flex: 1; }
  .tb-more.open .speed { flex: 1; }
  .tb-more.open .speed input { width: 100%; }

}


/* ---------- Mobile landing: header menu, chips, element grid ---------- */
@media (min-width: 761px) { .menu-btn, .m-bar, .egrid { display: none; } }
.menu-btn { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 9px; align-items: center; justify-content: center; font-size: 17px; color: var(--ink); margin-left: 8px; }
.m-menu { display: none; position: absolute; right: 12px; top: calc(100% - 2px); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); z-index: 10; }
.m-menu.open { display: block; }
.m-menu-label { font-size: 12px; color: var(--ink-3); margin: 0 0 8px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #444441; white-space: nowrap; }
.chip i { width: 9px; height: 9px; border-radius: 50%; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.eg-h { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin: 14px 2px 7px; }
.eg { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.ecard { border: 0; border-radius: 10px; padding: 6px 2px 7px; display: flex; flex-direction: column; align-items: center; line-height: 1.15; min-width: 0; user-select: none; -webkit-user-select: none; transition: transform .1s; }
.ecard:active { transform: scale(.94); }
.ecard .z { font-size: 10.5px; opacity: .75; }
.ecard .sym { font-size: 21px; font-weight: 600; margin: 1px 0; }
.ecard .nm { font-size: 10.5px; max-width: 100%; padding: 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecard .ms { font-size: 9.5px; opacity: .7; margin-top: 1px; }
.eg-empty { text-align: center; color: var(--ink-3); font-size: 14px; padding: 40px 0; }

/* ---------- Atom details as a bottom sheet (phones and small tablets) ---------- */
.sheet-grab .handle { display: none; }
.p-counts { display: none; }
@media (max-width: 900px) {
  .atom { grid-template-columns: 1fr; grid-template-rows: 100dvh; overflow: hidden; --peek: calc(100px + env(safe-area-inset-bottom)); }
  .hint, .counts, .panel-btn { display: none; }
  .emission-note { left: 12px; right: 12px; bottom: calc(var(--peek) + 12px); }
  .speed input { width: 60px; }
  .panel {
    position: fixed; left: 0; right: 0; bottom: 0; height: 92dvh; z-index: 5;
    padding: 0 18px calc(28px + env(safe-area-inset-bottom));
    border-left: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 34px rgba(0,0,0,.45);
    transform: translateY(var(--sheet-ty, calc(92dvh - var(--peek))));
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .panel.dragging { transition: none; }
  .panel.collapsed { overflow: hidden; }
  .sheet-grab { position: sticky; top: 0; z-index: 2; background: #0b0e1a; padding-top: 8px; touch-action: none; cursor: grab; }
  .sheet-grab .handle { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.28); margin: 0 auto 10px; }
  .p-head { margin-bottom: 12px; gap: 12px; }
  .p-tile { width: 58px; height: 58px; border-radius: 9px; }
  .p-tile .sym { font-size: 24px; }
  .p-tile .z { font-size: 11px; }
  .p-name { font-size: 20px; }
  .p-cat { font-size: 12.5px; }
  .p-counts { display: block; font-size: 12.5px; color: #b7c0e6; margin-top: 3px; }
  .p-counts b { color: #fff; font-weight: 600; }
  .p-counts .dot { width: 8px; height: 8px; margin-right: 4px; }
}

/* ---------- Details: P/N/E rows, speeds ---------- */
.p-table td:first-child .dot { width: 9px; height: 9px; margin-right: 7px; }
.cfg-full { font-size: 12.5px; line-height: 1.5; }
.speeds { margin-top: 20px; }
.speeds h2 { font-size: 13px; font-weight: 600; margin: 0 0 4px; color: #8f9ac4; }
.sp-table thead td { color: #6f7aa3 !important; font-size: 11.5px; padding-bottom: 4px; }
.sp-table td:first-child { width: 30%; }
.sp-table td:nth-child(2) { text-align: right; color: #eef1ff; }
.sub-tag { display: inline-block; border: 1px solid; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.p-nav { display: none; }

/* ---------- Configuration chips over the 3D view ---------- */
.config-bar { position: absolute; left: 16px; bottom: 64px; max-width: min(62%, 720px); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; z-index: 2; }
.cfg-legend { display: inline-flex; gap: 5px; font-size: 12px; margin-right: 4px; padding: 4px 8px; background: rgba(14,18,36,.6); border-radius: 999px; border: 1px solid rgba(255,255,255,.1); }
.cfg-chip { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--c); background: rgba(14,18,36,.65); color: #eef1ff; backdrop-filter: blur(6px); }
.cfg-chip:hover { background: rgba(255,255,255,.08); }
.cfg-chip.on { background: var(--c); color: #0a0e1f; font-weight: 600; }

/* ---------- Orbitals view scale toggle ---------- */
.scale-seg { display: none !important; }
.atom.v-orbitals .scale-seg { display: inline-flex !important; }

/* ---------- Particle close-up card ---------- */
.pcard { position: absolute; top: 104px; right: 16px; width: 340px; max-height: calc(100% - 130px); overflow-y: auto; z-index: 6; background: rgba(11,14,26,.92); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 16px 6px; backdrop-filter: blur(8px); box-shadow: 0 12px 34px rgba(0,0,0,.45); }
.pc-back { background: none; border: 1px solid rgba(255,255,255,.18); color: #e8ecff; border-radius: 8px; padding: 5px 11px; font-size: 12.5px; margin-bottom: 10px; }
.pc-back:hover { border-color: rgba(255,255,255,.4); }
.pc-title { font-size: 22px; font-weight: 600; margin: 0; }
.pc-sub { font-size: 13px; color: #8f9ac4; margin: 2px 0 8px; }
.pc-table td { font-size: 13px; }
.pc-table td:first-child { width: 38%; }
.atom.in-particle .config-bar, .atom.in-particle .counts, .atom.in-particle .emission-note { display: none; }

@media (max-width: 900px) {
  .config-bar { left: 10px; right: 10px; max-width: none; bottom: calc(var(--peek) + 10px); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .config-bar::-webkit-scrollbar { display: none; }
  .cfg-chip, .cfg-legend { flex-shrink: 0; }
  .emission-note { bottom: calc(var(--peek) + 52px); }
  .pcard { left: 10px; right: 10px; width: auto; top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); max-height: 58%; }
  .atom.in-particle .panel { transform: translateY(100%); }
}
@media (max-width: 760px) {
  .toolbar .tb-group { display: none; }
  .seg.dark button { padding: 7px 10px; }
  .p-nav { display: flex; gap: 6px; order: 3; margin-left: auto; align-self: center; }
  .p-nav-btn { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e8ecff; font-size: 18px; }
}

/* ---------- Tour ---------- */
.tour-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px; padding: 6px 13px 6px 7px; font-size: 13px; }
.tour-btn:hover { border-color: var(--ink-3); }
.tour-q { width: 21px; height: 21px; border-radius: 50%; background: #185FA5; color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tour { position: fixed; inset: 0; z-index: 100; }
.tour-block { position: absolute; inset: 0; }
.tour-hole { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(8, 10, 20, .62), 0 0 0 2px rgba(255,255,255,.9) inset; pointer-events: none;
  transition: left .35s cubic-bezier(.2,.8,.2,1), top .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), border-radius .35s; }
.tour.centered .tour-hole { box-shadow: 0 0 0 9999px rgba(8, 10, 20, .62); }
.tour-card { position: fixed; width: 340px; max-width: calc(100vw - 24px); background: #fff; color: #1f1e1c; border-radius: 14px; padding: 16px 18px 14px; box-shadow: 0 18px 50px rgba(0,0,0,.35); font-size: 14px; line-height: 1.55; transition: left .3s ease, top .3s ease; }
.tour.centered .tour-card { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: 400px; text-align: center; padding: 26px 26px 20px; }
.tour.centered .tour-title { font-size: 21px; }
.tour.centered .tour-actions { justify-content: center; }
.tour.busy .tour-card { opacity: .6; }
.tour-progress { display: flex; gap: 4px; margin-bottom: 10px; }
.tour.centered .tour-progress { justify-content: center; }
.tour-progress i { height: 4px; flex: 1; max-width: 22px; border-radius: 2px; background: #e4e2db; }
.tour-progress i.done { background: #9cc3ea; }
.tour-progress i.on { background: #185FA5; }
.tour-title { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.tour-text { color: #444441; }
.tour-text kbd { font: 12px/1 var(--font); border: 1px solid #d3d1c7; border-bottom-width: 2px; border-radius: 5px; padding: 2px 5px; background: #f6f5f1; }
.tour-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.tour-skip { background: none; border: 0; color: #888780; font-size: 13px; padding: 6px 4px; margin-right: auto; }
.tour-skip:hover { color: #1f1e1c; }
.tour-count { font-size: 12px; color: #888780; margin-right: 4px; }
.tour-back { background: #fff; border: 1px solid #d3d1c7; color: #1f1e1c; border-radius: 9px; padding: 7px 14px; font-size: 13.5px; }
.tour-next { background: #185FA5; border: 0; color: #fff; border-radius: 9px; padding: 8px 16px; font-size: 13.5px; font-weight: 600; }
.tour-next:hover { background: #0C447C; }
.tour-next:focus-visible, .tour-back:focus-visible { outline: 2px solid #378ADD; outline-offset: 2px; }
.tour-back[hidden], .tour-skip[hidden] { display: none; }
@media (max-width: 760px) {
  .tour-btn { padding: 0; width: 36px; height: 36px; justify-content: center; }
  .tour-label { display: none; }
  .tour-btn + .install-btn[hidden] + .menu-btn { margin-left: 8px; }
  .tour.centered .tour-card { width: calc(100vw - 32px); padding: 22px 18px 16px; }
  .tour-card { padding: 14px 15px 12px; font-size: 13.5px; }
}

.combine-link { display: block; margin-top: 12px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(134,212,195,.4); background: rgba(134,212,195,.07); color: #dfe3ee; text-decoration: none; font-size: 14px; line-height: 1.45; }
.combine-link span { display: block; margin-top: 2px; color: #86d4c3; font-size: 13px; }
.combine-link:hover { border-color: rgba(134,212,195,.8); }

.exp-back { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px; padding: 6px 12px; font-size: 13px; text-decoration: none; white-space: nowrap; margin-right: 6px; }
.exp-back:hover { border-color: var(--ink-3); }
@media (max-width: 760px) { .exp-back span { display: none; } .exp-back { padding: 0; width: 36px; height: 36px; justify-content: center; font-size: 16px; } }
html, body { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
