@media (min-width: 0px) { 
  header { padding: 8px 14px; }
  .bar, header .bar { gap: 6px 10px; }
  .opts { order: 1; white-space: nowrap; }
  .tabs { order: 2; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 4px 10px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabgroup { flex: none; flex-wrap: nowrap; }
  .tab { padding: 4px 9px; white-space: nowrap; }
  body.at-home h1 { margin-right: auto; }
}
@media (max-width: 719px) {
  .tabg { display: none; }
  .tab { padding: 4px 7px; }
  .tabgroup + .tabgroup { border-left: 1px solid var(--line); padding-left: 10px; }
}
#q { flex: 1 1 240px; min-width: 240px; }
@media (max-width: 640px) {
  h1 { width: auto; flex: 1 1 auto; margin: 0; font-size: 14px; }
  #q { order: 2; flex: 1 1 100%; min-width: 0; }
  .tabs { order: 3; }
  .tab { padding: 5px 9px; }
}


:root {
  --hl: color-mix(in srgb, var(--accent) 17%, transparent); 
  --hl-edge: color-mix(in srgb, var(--accent) 34%, var(--hairline)); 
  --hl-line: var(--accent); 
  --hl-row: color-mix(in srgb, var(--accent) 6%, transparent); 
  --hl-ring: transparent; 
  --hl-card: color-mix(in srgb, var(--accent) 15%, var(--hairline)); 
  --lift: 0 10px 24px -14px rgba(0, 0, 0, .75); 
}
:root[data-skin="light"] {
  --hl: color-mix(in srgb, var(--accent) 10%, transparent);
  --hl-edge: color-mix(in srgb, var(--accent) 30%, var(--hairline));
  --hl-row: color-mix(in srgb, var(--accent) 5%, transparent);
  --lift: 0 10px 22px -14px rgba(17, 17, 19, .32);
}
:root[data-skin="gold"] {
  --hl: rgba(232, 200, 120, .13);
  --hl-edge: color-mix(in srgb, var(--gold) 62%, transparent);
  --hl-line: var(--gold);
  --hl-row: rgba(201, 162, 74, .07);
  --hl-ring: color-mix(in srgb, var(--gold) 26%, transparent);
  --hl-card: color-mix(in srgb, var(--gold) 56%, var(--line));
  --lift: inset 0 1px 0 rgba(201, 162, 74, .18), 0 10px 24px -14px rgba(0, 0, 0, .85);
}

.stat, .txtile, .list a.row, .qrow { position: relative; isolation: isolate; }
.stat::after, .txtile::after, .list a.row::after, .qrow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), var(--hl), transparent 72%);
  transition: opacity 180ms ease;
}
.stat:hover::after, .txtile:hover::after, .list a.row:hover::after, .qrow:hover::after { opacity: 1; }

.stat, .txtile { transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.stat:hover, .txtile:hover { border-color: var(--hl-edge); box-shadow: var(--lift); transform: translateY(-1px); }
:root:not([data-skin="gold"]) .stat:hover { background: color-mix(in srgb, var(--bg) 55%, var(--panel)); }

.list a.row, .qrow { transition: background 160ms ease, outline-color 160ms ease; }
.qrow { border-radius: 8px; }
.list a.row:hover, .qrow:hover { background: var(--hl-row); outline: 1px solid var(--hl-ring); outline-offset: -1px; box-shadow: none; }
.list a.row::before, .qrow::before {
  content: "";
  position: absolute;
  left: 0; top: 26%; bottom: 26%;
  width: 2px;
  border-radius: 2px;
  background: var(--hl-line);
  opacity: 0;
  transform: scaleY(.4);
  transition: opacity 160ms ease, transform 160ms ease;
}
.list a.row:hover::before, .qrow:hover::before { opacity: .9; transform: none; }

.ico { border-radius: 5px; border: 1px solid color-mix(in srgb, var(--gc, var(--muted)) 50%, transparent); background: rgba(0, 0, 0, .28); transition: filter 160ms ease, border-color 160ms ease; }
.gi0, .gi1 { --gc: var(--g1); } .gi2 { --gc: var(--g2); } .gi3 { --gc: var(--g3); } .gi4 { --gc: var(--g4); } .gi5 { --gc: var(--g5); }
.gi32 { --gc: var(--g6); } .gi52 { --gc: var(--g7); } .gi42 { --gc: var(--gbm); } .gi71 { --gc: var(--gev); }
.title .ico { width: 48px; height: 48px; border-radius: 9px; box-shadow: 0 8px 22px -10px var(--gc, transparent); }
.popbox .ph .ico { border-radius: 6px; }
.mico { transition: filter 160ms ease; }
.list a.row:hover .ico, .qrow:hover .ico, tbody tr:hover .ico { border-color: color-mix(in srgb, var(--gc, var(--muted)) 85%, transparent); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--gc, var(--hl-line)) 60%, transparent)); }
.list a.row:hover .mico, .qrow:hover .mico { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--hl-line) 55%, transparent)); }

td { transition: background 150ms ease, box-shadow 150ms ease; }
:root:not([data-skin="gold"]) tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--hl-line); }
:root:not([data-skin="gold"]) .tw.wide:not(.stick3) tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--hl-line), 1px 0 0 var(--line); }
:root:not([data-skin="gold"]) .tw.wide.stick3 tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--hl-line); }

.card { transition: box-shadow 180ms ease, border-color 180ms ease; }
.card:hover { border-color: var(--hl-card); }
:root[data-skin="light"] .card:hover { box-shadow: var(--shadow-hover); }

.fchip, .rbtn, .pg-btn, .fav, .tab, .secnav a, .goto button, .pg-jump button, .ackbtn {
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 120ms ease;
}
.fchip:active, .rbtn:active:not(:disabled), a.pg-btn:active, .fav:active, .tab:active, .secnav a:active { transform: scale(.97); }
:root:not([data-skin="gold"]) :is(.fchip, .rbtn:not(:disabled), a.pg-btn, .fav, .secnav a, .goto button, .pg-jump button, .ackbtn):hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent), 0 6px 16px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
:root:not([data-skin="gold"]) .fchip[aria-pressed="true"]:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 6px 16px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
#q:hover:not(:focus) { border-color: var(--hl-edge); }

.popbox { animation: popin 140ms ease-out; }
:root:not([data-skin="gold"]) .popbox { box-shadow: 0 0 0 1px var(--hairline), 0 18px 44px -18px rgba(0, 0, 0, .65); }
@keyframes popin { from { opacity: 0; transform: translateY(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .stat:hover, .txtile:hover { transform: none; }
}


:root {
  --hm-field: var(--panel); 
  --hm-line: var(--hairline); 
  --hm-focus: var(--accent); 
  --hm-ring: 0 0 0 4px var(--accent-soft); 
  --hm-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -20px rgba(0, 0, 0, .8);
  --hm-tile: var(--panel); 
  --hm-ico-bg: var(--accent-soft); 
  --hm-ico: var(--accent-text); 
}
:root[data-skin="light"] {
  --hm-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 14px 30px -20px rgba(17, 17, 19, .3);
}
:root[data-skin="gold"] {
  --hm-field: var(--bg);
  --hm-line: var(--gold-dim);
  --hm-focus: var(--gold);
  --hm-ring: 0 0 0 3px var(--glow);
  --hm-shadow: inset 0 1px 3px rgba(0, 0, 0, .25), 0 14px 34px -20px rgba(0, 0, 0, .85);
  --hm-tile: linear-gradient(160deg, rgba(201, 162, 74, .08), transparent 60%), var(--panel);
  --hm-ico-bg: rgba(201, 162, 74, .1);
  --hm-ico: var(--gold-bright);
}

.lic { display: block; flex: none; }

body.at-home #q { display: none; }
body.at-home .tabs { margin-left: auto; }

.hero { padding: 20px 0 22px; text-align: center; }
.hero-t { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
:root[data-skin="gold"] .hero-t { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; color: var(--gold-bright); text-shadow: 0 0 22px var(--glow); }
.hero-v { margin: 6px 0 16px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.hsearch { position: relative; max-width: 680px; margin: 0 auto; }
.hsearch > .lic { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color 160ms ease; }
.hsearch:focus-within > .lic { color: var(--hm-focus); }
#hq {
  display: block; width: 100%; height: 54px; padding: 0 52px 0 50px;
  border: 1px solid var(--hm-line); border-radius: 14px; outline: none;
  background: var(--hm-field); color: var(--ink); box-shadow: var(--hm-shadow);
  font: inherit; font-size: 16px;
  -webkit-appearance: none; appearance: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
#hq::placeholder { color: var(--muted); opacity: .9; }
#hq::-webkit-search-cancel-button, #hq::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
#hq:hover { border-color: var(--hl-edge); }
#hq:focus { border-color: var(--hm-focus); box-shadow: var(--hm-ring), var(--hm-shadow); }
.hkey, .hclear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.hkey { min-width: 24px; padding: 2px 7px; border: 1px solid var(--hm-line); border-radius: 6px; color: var(--muted); font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: center; pointer-events: none; }
.hsearch:focus-within .hkey, .hsearch.has-text .hkey { display: none; }
.hclear { display: none; width: 28px; height: 28px; padding: 0; border: none; border-radius: 50%; background: transparent; color: var(--muted); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; transition: background 150ms ease, color 150ms ease; }
.hsearch.has-text .hclear { display: block; }
.hclear:hover { background: var(--accent-soft); color: var(--ink); }
.hero-hint { margin-top: 10px; color: var(--muted); font-size: 12px; }

.hsec { display: flex; align-items: center; gap: 12px; margin: 0 2px 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.hsec::after { content: ""; flex: 1; height: 1px; background: var(--hm-line); opacity: .75; }
:root[data-skin="gold"] .hsec { color: var(--gold); }
.hnav { display: grid; gap: 10px; margin-bottom: 16px; }
.hnav.data { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hnav.drop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.1fr); }
.htile { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px 14px; border: 1px solid var(--hm-line); border-radius: 12px; background: var(--hm-tile); color: var(--ink); }
a.htile:hover { color: var(--ink); text-decoration: none; }
.hti { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--hm-ico-bg); color: var(--hm-ico); }
.hti .lic { width: 21px; height: 21px; }
.htx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.htx b, .htx .htl { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htx small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htile.hgroup { align-items: flex-start; }
.htile.hgroup .htx { flex: 1; gap: 7px; }
.htx .htl { align-self: flex-start; }
.htx .htl:hover { color: var(--hm-ico); text-decoration: none; }
.hchips { display: flex; flex-wrap: wrap; gap: 6px; }
.hchip { padding: 2px 10px; border: 1px solid var(--hm-line); border-radius: 999px; color: var(--ink); font-size: 12px; white-space: nowrap; transition: background 150ms ease, border-color 150ms ease; }
.hchip:hover { border-color: var(--hl-edge); background: var(--accent-soft); color: var(--ink); text-decoration: none; }
a.htile { position: relative; isolation: isolate; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
a.htile::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), var(--hl), transparent 72%); transition: opacity 180ms ease; }
a.htile:hover::after { opacity: 1; }
a.htile:hover { border-color: var(--hl-edge); box-shadow: var(--lift); transform: translateY(-1px); }
a.htile:active { transform: none; }
a.htile:focus-visible, .hchip:focus-visible, .htl:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: 2px; }

.qcols { columns: 250px 2; column-gap: 24px; }
.qsec { break-inside: avoid; margin-bottom: 12px; }
.qsec:last-child { margin-bottom: 0; }
.kico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; border: 1px solid color-mix(in srgb, var(--muted) 38%, transparent); color: var(--muted); }
.kico .lic { width: 15px; height: 15px; }
.kico.boss { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, transparent); }
.qrow { border-radius: 0; }
.qrow:hover { border-radius: 8px; border-bottom-color: transparent; }
.qrule { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 8px; align-items: center; }
.qrule .qfrom { grid-column: 2; color: var(--muted); font-size: 12px; }

