:root {
  color-scheme: light;
  --ico: #0f2a3d;
  --ico-cut: #ffffff;
  --ico-bg: #eceff2;
  --best: #fff6f2;
  --ok-bg: #e8f6ee;
  --line-strong: #cfd5da;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1d2329;
  --muted: #6b7680;
  --line: #e3e7eb;
  --accent: #e4572e;
  --accent-dark: #c2401b;
  --ok: #1a8a4a;
  --order: #b7791f;
  --out: #8a939b;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #0f1419;
  --card: #171d24;
  --text: #e6e9ec;
  --muted: #9aa5b1;
  --line: #2a333d;
  --line-strong: #3a4550;
  --accent: #ff7148;
  --accent-dark: #e4572e;
  --ok: #3ecf7a;
  --order: #e0a84a;
  --out: #7b8590;
  --ico: #dfe6ee;
  --ico-cut: #242c36;
  --ico-bg: #242c36;
  --best: #2a1d17;
  --ok-bg: #13301f;
}
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1419;
  --card: #171d24;
  --text: #e6e9ec;
  --muted: #9aa5b1;
  --line: #2a333d;
  --line-strong: #3a4550;
  --accent: #ff7148;
  --accent-dark: #e4572e;
  --ok: #3ecf7a;
  --order: #e0a84a;
  --out: #7b8590;
  --ico: #dfe6ee;
  --ico-cut: #242c36;
  --ico-bg: #242c36;
  --best: #2a1d17;
  --ok-bg: #13301f;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 'IBM Plex Sans Thai', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: 24px; margin: 24px 0 12px; }
