/* Hormuz Toman Frontline — v5.0.0 "Chart Table"
 * One clean layer: no !important override chains, no backdrop-filter over the WebGL canvas,
 * no animated full-screen grain. Panels sit in a solid deck beside the scene, not on top of it. */

.htb-app {
	--ink: #07100e; --ink-2: #0b1714; --ink-3: #0f1f1b; --ink-4: #142823;
	--line: rgba(214, 178, 104, .13); --line-2: rgba(214, 178, 104, .28);
	--brass: #d6b268; --brass-hi: #f0d590; --bid: #2fc28e; --ask: #e1606e;
	--text: #ece4cf; --muted: #93a19a; --faint: #62716a;
	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--deck-h: 212px;
	position: relative; box-sizing: border-box; width: 100%; height: var(--htb-height, 900px); min-height: 620px; margin: 0;
	overflow: hidden; isolation: isolate; contain: layout paint;
	border: 1px solid var(--line); border-radius: 14px; background: var(--ink); color: var(--text);
	font: 400 13px/1.45 var(--mono); font-variant-numeric: tabular-nums; text-align: start;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.htb-app[dir="rtl"] { --serif: "Vazirmatn", "Vazir", Tahoma, sans-serif; --mono: "Vazirmatn", "Vazir", Tahoma, sans-serif; }
.htb-app *, .htb-app *::before, .htb-app *::after { box-sizing: border-box; }
/* theme-proof resets (Kadence and most block themes style bare buttons, lists and headings) */
.htb-app button { appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; letter-spacing: normal; line-height: inherit; min-height: 0; text-transform: none; text-shadow: none; cursor: pointer; }
.htb-app h2, .htb-app h3, .htb-app p, .htb-app ol, .htb-app dl, .htb-app dd, .htb-app figure { margin: 0; padding: 0; }
.htb-app h2, .htb-app h3 { color: var(--text); letter-spacing: normal; text-transform: none; }
.htb-app ol { list-style: none; }
.htb-app a { color: inherit; text-decoration: none; box-shadow: none; }
.htb-app [hidden] { display: none !important; }
.htb-app :focus { outline: none; }
.htb-app :focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 2px; }
.htb-app svg { display: block; }
.htb-app--embed-full { height: 100vh; height: 100svh; border: 0; border-radius: 0; }
.htb-app:fullscreen { width: 100vw; height: 100vh; border: 0; border-radius: 0; }
.htb-app noscript { display: grid; place-items: center; height: 100%; color: var(--muted); }
/* server-rendered placeholder, replaced as soon as the script runs */
.htb-ssr { display: grid; place-content: center; justify-items: center; gap: 10px; height: 100%; min-height: 560px; color: var(--muted); text-align: center; }
.htb-ssr .htb-mark { width: 40px; height: 40px; }
.htb-ssr strong { color: var(--text); font: 500 22px/1.2 var(--serif); }
.htb-ssr span { font-size: 12px; }

.htb-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) 48px var(--deck-h) auto; height: 100%; }

