/* ==========================================================================
   Template detail page — redesign (30 Sep 2026)

   The design sits on a soft stage at its real shape, next to one clear
   action panel; below come "More like this", reviews, FAQ and the quiet
   SEO text. Every class is prefixed tpd- so nothing here collides with the
   site's .btn / .card / .chip rules, and the resets use :where() so they
   never outrank a component rule.
   ========================================================================== */
.tpd-page {
  --tpd-brand: #2563eb;
  --tpd-brand-hover: #1d4ed8;
  --tpd-brand-soft: #eef3ff;
  --tpd-ink: #0f172a;
  --tpd-ink-2: #334155;
  --tpd-muted: #64748b;
  --tpd-faint: #94a3b8;
  --tpd-line: #e5e8ee;
  --tpd-line-soft: #eef0f4;
  --tpd-soft: #f7f8fa;
  --tpd-green: #047857;
  --tpd-green-soft: #e6f6ee;
  --tpd-gold: #b45309;
  --tpd-gold-soft: #fdf3dc;
  --tpd-heart: #e11d48;
  --tpd-star: #f59e0b;
  background: #fff;
}

:where(.tpd, .tpd-mbar, .tpd-menu, .tpd-lb) :where(h1, h2, h3, p, dl, dd) { margin: 0; }
:where(.tpd, .tpd-mbar, .tpd-menu, .tpd-lb) a { color: inherit; text-decoration: none; }
:where(.tpd, .tpd-mbar, .tpd-menu, .tpd-lb) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.tpd, .tpd-mbar, .tpd-menu, .tpd-lb) svg { flex-shrink: 0; }
:where(.tpd, .tpd-mbar, .tpd-menu, .tpd-lb) :focus-visible { outline: 2px solid var(--tpd-brand); outline-offset: 2px; border-radius: 6px; }
.tpd { color: var(--tpd-ink); padding-bottom: 64px; }