h2 { font-size: 19px; margin: 32px 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.count { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 6px; }

.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 24px; }
.logo { font-weight: 700; font-size: 22px; letter-spacing: -.5px; white-space: nowrap; }
.logo span { color: var(--accent); }
.logo small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.search { flex: 1; display: flex; }
.search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; padding: 9px 12px; font: inherit; background: var(--ico-bg); color: var(--text); }
.search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; background: var(--card); }
.search button { border: 0; background: var(--accent); color: #fff; padding: 0 16px; border-radius: 0 8px 8px 0; font: inherit; font-weight: 600; cursor: pointer; }
.cats { display: flex; gap: 4px; }
.cats a { padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.cats a:hover { background: var(--ico-bg); }

.hero { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin-top: 24px; }
.hero h1 { margin: 0 0 6px; font-size: 26px; }
.hero p { margin: 0; color: var(--muted); }
.hero-cats { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hero-cats a { background: var(--accent); color: #fff; padding: 10px 22px; border-radius: 10px; font-weight: 600; }
.hero-cats a:hover { background: var(--accent-dark); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.card:hover { border-color: var(--line-strong); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.thumb { height: 170px; background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 12px; border-bottom: 1px solid var(--line); }
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.pname { font-weight: 500; font-size: 14px; line-height: 1.4; flex: 1; }
.pmeta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.price { color: var(--accent); font-weight: 700; font-size: 17px; }
.shops { font-size: 12px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.filters label { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); gap: 4px; }
.filters select { font: inherit; color: var(--text); padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); min-width: 150px; }
.filters .check { flex-direction: row; align-items: center; gap: 6px; font-size: 14px; color: var(--text); padding-bottom: 8px; }
.pager { display: flex; justify-content: center; gap: 16px; align-items: center; margin: 24px 0; }
.pager a { background: var(--card); border: 1px solid var(--line); padding: 7px 14px; border-radius: 8px; }

.crumb { margin-top: 20px; font-size: 13px; color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.phead { display: grid; grid-template-columns: 300px 1fr; gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-top: 10px; }
.pimg { display: flex; align-items: center; justify-content: center; height: 240px; }
.pimg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pinfo h1 { margin-top: 4px; }
.best { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.best span { color: var(--muted); }
.best strong { font-size: 30px; color: var(--accent); }
.best em { font-style: normal; font-weight: 500; }
.stats { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-size: 14px; }

.offers { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.offer { display: grid; grid-template-columns: 240px 1fr 90px 110px 110px; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.offer:first-child { border-top: 0; }
.offer.is-best { background: var(--best); }
.oshop { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.slogo { flex: none; width: 86px; height: 32px; display: flex; align-items: center; justify-content: center; background: #ffffff; border: 1px solid var(--line); border-radius: 6px; padding: 2px; }
.slogo img { max-width: 78px; max-height: 26px; width: auto; height: auto; display: block; }
.sname { display: flex; flex-direction: column; line-height: 1.3; }
.sname small { font-weight: 400; font-size: 12px; color: var(--muted); }
.otitle { font-size: 13px; color: var(--muted); }
.ostock { font-size: 13px; font-weight: 500; }
.ostock.ok { color: var(--ok); }
.ostock.order { color: var(--order); }
.ostock.out { color: var(--out); }
.oprice { font-weight: 700; font-size: 17px; text-align: right; }
.ogo { background: var(--accent); color: #fff; text-align: center; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.ogo:hover { background: var(--accent-dark); }
.chart-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; height: 340px; }

.drops { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.drop { display: grid; grid-template-columns: 1fr 100px 180px 60px; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); align-items: center; }
.drop:first-child { border-top: 0; }
.drop:hover { background: var(--ico-bg); }
.dname { font-weight: 500; }
.dshop { color: var(--muted); font-size: 13px; }
.dprice { text-align: right; font-weight: 600; }
.dprice s { color: var(--muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
.dpct { color: var(--ok); font-weight: 700; text-align: right; }

.foot { color: var(--muted); font-size: 13px; padding: 32px 16px 40px; text-align: center; }

@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 8px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .cats { margin-left: auto; }
  .phead { grid-template-columns: 1fr; }
  .pimg { max-height: 220px; }
  .offer { grid-template-columns: 1fr auto; grid-template-areas: "shop price" "title title" "stock go"; gap: 4px 12px; }
  .oshop { grid-area: shop; }
  .otitle { grid-area: title; }
  .ostock { grid-area: stock; }
  .oprice { grid-area: price; }
  .ogo { grid-area: go; }
  .drop { grid-template-columns: 1fr auto; }
  .dshop, .dpct { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.cat-tile:hover { border-color: var(--accent); }
.cat-tile span, .sub-tile span { font-size: 13px; color: var(--muted); }
.cat-tile.empty, .sub-tile.empty { opacity: .55; }
.sub-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sub-tile { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; display: flex; gap: 8px; align-items: baseline; font-weight: 500; }
.sub-tile:hover { border-color: var(--accent); }
.tree { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 20px; columns: 3 260px; }
.tree > ul { margin: 0; padding: 0; }
.tree ul { list-style: none; padding-left: 14px; }
.tree > ul > li { break-inside: avoid; padding: 10px 0; font-weight: 600; }
.tree li li { font-weight: 400; padding: 2px 0; }
.tree a:hover { color: var(--accent); }
.tree .n { font-size: 12px; color: var(--muted); }
.pcat { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.specs { background: var(--card); border: 1px solid var(--line); border-radius: 14px; border-collapse: separate; border-spacing: 0; width: 100%; max-width: 640px; overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 9px 16px; border-top: 1px solid var(--line); }
.specs tr:first-child th, .specs tr:first-child td { border-top: 0; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; }
.badge-low { display: inline-block; margin-top: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.pad { padding: 16px; margin: 0; }

.admin-nav { display: flex; gap: 6px; margin-top: 16px; }
.admin-nav a { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.kpis div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; color: var(--muted); font-size: 13px; }
.kpis strong { display: block; font-size: 24px; color: var(--text); }
.admin-table { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 8px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table .err { color: #c03221; font-size: 12px; }
.inline { display: inline-flex; gap: 4px; margin: 2px 4px 2px 0; }
.inline input, .admin-form input, .admin-form select, .admin-form textarea, .filters input { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.inline button, .admin-form button, .filters button { font: inherit; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.admin-form { display: grid; gap: 10px; max-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.admin-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.admin-form .check { flex-direction: row; align-items: center; color: var(--text); }

.ctiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px 10px; margin: 8px 0 20px; }
.ctile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ctile-img { width: 96px; height: 96px; border-radius: 50%; background: var(--ico-bg); border: 1px solid transparent; display: grid; place-items: center; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.ctile-img svg { width: 72%; height: 72%; }
.ctile-img.more { font-weight: 600; color: var(--accent); font-size: 14px; }
.ctile:hover .ctile-img { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.ctile-name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.cboxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-bottom: 8px; }
.cbox { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.cbox:hover { border-color: var(--accent); }
.cbox-img { flex: none; width: 52px; height: 52px; display: grid; place-items: center; }
.cbox-img { background: var(--ico-bg); border-radius: 50%; }
.cbox-img svg { width: 80%; height: 80%; }
.cbox-name { display: flex; flex-direction: column; font-weight: 500; line-height: 1.35; }
.cbox-name small { font-size: 12px; color: var(--muted); font-weight: 400; }
.csec h2 a:hover, .csec h3 a:hover { color: var(--accent); }
.csec h3 { font-size: 16px; margin: 18px 0 10px; color: var(--muted); }
@media (max-width: 760px) {
  .ctiles { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .ctile-img { width: 76px; height: 76px; }
  .ctile-name { font-size: 13px; }
  .cboxes { grid-template-columns: 1fr 1fr; }
  .cbox { padding: 8px 10px; gap: 8px; }
  .cbox-img { width: 40px; height: 40px; }
}

.theme-btn { border: 1px solid var(--line); background: var(--card); color: var(--text); width: 38px; height: 38px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme-btn:hover { border-color: var(--accent); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}
.pimg, .phead img { background: #ffffff; border-radius: 10px; }

.thumb { position: relative; }
.dbadge { position: absolute; top: 8px; left: 8px; background: #e8f6ee; color: #12733b; font-weight: 700; font-size: 13px; padding: 2px 8px; border-radius: 6px; }
.was { color: var(--muted); font-size: 13px; margin-right: 6px; }
.h-link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.h-link a { font-size: 14px; font-weight: 500; color: var(--accent); }
.lead { margin: -4px 0 16px; }
.deals-layout { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; }
.fpanel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 14px 14px; position: sticky; top: 80px; }
.fpanel h3 { font-size: 14px; margin: 14px 0 6px; }
.fopt { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 6px; font-size: 14px; }
.fopt:hover { background: var(--ico-bg); }
.fopt.on { background: var(--best); color: var(--accent); font-weight: 600; }
.fopt .n { color: var(--muted); font-size: 12px; }
.sortbar { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.sortbar a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); }
.sortbar a.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
@media (max-width: 760px) {
  .deals-layout { grid-template-columns: 1fr; }
  .fpanel { position: static; }
}

.phead2 { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: 32px; align-items: center; margin: 12px 0 8px; }
.pimg2 { background: #ffffff; border-radius: 12px; height: 320px; display: grid; place-items: center; padding: 16px; }
.pimg2 img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pinfo2 h1 { font-size: 30px; line-height: 1.25; margin: 0 0 10px; }
.specline { color: var(--muted); margin: 0 0 18px; }
.bestline { font-size: 16px; margin-bottom: 14px; }
.bestline strong { color: var(--accent); font-size: 26px; margin: 0 4px; }
.jump { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 500; }
.jump:hover { border-color: var(--accent); }
.ochips { margin-bottom: 10px; }
.chip { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.chip.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.olist { display: flex; flex-direction: column; gap: 10px; }
.olist.only-stock .is-out { display: none; }
.orow { display: grid; grid-template-columns: 150px 1fr auto auto; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.orow:hover { border-color: var(--line-strong); }
.ologo { display: flex; flex-direction: column; gap: 4px; }
.ologo .slogo { width: 110px; height: 34px; border: 0; padding: 0; justify-content: flex-start; background: none; }
.ologo .slogo img { max-width: 110px; max-height: 28px; }
:root[data-theme="dark"] .ologo .slogo { background: #fff; border-radius: 6px; padding: 2px 6px; width: auto; justify-content: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ologo .slogo { background: #fff; border-radius: 6px; padding: 2px 6px; width: auto; justify-content: center; } }
.oname { font-size: 12px; color: var(--muted); }
.otitle2 { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.oprice2 { text-align: right; min-width: 0; }
.odel { font-size: 12px; color: var(--muted); }
.oprice2 strong { font-size: 19px; }
.oprice2 s { color: var(--muted); font-size: 13px; }
.tag-best { display: inline-block; font-size: 12px; font-weight: 600; color: var(--ok); margin-bottom: 2px; }
.ostat { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.ostat i { width: 8px; height: 8px; border-radius: 50%; background: var(--out); display: inline-block; }
.ostat.ok i { background: var(--ok); }
.ostat.order i { background: var(--order); }
.ogo2 { background: var(--text); color: var(--card); font-weight: 600; padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.ogo2:hover { opacity: .88; }
.ranges { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 8px; }
.ranges button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.ranges button.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.chart-box2 { height: 300px; }
.pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pcard { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; background: var(--card); }
.pcard > span:first-child { color: var(--muted); font-size: 14px; }
.pcard strong { font-size: 22px; }
.pcard .slogo { border: 0; padding: 0; width: 100px; justify-content: flex-start; }
.tr-down { color: var(--ok); }
.tr-up { color: #d64545; }
.specs2 { width: 100%; max-width: 680px; border-collapse: collapse; }
.specs2 th, .specs2 td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs2 th { width: 38%; font-weight: 600; }
.specs2 td { color: var(--muted); }
@media (max-width: 760px) {
  .phead2 { grid-template-columns: 1fr; gap: 12px; }
  .pimg2 { height: 220px; }
  .pinfo2 h1 { font-size: 22px; }
  .orow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo price" "title title" "go go"; gap: 6px 12px; }
  .odel { max-width: 180px; margin-left: auto; }
  .ologo { grid-area: logo; }
  .otitle2 { grid-area: title; }
  .oprice2 { grid-area: price; }
  .ogo2 { grid-area: go; text-align: center; }
  .pcards { grid-template-columns: 1fr; }
}
.gallery { display: flex; gap: 12px; }
.gallery .pimg2 { flex: 1; }
.gthumbs { display: flex; flex-direction: column; gap: 8px; }
.gthumbs button { width: 56px; height: 56px; padding: 4px; background: #ffffff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.gthumbs button.on { border-color: var(--accent); }
.gthumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) { .gallery { flex-direction: column-reverse; } .gthumbs { flex-direction: row; overflow-x: auto; } }

.noimg { width: 72px; height: 72px; border-radius: 50%; background: var(--ico-bg); display: grid; place-items: center; }
.noimg svg { width: 70%; height: 70%; }
.noimg.big { width: 160px; height: 160px; }
.chart-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-bar .ranges { margin: 0; flex-wrap: wrap; }
.shopsel { position: relative; }
.shopsel-menu { display: none; position: absolute; z-index: 10; top: 40px; left: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 200px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.shopsel-menu.open { display: block; }
.shopsel-menu label { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-size: 14px; cursor: pointer; font-weight: 500; }
.chart-box2 { position: relative; }
.ctip { position: absolute; pointer-events: none; opacity: 0; transition: opacity .1s; width: 280px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.14); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; z-index: 5; }
.ctip strong { font-size: 16px; }
.ctip span { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.ctip em { font-style: normal; color: var(--muted); font-size: 13px; }
.pcard-go { position: relative; }
.pcard-go:hover { border-color: var(--accent); }
.go-arrow { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--card); display: grid; place-items: center; font-style: normal; }
#gmain { cursor: zoom-in; }
.lb { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 20, .92); align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 24px 16px; }
.lb.open { display: flex; }
.lb #lbimg { max-width: min(92vw, 1000px); max-height: 74vh; object-fit: contain; background: #ffffff; border-radius: 12px; padding: 16px; }
.lb-x { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; }
.lb-nav { position: absolute; top: 45%; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 40px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 92vw; }
.lb-thumbs img { width: 60px; height: 60px; object-fit: contain; background: #ffffff; border-radius: 8px; padding: 4px; cursor: pointer; opacity: .6; border: 2px solid transparent; }
.lb-thumbs img.on { opacity: 1; border-color: var(--accent); }
.intro { max-width: 680px; }
.intro a { color: var(--accent); }
.sgroup { font-size: 13px; color: var(--muted); margin: 18px 0 2px 12px; }
.spec-wrap.collapsed { max-height: 520px; overflow: hidden; position: relative; }
.spec-wrap.collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--bg)); }
.spec-more { margin: 10px 0 0 180px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--ico-bg); }
.fact.rank { background: var(--accent); color: #fff; font-weight: 600; }
.fact.tr-down { color: var(--ok); font-weight: 600; }
.fact.tr-up { color: #d64545; font-weight: 600; }
.ptabs { position: sticky; top: 64px; z-index: 4; background: var(--bg); display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 20px 0 0; }
.ptabs a { padding: 10px 16px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; }
.ptabs a:hover { color: var(--accent); border-bottom-color: var(--accent); }
html { scroll-padding-top: 120px; }
.gthumbs .gmore { font: inherit; font-weight: 600; color: var(--text); border-radius: 50%; }

.ctip-shops { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.ctip-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ctip-row i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ctip-row b { margin-left: auto; }
