:root {
  --rubber-bg: #09130f;
  --rubber-panel: #112219;
  --rubber-panel-2: #162b20;
  --rubber-line: rgba(195, 224, 184, .16);
  --rubber-text: #f2f6ed;
  --rubber-muted: #a4b4a6;
  --rubber-accent: #a7dc77;
  --rubber-accent-2: #e0b76d;
  --rubber-bark: #6f4f35;
  --rubber-up: #8be0a7;
  --rubber-warn: #ffd38b;
  --rubber-danger: #ffaaa3;
  --rubber-shadow: 0 25px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body.rubber-page { margin: 0; background: var(--rubber-bg); color: var(--rubber-text); font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif; line-height: 1.75; }
a { color: inherit; }
button, input, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden, .price-table caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-150%); padding: 10px 14px; border-radius: 8px; background: #fff; color: #111; font-weight: 800; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--rubber-line); background: rgba(9, 19, 15, .95); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; min-height: 69px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(167, 220, 119, .35); border-radius: 9px; background: rgba(167, 220, 119, .09); }
.brand img { display: block; }
.brand small { display: block; margin-top: -5px; color: #809488; font-size: 8px; letter-spacing: .16em; }
.top-nav { display: flex; align-items: center; justify-content: flex-end; gap: 19px; margin-left: auto; }
.top-nav a { color: #c1cec1; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--rubber-accent); }
.mobile-menu-toggle, .desktop-menu-toggle { border: 1px solid var(--rubber-line); border-radius: 9px; background: rgba(255, 255, 255, .03); color: #fff; }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; margin: auto; background: currentColor; content: ""; }
.menu-lines { position: relative; }
.menu-lines::before { position: absolute; top: -6px; }
.menu-lines::after { position: absolute; top: 6px; }

.rubber-hero { position: relative; overflow: hidden; padding: 34px 0 82px; background: radial-gradient(circle at 82% 28%, rgba(167, 220, 119, .15), transparent 28rem), radial-gradient(circle at 6% 86%, rgba(111, 79, 53, .26), transparent 31rem), linear-gradient(145deg, #0b1812, #0e2018 54%, #0c1812); }
.rubber-hero::after { position: absolute; inset: 0; pointer-events: none; opacity: .13; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 52px 52px; content: ""; mask-image: linear-gradient(to bottom, #000, transparent); }
.breadcrumb { position: relative; z-index: 1; display: flex; gap: 10px; align-items: center; margin-bottom: 55px; color: #85988b; font-size: 12px; }
.breadcrumb a { color: #b7c7ba; text-decoration: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr); gap: clamp(40px, 7vw, 90px); align-items: center; }
.kicker { margin: 0 0 12px; color: var(--rubber-accent); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy h1 { max-width: 800px; margin: 0; font-size: clamp(44px, 6.3vw, 84px); line-height: 1.07; letter-spacing: -.055em; }
.hero-copy h1 em { color: #c3d2c4; font-size: .52em; font-style: normal; font-weight: 650; letter-spacing: -.03em; }
.hero-lead { max-width: 760px; margin: 25px 0 0; color: #bdc9be; font-size: clamp(15px, 1.45vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--rubber-line); border-radius: 10px; font-size: 13px; font-weight: 800; text-decoration: none; }
.button-primary { border-color: var(--rubber-accent); background: var(--rubber-accent); color: #142312; }
.button-primary:hover { background: #b9eb8e; }
.button-ghost { background: rgba(255, 255, 255, .03); color: #d7e1d7; }
.hero-note { max-width: 700px; margin: 20px 0 0; color: #839487; font-size: 12px; }
.hero-price-card { overflow: hidden; border: 1px solid rgba(167, 220, 119, .28); border-radius: 22px; background: radial-gradient(circle at 100% 0, rgba(167, 220, 119, .14), transparent 55%), linear-gradient(145deg, #173024, #0e1d16); box-shadow: var(--rubber-shadow); }
.hero-card-head, .hero-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; }
.hero-card-head { border-bottom: 1px solid var(--rubber-line); color: #96aa99; font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.status-pill, .data-state { display: inline-flex; align-items: center; width: fit-content; padding: 4px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 1.25; letter-spacing: 0; }
.is-current { color: var(--rubber-up); }
.is-stale { color: var(--rubber-warn); }
.hero-card-body { padding: 37px 28px 34px; }
.hero-card-body > span { color: #bdc9be; font-size: 13px; }
.hero-card-body strong { display: block; margin: 7px 0 -2px; font-size: clamp(65px, 7vw, 96px); font-weight: 850; line-height: 1; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.hero-card-body small { color: var(--rubber-accent); font-size: 17px; font-weight: 700; }
.hero-card-body p { margin: 16px 0 0; color: #8ea091; font-size: 12px; }
.hero-card-foot { border-top: 1px solid var(--rubber-line); color: #8ea091; font-size: 11px; }
.hero-card-foot strong { color: #dce6dc; font-size: 13px; }

.quick-nav { border-block: 1px solid var(--rubber-line); background: #0d1a14; }
.quick-nav-inner { display: flex; align-items: center; min-height: 62px; gap: 31px; overflow-x: auto; white-space: nowrap; }
.quick-nav span { color: #6f8173; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.quick-nav a { color: #becbbf; font-size: 12px; text-decoration: none; }
.quick-nav a:hover { color: var(--rubber-accent); }

.section { padding-block: 88px; scroll-margin-top: 74px; }
.section-alt { border-block: 1px solid var(--rubber-line); background: #0c1913; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section h2, .sources h2 { max-width: 850px; margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.25; letter-spacing: -.04em; }
.section-intro { max-width: 790px; margin: 12px 0 0; color: var(--rubber-muted); font-size: 15px; }
.freshness { display: flex; flex: 0 0 auto; flex-direction: column; max-width: 275px; padding: 11px 14px; border: 1px solid var(--rubber-line); border-radius: 10px; background: rgba(255, 255, 255, .025); color: #cad5cb; text-align: right; }
.freshness strong { color: var(--rubber-accent); font-size: 12px; }
.freshness.is-stale strong { color: var(--rubber-warn); }
.freshness span { color: #85978a; font-size: 11px; }
.notice { margin: -7px 0 22px; padding: 15px 17px; border: 1px solid rgba(255, 211, 139, .3); border-radius: 11px; background: rgba(255, 211, 139, .075); color: #e8d6b7; font-size: 13px; }
.notice strong { color: var(--rubber-warn); }
.market-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.search-wrap { display: flex; width: min(410px, 100%); min-height: 44px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--rubber-line); border-radius: 10px; background: var(--rubber-panel); color: #829386; }
.search-wrap > span:first-child { color: var(--rubber-accent); font-size: 22px; }
.search-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--rubber-text); font-size: 13px; }
.search-wrap input::placeholder { color: #718276; }
.text-button { border: 0; background: none; color: var(--rubber-accent); font-size: 12px; font-weight: 800; cursor: pointer; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rubber-line); border-radius: 15px; background: var(--rubber-panel); }
.price-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 16px 17px; border-bottom: 1px solid var(--rubber-line); text-align: left; vertical-align: middle; }
.price-table thead th { background: #172a20; color: #93a597; font-size: 11px; font-weight: 800; white-space: nowrap; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody tr:hover { background: rgba(255, 255, 255, .022); }
.price-table tbody th { min-width: 190px; }
.price-table tbody th strong { display: block; margin-top: 2px; font-size: 13px; }
.price-table td { color: #bcc8bd; font-size: 12px; }
.price-table td small { display: block; max-width: 330px; margin-top: 4px; color: #778a7c; line-height: 1.45; }
.price-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.product-code { color: var(--rubber-accent); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.price-value strong { display: block; color: #fff; font-size: 18px; }
.price-value span { color: #849588; font-size: 10px; }
.source-link { color: #b9df98; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.empty-cell { padding: 36px !important; color: var(--rubber-muted) !important; text-align: center !important; }
.table-note { margin: 13px 0 0; color: #7f9183; font-size: 12px; }

.chart-card { padding: 25px; border: 1px solid var(--rubber-line); border-radius: 18px; background: var(--rubber-panel); }
.chart-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.chart-toolbar label, .calc-card label { display: flex; flex-direction: column; gap: 7px; color: #b6c5b7; font-size: 12px; font-weight: 750; }
select, input[type="number"] { min-height: 43px; padding: 0 12px; border: 1px solid rgba(189, 219, 178, .24); border-radius: 9px; outline: 0; background: #0d1b14; color: #f4f7f1; }
select:focus, input[type="number"]:focus { border-color: var(--rubber-accent); box-shadow: 0 0 0 3px rgba(167, 220, 119, .1); }
.chart-toolbar select { min-width: 270px; }
.periods { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.periods legend { margin-bottom: 7px; color: #b6c5b7; font-size: 12px; font-weight: 750; }
.periods label { padding: 7px 11px; border: 1px solid var(--rubber-line); border-radius: 8px; color: #aebdaf; cursor: pointer; font-size: 11px; }
.periods label:has(input:checked) { border-color: var(--rubber-accent); background: rgba(167, 220, 119, .1); color: var(--rubber-accent); }
.periods input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chart-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 25px; }
.chart-summary > div { padding: 14px 16px; border: 1px solid var(--rubber-line); border-radius: 10px; background: #0d1a14; }
.chart-summary span { display: block; color: #859789; font-size: 11px; }
.chart-summary strong { display: block; margin-top: 3px; font-size: 18px; font-variant-numeric: tabular-nums; }
.chart-frame { height: 310px; margin-top: 25px; border-bottom: 1px solid rgba(189, 219, 178, .25); background: repeating-linear-gradient(to bottom, transparent 0, transparent 76px, rgba(255, 255, 255, .045) 77px); }
.price-chart { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-line { fill: none; stroke: var(--rubber-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-area { fill: url(#rubber-area-gradient); }
.chart-point { fill: var(--rubber-accent); stroke: #13241a; stroke-width: 2; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 8px; color: #7e9082; font-size: 11px; }
.chart-status { margin: 14px 0 0; color: #859789; font-size: 12px; }

.world-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 17px; }
.world-table { min-width: 650px; }
.world-explainer { padding: 24px; border: 1px solid rgba(224, 183, 109, .25); border-radius: 15px; background: radial-gradient(circle at 100% 0, rgba(224, 183, 109, .12), transparent 60%), #182117; }
.world-explainer h3 { margin: 0 0 13px; color: var(--rubber-accent-2); font-size: 19px; }
.world-explainer ul { margin: 0; padding-left: 18px; color: #aebbae; font-size: 12px; }
.world-explainer li + li { margin-top: 8px; }
.world-explainer li::marker { color: var(--rubber-accent-2); }
.tradingview-panel { margin-top: 20px; padding: 21px; border: 1px solid var(--rubber-line); border-radius: 17px; background: var(--rubber-panel); }
.widget-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.widget-heading span { color: var(--rubber-accent); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.widget-heading h3 { margin: 2px 0 0; font-size: 20px; }
.widget-heading a { color: #c7d9c7; font-size: 11px; }
[data-tv-target] { position: relative; height: clamp(540px, 38vw, 680px); min-height: 540px; overflow: hidden; border-radius: 10px; background: #0c1712; }
[data-tv-target] > iframe { position: absolute !important; inset: 0; display: block; width: 100% !important; height: 100% !important; min-height: 100%; border: 0; }
.widget-loading { display: grid; height: 100%; margin: 0; place-items: center; color: #7f9282; font-size: 12px; }
.widget-note { margin: 10px 0 0; color: #7f9183; font-size: 11px; }

.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.calc-card, .calc-result { padding: 27px; border: 1px solid var(--rubber-line); border-radius: 17px; background: var(--rubber-panel); }
.calc-card { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.calc-card label:first-child, .calc-card > p { grid-column: 1 / -1; }
.calc-card input, .calc-card select { width: 100%; }
.calc-card > p { margin: 0; color: #7f9183; font-size: 11px; }
.calc-result { background: radial-gradient(circle at 100% 0, rgba(167, 220, 119, .13), transparent 55%), #14291e; }
.result-label { margin: 0; color: var(--rubber-accent); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.calc-result > strong { display: block; min-height: 57px; margin: 10px 0 2px; font-size: clamp(27px, 3.4vw, 43px); line-height: 1.35; letter-spacing: -.03em; }
.calc-result > p:not(.result-label) { margin: 0; color: #a6b8a8; font-size: 12px; }
.result-rule { height: 1px; margin: 21px 0; background: var(--rubber-line); }
.calc-result dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 18px; }
.calc-result dl div { min-width: 0; }
.calc-result dt { color: #7f9183; font-size: 10px; }
.calc-result dd { margin: 3px 0 0; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-result small { color: #7f9183; font-size: 11px; }

.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.knowledge-card { min-height: 210px; padding: 23px; border: 1px solid var(--rubber-line); border-radius: 14px; background: var(--rubber-panel); }
.knowledge-card > span { color: var(--rubber-accent); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.knowledge-card h3 { margin: 13px 0 8px; font-size: 17px; }
.knowledge-card p { margin: 0; color: #a1b1a3; font-size: 12px; }
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: rubber-step; }
.checklist li { position: relative; min-height: 145px; padding: 22px 20px 20px 58px; border: 1px solid var(--rubber-line); border-radius: 13px; background: var(--rubber-panel); counter-increment: rubber-step; }
.checklist li::before { position: absolute; top: 22px; left: 20px; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(167, 220, 119, .3); border-radius: 50%; color: var(--rubber-accent); font-size: 10px; font-weight: 850; content: counter(rubber-step, decimal-leading-zero); }
.checklist strong, .checklist span { display: block; }
.checklist strong { font-size: 14px; }
.checklist span { margin-top: 6px; color: #94a697; font-size: 12px; }
.factors-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 30px; margin-top: 18px; padding: 28px; border: 1px solid rgba(224, 183, 109, .26); border-radius: 15px; background: linear-gradient(120deg, #26311f, #122419); }
.factors-panel h3 { margin: 0; font-size: 24px; }
.factors-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 28px; margin: 0; padding-left: 20px; color: #bac7ba; font-size: 12px; }
.factors-panel li::marker { color: var(--rubber-accent-2); }

.faq-list { max-width: 950px; }
.faq-list details { border-bottom: 1px solid var(--rubber-line); }
.faq-list summary { padding: 18px 0; cursor: pointer; font-size: 14px; font-weight: 800; list-style: none; }
.faq-list summary::after { float: right; color: var(--rubber-accent); font-size: 21px; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 820px; margin: 0 0 19px; color: var(--rubber-muted); font-size: 13px; }

.sources { padding-block: 58px; border-block: 1px solid var(--rubber-line); background: #13231a; }
.sources-inner { display: grid; grid-template-columns: .78fr 1.22fr; gap: 54px; }
.sources p { margin: 0 0 13px; color: #a8b8aa; font-size: 12px; }
.source-list { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.source-list a { color: var(--rubber-accent); font-size: 11px; font-weight: 700; }
.share-section { padding-block: 28px; background: #0b1611; }
.share-wrapper { padding: 18px 0; border-top: 1px solid var(--rubber-line); }
.site-footer { padding-top: 48px; background: #07100c; }
.footer-grid { display: flex; justify-content: space-between; gap: 35px; }
.footer-grid p { max-width: 420px; color: #7f9183; font-size: 12px; }
.footer-grid nav { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 12px 20px; max-width: 520px; }
.footer-grid nav a { color: #a7b6a9; font-size: 12px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-block: 18px; border-top: 1px solid var(--rubber-line); color: #718276; font-size: 11px; }

@media (max-width: 980px) {
  .top-nav { gap: 13px; }
  .top-nav a { font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-price-card { max-width: 620px; }
  .world-grid { grid-template-columns: 1fr; }
  .knowledge-grid, .checklist { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 62px; }
  .mobile-menu-toggle { display: block; }
  .top-nav { display: none; position: absolute; top: 61px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 9px 14px 14px; border-bottom: 1px solid var(--rubber-line); background: #0c1913; }
  .top-nav.is-open { display: flex; }
  .top-nav a { padding: 10px; font-size: 13px; }
  .rubber-hero { padding-top: 24px; padding-bottom: 60px; }
  .breadcrumb { margin-bottom: 38px; }
  .hero-grid { gap: 34px; }
  .hero-copy h1 { font-size: clamp(40px, 12vw, 64px); }
  .quick-nav-inner { gap: 22px; }
  .section { padding-block: 68px; }
  .section-head { display: block; }
  .freshness { margin-top: 18px; text-align: left; }
  .chart-toolbar { display: block; }
  .chart-toolbar select { width: 100%; min-width: 0; }
  .periods { margin-top: 16px; }
  .chart-summary { grid-template-columns: 1fr 1fr; }
  .chart-summary > div:last-child { grid-column: 1 / -1; }
  .chart-frame { height: 235px; }
  [data-tv-target] { height: 520px; min-height: 520px; }
  .calculator-grid, .sources-inner, .factors-panel { grid-template-columns: 1fr; }
  .calc-result dl { grid-template-columns: 1fr; }
  .factors-panel ul { grid-template-columns: 1fr; }
  .widget-heading { display: block; }
  .widget-heading a { display: inline-block; margin-top: 7px; }
  .footer-grid, .footer-bottom { display: block; }
  .footer-grid nav { justify-content: flex-start; margin-top: 24px; }
  .footer-bottom span { display: block; margin-top: 7px; }
}

@media (max-width: 540px) {
  .hero-copy h1 em { display: block; margin-top: 8px; font-size: .46em; line-height: 1.35; }
  .hero-price-card { border-radius: 17px; }
  .hero-card-body strong { font-size: 65px; }
  .market-toolbar { align-items: flex-start; }
  .text-button { padding-top: 10px; white-space: nowrap; }
  .chart-card, .tradingview-panel { padding: 15px; }
  [data-tv-target] { height: 480px; min-height: 480px; }
  .chart-summary { grid-template-columns: 1fr; }
  .chart-summary > div:last-child { grid-column: auto; }
  .calculator-grid { gap: 12px; }
  .calc-card { grid-template-columns: 1fr; padding: 20px; }
  .calc-card label:first-child, .calc-card > p { grid-column: 1; }
  .calc-result { padding: 20px; }
  .knowledge-grid, .checklist { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 0; }
  .factors-panel { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