/* ---------- buttons ---------- */
.tpd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tpd-btn:active { transform: translateY(1px); }
.tpd-btn--primary { background: var(--tpd-brand); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.tpd-btn--primary:hover { background: var(--tpd-brand-hover); color: #fff; }
.tpd-btn--line { border-color: var(--tpd-line); background: #fff; color: var(--tpd-ink); }
.tpd-btn--line:hover { border-color: #cdd3dc; background: var(--tpd-soft); }
.tpd-btn--wa { height: 48px; background: #00853f; color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 133, 63, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.tpd-btn--wa:hover { background: #006e34; color: #fff; }
.tpd-btn--lg { height: 52px; font-size: 16px; border-radius: 12px; }
.tpd-btn--block { width: 100%; }
.tpd-iconbtn { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--tpd-line); display: grid; place-items: center; color: var(--tpd-ink-2); cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.tpd-iconbtn:hover { color: var(--tpd-ink); border-color: #cdd3dc; }
.tpd-fav-btn[aria-pressed="true"] { color: var(--tpd-heart); border-color: #fecdd3; background: #fff1f3; }
.tpd-fav-btn[aria-pressed="true"] svg { fill: currentColor; }

/* ---------- breadcrumb (a back link on phones) ---------- */
.tpd-crumbs { display: flex; align-items: center; gap: 6px; padding: 14px 0; font-size: 13px; color: var(--tpd-muted); white-space: nowrap; min-width: 0; }
.tpd-crumbs a:hover { color: var(--tpd-ink); }
.tpd-crumbs svg { color: #c3c9d3; }
.tpd-crumbs__item { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.tpd-crumbs__item--current { flex-shrink: 1; min-width: 0; }
.tpd-crumbs [aria-current] { display: block; color: var(--tpd-ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

/* ---------- preview + panel ---------- */
.tpd-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
/* The stage is the same size for every design — set by the column and the
   screen, never by the picture — and the design fits inside it at its real
   shape (portrait, square, story or landscape). */
.tpd-preview { container-type: inline-size; min-width: 0; }
.tpd-stage { position: relative; height: clamp(320px, min(calc(100vh - 150px), 100cqw), 780px); container-type: size; border-radius: 20px; padding: 32px; display: flex; align-items: center; justify-content: center; background: radial-gradient(110% 80% at 50% 0%, #f8f9fc 0%, #edf0f5 100%); }
.tpd-art { --ar: 4 / 5; position: relative; display: block; width: min(100cqw, calc(100cqh * var(--ar))); aspect-ratio: var(--ar); padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 28px 56px -20px rgba(15, 23, 42, .38); }
.tpd-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tpd-art--empty { display: grid; place-items: center; padding: 24px; text-align: center; color: var(--tpd-faint); font-weight: 700; cursor: default; }
.tpd-wm { position: absolute; inset: 0; pointer-events: none; background-repeat: repeat; }
.tpd-stage__zoom { position: absolute; right: 16px; bottom: 16px; box-shadow: 0 2px 10px rgba(15, 23, 42, .10); }

.tpd-panel { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tpd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tpd-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--tpd-line); background: var(--tpd-soft); color: var(--tpd-ink-2); font-size: 12.5px; font-weight: 700; }
a.tpd-tag:hover { border-color: #cdd3dc; color: var(--tpd-ink); }
.tpd-tag--free { background: var(--tpd-green-soft); color: var(--tpd-green); border-color: transparent; }
.tpd-tag--pro { background: var(--tpd-gold-soft); color: var(--tpd-gold); border-color: transparent; }
.tpd-title { margin-top: 14px; font-size: 30px; line-height: 1.15; letter-spacing: -.022em; font-weight: 800; color: var(--tpd-ink); overflow-wrap: anywhere; }
.tpd-sub { margin-top: 8px; color: var(--tpd-muted); font-size: 14px; font-weight: 500; }
.tpd-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--tpd-ink-2); }
.tpd-rating__count { color: var(--tpd-muted); font-weight: 500; }
.tpd-rating:hover .tpd-rating__count { text-decoration: underline; }
.tpd-stars { display: inline-flex; gap: 1px; color: var(--tpd-star); }
.tpd-stars svg { display: block; }
.tpd-stars .off { opacity: .3; }

.tpd-price__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.tpd-price__row strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tpd-price__row s { color: var(--tpd-faint); font-size: 16px; font-weight: 600; }
.tpd-price__off { align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--tpd-green-soft); color: var(--tpd-green); font-size: 12px; font-weight: 800; }
.tpd-price__note { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--tpd-muted); }
.tpd-price__row + .tpd-price__note { margin-top: 6px; }
.tpd-price__note a { color: var(--tpd-brand); font-weight: 700; }
.tpd-price__note a:hover { text-decoration: underline; }
.tpd-price__note--ok { color: var(--tpd-green); font-weight: 700; font-size: 14px; }

.tpd-actions { display: flex; flex-direction: column; gap: 10px; }
.tpd-actions__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tpd-actions__row form { margin: 0; }
.tpd-actions__row .tpd-btn { width: 100%; }

.tpd-specs { border-top: 1px solid var(--tpd-line); }
.tpd-specs > div { display: grid; grid-template-columns: 18px 104px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--tpd-line-soft); font-size: 14px; }
.tpd-specs svg { color: var(--tpd-faint); }
.tpd-specs dt { color: var(--tpd-muted); font-weight: 500; }
.tpd-specs dd { font-weight: 600; color: var(--tpd-ink); overflow-wrap: anywhere; }
.tpd-specs dd a { color: var(--tpd-brand); }
.tpd-specs dd a:hover { text-decoration: underline; }
.tpd-specs dd small { color: var(--tpd-muted); font-weight: 500; font-size: 13px; }
.tpd-desc { font-size: 14px; color: var(--tpd-ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.tpd-report { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--tpd-faint); }
.tpd-report:hover { color: var(--tpd-ink-2); }

/* ---------- share menu (one menu, placed next to whichever Share was pressed) ---------- */
.tpd-menu { position: fixed; z-index: 120; display: none; width: 224px; padding: 6px; background: #fff; border: 1px solid var(--tpd-line); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(15, 23, 42, .3); }
.tpd-menu.is-open { display: block; }
.tpd-menu a, .tpd-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--tpd-ink-2); text-align: left; }
.tpd-menu a:hover, .tpd-menu button:hover { background: var(--tpd-soft); color: var(--tpd-ink); }
.tpd-menu__ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; }

/* ---------- sections ---------- */
.tpd-sec { margin-top: 56px; }
.tpd-sec__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tpd-h2, .tpd-sec__hd h2 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; color: var(--tpd-ink); }
.tpd-sec__hd a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--tpd-brand); white-space: nowrap; }
.tpd-sec__hd a:hover { text-decoration: underline; }

/* More like this — masonry, every design at its own shape */
.tpd-masonry { columns: 5 190px; column-gap: 18px; }
.tpd-card { position: relative; break-inside: avoid; margin: 0 0 22px; }
.tpd-card__media { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--tpd-soft); box-shadow: 0 0 0 1px rgba(15, 23, 42, .06); }
.tpd-card__media img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.tpd-card:hover .tpd-card__media img { transform: scale(1.035); }
.tpd-card__ph { display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 16px; text-align: center; color: var(--tpd-faint); font-size: 13px; font-weight: 700; }
.tpd-card__pro { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--tpd-gold); font-size: 11.5px; font-weight: 800; box-shadow: 0 1px 4px rgba(15, 23, 42, .18); }
.tpd-card__favform { position: absolute; top: 8px; right: 8px; margin: 0; }
.tpd-card__fav { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .96); display: grid; place-items: center; color: var(--tpd-ink-2); box-shadow: 0 2px 8px rgba(15, 23, 42, .18); opacity: 0; transform: translateY(-3px); transition: opacity .15s, transform .15s, color .15s; }
.tpd-card:hover .tpd-card__fav, .tpd-card__fav:focus-visible, .tpd-card__fav[aria-pressed="true"] { opacity: 1; transform: none; }
.tpd-card__fav[aria-pressed="true"] { background: #fff; }
@media (hover: none) { .tpd-card__fav { opacity: 1; transform: none; } }
.tpd-card__meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; }
.tpd-card__title { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpd-card__title:hover { color: var(--tpd-brand); }
.tpd-card__lang { color: var(--tpd-muted); font-size: 12.5px; font-weight: 500; }

/* Reviews */
.tpd-rv { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.tpd-rv__sum { border: 1px solid var(--tpd-line); border-radius: 16px; padding: 22px; }
.tpd-rv__avg { display: flex; align-items: center; gap: 12px; }
.tpd-rv__avg strong { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.tpd-rv__avg small { display: block; margin-top: 4px; color: var(--tpd-muted); font-size: 13px; font-weight: 500; }
.tpd-bars { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.tpd-bar { display: grid; grid-template-columns: 12px 1fr 28px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--tpd-muted); font-weight: 600; }
.tpd-bar i { display: block; height: 6px; border-radius: 99px; background: var(--tpd-line-soft); overflow: hidden; }
.tpd-bar i b { display: block; height: 100%; border-radius: 99px; background: var(--tpd-star); }
.tpd-bar span:last-child { text-align: right; }
.tpd-rv__msg { margin-bottom: 12px; padding: 10px 14px; border-radius: 10px; background: var(--tpd-green-soft); color: var(--tpd-green); font-size: 14px; font-weight: 600; }
.tpd-rv__msg--error { background: #fef2f2; color: #b91c1c; }
.tpd-rv__form { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; padding: 16px 18px; border: 1px solid var(--tpd-line); border-radius: 14px; background: var(--tpd-soft); }
.tpd-rv__form b { font-size: 14.5px; }
.tpd-rv__form p { margin-top: 2px; font-size: 13.5px; color: var(--tpd-muted); }
.tpd-rv__form--guest { justify-content: space-between; }
.tpd-rv__form textarea { flex: 1 1 220px; min-width: 0; height: 40px; min-height: 40px; max-height: 160px; padding: 9px 12px; border: 1px solid var(--tpd-line); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; line-height: 1.4; color: var(--tpd-ink); outline: 0; resize: vertical; field-sizing: content; }
.tpd-rv__form textarea:focus { border-color: var(--tpd-brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.tpd-rv__remove { font-size: 13px; font-weight: 600; color: var(--tpd-muted); }
.tpd-rv__remove:hover { color: #b91c1c; }
/* Star picker: radios 5→1 laid out right-to-left, so hover fills to the left. */
.tpd-starpick { position: relative; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.tpd-starpick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tpd-starpick label { padding: 2px; line-height: 0; color: #cbd2dc; cursor: pointer; }
.tpd-starpick input:checked ~ label, .tpd-starpick label:hover, .tpd-starpick label:hover ~ label { color: var(--tpd-star); }
.tpd-starpick input:focus-visible + label { outline: 2px solid var(--tpd-brand); border-radius: 4px; }
.tpd-review { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--tpd-line-soft); }
.tpd-review:last-child { border-bottom: 0; }
.tpd-review__av { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 14px; }
.tpd-review__av img { width: 100%; height: 100%; object-fit: cover; }
.tpd-review__top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; }
.tpd-review__top b { font-weight: 700; }
.tpd-review__top time { color: var(--tpd-faint); font-size: 12.5px; }
.tpd-review__mine { padding: 2px 8px; border-radius: 999px; background: var(--tpd-brand-soft); color: var(--tpd-brand); font-size: 11px; font-weight: 800; }
.tpd-review p { margin-top: 4px; font-size: 14px; color: var(--tpd-ink-2); overflow-wrap: anywhere; }
.tpd-rv__empty { margin-top: 14px; font-size: 14px; color: var(--tpd-muted); }

/* FAQ */
.tpd-faq { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.tpd-faq__side p { margin-top: 8px; color: var(--tpd-muted); font-size: 14px; }
.tpd-faq__side a { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--tpd-brand); }
.tpd-faq__side a:hover { text-decoration: underline; }
.tpd-faq details { border-bottom: 1px solid var(--tpd-line); }
.tpd-faq details:first-child { border-top: 1px solid var(--tpd-line); }
.tpd-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 2px; font-weight: 700; font-size: 15px; color: var(--tpd-ink); cursor: pointer; }
.tpd-faq summary::-webkit-details-marker { display: none; }
.tpd-faq summary:hover { color: var(--tpd-brand); }
.tpd-faq summary svg { color: var(--tpd-muted); transition: transform .2s; }
.tpd-faq details[open] summary svg { transform: rotate(180deg); }
.tpd-faq details p { max-width: 760px; padding: 0 2px 16px; color: var(--tpd-ink-2); font-size: 14.5px; }

/* Explore + About (SEO text, kept quiet) */
.tpd-explore { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tpd-explore a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tpd-line); font-size: 13.5px; font-weight: 700; color: var(--tpd-ink-2); transition: border-color .15s, color .15s, background .15s; }
.tpd-explore a:hover { border-color: var(--tpd-brand); color: var(--tpd-brand); background: var(--tpd-brand-soft); }
.tpd-about { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tpd-line-soft); }
.tpd-about h3 { font-size: 14px; font-weight: 800; color: var(--tpd-ink-2); }
.tpd-about p { max-width: 980px; margin-top: 8px; font-size: 13.5px; color: var(--tpd-muted); }

/* ---------- lightbox ---------- */
.tpd-lb { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 28px; background: rgba(8, 11, 18, .9); cursor: zoom-out; }
.tpd-lb[hidden] { display: none; }
.tpd-lb__frame { position: relative; display: block; max-width: min(92vw, 1100px); cursor: default; }
.tpd-lb__frame img { display: block; max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.tpd-lb__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.tpd-lb__close:hover { background: rgba(255, 255, 255, .22); }

/* ---------- toast ---------- */
.tpd-toast { position: fixed; left: 50%; bottom: 28px; z-index: 140; padding: 10px 16px; border-radius: 10px; background: var(--tpd-ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(15, 23, 42, .3); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .2s, transform .2s; }
.tpd-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- phone action bar ---------- */
.tpd-mbar { display: none; }

/* ---------- responsive ---------- */
/* Laptops and tablets: still two columns, narrower panel. */
@media (max-width: 1100px) {
  .tpd-main { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .tpd-stage { padding: 24px; }
  .tpd-title { font-size: 25px; }
  .tpd-specs > div { grid-template-columns: 18px 90px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .tpd-rv, .tpd-faq { grid-template-columns: 1fr; gap: 20px; }
}
/* Phones: preview, then the title with the Customize button right under it.
   The action bar slides in only while that button is out of view. */
@media (max-width: 767px) {
  body.tpd-page { padding-bottom: 80px; }
  .tpd { padding-bottom: 40px; }
  /* Phones: the trail without the design's own name (its title is right below); scrolls sideways if long. */
  .tpd-crumbs { padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
  .tpd-crumbs::-webkit-scrollbar { display: none; }
  .tpd-crumbs__item--current { display: none; }
  .tpd-main { grid-template-columns: 1fr; gap: 14px; }
  .tpd-stage { height: clamp(280px, min(56vh, 118cqw), 600px); height: clamp(280px, min(56svh, 118cqw), 600px); padding: 12px; border-radius: 16px; }
  .tpd-stage__zoom { right: 10px; bottom: 10px; width: 36px; height: 36px; }
  .tpd-panel { position: static; gap: 14px; }
  .tpd-title { font-size: 23px; margin-top: 10px; }
  .tpd-rating { margin-top: 6px; }
  .tpd-actions .tpd-btn--lg { height: 50px; }
  .tpd-actions__row .tpd-btn { height: 44px; }
  .tpd-specs > div { grid-template-columns: 18px 96px minmax(0, 1fr); }
  .tpd-sec { margin-top: 40px; }
  .tpd-h2, .tpd-sec__hd h2 { font-size: 19px; }
  .tpd-masonry { columns: 2; column-gap: 12px; }
  .tpd-card { margin-bottom: 16px; }
  .tpd-card__fav { opacity: 1; transform: none; width: 32px; height: 32px; }
  .tpd-rv__sum { padding: 18px; }

  .tpd-mbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--tpd-line); box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
    visibility: hidden; transform: translateY(110%); transition: transform .22s ease, visibility 0s linear .22s; }
  .tpd-mbar.is-shown { visibility: visible; transform: none; transition: transform .22s ease; }
  .tpd-mbar form { margin: 0; }
  .tpd-mbar .tpd-iconbtn { width: 48px; height: 48px; border-radius: 12px; }
  .tpd-mbar .tpd-btn { flex: 1; min-width: 0; height: 48px; }
  .tpd-menu { left: 16px !important; right: 16px; top: auto !important; bottom: 88px; width: auto; }
  .tpd-toast { bottom: 92px; }
}
@media (max-width: 380px) {
  .tpd-mbar .tpd-btn { padding: 0 10px; gap: 6px; }
}
@media (max-width: 340px) {
  .tpd-mbar .tpd-btn svg { display: none; }
}
