html, body, #root { margin: 0; min-height: 100%; background: #17181a; }
.file-card.taly-card { background: #17181a; color: #f4f1ea; border-radius: 0; box-shadow: none; gap: 20px; padding-bottom: 0; font-family: inherit; --ds-ink: #f4f1ea; --ds-ink-2: #b9b4aa; --ds-hairline: #3a3b3e; }
.taly-card :focus-visible { outline: 2px solid #c9a86a; }
.taly-banner { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid #c9a86a; border-radius: 20px; background: #1e1f22; }
.taly-banner-icon { color: #c9a86a; flex: none; display: flex; width: 40px; height: 40px; border-radius: 50%; background: #2a2b2e; align-items: center; justify-content: center; }
.taly-banner-title { font-weight: 700; color: #fff; line-height: 22px; }
.taly-banner-note { color: #a9a49a; font-size: 14px; line-height: 20px; }
.taly-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.taly-chip { appearance: none; font: inherit; font-size: 15px; color: #f4f1ea; background: transparent; border: 1px solid #5a5b5e; border-radius: 999px; padding: 8px 16px; min-height: 44px; cursor: pointer; }
.taly-chip[aria-pressed="true"] { border-color: #c9a86a; color: #17181a; background: #c9a86a; }
.taly-hero { position: relative; border-radius: 20px; overflow: hidden; background: #222; }
.taly-hero > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.taly-badge-season { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(23,24,26,.88); color: #fff; font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.taly-strip { position: absolute; inset-inline: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(30,31,34,.96); border: 1px solid #3a3b3e; border-radius: 18px; }
.taly-strip-thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.taly-strip-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 18px; color: #a9a49a; }
.taly-strip-text strong { color: #fff; font-size: 14px; font-weight: 700; }
.taly-strip-btn { appearance: none; font: inherit; font-weight: 700; border: 0; border-radius: 999px; background: #c9a86a; color: #17181a; padding: 8px 16px; min-height: 44px; cursor: pointer; flex: none; }
.taly-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.taly-cardm { border: 1px solid #3a3b3e; border-radius: 20px; overflow: hidden; background: #1e1f22; display: flex; flex-direction: column; min-width: 0; }
.taly-photo { position: relative; }
.taly-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.taly-code { position: absolute; top: 10px; inset-inline-end: 10px; background: #17181a; color: #fff; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; direction: ltr; }
.taly-panel { padding: 14px 10px 10px; background: #24252a; text-align: center; display: flex; flex-direction: column; gap: 8px; flex: 1; align-items: stretch; }
.taly-name { margin: 0; font-size: 16px; line-height: 22px; font-weight: 700; color: #fff; }
.taly-ask { color: #c9a86a; font-size: 14px; line-height: 20px; }
.taly-copy, .taly-foot { display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 14px; }
.taly-copy .file-button, .taly-foot .file-button { color: #f4f1ea; max-width: 100%; padding: 0 8px; font-size: 14px; background: transparent; border-color: transparent; box-shadow: none; direction: ltr; }
.taly-copy .file-button { font-weight: 700; color: #fff; }
.taly-foot { border-top: 1px solid rgba(201,168,106,.35); background: rgba(201,168,106,.08); padding: 4px 6px; }
.taly-foot .file-button { color: #c9a86a; direction: rtl; }
.taly-wa { display: block; text-align: center; color: #fff; background: #1f8f4d; border-radius: 999px; padding: 10px 8px; min-height: 24px; text-decoration: none; font-size: 14px; font-weight: 700; margin-top: auto; }
.taly-empty { color: #a9a49a; text-align: center; }
.taly-bar { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 12px 0 14px; background: linear-gradient(180deg, rgba(23,24,26,0), #17181a 30%); z-index: 5; }
.taly-bar a, .taly-bar span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff; }
.taly-bar-wa { flex: 1.5; background: #1f9d55; }
.taly-bar-ms { flex: 1; background: #2a2622; border: 1px solid #3a3b3e; }
.taly-bar-ms[aria-disabled="true"] { opacity: .6; }
@media (max-width: 340px) { .taly-chip { font-size: 14px; padding: 8px 12px; } .taly-name { font-size: 15px; } .taly-strip-btn { padding: 8px 12px; } }
@media (max-width: 340px) { .taly-foot .file-button { font-size: 12px; padding: 0 4px; } .taly-wa { font-size: 13px; padding: 10px 4px; } .taly-strip { gap: 8px; padding: 8px; } .taly-strip-text strong { font-size: 13px; } .taly-strip-thumb { width: 44px; height: 44px; } }
.taly-foot .file-button, .taly-foot .file-button-slot, .taly-foot .file-button-face, .taly-foot .file-button-label { white-space: normal; width: auto; max-width: 100%; overflow: visible; text-overflow: clip; }
.taly-foot .file-button { height: auto; min-height: 36px; line-height: 16px; padding-block: 6px; }
.taly-price { color: #e6c98c; font-size: 16px; line-height: 22px; font-weight: 700; }
.taly-prices { border: 1px solid #3a3b3e; border-radius: 20px; background: #1e1f22; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.taly-prices-head { display: flex; flex-direction: column; gap: 4px; }
.taly-prices-head h2 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; color: #fff; }
.taly-prices-head p { margin: 0; font-size: 14px; line-height: 20px; color: #a9a49a; }
.taly-prices .file-list, .taly-prices ul, .taly-prices ol { margin: 0; }

/* ---- plain static build ---- */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
body { padding: 0; }
.file-card.taly-card { display: flex; flex-direction: column; width: 100%; max-width: 720px; margin: 0 auto; padding: 18px 14px 0; }
.taly-head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 6px 0 2px; }
.taly-logo { font-size: 30px; line-height: 36px; letter-spacing: 8px; font-weight: 700; color: #c9a86a; }
.taly-cod { font-size: 16px; line-height: 22px; font-weight: 700; color: #fff; }
.taly-note { font-size: 13px; line-height: 20px; color: #a9a49a; }
.taly-copy-btn { appearance: none; display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 0; box-shadow: none; font: inherit; font-size: 14px; font-weight: 700; color: #fff; padding: 0 6px; min-height: 36px; cursor: pointer; direction: ltr; }
.taly-copy-btn:hover { color: #c9a86a; }
.taly-copy-btn.is-done { color: #c9a86a; }
.taly-foot .taly-copy-btn { color: #c9a86a; direction: rtl; font-weight: 700; }
.taly-foot .taly-copy-btn.is-done { color: #fff; }
.taly-copy span { color: #a9a49a; }
@media (max-width: 340px) { .taly-logo { font-size: 26px; letter-spacing: 6px; } .taly-copy-btn { font-size: 13px; padding: 0 4px; } }

/* ---- pre-rendered build: works with JavaScript off ---- */
[hidden] { display: none !important; }
a.taly-strip-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.taly-wa, .taly-bar a { -webkit-tap-highlight-color: transparent; }
