/* Site color picker (ThemeColors board, 2026-11-14).
 * Palettes swap only the gold/blue tokens. On change, theme-color.js blends the tokens frame by frame
 * (inline custom properties on <html>), then hands over to these rules, so the switch is smooth everywhere.
 * Holiday packs win: palettes apply only while data-tnt-theme="default". */

/* Palettes. Second colors hold white label text at 4.5:1 or better, so readable = accent. */
:root[data-tnt-theme="default"][data-tnt-color="red"] { --tnt-gold: #e8898a; --tnt-gold-2: #f4b5b5; --tnt-accent: #a6474d; --tnt-accent-text: #e9a3a7; --tnt-accent-readable: #a6474d; }
:root[data-tnt-theme="default"][data-tnt-color="orange"] { --tnt-gold: #eda36f; --tnt-gold-2: #f6c7a2; --tnt-accent: #a2552a; --tnt-accent-text: #eab08c; --tnt-accent-readable: #a2552a; }
:root[data-tnt-theme="default"][data-tnt-color="green"] { --tnt-gold: #8fc98f; --tnt-gold-2: #bfe3bf; --tnt-accent: #3f7d4f; --tnt-accent-text: #a5d4ae; --tnt-accent-readable: #3f7d4f; }
:root[data-tnt-theme="default"][data-tnt-color="teal"] { --tnt-gold: #7cc8c2; --tnt-gold-2: #b4e3df; --tnt-accent: #2f7773; --tnt-accent-text: #92d0ca; --tnt-accent-readable: #2f7773; }
:root[data-tnt-theme="default"][data-tnt-color="blue"] { --tnt-gold: #84aee8; --tnt-gold-2: #b7d0f4; --tnt-accent: #4466b0; --tnt-accent-text: #a9c0ee; --tnt-accent-readable: #4466b0; }
:root[data-tnt-theme="default"][data-tnt-color="purple"] { --tnt-gold: #b59ae8; --tnt-gold-2: #d7c8f5; --tnt-accent: #6b4fa8; --tnt-accent-text: #c4b1ee; --tnt-accent-readable: #6b4fa8; }
:root[data-tnt-theme="default"][data-tnt-color="pink"] { --tnt-gold: #ec9cc3; --tnt-gold-2: #f6c6de; --tnt-accent: #a14a7a; --tnt-accent-text: #eeaacd; --tnt-accent-readable: #a14a7a; }

/* ---- Desktop: Color button + panel in the top strip ---- */
.tnt-strip__links { display: inline-flex; align-items: center; gap: 18px; }
.tnt-cpick { position: relative; display: inline-flex; }
.tnt-cpick__btn { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border: 0; cursor: pointer; background: #17171a; color: var(--tnt-text); font-family: var(--tnt-font-ui); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tnt-gold) 60%, transparent); transition: background-color .15s, color .15s; }
.tnt-cpick__btn:hover, .tnt-cpick__btn[aria-expanded="true"] { background: #202024; color: var(--tnt-white); }
.tnt-cpick__dots { display: inline-flex; }
.tnt-cpick__dots i { width: 10px; height: 10px; border-radius: 50%; margin-left: -3px; background: var(--tnt-gold); box-shadow: 0 0 0 2px #17171a; }
.tnt-cpick__dots i:first-child { margin-left: 0; }
.tnt-cpick__dots i + i { background: var(--tnt-accent); }
.tnt-cpanel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 90; width: 400px; padding: 16px; background: #141417; border-top: 2px solid var(--tnt-gold); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 50px rgba(0, 0, 0, .6); font-family: var(--tnt-font-body); font-weight: 400; letter-spacing: normal; text-transform: none; text-align: left; color: var(--tnt-text); }
.tnt-cpanel::before { content: ""; position: absolute; right: 28px; top: -9px; width: 14px; height: 14px; transform: rotate(45deg); background: #141417; border-left: 2px solid var(--tnt-gold); border-top: 2px solid var(--tnt-gold); }
.tnt-cpanel__h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; font-family: var(--tnt-font-ui); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tnt-white); }
.tnt-cpanel__reset { padding: 0; border: 0; cursor: pointer; background: none; font: inherit; font-size: 10px; letter-spacing: .1em; color: var(--tnt-dim); }
.tnt-cpanel__reset:hover { color: var(--tnt-white); }
.tnt-cpanel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tnt-csw { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; border: 0; cursor: pointer; background: #1b1b1f; color: var(--tnt-text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: background-color .15s, box-shadow .15s; }
.tnt-csw:hover { background: #232328; }
.tnt-csw[aria-pressed="true"] { background: #202026; box-shadow: inset 0 0 0 2px var(--sw-p); }
.tnt-csw__chip { display: flex; width: 100%; height: 24px; overflow: hidden; }
.tnt-csw__chip i { flex: 2; background: var(--sw-p); }
.tnt-csw__chip i + i { flex: 1; background: var(--sw-a); }
.tnt-csw__n { font-family: var(--tnt-font-ui); font-weight: 700; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.tnt-csw__ck { position: absolute; top: 6px; right: 6px; display: none; width: 18px; height: 18px; align-items: center; justify-content: center; background: var(--sw-p); color: #101010; font-size: 11px; line-height: 1; }
.tnt-csw[aria-pressed="true"] .tnt-csw__ck { display: flex; }
.tnt-cpanel__f, .tnt-cpanel__note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--tnt-dim); }
.tnt-cpanel__note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--tnt-muted); }
.tnt-cpick.is-holiday .tnt-cpick__dots i { background: var(--tnt-accent); }
.tnt-cpick.is-holiday .tnt-cpick__dots i + i { background: #2f8a4f; }

/* ---- Phone: Site color row in the menu sheet ---- */
.tnt-crow { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 4px; padding-top: 16px; border-top: 1px solid var(--tnt-line-soft); }
.tnt-crow__l { font-family: var(--tnt-font-ui); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tnt-muted); }
.tnt-crow__dots { display: grid; grid-template-columns: repeat(8, 32px); justify-content: space-between; gap: 12px 0; }
.tnt-cdot { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: conic-gradient(var(--sw-p) 0 66%, var(--sw-a) 0); box-shadow: 0 0 0 2px var(--tnt-bg-deep), 0 0 0 3px rgba(255, 255, 255, .15); }
.tnt-cdot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--tnt-bg-deep), 0 0 0 4px var(--sw-p); }
.tnt-crow__note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--tnt-dim); }
@media (max-width: 360px) {
	.tnt-crow__dots { grid-template-columns: repeat(4, 32px); justify-content: start; gap: 12px 14px; }
}
@media (max-width: 760px) {
	.tnt-cpick { display: none; }
}