.hres-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 2px 12px; color: var(--muted); font-size: 13px; }
.hres-head b { color: var(--ink); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.anote { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.ef { flex: none; width: 76px; margin-right: 14px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); font-size: 12px; }
.list-head .ef { font-size: inherit; }
@media (max-width: 640px) { .list a.row:has(> .nname) > .ef, .list-head .ef { display: none !important; } }
.qrow .qmeta { min-width: 0; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.donebox { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.donehead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.donehead .rbtn { margin-left: auto; }
.donehead .rbtn + .rbtn { margin-left: 0; } 
.dprog { flex: 1 1 120px; max-width: 260px; height: 6px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; }
.dprog i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.dsums { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 13px; }
.dsum { display: inline-flex; gap: 6px; white-space: nowrap; }
.dsum span { color: var(--muted); }
.dsum b { color: var(--ink); font-weight: 600; }
.dnote { margin-top: 6px; font-size: 12px; }
.dtick { flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0; margin-right: 2px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: transparent; font-size: 13px; line-height: 1; cursor: pointer; }
.dtick:hover { color: var(--muted); border-color: var(--accent); }
.dtick[aria-pressed="true"] { color: var(--ink); background: var(--accent-soft); border-color: var(--accent); }
.crow.isdone .cname { opacity: .62; }
.ctile .rown { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: transparent; font-size: 12px; line-height: 1; cursor: pointer; opacity: .4; }
.ctile .rown, .ctile .rstar { z-index: 1; } 
.ctile:hover .rown, .ctile .rown:focus-visible { opacity: 1; color: var(--muted); }
.ctile .rown[aria-pressed="true"] { opacity: 1; color: var(--ink); background: var(--accent-soft); border-color: var(--accent); }
.dready { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: 13px; }
.dready .rbtn { margin-left: auto; }
.dready b { color: var(--ink); }
.cready { white-space: nowrap; }
.owntick { margin-right: 2px; color: var(--accent-text, var(--accent)); font-size: 12px; font-weight: 700; }
@media (max-width: 640px) { .ctile .rown { width: 36px; height: 36px; top: 2px; left: 2px; } .dready .rbtn { margin-left: 0; } }
.qmore { display: block; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; padding: 6px 0 0; cursor: pointer; }
.qmore:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 640px) { .qmore { min-height: 40px; } }
.esoon { padding: 6px 0; border-top: 1px solid var(--line); }
.esoon:first-of-type { border-top: 0; }
.esh { display: flex; align-items: baseline; gap: 10px; margin-bottom: 3px; }
.esh b { font-variant-numeric: tabular-nums; }
.esl { font-size: 13px; line-height: 1.8; }
.dovs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 6px 22px; margin-bottom: 4px; }
.dov { display: flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--ink); text-decoration: none; font-size: 13px; }
.dov:hover { text-decoration: none; }
.dov > span:first-child { flex: none; width: 7.5em; }
.dov .dprog { max-width: none; }
.dov b { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.donebtn { font: inherit; font-size: 12px; line-height: 1.2; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.donebtn:hover { color: var(--ink); }
.donebtn[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 640px) { .dtick { width: 36px; height: 36px; } .donebtn { min-height: 44px; } .donehead .rbtn { margin-left: 0; } }
.cmpbtn { font: inherit; font-size: 12px; line-height: 1.2; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.cmpbtn:hover { color: var(--ink); }
.cmpbtn[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.cmpslot { margin: 6px 0 8px; }
.cmpslot[hidden] { display: none; }
.cmpbar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; padding: 4px 6px 4px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--muted); font-size: 13px; }
.cmpbar .cmpt { color: var(--accent-text, var(--accent)); font-weight: 700; }
.cmpbar .ico { width: 24px; height: 24px; margin: 0; }
.cmpbar .cmpgo { margin-left: 4px; font-weight: 600; white-space: nowrap; }
.cmpx { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; line-height: 1; padding: 6px 8px; border-radius: 6px; }
.cmpx:hover { color: var(--ink); background: var(--accent-soft); }
.cmpwrap { overflow-x: auto; margin-top: 6px; }
.cmptable { width: 100%; border-collapse: collapse; }
.cmptable th, .cmptable td { padding: 7px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
.cmptable thead th { border-top: 0; vertical-align: bottom; }
.cmptable tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; }
.cmph { min-width: 150px; font-weight: 600; }
.cmph .ico { vertical-align: middle; margin-right: 4px; }
.cmph .cmpx { margin-left: 2px; padding: 2px 6px; }
.cmptable td.best { font-weight: 700; color: var(--ink); }
.cmptable td i { color: var(--muted); font-style: normal; }
.cmptable .clsrow { display: inline-flex; flex-wrap: wrap; gap: 2px; }
@media (max-width: 640px) {
  .cmpbar { display: flex; }
  .cmpbar .cmpgo { min-height: 40px; display: inline-flex; align-items: center; }
  .cmpbtn { min-height: 44px; }
  .cmpx { min-width: 40px; min-height: 40px; }
  .cmptable th, .cmptable td { padding: 6px; font-size: 12px; }
  .cmph { min-width: 120px; }
}
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 10px; max-width: min(92vw, 560px); padding: 8px 10px 8px 14px; border-radius: 12px; background: var(--pop-bg); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0,0,0,.35); color: var(--ink); font-size: 13px; line-height: 1.5; }
.toast[hidden] { display: none; }
.toast .rbtn { flex: none; }
.list a.row .rcmp { flex: none; margin-left: auto; align-self: center; width: 28px; height: 24px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--muted); font: inherit; font-size: 13px; line-height: 1; cursor: pointer; opacity: .45; }
.list a.row:hover .rcmp, .list a.row .rcmp:focus-visible { opacity: 1; }
.list a.row .rcmp:hover { color: var(--ink); border-color: var(--line); }
.list a.row .rcmp[aria-pressed="true"] { opacity: 1; color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.cmpacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 640px) {
  .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .list a.row .rcmp { width: 40px; height: 36px; opacity: .7; }
  .cmpacts .rbtn { min-height: 40px; }
}
.toolbtn { align-self: center; font: inherit; font-size: 12px; line-height: 1.2; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; text-decoration: none; }
.toolbtn:hover { color: var(--ink); text-decoration: none; }
.toolbtn[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
a.rbtn { display: inline-block; text-decoration: none; }
a.rbtn:hover { text-decoration: none; }
.calcbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.calcbar label { color: var(--muted); font-size: 13px; }
.calcn, .calchave { height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--ink); font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
.calcn { width: 88px; }
.calchave { width: 96px; }
.calcn:focus-visible, .calchave:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.calcbar .rbtn { margin-left: 8px; }
.calcbar .rbtn[aria-pressed="true"], .calcbar .echip[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.calcrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 40px; padding: 5px 0 5px calc(var(--d, 0) * 24px); border-bottom: 1px solid var(--line); }
.calcrow .ico { margin: 0; }
.calcrow .calcq { font-variant-numeric: tabular-nums; }
.calcrow .calcinfo { margin-left: auto; font-size: 12px; text-align: right; }
.calcrow.isopen > a { font-weight: 600; }
.calcopts { display: grid; gap: 6px; margin: 8px 0 12px calc(var(--d, 0) * 24px + 24px); padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.calcopt { display: grid; gap: 2px; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.5; cursor: pointer; }
.calcopt:hover { border-color: var(--muted); }
.calcopt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.calcopts .cmpacts { margin-top: 2px; }
.calcsum { width: auto; min-width: min(100%, 640px); }
.calcsum th, .calcsum td { vertical-align: middle; }
.calcsum td:first-child .ico { vertical-align: middle; margin-right: 4px; }
.calcsum tr.calcok td, .calcsum tr.calcok td a { color: var(--muted); }
.calcsum .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calcdone { color: var(--muted); }
@media (max-width: 640px) {
  .calcrow { padding-left: calc(var(--d, 0) * 12px); }
  .calcrow .calcinfo { margin-left: 0; flex-basis: 100%; text-align: left; }
  .calcopts { margin-left: calc(var(--d, 0) * 12px); }
  .calcn, .calchave { height: 40px; }
  .calchave { width: 76px; }
  .calcbar .echip, .calcrow .echip { min-width: 40px; min-height: 40px; }
  .toolbtn { min-height: 44px; display: inline-flex; align-items: center; }
}
.ownbar { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pgov { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px 26px; margin: 2px 0 12px; }
.pgdeck { min-width: 0; }
.pgname { display: flex; align-items: center; gap: 8px; min-height: 26px; font-weight: 600; }
.pgdeck .dov > span:first-child { width: 5.6em; color: var(--muted); }
.pgnote { font-size: 12px; line-height: 1.5; padding-top: 2px; }
.pgmiss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 6px 0 0 30px; }
.pgm { display: inline-flex; align-items: center; gap: 8px; }
.pgnear .chead .ceff { margin-left: auto; }
@media (max-width: 640px) {
  .pgmiss { margin-left: 0; gap: 8px 12px; }
  .pgm .echip { min-height: 40px; }
}
.bplans { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 8px; }
.bplans > .muted { flex: none; width: 2.6em; font-size: 12px; }
.bplans .rbtn { margin-left: 4px; }
.bplans .echip[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.bcls { min-width: 0; padding: 2px 4px; line-height: 0; }
.bcls .clsico { width: 24px; height: 24px; vertical-align: middle; }
.title a.bjump { display: none; margin-left: auto; } 
.bgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 16px; align-items: start; }
.bsumcol { position: sticky; top: calc(var(--hdr-h, 0px) + 10px); max-height: calc(100vh - var(--hdr-h, 0px) - 20px); overflow-y: auto; }
.bgroup + .bgroup { margin-top: 16px; }
.bgname { padding-bottom: 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.bslot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.bsn { flex: none; width: 5.4em; color: var(--muted); font-size: 13px; }
.bsitem { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; flex: 1 1 180px; }
.bsitem .ico { flex: none; margin: 0; }
.bsopts { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.bsel { height: 28px; padding: 0 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--ink); font: inherit; font-size: 12px; font-variant-numeric: tabular-nums; cursor: pointer; }
.bsadd { padding: 5px 12px; border: 1px dashed var(--line); border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.bsadd:hover, .bsadd[aria-expanded="true"] { color: var(--ink); border-color: var(--muted); }
.bpicker { margin: 6px 0 12px; padding: 10px; border: 1px solid var(--accent); border-radius: 10px; }
.bpbar { display: flex; gap: 8px; margin-bottom: 6px; }
.bpbar input { flex: 1; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font: inherit; font-size: 13px; }
.bpicker .list { max-height: 420px; overflow-y: auto; }
.bpicker .list a.row { align-items: center; }
.bpicker .more { margin-top: 8px; }
.bsub { margin: 14px 0 4px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.bline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.bline > a { font-size: 12px; }
.qlines .ek.bon { color: var(--accent-text, var(--accent)); font-weight: 600; }
@media (max-width: 900px) {
  .bgrid { grid-template-columns: minmax(0, 1fr); }
  .bsumcol { position: static; max-height: none; overflow: visible; }
  .title a.bjump { display: inline-block; }
}
@media (max-width: 640px) {
  .bsn { width: 4.6em; }
  .bsel, .bpbar input { height: 40px; }
  .bsadd { min-height: 40px; }
  .bplans .echip { min-height: 36px; }
  .bslot .echip { min-width: 40px; min-height: 40px; }
}
.hres-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 14px; align-items: start; }
#hres .list a.row { align-items: center; }
#hres .sname { min-width: 0; overflow-wrap: anywhere; }
#hres .sid { margin-left: 6px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
#hres .list a.row > .muted { flex: none; max-width: 40%; margin-left: auto; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hres .list a.row:focus-visible { outline: 2px solid var(--hm-focus); outline-offset: -2px; }

.hfoot { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 0 14px; }
.htips { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 26px; }
.htip b { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.htip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.hver { margin: 2px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.9; text-align: center; }
.hver code { padding: 1px 6px; border: 1px solid var(--hm-line); border-radius: 5px; font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }

@media (max-width: 999px) {
  .hnav.data { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hnav.drop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .htile.hgroup { grid-column: 1 / -1; }
  .hfoot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body.at-home #q { display: none; }
  .hero { padding: 6px 0 16px; }
  .hero-t { font-size: 21px; }
  .hero-v { margin-bottom: 12px; }
  #hq { height: 48px; padding-left: 44px; border-radius: 12px; }
  .hsearch > .lic { left: 14px; }
  .hkey { display: none; }
  .hnav.data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hnav.drop { grid-template-columns: minmax(0, 1fr); }
  .htile { gap: 10px; padding: 11px 12px; }
}
@media (prefers-reduced-motion: reduce) { a.htile:hover { transform: none; } }


:root {
  --pop-bg: #16161a; 
  --pop-line: rgba(255, 255, 255, .12);
  --pop-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -12px rgba(0, 0, 0, .7);
  --ink-2: #ececef; 
  --muted-hi: #c4c4cc; 
  --muted-lo: #8e8e98; 
}
:root[data-skin="light"] {
  --pop-bg: #ffffff;
  --pop-line: rgba(0, 0, 0, .12);
  --pop-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 16px 40px -14px rgba(17, 17, 19, .28);
  --ink-2: #27272a;
  --muted-hi: #52525b;
  --muted-lo: #71717a;
}
:root[data-skin="gold"] {
  --pop-bg: var(--panel);
  --pop-line: var(--gold-dim);
  --pop-shadow: 0 10px 36px rgba(0, 0, 0, .55);
}

@media (min-width: 1400px) { header .bar { min-height: 35px; } } 
.opts { position: relative; gap: 0; }
.optbtn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; transition: background 150ms ease, color 150ms ease; }
.optbtn:hover, .optbtn[aria-expanded="true"] { background: var(--accent-soft); color: var(--ink); }
.optmenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: flex; flex-direction: column; gap: 2px; min-width: 196px; padding: 6px; background: var(--pop-bg); border: 1px solid var(--pop-line); border-radius: 12px; box-shadow: var(--pop-shadow); white-space: nowrap; }
.optmenu[hidden] { display: none; }
.optmenu label, .optmenu #theme { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-size: 13px; line-height: 1.4; cursor: pointer; text-decoration: none; }
.optmenu label:hover, .optmenu #theme:hover { background: var(--accent-soft); color: var(--ink); }
.optmenu .optic { width: 13px; text-align: center; font-size: 15px; line-height: 1; color: var(--muted); }
.optmenu #theme b { margin-left: auto; padding-left: 16px; font-weight: 500; color: var(--muted); }
.optmenu #theme.skinrow { cursor: default; flex-wrap: wrap; row-gap: 6px; }
.optmenu:has(.skinrow) { min-width: 236px; } 
.optmenu #theme.skinrow:hover { background: none; }
.skinseg { margin-left: auto; display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(127,127,127,.12); }
.skinseg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; line-height: 1.2; padding: 5px 9px; border-radius: 6px; cursor: pointer; }
.skinseg button:hover { color: var(--ink); }
.skinseg button[aria-checked="true"] { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .skinseg button { min-height: 40px; padding: 6px 12px; font-size: 13px; } }

.popbox { border-radius: 12px; }
:root:not([data-skin="gold"]) .popbox { background: var(--pop-bg); border: 1px solid var(--pop-line); box-shadow: var(--pop-shadow); }

:root:not([data-skin="gold"]) :is(.g0, .g1) { color: var(--ink-2); }
:root:not([data-skin="gold"]) .list a.row > .muted { color: var(--muted-lo); }
:root:not([data-skin="gold"]) .tab:not([aria-pressed="true"]) { color: var(--muted-hi); }
:root:not([data-skin="gold"]) .tab:not([aria-pressed="true"]):hover { color: var(--ink); }
:root:not([data-skin="gold"]) :is(.empty, .emptybox) { color: var(--muted-hi); }

:root:not([data-skin="gold"]) .fchip.fgroup { background: transparent; border: 1px solid var(--hairline); color: var(--muted-hi); box-shadow: none; }
:root:not([data-skin="gold"]) .fchip.fgroup:hover { background: var(--accent-soft); color: var(--ink); }
:root:not([data-skin="gold"]) .fchip.fgroup[aria-pressed="true"],
:root:not([data-skin="gold"]) .fchip.fgroup[aria-pressed="true"]:hover { background: transparent; border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent-text); box-shadow: none; }
:root[data-skin="gold"] .fchip.fgroup,
:root[data-skin="gold"] .fchip.fgroup[aria-pressed="true"] { background: transparent; border-color: var(--gold-dim); color: var(--gold); }
:root[data-skin="gold"] .fchip.fgroup[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-bright); }

.qrow { gap: 10px; padding: 6px 8px; margin: 0 -8px; }
td .ico, td .mico { margin-right: 6px; }
.popbox td .ico { width: 20px; height: 20px; }
.popbox td, .popbox th { padding: 4px 8px; }

:root { --stat-add: #8fd6a3; }
:root[data-skin="light"] { --stat-add: #15803d; }
:root[data-skin="gold"] { --stat-add: #b9d48a; }
.emeta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 14px; font-size: 13px; } 
.emeta .ek { color: var(--muted); }
.emeta .ev { color: var(--ink); }
.popbox .emeta { font-size: 12px; padding-bottom: 4px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.estats { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.egrid { display: grid; grid-template-columns: minmax(0, max-content) max-content; justify-content: start; align-items: baseline; gap: 3px 18px; }
.erow { display: contents; }
.erow span { color: var(--muted); min-width: 0; }
.erow b { flex: none; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.erow b i { font-style: normal; font-weight: 500; color: var(--stat-add); }
.egrid.efx { padding-top: 6px; border-top: 1px solid var(--line); }
.egrid.efx .erow span { color: var(--ink); }
.eflags { display: flex; flex-wrap: wrap; gap: 4px; }
.etext { color: var(--muted); }
.eqbox { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.eqbox .estats { max-width: 900px; }
.enchbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.enchbar > .muted { font-size: 12px; margin-right: 4px; }
.enchbar > .enchnote { margin: 0 0 0 6px; }
.enchbar + .enchbar { margin-top: 6px; }
.echip { min-width: 34px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; cursor: pointer; }
.echip:hover { color: var(--ink); border-color: var(--muted); }
.echip:disabled { opacity: .35; cursor: default; }
.echip:disabled:hover { color: var(--muted); border-color: var(--line); }
.enchbar .esel { min-width: 68px; padding: 0 6px; font-size: 13px; color: var(--ink); }
.enchbar .estep { min-width: 30px; font-size: 14px; line-height: 1.35; }
.echip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
:root[data-skin="dark"] .echip[aria-pressed="true"] { color: #10121f; font-weight: 600; } 
:root[data-skin="gold"] .echip[aria-pressed="true"] { background: transparent; border-color: var(--gold); color: var(--gold-bright); }
.popbox .estats { padding: 2px 6px 6px; font-size: 12px; min-width: min(400px, calc(100vw - 48px)); }
.popbox .egrid { gap: 2px 16px; }
.popbox .eflags .chip { font-size: 11px; }
.sktext { white-space: normal; }
.card > h2 > .cbtn.cfold { margin: 0 0 0 auto; width: 28px; height: 24px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--muted); font-size: 16px; line-height: 1; transform: none !important; transition: none; align-self: center; }
.card > h2:hover > .cbtn.cfold { color: var(--ink); border-color: var(--muted); background: transparent; }
.card.cl > h2 { cursor: pointer; }
.cardhead > .cbig { width: auto; min-width: 190px; display: flex; align-items: center; justify-content: center; }
.cardhead > .cbig .canim.npcmodel-big, .popbox .ph.has-model.cpop .pmodel.npcp .canim { max-width: none; max-height: none; margin: 0; image-rendering: auto; }
.popbox .ph.cpop .pmodel.npcp { width: auto; height: auto; min-width: 110px; min-height: 110px; }
.popbox .ph.has-model.cpop { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.popbox .ph.has-model.cpop + .estats { text-align: center; }
.popbox .ph.has-model.cpop + .estats .egrid { justify-content: center; text-align: left; }
.popbox .ph.has-model.cpop + .estats .eflags { justify-content: center; }
.cstack { position: relative; display: inline-block; line-height: 0; flex: none; }
.cstack > .cglow { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; pointer-events: none; }
.effsec { margin-top: 10px; padding: 10px 14px; }
.effsec h3 { flex-wrap: wrap; gap: 6px 8px; }
.effsec h3 .rbtn { font-size: 12px; }
.effsec h3 .gfold { margin-left: auto; }
.effgrid { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 12px; align-items: start; margin-top: 12px; }
.effgrid .efl { padding: 5px 0; color: var(--muted); font-size: 12px; white-space: nowrap; text-align: right; }
.effgrid > .effchips { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.effgrid > .effchips:last-child { border-bottom: none; padding-bottom: 0; }
.effchips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 640px) { .effgrid { grid-template-columns: minmax(0, 1fr); gap: 2px; } .effgrid .efl { text-align: left; padding: 8px 0 2px; } }
button.gchip { -webkit-appearance: none; appearance: none; margin: 0; background: transparent; color: var(--ink); font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; }
.effchips button.gchip { font-size: 12px; }
.effchips .gchip { cursor: pointer; font: inherit; font-size: 12px; }
.emeta .clsrow { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 4px; }
.clsrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 3px; vertical-align: middle; }
.gchip .clsico { width: 24px; height: 24px; vertical-align: middle; margin: -3px 0; }
.row .clsico, .qrew .clsico, table .clsico { width: 22px; height: 22px; }
.clsico { width: 26px; height: 26px; object-fit: contain; flex: none; }
.popbox .clsico { width: 22px; height: 22px; }
.clstxt { font-size: 12px; }
.qser { border-top: 1px solid var(--line); }
.qserh { display: flex; align-items: center; gap: 8px; padding: 9px 0; cursor: pointer; }
.qserh .cname { font-weight: 600; }
.qserh .gfold { margin-left: auto; }
.qserh:hover .gfold { color: var(--ink); border-color: var(--muted); }
.qserm { margin: 0 0 6px 14px; padding-left: 12px; border-left: 2px solid var(--line); }
.qserm > .crow:first-child { border-top: none; }
.popbox .qgoals { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 10px; }
.skfx { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 8px 0; padding: 10px; border-radius: 10px; background: #0b0b0f; border: 1px solid var(--line); }
.skfx img { max-width: 150px; max-height: 150px; object-fit: contain; }
.skfx { width: fit-content; max-width: 100%; } 
.popbox .skfx { margin-left: auto; margin-right: auto; }
.skfx.big { justify-content: flex-start; margin-top: 12px; }
.skfx.big img { max-width: 240px; max-height: 240px; }
.egrid.efx { display: block; }
.egrid.efx .erow { display: flex; align-items: baseline; gap: 18px; padding: 1px 0; }
.efxd { grid-column: 1 / -1; margin: -1px 0 4px; overflow-wrap: anywhere; padding-left: 10px; border-left: 2px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; max-width: 620px; }
.ibuffs { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ibuff { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.ibh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 4px; font-size: 13px; }
.popbox .ibuffs { margin: 6px 6px 4px; }
.popbox .ibuff .estats { min-width: 0; padding: 0; }
.card:has(> .title > .npcstage) { position: relative; }
.title:has(> .npcstage) > .fav { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; }
.card > .title > .fav, .cinfo > .title > .fav { order: -1; margin-left: 0; }
.card:has(> .cardhead) { position: relative; }
.cardhead .cinfo > .title > .fav { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; }
@media (min-width: 641px) { .cardhead > .cbig { padding-top: 30px; } } 
@media (max-width: 640px) { .title:has(> .npcstage) > .fav, .cardhead .cinfo > .title > .fav { position: static; align-self: flex-start; margin-top: 3px; } } 
@media (min-width: 641px) { .title:has(> .npcstage) > .fav.copyl, .cardhead .cinfo > .title > .fav.copyl { top: 44px; } }
.lookbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lookbar > .muted { font-size: 12px; margin-right: 4px; }
.lookbtn { display: inline-flex; align-items: center; gap: 1px; padding: 2px 6px 2px 3px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.lookbtn small { font-size: 11px; }
.lookbtn:hover { border-color: var(--muted); }
.lookbtn[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--ink); }
:root[data-skin="gold"] .lookbtn[aria-pressed="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.skico { width: 32px; height: 32px; flex: none; align-self: center; border-radius: 6px; vertical-align: middle; object-fit: contain; }
.skico.big { width: 56px; height: 56px; border-radius: 8px; }
.skico.sm { width: 22px; height: 22px; border-radius: 4px; }

.htools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 22px; }
.htools .htoolt { margin-right: 4px; color: var(--muted); font-size: 12px; text-decoration: none; }
.htools .htoolt:hover { color: var(--ink); }
.htools { display: none; }
.hsecbox.folded + .htools { display: flex; }
.gsec.hsecbox { margin: 0 0 16px; padding: 0; border: 0; background: none; }
.gsec.hsecbox > h3 { margin-bottom: 10px; padding: 0 2px 8px; font-size: 13px; }
.gsec.hsecbox.folded { margin-bottom: 10px; padding-bottom: 0; }
.gsec.hsecbox.folded > h3 { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.hsecbox .htiles .hnav:last-child { margin-bottom: 0; }
@media (min-width: 1000px) { body.at-home .tabs { order: 0; flex: 0 0 auto; margin: 0; overflow: visible; } body.at-home h1 { flex: 1 1 0; width: auto; margin-right: 0; } body.at-home .opts { display: flex; flex: 1 1 0; justify-content: flex-end; } }
@media (min-width: 1000px) and (max-width: 1360px) { body.at-home .tab { padding-left: 6px; padding-right: 6px; } }
@media (min-width: 1000px) and (max-width: 1180px) { .tab { padding-left: 7px; padding-right: 7px; } } 
@media (max-width: 370px) { #tabs .tab { padding-left: 7px !important; padding-right: 7px !important; } }
@media (min-width: 371px) and (max-width: 640px) { #tabs .tab { padding-left: 8px !important; padding-right: 8px !important; } } 
.gbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 10px; }
.gbar > .muted { font-size: 12px; margin-right: 2px; }
.gchip { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 12px; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.gchip small { color: var(--muted); font-variant-numeric: tabular-nums; }
.gchip:hover { border-color: var(--muted); }
.gchip[aria-current="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
:root[data-skin="gold"] .gchip[aria-current="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.cimg { display: block; object-fit: contain; }
span.cimg { background: var(--bg); border-radius: 8px; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 16px; overflow: visible; } 
.ctile { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 8px 12px; overflow: visible; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; text-align: center; text-decoration: none; min-width: 0; }
.ctile:hover { border-color: var(--muted); }
.ctile .cpic { width: 104px; height: 124px; margin: 26px 16px; overflow: visible; display: flex; align-items: center; justify-content: center; } 
.ctile .cimg, .ctile .cstack { width: 104px; height: 124px; }
.ctile .cimg { object-fit: contain; }
.ctile .cname { max-width: 100%; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctile .muted { font-size: 11px; }
.gsec { margin-top: 18px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--bg) 55%, transparent); }
.gsec h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.gsec h3 small { color: var(--muted); font-size: 12px; font-weight: 400; }
.gsec h3 { cursor: pointer; user-select: none; }
.gfold { margin-left: auto; width: 28px; height: 24px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.gsec h3:hover .gfold { color: var(--ink); border-color: var(--muted); }
.gsec.folded { padding-bottom: 14px; }
.gsec.folded h3 { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.gsec.folded > :not(h3) { display: none; }
.gsec > .list a.row:last-child { border-bottom: 0; }
.gsec > .more { margin-bottom: 2px; }
.list-head + .gsec { margin-top: 10px; }
.canim { display: block; max-width: 100%; object-fit: contain; }
.cbig .canim { max-height: 260px; margin: 0 auto; }
.popbox .cpop .pmodel { width: 110px; height: 110px; }
.popbox .cpop .pmodel img { max-width: 110px; max-height: 110px; width: auto; height: auto; }
.popbox .cpop + .estats { padding-top: 6px; }
.popbox .cpcoll td { vertical-align: top; }
.popbox .cpcoll td:first-child a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.popbox .cpcoll td:nth-child(2) { color: var(--muted); }
.popbox .cpcoll td small { margin-left: 3px; font-size: 10px; }
.crow { padding: 10px 0; border-top: 1px solid var(--line); }
.chead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.chead .cname { font-weight: 600; }
.chead .ceff { margin-left: auto; color: var(--ink); font-size: 13px; text-align: right; }
.cmems { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.cmem { display: flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; font-size: 13px; }
.cmem .cimg.sm { width: 44px; height: 52px; flex: none; }
.cmem small { margin-left: 4px; font-size: 11px; color: var(--muted); font-weight: 400; }
.imems { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 13px; }
.imem .ico { margin-right: 6px; }
.imem .iench { color: var(--stat-add); font-weight: 600; }
.ceffs { font-weight: 600; }
.crow.c1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 8px 0; }
.crow.c1 .cneed { font-size: 12px; }
.crow .rstar { align-self: center; margin-right: 2px; }
.ctile { position: relative; }
.gbar .gended { margin-left: auto; font-size: 12px; }
.sktext { margin-top: 6px; font-size: 13px; line-height: 1.6; }
.sktext div + div { margin-top: 3px; }
.sktext.big { margin-top: 12px; font-size: 14px; max-width: 760px; }
.popbox .sktext { max-width: 420px; }
.ctile .rstar { position: absolute; top: 4px; right: 4px; opacity: .45; }
.ctile:hover .rstar, .ctile .rstar[aria-pressed="true"], .ctile .rstar:focus-visible { opacity: 1; }
.crow.c1 .ceff { margin-left: auto; color: var(--ink); font-size: 13px; text-align: right; }
.popbox .pmems { padding: 2px 6px 8px; }
.popbox .cmems.pmems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; min-width: 340px; }
.popbox .peff { color: var(--ink); }
.qname { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.qname:hover { text-decoration-color: currentColor; }
.qrew td .ico { margin-right: 6px; }
.popbox .qrew { min-width: 300px; }
.qtext { margin-top: 4px; color: var(--muted); font-size: 13px; }
.qlines { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; margin-top: 6px; font-size: 13px; }
.qlines .ek { color: var(--muted); }
.qlines .ico, .qlines .mico { margin-right: 4px; }
.xrules { gap: 6px 14px; font-size: 14px; }
.xrules .qv { line-height: 1.7; }
.xrules .chip { margin: 1px 0; }
.xfold { display: inline-block; vertical-align: top; }
.xfold > summary { cursor: pointer; color: var(--accent-text, var(--accent)); }
.xfold[open] { display: block; }
.xfoldb { margin-top: 4px; line-height: 1.8; }
.xfold.xblock { display: block; border-top: 1px solid var(--line); padding: 8px 0; }
.xfold.xblock:first-child { border-top: 0; padding-top: 0; }
.xfold.xblock > summary { color: var(--ink); font-weight: 600; }
.xfold.xblock .xfoldb { line-height: 1.5; }
.xskill { display: inline-flex; align-items: baseline; gap: 4px; margin: 1px 10px 1px 0; }
.xskill small { font-size: 12px; }
.card.xnotes .note { margin-top: 0; font-size: 13px; }
.card.xnotes .note + .note { margin-top: 6px; }
.xfish { display: inline-block; margin: 1px 10px 1px 0; white-space: nowrap; }
.gchip.fishrod { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.gchip.fishrod .ico { width: 20px; height: 20px; }
.fishgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 24px; }
.fishrow { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 2px; border-bottom: 1px solid var(--line); }
.fishrow .fishname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fishrow small { flex: none; font-variant-numeric: tabular-nums; }
.xfold.xsub { display: block; margin: 4px 0; }
.simtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.simtab { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 3px 12px 3px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.simtab img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.simtab small { font-size: 11px; font-variant-numeric: tabular-nums; }
.simtab:hover { color: var(--ink); border-color: var(--muted); }
.simtab[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.simbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: 13px; }
.simbar .grow { flex: 1 1 0; }
.simbar .simk { font-weight: 600; }
.simbar b { font-variant-numeric: tabular-nums; }
.stinfo { min-height: 22px; }
.simempty { padding: 6px 0; font-size: 13px; }
.simgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; font-size: 13px; }
.simgrid > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 10px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.simgrid span { color: var(--muted); min-width: 0; }
.simgrid b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stpanel { position: relative; border: 1px solid var(--line); border-radius: 10px; background: #0b0d16 center / cover no-repeat; overflow: hidden; }
.stpanel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(8, 10, 18, .72), rgba(8, 10, 18, .86)); }
.stscroll { position: relative; overflow-x: auto; padding: 10px 14px; }
.sttree { position: relative; margin: 0 auto; --stw: 80px; --sth: 70px; width: calc(var(--cols) * var(--stw)); height: calc(var(--rows) * var(--sth)); }
.sttree svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sttree svg line { stroke: #4d4638; stroke-width: 2; vector-effect: non-scaling-stroke; }
.sttree svg line.on { stroke: #e3b964; stroke-width: 3; }
.sttree svg.v { display: none; }
.stn { position: absolute; left: calc((var(--x) + .5) * var(--stw)); top: calc((var(--y) + .5) * var(--sth)); transform: translate(-50%, -50%); width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.stn.sk { width: 62px; height: 62px; }
.stn.en { width: 56px; height: 66px; }
.stn .fr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.stn .ic { position: absolute; left: 50%; top: 50%; width: 56%; height: 56%; transform: translate(-50%, -50%); border-radius: 50%; object-fit: cover; pointer-events: none; }
.stn .ic.gl { display: flex; align-items: center; justify-content: center; color: #e3b964; font-size: 18px; line-height: 1; }
.stn:not(.on) .ic { filter: grayscale(1) brightness(.5); }
.stn .lv { position: absolute; right: -8px; bottom: -3px; min-width: 22px; padding: 0 4px; border-radius: 8px; background: #e3b964; color: #1a1408; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; pointer-events: none; }
.stn:hover .fr { filter: brightness(1.4); }
.stn:focus-visible { outline: 2px solid #e3b964; outline-offset: 2px; }
.stn.last::after { content: ""; position: absolute; inset: -5px; border: 1px dashed rgba(227, 185, 100, .75); border-radius: 50%; pointer-events: none; }
.stn.nf { background: #26221b; box-shadow: inset 0 0 0 2px #5a5140; }
.stn.nf.on { background: #4a3a18; box-shadow: inset 0 0 0 2px #e3b964; }
.stn .rp { position: absolute; left: 50%; top: -11px; width: 24px; height: 24px; transform: translateX(-50%); pointer-events: none; }
.stn.on.idle .ic { filter: grayscale(.85) brightness(.7); }
.strep .echip { min-width: 0; padding: 3px 10px; }
.strep + .efxd, .strep ~ .efxd { margin: 6px 0 0; }
.stcast { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.elxlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 28px; margin-top: 10px; }
.elxrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.elxn { min-width: 0; font-weight: 600; }
.elxp { display: inline-flex; align-items: center; gap: 4px; }
.elxv { font-size: 11px; }
.elxc { justify-self: end; font-size: 12px; font-variant-numeric: tabular-nums; }
.elxe { width: 88px; }
.elxmax { margin-right: 3px; font-size: 11px; color: var(--warn); } 
@media (max-width: 640px) { .elxlist { grid-template-columns: minmax(0, 1fr); } }
.stcast .skico { flex: none; }
.sygrid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 4px 18px; align-items: start; }
.sypanel { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(circle at 50% 46%, #1b2136, #090b12 72%); }
.syring { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: 0 auto; }
.syring > .bg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.syring > .deco { width: 100%; }
.syring > .frame { width: 85.7%; opacity: .3; }
.syring > .emb { width: 52%; opacity: .55; filter: saturate(.7); transition: opacity .2s; }
.syring.full > .emb { opacity: 1; filter: none; }
.syp { position: absolute; transform: translate(-50%, -50%); width: 7.6%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.syp img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.syp .off { width: 38%; }
.syp .on { width: 92%; }
.syp.g { width: 11.8%; }
.syp.g .off { width: 90%; }
.syp.g .on { width: 150%; max-width: none; }
.syp.g b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 600 11px/1 Georgia, "Times New Roman", serif; color: #8a8fa3; pointer-events: none; }
.syp.g.lit b { color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 7px rgba(255, 255, 255, .5); }
.syp:hover { background: rgba(255, 255, 255, .12); }
.syp:focus-visible { outline: 2px solid #e3b964; outline-offset: 1px; }
.syspr { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.syspr .echip { flex: none; white-space: nowrap; }
.syspr .echip:disabled { cursor: not-allowed; }
.sylock { vertical-align: -2px; margin-right: 3px; }
@media (max-width: 640px) {
  .stscroll { padding: 8px 6px; }
  .sttree { --stw: 54px; --sth: 62px; width: calc(var(--rows) * var(--stw)); height: calc(var(--cols) * var(--sth)); }
  .stn { left: calc((var(--y) + .5) * var(--stw)); top: calc((var(--x) + .5) * var(--sth)); width: 42px; height: 42px; }
  .stn.sk { width: 52px; height: 52px; }
  .stn.en { width: 48px; height: 56px; }
  .sttree svg.h { display: none; }
  .sttree svg.v { display: block; }
  .sygrid { grid-template-columns: minmax(0, 1fr); }
  .sypanel { padding: 12px 8px; }
  .simgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 14px; }
}
.chip.bfchip { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; }
.chip.bfchip:has(.skico) { padding: 2px 9px 2px 3px; }
.chip.bfchip .skico { width: 20px; height: 20px; }
.xchips { display: flex; flex-wrap: wrap; gap: 6px; }
.xchips .chip { font-size: 13px; padding: 2px 10px; }
.xrate { margin-top: 12px; }
.xrate:first-child { margin-top: 0; }
.xrateh { font-weight: 600; margin-bottom: 4px; }
.xrate table { width: auto; min-width: min(100%, 440px); }
@media (max-width: 640px) { .xrules { grid-template-columns: minmax(0, 1fr); gap: 2px; } .xrules .ek { margin-top: 6px; } }
.cardhead { display: flex; gap: 20px; align-items: flex-start; }
.cbig { flex: none; width: 190px; }
.cbig .cimg { width: 190px; height: auto; max-height: 260px; }
.cinfo { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cinfo .estats { max-width: 760px; }
.cinfo .egrid, .cinfo .egrid.efx { grid-template-columns: max-content max-content; justify-content: start; gap: 4px 18px; } 
.cinfo .erow { display: contents; }
.card:has(.cardhead) + .card td:last-child { white-space: nowrap; }
.eff1 { white-space: nowrap; }
.csrc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; }
.popbox .pmodel .cimg { width: auto; height: 72px; max-width: 72px; }
@media (max-width: 640px) {
  .cgrid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; } 
  .ctile { padding: 8px 6px 10px; }
  .ctile .cpic, .ctile .cimg, .ctile .cstack { width: 84px; height: 100px; }
  .ctile .cpic { margin: 21px 13px; }
  .chead .ceff, .crow.c1 .ceff { flex: 1 1 100%; margin-left: 0; text-align: left; }
  .cardhead { flex-direction: column; align-items: center; }
  .cinfo { width: 100%; }
}

.more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin-top: 10px; font-size: 13px; }
.more .muted { font-size: 12px; font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .pager { gap: 8px 12px; }
  .pager-center { flex: 1 1 100%; flex-wrap: nowrap; justify-content: center; gap: 3px; overflow-x: auto; scrollbar-width: none; }
  .pager-center::-webkit-scrollbar { display: none; }
  .pg-btn { flex: none; min-width: 27px; padding: 0 4px; }
  .pg-gap { display: none; }
  .pg-jump { margin-left: 6px; }
  .list a.row { flex-wrap: nowrap; }
  .list .id { min-width: 0; }
  .list a.row > span:not(.id):not(.muted) { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .list a.row > .muted, #hres .list a.row > .muted { flex: 0 4 auto; min-width: 3em; max-width: none; margin-left: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #hres .list a.row > .muted { margin-left: auto; }
}


.list a.row > .nmodel, .list-head .nmodel { flex: none; width: 40px; height: 40px; align-self: center; display: flex; align-items: center; justify-content: center; }
.list a.row > .nmodel img { max-width: 40px; max-height: 40px; object-fit: contain; image-rendering: auto; }
.list a.row:has(> .nmodel) { align-items: center; padding-top: 3px; padding-bottom: 3px; }
.popbox .ph.has-model { display: flex; align-items: center; gap: 10px; }
.popbox .ph .pmodel { flex: none; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.popbox .ph .pmodel img { max-width: 72px; max-height: 72px; object-fit: contain; }
.npcmodel-big { flex: none; max-width: 100%; object-fit: contain; image-rendering: pixelated; }
.npcstage { min-width: 200px; min-height: 150px; justify-content: center; }
.popbox .ph .pmodel.npcp { width: auto; height: auto; min-width: 96px; min-height: 96px; }
.popbox .ph .pmodel.npcp img { max-width: none; max-height: none; image-rendering: pixelated; }
@media (max-width: 640px) { .npcstage { min-width: 0; min-height: 0; margin-right: 0; } }
.npcstage { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-right: 8px; align-self: center; }
.npcstage:empty { display: none; }
.npcacts { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; max-width: 220px; }
.actbtn { font: inherit; font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.actbtn:hover { color: var(--ink); }
.actbtn.on { color: var(--ink); border-color: var(--accent); }
.actbtn:disabled { opacity: .4; cursor: default; }
.nthumb { display: inline-flex; width: 26px; height: 26px; margin-right: 6px; vertical-align: middle; align-items: center; justify-content: center; }
.nthumb img { max-width: 26px; max-height: 26px; object-fit: contain; }
@media (max-width: 640px) {
  .list a.row > .nmodel, .list-head .nmodel { display: none; }
  .list a.row:has(> .nmodel) { align-items: baseline; padding-top: 7px; padding-bottom: 7px; }
}


.pest { margin-left: 4px; padding: 0 5px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 10px; font-weight: 400; }
.fmorebox { width: 100%; display: contents; }
@media (max-width: 800px) { .hgrid { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 640px) {
  .fmorebox { display: block; max-height: 45vh; overflow-y: auto; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; }
}
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { position: fixed; left: 0; right: 0; top: 0; z-index: 7; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.25); transform: translateY(-100%); transition: transform .18s; }
  body.mbar-on .mbar { transform: none; }
  .mbar .mb-home { font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
  :root[data-skin="gold"] .mbar .mb-home { color: var(--gold-bright, var(--ink)); }
  .mbar .mb-tab { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
  .mbar .mb-btn { flex: none; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
  body.mbar-on .secnav { top: 46px !important; }
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:root[data-skin="gold"] a:focus-visible, :root[data-skin="gold"] button:focus-visible, :root[data-skin="gold"] input:focus-visible, :root[data-skin="gold"] select:focus-visible { outline-color: var(--gold); }
.nshort { display: none; } 
@media (max-width: 640px) {
  header { position: static !important; padding: 8px 10px !important; }
  .secnav { top: 0 !important; }
  .tabs { flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; gap: 6px !important; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabgroup { display: contents !important; border: none !important; padding: 0 !important; }
  .tabgroup + .tabgroup { border-left: none !important; padding-left: 0 !important; }
  .tab { flex: 0 0 auto; min-height: 34px; padding: 6px 10px !important; font-size: 13px; text-align: center; white-space: nowrap; }
  main, #app { padding-left: 8px !important; padding-right: 8px !important; }
  .card { padding: 12px 10px !important; border-radius: 10px; }
  .gsec { margin-top: 10px; padding: 10px 10px 12px; }
  .gsec h3 { min-height: 32px; }
  .gfold, .card > h2 > .cbtn.cfold { width: 36px; height: 30px; }
  .gbar { gap: 6px; }
  .gchip { padding: 5px 10px; }
  .list a.row { padding: 10px 4px; }
  .crow { padding: 12px 0; }
  .rstar { width: 30px; font-size: 18px; }
  #q { height: 44px; font-size: 16px; } 
  .tab { min-height: 40px; }
  .fchip, .gchip { min-height: 44px; display: inline-flex; align-items: center; }
  .echip { min-width: 40px; min-height: 36px; }
  .actbtn { min-height: 44px; padding-left: 12px; padding-right: 12px; margin: 4px; }
  .tab { min-height: 44px; display: inline-flex; align-items: center; }
  .optbtn, .gfold, .fav { min-width: 44px; min-height: 44px; }
  .rbtn, .lookbtn { min-height: 44px; }
  .totop { width: 44px; height: 44px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .secnav { flex-wrap: nowrap !important; overflow-x: auto; }
  .secnav a { flex: none; }
  .mapbox { height: min(60vh, 520px); } 
  .mapbar .maplayers > summary { min-height: 40px; }
  .mapbar .maplayers > .mlbody { gap: 0 14px; }
  .mapbar .maplayers > .mlbody > label { min-height: 40px; padding: 0 2px; }
  .mapbar .maplayers > .mlbody > label > input { width: 18px; height: 18px; margin: 0; }
  .mapbar .goto input, .mapbar .goto button { height: 40px; line-height: 38px; }
  .enchbar > .enchnote { flex: 1 1 100%; margin-left: 0; }
  .enchbar .esel { height: 40px; min-width: 84px; font-size: 14px; }
  .enchbar .estep { min-width: 44px; min-height: 40px; font-size: 16px; }
  .list a.row > .nname { flex: 1 1 auto !important; width: auto !important; min-width: 0; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  .list a.row:has(> .nname) > .muted, .list a.row:has(> .nname) > .pw, .list-head .pw { display: none !important; }
  .list a.row > .nshort { display: inline !important; flex: none; margin-left: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
  .mhide { display: none !important; }
  .list a.row > span:not(.id):not(.muted):not(.nshort):not(.pw):not(.nmodel) { min-width: 0; white-space: normal; overflow: visible; text-overflow: clip; }
  .list a.row > .muted { flex: none; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
  .list a.row:not(:has(> .nname)) { --rs: 0px; --rp: 0px; --rc: 0px; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 2px; }
  .list a.row:not(:has(> .nname)):has(> .rstar) { --rs: 38px; }
  .list a.row:not(:has(> .nname)):has(> :is(.ico, .kico)) { --rp: 32px; }
  .list a.row:not(:has(> .nname)):has(> .skico.sm) { --rp: 30px; }
  .list a.row:not(:has(> .nname)):has(> :is(.mico, .skico:not(.sm))) { --rp: 40px; }
  .list a.row:not(:has(> .nname)):has(> .rcmp) { --rc: 48px; }
  .list a.row:not(:has(> .nname)) > span:is(.kico, .mico) { flex: none; }
  .list a.row:not(:has(> .nname)) > span:not(.id, .muted, .srcsum, .kico, .mico) { flex: 1 1 calc(100% - var(--rs) - var(--rp) - var(--rc) - 1px); min-width: 0; max-width: none; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
  .list a.row:not(:has(> .nname)) > .id { order: 10; flex: none; min-width: 0; margin-left: calc(var(--rs) + var(--rp)); }
  .list a.row:not(:has(> .nname)):not([href^="#shop/"]):not([href^="/shop/"]) > .id::before { content: "#"; } 
  .list a.row:not(:has(> .nname)) > .muted { order: 11; flex: 1 1 0; min-width: 0; max-width: none; white-space: normal; overflow: visible; text-overflow: clip; }
  .list a.row:not(:has(> .nname)):not(:has(> .id)) > .muted { margin-left: calc(var(--rs) + var(--rp)); }
  .list a.row:not(:has(> .nname)) > span.srcsum { order: 12; flex: 1 1 100%; min-width: 0; margin: 0 0 0 calc(var(--rs) + var(--rp)); white-space: normal; } 
  .list a.row:not(:has(> .nname)) { padding-top: 8px; padding-bottom: 8px; }
  #hres .list a.row { flex-wrap: nowrap; }
  #hres .list a.row > .sname { flex: 1 1 auto; }
  #hres .list a.row > .muted { order: 0; flex: none; max-width: 40%; margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .list-head:not(:has(.nname)) .star-h { display: none; }
  .list-head:not(:has(.nname)) { gap: 18px; }
  table:has(td[data-h]) { display: block; width: 100% !important; min-width: 0 !important; }
  table:has(td[data-h]) thead { display: none; }
  table:has(td[data-h]) tbody { display: block; }
  table:has(td[data-h]) tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 14px; padding: 10px 2px; border-top: 1px solid var(--line); background: none !important; }
  table:has(td[data-h]) td { display: block; padding: 0 !important; border: none !important; text-align: left !important; min-width: 0; white-space: normal; font-size: 13px; }
  table:has(td[data-h]) td:first-child { flex: 1 1 100%; font-size: 14px; font-weight: 600; }
  table:has(td[data-h]) td:not(:first-child)::before { content: attr(data-h); margin-right: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
  table:has(td[data-h]) td:not(:first-child):empty { display: none; }
  .tw, .twrap, .tablewrap { overflow-x: visible; }
}


.ld { --ld-c: 124,140,255; --ld-core: 228,232,255; --ld-hot: 255,255,255; --ld-off: .62; --d: clamp(10px, 2.1vw, 20px); --gap: clamp(6px, 1.4vw, 14px);
  position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 22px);
  background: var(--bg-texture, var(--bg, #0b1016)); transition: opacity .5s ease; transition-duration: .5s !important; }
:root[data-skin="gold"] .ld { --ld-c: 212,168,75; --ld-core: 255,240,200; }
:root[data-skin="light"] .ld { --ld-c: 91,108,255; --ld-core: 67,84,235; --ld-hot: 38,50,190; --ld-off: .26; }
.ld.done { opacity: 0; pointer-events: none; }
.ld-txt { font: 500 clamp(13px, 1.9vw, 19px)/1 "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif; letter-spacing: .62em; padding-left: .62em; color: rgb(var(--ld-c)); opacity: .9; white-space: nowrap; }
.ld-ch { position: relative; display: inline-block; }
.ld-b { opacity: .55; }
.ld-g { position: absolute; left: 0; top: 0; opacity: 0; text-shadow: 0 0 12px rgba(var(--ld-c), .9); }
.ld-row { display: flex; align-items: center; gap: var(--gap); }
.ld-dot { width: var(--d); height: var(--d); display: grid; place-items: center; }
.ld-dot b { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; background: rgba(var(--ld-c), var(--ld-off)); }
.ld-dot i { position: absolute; inset: 0; border-radius: 50%; opacity: 0; }
.ld-dot i.on { background: radial-gradient(circle, rgb(var(--ld-core)) 0 38%, rgb(var(--ld-c)) 100%);
  box-shadow: 0 0 calc(var(--d) * .45) rgba(var(--ld-c), .75), 0 0 calc(var(--d) * 1.1) rgba(var(--ld-c), .35); }
.ld-dot i.head { background: radial-gradient(circle, rgb(var(--ld-hot)) 0 45%, rgb(var(--ld-core)) 70%, rgb(var(--ld-c)) 100%);
  box-shadow: 0 0 calc(var(--d) * .6) rgba(var(--ld-c), .95), 0 0 calc(var(--d) * 1.6) rgba(var(--ld-c), .5); }
.ld-pct { font: 500 clamp(11px, 1.3vw, 13px)/1 ui-monospace, Consolas, monospace; letter-spacing: .2em; padding-left: .2em; color: rgba(var(--ld-c), .6); min-height: 1em; }


:root { --font-head: "Noto Serif TC", "Songti TC", serif; --r-lg: 14px; --r-md: 10px; }
:root[data-skin="gold"] { --font-head: var(--font-display, "Noto Serif TC", serif); }

#tabs.tabs { overflow: visible !important; flex-wrap: nowrap !important; gap: 2px !important; align-items: center; }
.navg { position: relative; flex: none; }
.navgb, .navg.solo > .tab { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px !important; border: 1px solid transparent !important; border-radius: 999px; background: transparent !important; color: var(--muted-hi, var(--ink)) !important; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .02em; cursor: pointer; white-space: nowrap; box-shadow: none !important; text-decoration: none; }
.navgb:hover, .navg.solo > .tab:hover { color: var(--ink) !important; background: var(--hl-row) !important; }
.navg.on > .navgb, .navg.solo.on > .tab { color: var(--ink) !important; border-color: var(--hl-edge) !important; background: var(--hl-row) !important; }
.navcur { color: var(--hl-line); font-size: 12px; font-weight: 400; }
.navcur:not(:empty)::before { content: "・"; color: var(--muted); }
.navcaret { opacity: .55; transition: transform .15s ease; }
.navg.open .navcaret { transform: rotate(180deg); }
.navpanel { display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 220px; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 22px 48px -20px rgba(0, 0, 0, .65); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.navpanel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } 
.navg.open .navpanel { display: grid; }
@media (hover: hover) and (min-width: 641px) { .navg:hover .navpanel { display: grid; } .navg:hover .navcaret { transform: rotate(180deg); } }
.navpanel .tab, .navpanel .navlink { display: block; min-height: 0 !important; padding: 9px 12px !important; border: 0 !important; border-radius: 8px; background: transparent !important; color: var(--ink) !important; font-size: 14px; text-decoration: none; white-space: nowrap; box-shadow: none !important; }
.navpanel .tab:hover, .navpanel .navlink:hover { background: var(--hl-row) !important; }
.navpanel .tab[aria-pressed="true"] { color: var(--hl-line) !important; background: var(--hl-row) !important; font-weight: 600; }
.navpanel.rows { grid-template-columns: 1fr; width: max-content; min-width: 0; gap: 4px; }
.navg[data-navg="sys"] .navpanel { left: 50%; transform: translateX(-50%); }
.navrow { display: flex; align-items: center; gap: 2px; }
.navrowl { flex: none; min-width: 5.6em; padding: 0 10px 0 6px; color: var(--muted); font-size: 11.5px; letter-spacing: .04em; }
.navrow + .navrow { padding-top: 4px; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } 
  #tabs.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; margin: 0; justify-content: space-around; gap: 0 !important; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line); box-shadow: 0 -10px 28px -18px rgba(0, 0, 0, .7); }
  .navg { flex: 1 1 0; min-width: 0; }
  .navgb, .navg.solo > .tab { width: 100%; height: 58px; flex-direction: column; justify-content: flex-start; gap: 1px; padding: 6px 2px 0 !important; border-radius: var(--r-md); font-size: 13px; line-height: 1.15; } 
  .navcur { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; line-height: 1.2; }
  .navcur::before { content: none !important; }
  .navcaret { display: none; }
  .navpanel { position: fixed; left: 8px; right: 8px; top: auto; bottom: calc(72px + env(safe-area-inset-bottom)); min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 10px; }
  .navpanel::before { content: none; }
  .navpanel .tab, .navpanel .navlink { padding: 13px 4px !important; text-align: center; white-space: normal; border: 1px solid var(--line) !important; }
  .navpanel.rows { grid-template-columns: 1fr; width: auto; gap: 8px; }
  .navg[data-navg="sys"] .navpanel { left: 8px; transform: none; }
  .navrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .navrowl { grid-column: 1 / -1; min-width: 0; padding: 2px 2px 0; }
  .navrow + .navrow { padding-top: 8px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .totop, .toast { bottom: calc(82px + env(safe-area-inset-bottom)) !important; }
  .mbar .mb-btn[data-mb="tabs"] { display: none; }
}

body { overflow-x: clip; }
html { background: var(--bg); }
body.at-home { background: transparent !important; }
body.at-home::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 7, 15, .30) 0%, rgba(4, 7, 15, .62) 45%, rgba(4, 7, 15, .86) 100%), url("brand/web/hero-dark-1920.jpg?v=3") center top / cover no-repeat; }
:root[data-skin="gold"] body.at-home::before { background-image: linear-gradient(180deg, rgba(4, 7, 15, .30) 0%, rgba(4, 7, 15, .62) 45%, rgba(4, 7, 15, .86) 100%), url("brand/web/hero-gold-1920.jpg?v=3"); }
:root[data-skin="light"] body.at-home::before { position: absolute; bottom: auto; height: 100vh; background: linear-gradient(180deg, rgba(250, 247, 240, .10) 0%, rgba(250, 247, 240, .35) 40%, color-mix(in srgb, var(--bg) 92%, transparent) 72%, var(--bg) 100%), url("brand/web/hero-light-1920.jpg?v=3") center top / cover no-repeat; }
body.at-home .hero { padding: 44px 16px 30px; background: none; }
body.at-home .hero::before { opacity: .5; }
:root:not([data-skin="light"]) body.at-home .hero-t { color: #f4e4b8; text-shadow: 0 2px 18px rgba(0, 0, 0, .7), 0 0 30px rgba(232, 200, 120, .25); }
:root:not([data-skin="light"]) body.at-home :is(.hero-v, .hero-hint, .hhot > .muted) { color: rgba(226, 232, 244, .8); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
:root:not([data-skin="light"]) body.at-home .hhotc { color: #eef1f8; border-color: rgba(255, 255, 255, .22); background: rgba(8, 12, 22, .45); }
:root:not([data-skin="light"]) body.at-home .hhotc:hover { border-color: rgba(232, 200, 120, .6); background: rgba(8, 12, 22, .65); }
:root[data-skin="light"] body.at-home .hero-t { color: #4a3412; text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 0 24px rgba(255, 250, 238, .9); }
:root[data-skin="light"] body.at-home :is(.hero-v, .hero-hint, .hhot > .muted) { color: #5a4a36; text-shadow: 0 0 10px rgba(255, 250, 240, .95); }
:root[data-skin="light"] body.at-home .hhotc { color: #3e2f1c; border-color: rgba(90, 70, 40, .28); background: rgba(255, 252, 245, .75); }
:root[data-skin="light"] body.at-home .hhotc:hover { border-color: rgba(122, 85, 18, .6); background: #fffdf8; }
body.at-home .hsearch input { box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .6); }
:root:not([data-skin="light"]) body.at-home :is(.htoday, .htile, .card, .hgroup) { background: color-mix(in srgb, var(--panel) 72%, transparent) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
:root[data-skin="light"] body.at-home :is(.htoday, .htile, .card, .hgroup) { background: color-mix(in srgb, var(--panel) 86%, transparent) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
:root:not([data-skin="light"]) body.at-home .hsecbox > h3, :root:not([data-skin="light"]) body.at-home .hsec { text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
:root:not([data-skin="light"]) body.at-home header { background: color-mix(in srgb, var(--panel) 70%, transparent) !important; }
:root[data-skin="light"] body.at-home header { background: color-mix(in srgb, var(--panel) 80%, transparent) !important; }
@media (max-width: 640px) {
  body.at-home::before { background-image: linear-gradient(180deg, rgba(4, 7, 15, .28) 0%, rgba(4, 7, 15, .55) 45%, rgba(4, 7, 15, .88) 100%), url("brand/web/mobile/hero-mobile-dark.jpg?v=4");
    background-image: linear-gradient(180deg, rgba(4, 7, 15, .28) 0%, rgba(4, 7, 15, .55) 45%, rgba(4, 7, 15, .88) 100%), image-set(url("brand/web/mobile/hero-mobile-dark-720.jpg?v=4") 1x, url("brand/web/mobile/hero-mobile-dark.jpg?v=4") 2x);
    background-position: center top; }
  :root[data-skin="gold"] body.at-home::before { background-image: linear-gradient(180deg, rgba(4, 7, 15, .28) 0%, rgba(4, 7, 15, .55) 45%, rgba(4, 7, 15, .88) 100%), url("brand/web/mobile/hero-mobile-gold.jpg?v=4");
    background-image: linear-gradient(180deg, rgba(4, 7, 15, .28) 0%, rgba(4, 7, 15, .55) 45%, rgba(4, 7, 15, .88) 100%), image-set(url("brand/web/mobile/hero-mobile-gold-720.jpg?v=4") 1x, url("brand/web/mobile/hero-mobile-gold.jpg?v=4") 2x); }
  :root[data-skin="light"] body.at-home::before { background-image: linear-gradient(180deg, rgba(250, 247, 240, .16) 0%, rgba(250, 247, 240, .38) 32%, var(--bg) 72%), url("brand/web/mobile/hero-mobile-light.jpg?v=4");
    background-image: linear-gradient(180deg, rgba(250, 247, 240, .16) 0%, rgba(250, 247, 240, .38) 32%, var(--bg) 72%), image-set(url("brand/web/mobile/hero-mobile-light-720.jpg?v=4") 1x, url("brand/web/mobile/hero-mobile-light.jpg?v=4") 2x);
    background-position: center top; }
  body.at-home .hero { padding: 26px 12px 20px; }
}
.brandico { width: 32px; height: 32px; margin-right: 8px; vertical-align: -9px; filter: drop-shadow(0 0 6px rgba(212, 168, 82, .3)); }
:root[data-skin="light"] .brandico { content: url("brand/web/logo-lm/brandico-light-128.png?v=6"); filter: none; } 
@media (max-width: 640px) { .brandico { width: 24px; height: 24px; margin-right: 6px; vertical-align: -6px; } }
.hero { position: relative; padding: 36px 0 26px; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -10px; width: min(760px, 100%); height: 240px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--hl-line) 16%, transparent), transparent); pointer-events: none; }
.hero-t { font-family: var(--font-head); font-size: 34px; font-weight: 700; letter-spacing: .08em; }
.hero-v { margin: 6px 0 18px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.hhot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin: 14px auto 0; max-width: 680px; font-size: 13px; }
.hhot > .muted { font-size: 12px; margin-right: 2px; }
.hhotc { padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.hhotc:hover { border-color: var(--hl-edge); background: var(--hl-row); }
.hgrid[hidden] { display: none !important; }
.srcsum { margin-left: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.qbtn { display: none; }
@media (max-width: 640px) {
  body:not(.at-home) .qbtn { display: inline-flex; }
  body:not(.at-home):not(.qopen) #q { display: none !important; }
  .srcsum { display: block; margin: 2px 0 0; }
}
.txg { color: var(--muted); font-size: 11.5px; letter-spacing: .05em; padding: 2px 0; }
.txg:not(:first-child) { margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.qstart { margin: 4px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in srgb, var(--bg) 35%, transparent); }
.qstart > .muted { margin-left: 8px; font-size: 12px; }
.calcfind { display: flex; gap: 8px; max-width: 520px; margin: 10px 0; }
.calcfind input { flex: 1; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; }
@media (max-width: 640px) {
  .txnav { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .txnav::-webkit-scrollbar { display: none; }
  .txnav > * { flex: none; }
}
.hstart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.hstartc { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in srgb, var(--panel) 78%, transparent); color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hstartc b { font-family: var(--font-head); font-size: 15px; letter-spacing: .03em; }
.hstartc small { color: var(--muted); font-size: 12px; }
.hstartc:hover { border-color: var(--hl-edge); background: var(--hl-row); }
.hstartc[style*="--sa"] { justify-content: center; min-height: 76px; background: linear-gradient(90deg, color-mix(in srgb, var(--panel) 94%, transparent) 0%, color-mix(in srgb, var(--panel) 80%, transparent) 42%, color-mix(in srgb, var(--panel) 18%, transparent) 100%), var(--sa) right center / cover no-repeat, var(--panel); }
.hstartc[style*="--sa"]:hover { border-color: var(--hl-edge); background: linear-gradient(90deg, color-mix(in srgb, var(--panel) 90%, transparent) 0%, color-mix(in srgb, var(--panel) 66%, transparent) 42%, transparent 100%), var(--sa) right center / cover no-repeat, var(--panel); }
.hstartc[style*="--sa"] b, .hstartc[style*="--sa"] small { text-shadow: 0 1px 3px color-mix(in srgb, var(--panel) 85%, transparent); }
@media (max-width: 1000px) { .hstart { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hstart { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .hstartc { padding: 10px 12px; } }
.htoday { margin: 4px 0 18px; padding: 16px 18px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.htoday-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.htoday-h h3 { margin: 0; font-family: var(--font-head); font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.htoday-h h3 small { margin-left: 6px; color: var(--muted); font-family: var(--font); font-size: 12px; font-weight: 400; }
.htoday-more { margin-left: auto; font-size: 13px; text-decoration: none; }
.htoday-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); column-gap: 28px; }
.htrow { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 2px; border-bottom: 1px dashed color-mix(in srgb, var(--line) 70%, transparent); font-size: 14px; }
.htime { flex: none; width: 92px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.hkind { flex: none; box-sizing: border-box; width: 68px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11.5px; text-align: center; white-space: nowrap; } 
.hname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hlive { flex: none; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--hl-line) 18%, transparent); color: var(--hl-line); font-size: 11.5px; font-weight: 600; }
.htrow.live .htime { color: var(--hl-line); }
.htrow.ended { opacity: .5; }
.hend { flex: none; font-size: 11.5px; }
.htoday-note { margin-top: 8px; font-size: 12px; }
.list.nolabel .ef, .list.nolabel .pw { display: none; } 
.emptyfind { text-align: left; }
.emptyfind ul { margin: 6px 0 10px 1.2em; padding: 0; }
.emptyfind .hhot { justify-content: flex-start; margin: 10px 0; }
.sitefoot { max-width: 1100px; margin: 40px auto 24px; padding: 18px 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.sitefoot p { margin: 0; }
@media (max-width: 640px) {
  .hero { padding: 18px 0 16px; }
  .hero-t { font-size: 24px; }
  .htoday { padding: 12px 12px 10px; }
  .htoday-list { grid-template-columns: 1fr; }
  .htime { width: 84px; font-size: 12px; }
  .sitefoot { margin: 28px 10px 16px; }
}

.lsteps { display: grid; gap: 18px; }
.lsteps section h3, .labout h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: .03em; }
.lsteps p, .labout p { margin: 4px 0 8px; line-height: 1.7; }
.lchips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 6px 0; }
.lchip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--panel) 60%, transparent); }
a.lchip:hover { border-color: var(--hl-edge); background: var(--hl-row); }
.lchip .ico, .lchip .skico { width: 18px; height: 18px; }
.llist { margin: 6px 0 8px 1.3em; padding: 0; line-height: 1.9; }
.lvpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.lvpick label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.lvpick input { width: 76px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; }
.lvq { display: flex; flex-wrap: wrap; gap: 4px; }
.lmap { padding: 10px 2px; border-top: 1px solid var(--line); }
.lmaph { font-size: 15px; font-weight: 600; }
.lmaph .muted { font-weight: 400; font-size: 12.5px; }
.lmapn { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.lclsgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 8px; }
.lcls { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in srgb, var(--bg) 40%, transparent); }
.lclsh { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 16px; }
.lclsh .muted { margin-left: auto; font-size: 12px; }
.lclsr { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); align-items: start; gap: 6px; margin-top: 8px; font-size: 13px; }
.lclsl { padding-top: 4px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.lclsc { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.lclsc.sk { flex-direction: column; align-items: flex-start; }
.lclsc:not(.sk) .lchip { padding: 2px 8px; font-size: 12.5px; } 
.lclsmore { margin-top: 10px; font-size: 13px; }
.skgh { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 2px; padding: 0 2px 6px; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); font-size: 14px; }
.skgh:first-child { margin-top: 4px; }
.skgh .muted { font-size: 12px; font-weight: 400; }
.skgh.sp { color: var(--ink); }
.lfaq { display: grid; gap: 6px; }
.lqa { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 14px; background: color-mix(in srgb, var(--bg) 35%, transparent); }
.lqa summary { cursor: pointer; padding: 11px 0; font-weight: 600; }
.lqa p { margin: 0 0 12px; line-height: 1.75; color: var(--ink); }
.lwords { display: grid; grid-template-columns: minmax(130px, max-content) 1fr; gap: 8px 18px; margin: 4px 0; }
.lwords dt { font-weight: 700; }
.lwords dd { margin: 0; line-height: 1.7; }
.lwords dd .lchip { margin: 2px 2px; }
.lalias { display: flex; flex-wrap: wrap; gap: 6px; }
.labout { display: flex; gap: 22px; align-items: flex-start; }
.labout .lead { font-size: 15px; }
.lpoints { margin-top: 8px; color: var(--muted); } 
.laboutlogo { flex: none; width: 160px; height: 160px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)); }
@media (max-width: 640px) {
  .lclsgrid { grid-template-columns: 1fr; }
  .lwords { grid-template-columns: 1fr; gap: 2px; }
  .lwords dd { margin-bottom: 8px; }
  .labout { flex-direction: column; align-items: center; }
  .laboutlogo { width: 120px; height: 120px; }
}

.hti.art { width: 48px; height: 48px; background: none !important; border: 0 !important; box-shadow: none !important; }
.hartico { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45)); transition: transform .2s ease; }
.htile:hover .hartico { transform: scale(1.06); }
.pbanner { position: relative; display: flex; align-items: center; min-height: 140px; margin: 0 0 14px; padding: 18px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--b1) center / cover no-repeat, #0a0e18; isolation: isolate; }
.pbanner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 8, 16, .82) 0%, rgba(5, 8, 16, .55) 38%, rgba(5, 8, 16, 0) 70%); }
.pbt { display: flex; align-items: center; gap: 14px; }
.pbico { width: 64px; height: 64px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); }
.pbn { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: .06em; color: #f4e4b8; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.pbs { margin-top: 2px; color: rgba(230, 234, 244, .85); font-size: 13px; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.pbanner + .txnav, .pbanner + .card, .pbanner + .gbar { margin-top: 0; }
.lcls { display: flex; gap: 14px; align-items: flex-start; }
.lclsimg { flex: none; width: 96px; height: 128px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.lclsbody { flex: 1; min-width: 0; }
.skhero { display: flex; align-items: center; gap: 16px; margin: 4px 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in srgb, var(--bg) 35%, transparent); }
.skheroimg { width: 84px; height: 112px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); }
.skheron { font-family: var(--font-head); font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.emptyfind { display: flex; align-items: center; gap: 22px; }
.emptyart { flex: none; width: 180px; height: 180px; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.emptyart.nfart { width: 220px; height: 220px; }
:root[data-skin="gold"] .emptyart { content: url("brand/web/empty-gold.jpg"); }
:root[data-skin="light"] .emptyart { content: url("brand/web/empty-light.jpg"); }
:root[data-skin="light"] .emptyart.nfart { content: url("brand/web/404-light.jpg"); }
:root[data-skin="gold"] .emptyart.nfart { content: url("brand/web/404-dark.jpg"); }
body:not(.at-home) { background-image: linear-gradient(color-mix(in srgb, var(--bg) 72%, transparent), color-mix(in srgb, var(--bg) 72%, transparent)), url("brand/web/texture-dark.jpg"); background-size: auto, 512px; background-attachment: fixed; }
:root[data-skin="gold"] body:not(.at-home) { background-image: linear-gradient(color-mix(in srgb, var(--bg) 70%, transparent), color-mix(in srgb, var(--bg) 70%, transparent)), url("brand/web/texture-gold.jpg"); }
:root[data-skin="light"] body:not(.at-home) { background-image: linear-gradient(color-mix(in srgb, var(--bg) 62%, transparent), color-mix(in srgb, var(--bg) 62%, transparent)), url("brand/web/texture-light.jpg"); }
@media (max-width: 640px) {
  .pbanner { min-height: 92px; padding: 12px 14px; background-image: var(--b2); }
  .pbico { width: 44px; height: 44px; }
  .pbn { font-size: 20px; }
  .pbs { font-size: 12px; }
  .lclsimg { width: 72px; height: 96px; }
  .emptyfind { flex-direction: column; align-items: flex-start; gap: 8px; }
  .emptyart { width: 140px; height: 140px; align-self: center; }
  .emptyart.nfart { width: 170px; height: 170px; }
  body:not(.at-home) { background-attachment: scroll; }
}

.navico { width: 20px; height: 20px; object-fit: contain; flex: none; margin-left: -3px; }
@media (max-width: 640px) { .navico { margin: 0 0 1px; } .navgb:not(:has(> .navico)) { padding-top: 28px !important; } } 
.herodiv { display: block; width: auto !important; height: 30px; margin: -4px auto 10px; }
:root[data-skin="gold"] .herodiv { content: url("brand/web/ui/divider-gold-80.png"); }
:root[data-skin="light"] .herodiv { content: url("brand/web/ui/divider-light-80.png"); }
@media (max-width: 640px) { .herodiv { height: 24px; margin: -2px auto 8px; } }
.ctile .cpic { position: relative; }
.ctile .cpic::after { content: ""; position: absolute; inset: -24px -15px; pointer-events: none; background: var(--cframe, none) center / 100% 100% no-repeat; }
@media (max-width: 640px) { .ctile .cpic::after { inset: -19px -12px; } }
.ctile:hover .cpic::after, .ctile:focus-visible .cpic::after { background-image: var(--cframe-glow, none), var(--cframe, none); }
.cpic.cg0, .cpic.cg1 { --cframe: url("brand/web/ui/frame-card-1-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-1-out-glow.png?v=6"); }
.cpic.cg2 { --cframe: url("brand/web/ui/frame-card-2-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-2-out-glow.png?v=6"); }
.cpic.cg3 { --cframe: url("brand/web/ui/frame-card-3-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-3-out-glow.png?v=6"); }
.cpic.cg4 { --cframe: url("brand/web/ui/frame-card-4-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-4-out-glow.png?v=6"); }
.cpic.cg5 { --cframe: url("brand/web/ui/frame-card-5-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-5-out-glow.png?v=6"); }
.cpic.cg32 { --cframe: url("brand/web/ui/frame-card-32-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-32-out-glow.png?v=6"); }
.cpic.cg42 { --cframe: url("brand/web/ui/frame-card-42-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-42-out-glow.png?v=6"); }
.cpic.cg52 { --cframe: url("brand/web/ui/frame-card-52-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-52-out-glow.png?v=6"); }
.cpic.cg71 { --cframe: url("brand/web/ui/frame-card-71-out-web.png?v=6"); --cframe-glow: url("brand/web/ui/frame-card-71-out-glow.png?v=6"); }
.title .ico { box-sizing: border-box; padding: 4px; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--iframe, none) center / 100% 100% no-repeat !important; }
.title .ico.gi0, .title .ico.gi1 { --iframe: url("brand/web/ui/frame-item-1-96.png"); }
.title .ico.gi2 { --iframe: url("brand/web/ui/frame-item-2-96.png"); }
.title .ico.gi3 { --iframe: url("brand/web/ui/frame-item-3-96.png"); }
.title .ico.gi4 { --iframe: url("brand/web/ui/frame-item-4-96.png"); }
.title .ico.gi5 { --iframe: url("brand/web/ui/frame-item-5-96.png"); }
.title .ico.gi32 { --iframe: url("brand/web/ui/frame-item-32-96.png"); }
.title .ico.gi42 { --iframe: url("brand/web/ui/frame-item-42-96.png"); }
.title .ico.gi52 { --iframe: url("brand/web/ui/frame-item-52-96.png"); }
.title .ico.gi71 { --iframe: url("brand/web/ui/frame-item-71-96.png"); }

.hchip { display: inline-flex; align-items: center; gap: 4px; }
.hchipico { width: 18px; height: 18px; object-fit: contain; flex: none; margin-left: -4px; }
.rown[aria-pressed="true"], .dtick[aria-pressed="true"] { color: transparent !important; border-color: transparent !important; background: url("brand/web/extra/seal-own-128.png") center / 100% 100% no-repeat !important; }
.dtick[aria-pressed="true"] { background-image: url("brand/web/extra/seal-done-128.png") !important; }
.chip.cready::before, .chip.cdone::before { content: ""; display: inline-block; width: 16px; height: 16px; margin: 0 4px 0 -3px; vertical-align: -3px; background: url("brand/web/extra/seal-ready-128.png") center / contain no-repeat; }
.chip.cdone::before { background-image: url("brand/web/extra/seal-done-128.png"); }
.chip.boss::before { content: ""; display: inline-block; width: 15px; height: 15px; margin: 0 3px 0 -3px; vertical-align: -3px; background: url("brand/web/extra/badge-boss-48.png") center / contain no-repeat; }
.skinseg { gap: 4px; background: transparent; }
.skinseg button[data-skin] { min-width: 62px; min-height: 34px; background: center / cover no-repeat; color: #f3ead2 !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.skinseg button[data-skin="dark"] { background-image: url("brand/web/extra/skin-preview-dark-320.jpg"); }
.skinseg button[data-skin="gold"] { background-image: url("brand/web/extra/skin-preview-gold-320.jpg"); }
.skinseg button[data-skin="light"] { background-image: url("brand/web/extra/skin-preview-light-320.jpg"); color: #2a1c0c !important; text-shadow: 0 1px 2px rgba(255, 255, 255, .8); }
.skinseg button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--hl-line, var(--accent)); }

.ghero{margin:2px 0 16px;padding:0 0 14px;border-bottom:1px solid var(--line)}
.ghero-t{margin:0 0 6px;font-family:var(--font-head);font-size:22px;font-weight:700;line-height:1.35}
.ghero-l{margin:0;max-width:62em;line-height:1.8;color:var(--ink)}
.gperks{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin:12px 0 4px}
.gperk{padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-md,12px);background:color-mix(in srgb,var(--bg) 40%,transparent);line-height:1.7}
.gperk b{display:block;font-size:15px}
.gsteps{counter-reset:gs;display:grid;gap:14px;margin:8px 0}
.gstep{position:relative;padding:12px 14px 12px 54px;border:1px solid var(--line);border-radius:var(--r-md,12px);background:color-mix(in srgb,var(--bg) 35%,transparent);line-height:1.8}
.gstep::before{counter-increment:gs;content:counter(gs);position:absolute;left:14px;top:12px;width:28px;height:28px;border-radius:50%;background:var(--accent);color:var(--bg);font-weight:800;text-align:center;line-height:28px}
.gstep h3{margin:0 0 4px;font-size:16px}
.gstep p{margin:4px 0}
.gstep ul{margin:4px 0 4px 1.2em;padding:0}
.gtip{margin:8px 0;padding:8px 12px;border-left:3px solid var(--accent);border-radius:6px;background:var(--accent-soft,color-mix(in srgb,var(--accent) 12%,transparent));line-height:1.75}
.gtip.warn{border-left-color:var(--warn,#d9822b);background:var(--warn-soft,color-mix(in srgb,#d9822b 12%,transparent))}
.gtblw{overflow-x:auto;margin:6px 0}
.gtbl{width:100%;border-collapse:collapse;font-size:14px}
.gtbl th,.gtbl td{padding:7px 9px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.65}
.gtbl th{color:var(--muted);font-weight:600;white-space:nowrap}
.gband{margin:14px 0 6px;padding-top:12px;border-top:1px solid var(--line)}
.gband h3{margin:0 0 2px;font-size:17px}
.gband .gsub{color:var(--muted);font-size:13px;margin-bottom:6px}
.gcls{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin-top:8px}
.gclsc{display:flex;gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--r-md,12px);background:color-mix(in srgb,var(--bg) 40%,transparent)}
.gclsc .lclsimg{width:84px;height:112px}
.gclsc h4{margin:0 0 2px;font-size:16px}
.gclsc .gtag{display:inline-block;margin:2px 4px 2px 0;padding:1px 8px;border-radius:999px;font-size:12px;border:1px solid var(--line);color:var(--muted)}
.gclsc p{margin:4px 0;font-size:13.5px;line-height:1.7}
.gpick{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;margin:8px 0}
.gpick div{padding:8px 12px;border:1px solid var(--line);border-radius:10px;line-height:1.7}
.gwordgrp{margin:12px 0 4px;font-size:16px}
.gfaqh{margin:14px 0 6px;font-size:16px}
.card:has(> .ghero) > h2{display:none}
.txnav.glnav{gap:6px 22px}
.glgrp{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.glgrp + .glgrp{padding-left:20px;border-left:1px solid var(--line)}
.glgrp > b{font-size:12px;color:var(--muted);font-weight:600;letter-spacing:.05em}
.glvtop{margin:4px 0 14px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-md,12px);background:color-mix(in srgb,var(--accent) 7%,transparent)}
.gband.gcur{padding:12px 12px 6px;border:1px solid var(--accent);border-radius:var(--r-md,12px);background:color-mix(in srgb,var(--accent) 6%,transparent)}
.gband .gtbl{table-layout:fixed}
.gband .gtbl th:nth-child(1){width:34%}.gband .gtbl th:nth-child(2){width:16%}
.gtip ul{margin:2px 0 2px 1.1em;padding:0}
.gart{margin:12px 0;padding:12px 16px;border:1px solid var(--line);border-radius:var(--r-md,12px);background:color-mix(in srgb,var(--bg) 35%,transparent);line-height:1.8}
.gart h3{margin:0 0 6px;font-size:16px}
.gart h4{margin:12px 0 4px;font-size:15px}
.gart p{margin:6px 0}
.gart ul,.gart ol{margin:4px 0 4px 1.3em;padding:0}
.gart li{margin:2px 0}
.gmore{margin-top:14px}
.gmore > summary{cursor:pointer;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-md,12px);font-weight:700;background:color-mix(in srgb,var(--bg) 35%,transparent)}
.gmore[open] > summary{margin-bottom:10px}
.lwords{grid-template-columns:11em 1fr}
@media (max-width:640px){
  .txnav.glnav{flex-wrap:wrap !important;overflow:visible;white-space:normal;gap:6px}
  .glgrp{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:100%;gap:14px}
  .glgrp + .glgrp{padding-left:0;border-left:0}
  .glgrp::-webkit-scrollbar{display:none}
  .glgrp > *{flex:none}
  .gtbl thead{display:none}
  .gtbl,.gtbl tbody,.gtbl tr,.gtbl td{display:block;width:auto !important}
  .gtbl tr{padding:8px 0;border-bottom:1px solid var(--line)}
  .gtbl td{border:0;padding:1px 0}
  .gtbl td:first-child{font-weight:700}
  .gtbl td[data-label]:not(:first-child)::before{content:attr(data-label) '：';color:var(--muted);font-size:12.5px}
  .gart{padding:10px 12px}
  .lwords{grid-template-columns:1fr}
}
@media (min-width: 641px) { .navg[data-navg="learn"] .navpanel { grid-template-columns: repeat(3, max-content); } }
@media (max-width:640px){.ghero{padding:0 0 12px}.ghero-t{font-size:19px}.gstep{padding-left:48px}.gclsc .lclsimg{width:64px;height:86px}.gperks,.gpick{grid-template-columns:1fr 1fr}}

.totop, .totop:hover { border: 0 !important; background: url("brand/web/polish/totop-dark-80.png?v=5") center / contain no-repeat !important; box-shadow: none !important; color: transparent !important; font-size: 0 !important; }
:root[data-skin="gold"] .totop, :root[data-skin="gold"] .totop:hover { background-image: url("brand/web/polish/totop-gold-80.png?v=5") !important; }
:root[data-skin="light"] .totop, :root[data-skin="light"] .totop:hover { background-image: url("brand/web/polish/totop-light-80.png?v=5") !important; }
.totop:hover { filter: brightness(1.15) drop-shadow(0 0 6px rgba(232, 200, 120, .35)); }
@media (max-width: 640px) { :root[data-skin="gold"] .totop { background-image: url("brand/web/polish/totop-gold-88.png?v=5") !important; } }
.sitefoot { border-top: 0 !important; padding-top: 0 !important; }
.sitefoot::before { content: ""; display: block; height: 44px; margin: 0 auto 14px; background: url("brand/web/polish/footer-ornament-dark-640.png?v=5") center / contain no-repeat; pointer-events: none; }
:root[data-skin="gold"] .sitefoot::before { background-image: url("brand/web/polish/footer-ornament-gold-640.png?v=5"); }
:root[data-skin="light"] .sitefoot::before { background-image: url("brand/web/polish/footer-ornament-light-640.png?v=5"); }
@media (max-width: 640px) { .sitefoot::before { height: 34px; margin-bottom: 10px; } }
.laboutlogo { content: url("brand/web/logo-lm/emblem-lm-shield-320.png?v=5"); }
:root[data-skin="light"] .laboutlogo { content: url("brand/web/logo-lm/emblem-lm-shield-light-320.png?v=5"); }

.vig { display: none; position: fixed; top: 0; bottom: 0; z-index: 0; width: min(360px, calc((100vw - 1280px) / 2)); pointer-events: none; background-size: auto 100%; background-repeat: no-repeat; }
@media (min-width: 1440px) { :root:not([data-skin="light"]) body:not(.at-home) .vig { display: block; } }
#vignette-l { left: 0; background-position: left center; background-image: url("brand/web/polish/vignette-left-dark-1080.png?v=5"); }
#vignette-r { right: 0; background-position: right center; background-image: url("brand/web/polish/vignette-right-dark-1080.png?v=5"); }
:root[data-skin="gold"] #vignette-l { background-image: url("brand/web/polish/vignette-left-gold-1080.png?v=5"); }
:root[data-skin="gold"] #vignette-r { background-image: url("brand/web/polish/vignette-right-gold-1080.png?v=5"); }

:root[data-skin="dark"] :is(.bplans, .calcbar) .echip[aria-pressed="true"] { color: var(--ink); }
@media (max-width: 640px) { a.rbtn, .title a.bjump { display: inline-flex; align-items: center; justify-content: center; } }

.sitefoot a { white-space: nowrap; } 
@media (max-width: 640px) {
  .title:has(> .npcstage) > .npcstage { order: 5; flex: 1 1 100%; margin: 2px 0 0; }
  .title:has(> .npcstage) .npcacts { align-self: stretch; max-width: none; min-width: 0; flex-wrap: nowrap; justify-content: flex-start; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .title:has(> .npcstage) .npcacts::-webkit-scrollbar { display: none; }
  .title:has(> .npcstage) .npcacts > .actbtn { flex: none; min-height: 40px; margin: 0; padding: 0 12px; font-size: 12px; }
  .title:has(> .npcstage) .npcacts > .actbtn:first-child { margin-left: auto; }
  .title:has(> .npcstage) .npcacts > .actbtn:last-child { margin-right: auto; }
  .rstar { position: relative; }
  .rstar::after { content: ""; position: absolute; inset: -11px -4px -11px -6px; }
  .list a.row .rcmp { position: relative; height: 30px; } 
  .list a.row .rcmp::after { content: ""; position: absolute; inset: -5px 0; }
  details:not(.maplayers) > summary { min-height: 40px; padding-top: 9px; padding-bottom: 9px; box-sizing: border-box; }
  .elxlist { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
  .elxrow { grid-column: 1 / -1; grid-template-columns: subgrid; }
  .elxrow > .elxp { display: flex; }
  .elxrow > .elxp > .esel { flex: 1 1 auto; min-width: 0; } 
  .elxrow > .elxv { grid-row: 2; grid-column: 1 / -1; padding-right: 6.5em; } 
  .elxrow > .elxc { grid-row: 2; grid-column: 2; }
  .navcur { font-size: 12px; line-height: 1.15; }
  .navgb, .navg.solo > .tab { padding-top: 4px !important; } 
  .navgb:not(:has(> .navico)) { padding-top: 26px !important; }
  small.muted, .card small, .gchip small { font-size: 12px; }
  .txg, .hkind, .hlive, .elxv, .elxmax, .syp.g b { font-size: 12px; } 
}
@media (max-width: 640px), (max-height: 540px) {
  .mapwrap > .mapinfo { position: static; max-width: none; max-height: none; overflow: visible; margin-top: 6px; pointer-events: auto; }
}