/* ------------------------------------------------------------------ header */
.htb-top { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px; padding: 14px 20px 13px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.htb-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.htb-mark { flex: 0 0 auto; width: 34px; height: 34px; fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linecap: round; }
.htb-mark circle { fill: var(--brass); stroke: none; }
.htb-id > div { display: grid; min-width: 0; }
.htb-id__brand { color: var(--brass); font-size: 11px; letter-spacing: .02em; }
.htb-id__title { color: var(--text); font: 500 20px/1.1 var(--serif); font-variation-settings: "opsz" 36; white-space: nowrap; }
.htb-id__sub { overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.htb-quote { display: flex; align-items: flex-end; gap: 26px; }
.htb-quote__main { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; }
.htb-quote__label { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.htb-quote__price { color: var(--text); font: 500 40px/1 var(--serif); font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.htb-quote__price.is-up { animation: htb-tick-up 1.1s ease-out; }
.htb-quote__price.is-down { animation: htb-tick-down 1.1s ease-out; }
@keyframes htb-tick-up { from { color: var(--bid); } to { color: var(--text); } }
@keyframes htb-tick-down { from { color: var(--ask); } to { color: var(--text); } }
.htb-quote__unit { color: var(--muted); font-size: 12px; font-style: normal; }
.htb-quote__facts { display: flex; gap: 20px; padding-bottom: 3px; }
.htb-quote__facts > div { display: grid; gap: 2px; }
.htb-quote__facts dt { color: var(--faint); font-size: 10.5px; white-space: nowrap; }
.htb-quote__facts dd { color: var(--text); font-size: 13px; white-space: nowrap; }
.htb-quote__facts dd.is-up { color: var(--bid); } .htb-quote__facts dd.is-down { color: var(--ask); }
.htb-quote__facts .is-stale dd { color: var(--muted); }
.htb-quote__facts [data-role="nimaRow"] dd { color: var(--brass-hi); }

.htb-tools { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.htb-status { display: grid; grid-template-columns: 8px auto; column-gap: 7px; align-items: center; margin-inline-end: 8px; }
.htb-status i { grid-row: 1 / 3; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.htb-status span { color: var(--text); font-size: 12px; line-height: 1.1; }
.htb-status small { color: var(--faint); font-size: 10.5px; line-height: 1.2; }
.htb-status.is-live i { background: var(--bid); box-shadow: 0 0 0 3px rgba(47, 194, 142, .18); }
.htb-status.is-error i { background: var(--ask); box-shadow: 0 0 0 3px rgba(225, 96, 110, .18); }
.htb-status.is-loading i { animation: htb-blink 1.1s ease-in-out infinite; }
@keyframes htb-blink { 50% { opacity: .3; } }
.htb-app .htb-tool { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
.htb-app .htb-tool:hover { border-color: var(--line-2); background: var(--ink-3); color: var(--text); }
.htb-app .htb-tool svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.htb-app .htb-tool--text { width: auto; min-width: 34px; padding: 0 9px; font: 500 13px/1 "Vazirmatn", var(--mono); }
.htb-app .htb-tool[data-state="on"] { color: var(--brass-hi); border-color: var(--line-2); }
.htb-app .htb-tool[data-state="blocked"] { color: var(--brass-hi); border-color: var(--brass); animation: htb-call 1.8s ease-in-out infinite; }
@keyframes htb-call { 50% { box-shadow: 0 0 0 4px rgba(214, 178, 104, .18); } }

/* ------------------------------------------------------------------ stage */
.htb-stage-wrap { position: relative; min-height: 0; overflow: hidden; background: var(--ink); }
.htb-stage, .htb-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.htb-stage canvas { cursor: grab; touch-action: pan-y; }
.htb-stage canvas:active { cursor: grabbing; }
.htb-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(4, 9, 8, .55) 100%); transition: box-shadow .35s ease; }
.htb-impact--buy .htb-shade { box-shadow: inset 90px 0 120px -40px rgba(47, 194, 142, .22); }
.htb-impact--sell .htb-shade { box-shadow: inset -90px 0 120px -40px rgba(225, 96, 110, .22); }
.htb-flank { position: absolute; z-index: 2; top: 14px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11.5px; pointer-events: none; }
.htb-flank::before { content: ""; width: 18px; height: 2px; }
.htb-flank--bid { left: 18px; } .htb-flank--bid::before { background: var(--bid); }
.htb-flank--ask { right: 18px; flex-direction: row-reverse; } .htb-flank--ask::before { background: var(--ask); }

.htb-world-labels { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.htb-app .htb-world-label { position: absolute; left: 0; top: 0; display: grid; gap: 1px; padding: 4px 8px 5px; border: 1px solid var(--line); border-radius: 5px; background: rgba(9, 20, 17, .92); color: var(--text); text-align: start; white-space: nowrap; pointer-events: auto; cursor: default; transition: opacity .2s ease; will-change: transform; }
.htb-app .htb-world-label.is-bid { border-bottom: 2px solid var(--bid); }
.htb-app .htb-world-label.is-ask { border-bottom: 2px solid var(--ask); }
.htb-world-label span { font-size: 11.5px; font-weight: 500; }
.htb-world-label b { color: var(--muted); font-size: 10.5px; font-weight: 400; }
.htb-app .htb-world-label:hover { border-color: var(--line-2); }

.htb-toast { position: absolute; z-index: 5; top: 12px; left: 50%; display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 14px; min-width: 240px; padding: 9px 14px 10px; border: 1px solid var(--line-2); border-inline-start: 3px solid var(--brass); border-radius: 6px; background: var(--ink-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transform: translate(-50%, -8px); transition: opacity .2s ease, transform .2s ease; }
.htb-toast.is-open { opacity: 1; transform: translate(-50%, 0); }
.htb-toast.is-bid { border-inline-start-color: var(--bid); } .htb-toast.is-ask { border-inline-start-color: var(--ask); }
.htb-toast span { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.htb-toast strong { color: var(--text); font: 500 18px/1.2 var(--serif); }
.htb-toast small { color: var(--muted); font-size: 12px; text-align: end; }

.htb-inspector { position: absolute; z-index: 6; left: 0; top: 0; width: 244px; padding: 12px 14px; border: 1px solid var(--line-2); border-top: 2px solid var(--brass); border-radius: 6px; background: var(--ink-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); pointer-events: none; }
.htb-inspector.is-bid { border-top-color: var(--bid); } .htb-inspector.is-ask { border-top-color: var(--ask); }
.htb-inspector > span { color: var(--muted); font-size: 11px; }
.htb-inspector > strong { display: block; margin-top: 2px; font: 500 24px/1.1 var(--serif); }
.htb-inspector > strong small { color: var(--muted); font: 400 11px var(--mono); }
.htb-inspector dl { display: grid; gap: 5px; margin-top: 10px; }
.htb-inspector dl div { display: flex; justify-content: space-between; gap: 12px; }
.htb-inspector dt { color: var(--muted); font-size: 11.5px; }
.htb-inspector dd { color: var(--text); font-size: 12px; }
.htb-inspector em { display: inline-block; margin-top: 10px; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--brass-hi); font-size: 11px; font-style: normal; }

.htb-overlay { position: absolute; z-index: 8; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(7, 16, 14, .9); }
.htb-boot { background: var(--ink); transition: opacity .6s ease, visibility .6s ease; }
.htb-boot.is-done { opacity: 0; visibility: hidden; }
.htb-overlay__card { display: grid; justify-items: center; gap: 14px; width: min(380px, 100%); text-align: center; }
.htb-overlay__card .htb-mark { width: 44px; height: 44px; }
.htb-overlay__card h2 { font: 500 22px/1.2 var(--serif); }
.htb-overlay__card p { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.htb-overlay__card code { max-width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--faint); font: 400 11px/1.5 var(--mono); overflow-wrap: anywhere; }
.htb-overlay__card code:empty { display: none; }
.htb-boot__checks { display: grid; gap: 1px; width: 100%; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--line); }
.htb-boot__checks li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; background: var(--ink-2); text-align: start; }
.htb-boot__checks i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.htb-boot__checks span { color: var(--text); font-size: 12.5px; }
.htb-boot__checks b { color: var(--faint); font-size: 11.5px; font-weight: 400; }
.htb-boot__checks .is-waiting i { animation: htb-blink 1.1s ease-in-out infinite; }
.htb-boot__checks .is-ready i { background: var(--bid); } .htb-boot__checks .is-ready b { color: var(--bid); }
.htb-boot__checks .is-failed i { background: var(--ask); } .htb-boot__checks .is-failed b { color: var(--ask); }
.htb-app .htb-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border: 1px solid var(--brass); border-radius: 8px; background: var(--brass); color: var(--ink); font-size: 12.5px; font-weight: 500; }
.htb-app .htb-btn:hover { background: var(--brass-hi); }
.htb-app .htb-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* ------------------------------------------------------------------ price axis */
.htb-axis { position: relative; border-top: 1px solid var(--line); background: var(--ink); }
.htb-axis canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

/* ------------------------------------------------------------------ deck */
.htb-deck { display: grid; grid-template-columns: minmax(290px, 1fr) minmax(0, 1.35fr) minmax(290px, 1fr); min-height: 0; border-top: 1px solid var(--line); background: var(--ink-2); }
.htb-no-feed .htb-deck { grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr); }
.htb-no-depth .htb-deck { grid-template-columns: minmax(300px, 1fr) minmax(0, 1.4fr); }
.htb-no-feed.htb-no-depth .htb-deck { grid-template-columns: 1fr; }
.htb-no-feed .htb-card--feed, .htb-no-depth .htb-card--depth { display: none; }
.htb-tabs { display: none; }
.htb-card { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 14px 18px 12px; }
.htb-card + .htb-card { border-inline-start: 1px solid var(--line); }
.htb-card > header { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px; row-gap: 2px; margin-bottom: 10px; }
.htb-card h3 { font: 500 16px/1.2 var(--serif); }
.htb-card > header p { color: var(--muted); font-size: 11.5px; }
.htb-key { display: flex; gap: 12px; margin-inline-start: auto; font-size: 11px; color: var(--muted); }
.htb-key span::before { content: ""; display: inline-block; width: 12px; height: 2px; margin-inline-end: 6px; vertical-align: middle; }
.htb-key .is-bid::before { background: var(--bid); } .htb-key .is-ask::before { background: var(--ask); }

.htb-card--control > header p { color: var(--brass-hi); }
.htb-tug { position: relative; height: 10px; direction: ltr; border-radius: 2px; background: var(--ask); }
.htb-tug i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: 2px 0 0 2px; background: var(--bid); transition: width .6s cubic-bezier(.3, .7, .2, 1); }
.htb-tug b { position: absolute; top: -5px; bottom: -5px; left: calc(var(--p) * 100%); width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--brass-hi); box-shadow: 0 0 0 2px var(--ink-2); transition: left .6s cubic-bezier(.3, .7, .2, 1); }
.htb-tug::after { content: ""; position: absolute; left: 50%; top: 12px; width: 1px; height: 5px; background: var(--faint); }
.htb-tug__scale { display: flex; justify-content: space-between; margin-top: 8px; direction: ltr; font-size: 11.5px; }
.htb-app .is-bid { color: var(--bid); } .htb-app .is-ask { color: var(--ask); }
.htb-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 12px; }
.htb-facts > div { position: relative; display: grid; gap: 2px; min-width: 0; }
.htb-facts dt { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htb-facts dd { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; }
.htb-facts dd strong { color: var(--text); font-size: 14px; font-weight: 500; white-space: nowrap; }
.htb-facts .is-bid dd strong { color: var(--bid); } .htb-facts .is-ask dd strong { color: var(--ask); }
.htb-facts dd strong.is-bid { color: var(--bid); } .htb-facts dd strong.is-ask { color: var(--ask); }
.htb-facts dd small { color: var(--muted); font-size: 11px; }
.htb-sep { color: var(--faint); }
.htb-flowbar { display: block; height: 2px; margin-top: 3px; direction: ltr; background: linear-gradient(90deg, var(--bid) calc(var(--f) * 100%), var(--ask) calc(var(--f) * 100%)); opacity: .8; }

.htb-card--depth canvas { display: block; flex: 1 1 auto; width: 100%; min-height: 0; cursor: crosshair; }

.htb-feed { flex: 1 1 auto; min-height: 0; margin: 0 -6px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.htb-feed li { display: grid; grid-template-columns: 3px minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; min-height: 27px; padding: 0 6px; border-bottom: 1px solid rgba(214, 178, 104, .07); font-size: 12px; }
.htb-feed li > i { width: 3px; height: 13px; border-radius: 1px; background: var(--brass); }
.htb-feed li.is-bid > i { background: var(--bid); } .htb-feed li.is-ask > i { background: var(--ask); }
.htb-feed li strong { overflow: hidden; color: var(--text); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.htb-feed li.is-event strong { color: var(--brass-hi); }
.htb-feed li span, .htb-feed li b { color: var(--muted); font-weight: 400; text-align: end; }
.htb-feed li b { color: var(--text); }
.htb-feed li time { color: var(--faint); font-size: 11px; }
.htb-feed .htb-feed__empty { display: block; padding: 18px 6px; border: 0; color: var(--muted); text-align: center; }

.htb-foot { display: flex; justify-content: space-between; gap: 16px; padding: 7px 20px 8px; border-top: 1px solid var(--line); background: var(--ink); color: var(--faint); font-size: 10.5px; }
.htb-foot small { font-size: inherit; }

/* ------------------------------------------------------------------ guide */
.htb-modal { position: absolute; z-index: 20; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(4, 9, 8, .82); }
.htb-modal__card { position: relative; width: min(720px, 100%); max-height: 100%; overflow-y: auto; padding: 32px 34px 28px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ink-2); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.htb-app .htb-modal__close { position: absolute; top: 14px; right: 14px; }
.htb-app[dir="rtl"] .htb-modal__close { right: auto; left: 14px; }
.htb-modal h2 { max-width: 30ch; font: 500 30px/1.15 var(--serif); font-variation-settings: "opsz" 96; }
.htb-modal__lead { max-width: 62ch; margin-top: 12px; color: var(--text); font: 400 16px/1.65 var(--serif); }
.htb-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin: 24px 0 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.htb-guide h3 { color: var(--brass-hi); font: 500 16px/1.3 var(--serif); }
.htb-guide p { margin-top: 5px; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.htb-modal__controls { color: var(--text); font-size: 12.5px; line-height: 1.6; }
.htb-modal__note { margin-top: 8px; color: var(--faint); font-size: 11.5px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
	.htb-top { gap: 18px; }
	.htb-hide-sm { display: none !important; }
	.htb-quote__price { font-size: 34px; }
	.htb-deck { grid-template-columns: minmax(270px, 1fr) minmax(0, 1.2fr) minmax(260px, 1fr); }
	.htb-status small { display: none; }
}
@media (max-width: 980px) {
	.htb-top { grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; }
	.htb-quote { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
	.htb-status { display: none; }
	.htb-app { --deck-h: 300px; }
	.htb-deck { display: flex; flex-direction: column; }
	.htb-card { display: none; flex: 1 1 auto; }
	.htb-tabs { display: flex; gap: 4px; padding: 10px 12px 0; }
	.htb-app .htb-tabs button { flex: 1; min-height: 34px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 12.5px; }
	.htb-app .htb-tabs button[aria-selected="true"] { border-color: var(--brass); background: var(--ink-4); color: var(--brass-hi); }
	.htb-card.is-active { display: flex; }
	.htb-card + .htb-card { border: 0; }
	.htb-no-feed .htb-card--feed, .htb-no-depth .htb-card--depth { display: none; }
}
@media (max-width: 760px) {
	.htb-app { height: auto; min-height: 0; border-radius: 12px; }
	.htb-app--embed-full { min-height: 100vh; min-height: 100svh; border-radius: 0; }
	.htb-shell { grid-template-rows: auto auto 44px auto auto; height: auto; }
	.htb-top { padding: 10px 12px 12px; gap: 10px; }
	.htb-mark { width: 28px; height: 28px; }
	.htb-id__title { font-size: 17px; }
	.htb-id__sub, .htb-id__brand { display: none; }
	.htb-tools { gap: 4px; }
	.htb-app .htb-tool { width: 32px; height: 32px; }
	.htb-tools [data-desktop] { display: none; }
	.htb-quote { flex-wrap: wrap; align-items: flex-end; gap: 10px 18px; }
	.htb-quote__price { font-size: 32px; }
	.htb-quote__facts { gap: 14px; flex-wrap: wrap; }
	.htb-stage-wrap { height: clamp(290px, 86vw, 460px); }
	.htb-app--embed-full .htb-stage-wrap { height: clamp(300px, 52svh, 560px); }
	.htb-flank { top: 10px; font-size: 11px; } .htb-flank--bid { left: 12px; } .htb-flank--ask { right: 12px; }
	.htb-world-labels { display: none; }
	.htb-toast { min-width: 0; width: max-content; max-width: calc(100% - 24px); }
	.htb-card { flex: none; height: 262px; padding: 12px 14px; }
	.htb-feed li { grid-template-columns: 3px minmax(0, 1fr) auto auto; }
	.htb-feed li span { display: none; }
	.htb-foot { flex-direction: column; gap: 2px; padding: 8px 12px 10px; }
	.htb-modal { position: fixed; padding: 12px; }
	.htb-modal__card { padding: 26px 20px 20px; }
	.htb-modal h2 { font-size: 24px; padding-inline-end: 36px; }
	.htb-guide { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 480px) {
	.htb-top { grid-template-columns: minmax(0, 1fr); }
	.htb-tools { grid-column: 1; grid-row: 2; justify-content: space-between; }
	.htb-quote { grid-row: 3; }
}
@media (max-width: 420px) {
	.htb-quote__facts > div:nth-child(2) { display: none; }
	.htb-facts { gap: 8px 12px; }
	.htb-facts dd strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.htb-app *, .htb-app *::before, .htb-app *::after { animation: none !important; transition: none !important; }
}
