/* ===== CHECKOUT & PANEL ===== */

.checkout-page,
.panel-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.checkout-header__logo,
.panel-sidebar__logo {
  text-decoration: none;
  display: inline-flex;
}

.panel-login-brand .brand-logo {
  margin-bottom: 1rem;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.checkout-main { padding: 48px 24px 80px; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.checkout-summary h1,
.checkout-payment h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.checkout-item strong { display: block; margin-bottom: 4px; }
.checkout-item span { font-size: 13px; color: var(--text-muted); }

.checkout-promo {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.checkout-promo__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.checkout-promo__row {
  display: flex;
  gap: 8px;
}

.checkout-promo__row input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-promo__row input:focus {
  outline: none;
  border-color: var(--yellow);
}

.checkout-promo__row .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.checkout-promo__msg {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.checkout-promo__msg.is-ok { color: var(--yellow); }
.checkout-promo__msg.is-err { color: #ff8f8f; }
.checkout-promo__msg[hidden] { display: none !important; }

.checkout-totals {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.checkout-totals__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.checkout-totals__row[hidden],
#checkout-discount-row[hidden],
#checkout-delivery-row[hidden] {
  display: none !important;
}

.checkout-totals__row--total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
}

.checkout-totals__row--total span:last-child { color: var(--yellow); }

.checkout-payment {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.checkout-lead {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s;
}

.payment-method:hover,
.payment-method.is-active {
  border-color: var(--yellow);
}

.payment-method svg { flex-shrink: 0; }
.payment-method__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
}
.payment-method__icon svg {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 8px;
}
.payment-method span { font-weight: 600; font-size: 14px; }

.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-dim);
}

.checkout-login-prompt {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.checkout-login-prompt p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.checkout-inline-login {
  margin-top: 14px;
}

.checkout-guest-fields {
  margin-bottom: 18px;
}

.checkout-delivery {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.checkout-delivery__title,
.checkout-payment__subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.checkout-delivery__hint {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.checkout-delivery__panel[hidden] {
  display: none !important;
}

.checkout-delivery__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-delivery__divider {
  margin: 4px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

.checkout-delivery__email {
  margin-bottom: 4px;
}

.checkout-phone-field {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-yellow);
  background: var(--yellow-muted);
  animation: deliveryPhoneIn 0.25s ease;
}

.checkout-phone-field[hidden] {
  display: none !important;
}

@keyframes deliveryPhoneIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.delivery-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
}

.delivery-toggle:has(input:checked) {
  border-color: var(--border-yellow);
  background: rgba(198, 240, 21, 0.06);
}

.delivery-toggle--featured:has(input:checked) {
  border-color: var(--yellow);
  background: var(--yellow-muted);
}

.delivery-toggle.is-disabled {
  opacity: 0.72;
}

.delivery-toggle__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.delivery-toggle__info strong {
  font-size: 14px;
  font-weight: 600;
}

.delivery-toggle__info > span:not(.delivery-tag):not(.delivery-toggle__desc) {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.delivery-toggle__desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}

.delivery-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(198, 240, 21, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(198, 240, 21, 0.25);
}

.delivery-tag--free {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border-color: var(--border);
}

.delivery-switch {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  cursor: pointer;
}

.delivery-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.delivery-switch input:disabled {
  cursor: not-allowed;
}

.delivery-switch__track {
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  transition: background 0.22s ease, border-color 0.22s ease;
  position: relative;
}

.delivery-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, background 0.22s ease;
}

.delivery-switch input:checked + .delivery-switch__track {
  background: var(--yellow);
  border-color: var(--yellow);
}

.delivery-switch input:checked + .delivery-switch__track::after {
  transform: translateX(20px);
  background: #0a0c10;
}

.delivery-switch input:focus-visible + .delivery-switch__track {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.checkout-test-hint {
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(196, 255, 0, 0.06);
  border: 1px solid rgba(196, 255, 0, 0.2);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkout-test-hint:empty {
  display: none;
}

.checkout-test-hint code {
  color: var(--yellow);
  font-size: 12px;
}

.checkout-success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.checkout-success__card {
  text-align: center;
  max-width: 420px;
  padding: 48px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.checkout-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(196, 255, 0, 0.12);
  color: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.checkout-success__card h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.checkout-success__card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.checkout-success__card .btn { margin: 6px; }

/* ===== PANEL / PREMIUM LAYOUT ===== */

.panel-page {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(198, 240, 21, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 100%, rgba(198, 240, 21, 0.03) 0%, transparent 50%);
  overflow-x: clip;
}

.panel-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.4s, visibility 0.4s;
}
.panel-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.panel-loader img { border-radius: 14px; position: relative; z-index: 1; }
.panel-loader__ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 2px solid transparent;
  border-top-color: var(--yellow);
  animation: loaderSpin 0.85s linear infinite;
}

.panel-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}
.panel-layout[hidden],
.panel-layout.is-hidden,
.panel-login-wrap[hidden],
.panel-login-wrap.is-hidden {
  display: none !important;
}

.panel-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: rgba(12, 15, 22, 0.95);
  border-right: 1px solid var(--border);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.panel-sidebar__logo { display: block; padding: 0 6px; }

.panel-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(198, 240, 21, 0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.panel-user__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.user-avatar.has-image {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: transparent;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.panel-user__meta strong { display: block; font-size: 14px; margin-bottom: 2px; }
.panel-user__meta > span:not(.panel-user__badge) { display: block; font-size: 11px; color: var(--text-dim); word-break: break-all; }
.panel-user__badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  background: var(--yellow-subtle);
  border: 1px solid var(--border-yellow);
  padding: 2px 8px;
  border-radius: 999px;
}

.panel-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.panel-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.panel-nav__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

.panel-nav__label { flex: 1; }
.panel-nav__count {
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--yellow-subtle);
  color: var(--yellow);
  display: grid;
  place-items: center;
}

.panel-nav__item:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.panel-nav__item.is-active {
  background: rgba(198, 240, 21, 0.08);
  border-color: rgba(198, 240, 21, 0.15);
  color: var(--yellow);
}
.panel-nav__item.is-active .panel-nav__icon { background: rgba(198, 240, 21, 0.12); }

.panel-sidebar__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 16px;
}

.panel-cta-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(198, 240, 21, 0.1) 0%, rgba(198, 240, 21, 0.02) 100%);
  border: 1px solid var(--border-yellow);
  transition: border-color 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}
.panel-cta-card:hover { border-color: var(--yellow); transform: translateY(-1px); }
.panel-cta-card__eyebrow { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); margin-bottom: 6px; }
.panel-cta-card strong { display: block; font-size: 13px; line-height: 1.35; margin-bottom: 8px; }
.panel-cta-card__link { font-size: 12px; color: var(--text-muted); }
.panel-cta-card--group {
  border-color: rgba(198, 240, 21, 0.28);
  background: linear-gradient(135deg, rgba(198, 240, 21, 0.08), transparent);
}

.panel-topbar__actions--split {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.panel-shop-teasers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.panel-shop-teaser {
  text-align: left;
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.panel-shop-teaser:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.panel-shop-teaser--group {
  border-color: rgba(198, 240, 21, 0.25);
  background: linear-gradient(160deg, rgba(198, 240, 21, 0.08), transparent 70%);
}
.panel-shop-teaser__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.panel-shop-teaser strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.panel-shop-teaser span:last-child {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.panel-shop-block {
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
}
.panel-shop-block--group {
  border-color: rgba(198, 240, 21, 0.22);
  background: linear-gradient(180deg, rgba(198, 240, 21, 0.06), transparent 50%), var(--bg-card);
}
.panel-shop-block__toggle {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 4px 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: rgba(198, 240, 21, 0.15);
  touch-action: manipulation;
}
.panel-shop-block__toggle::-webkit-details-marker,
.panel-shop-block__toggle::marker {
  display: none;
  content: "";
}
.panel-shop-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 0;
}
.panel-shop-block__head-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.panel-shop-block__chevron {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  transition: transform 0.25s ease, border-color 0.2s, background 0.2s;
}
.panel-shop-block__chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(45deg) translate(-2px, -2px);
}
.panel-shop-block[open] .panel-shop-block__chevron,
.panel-shop-block.is-open .panel-shop-block__chevron {
  transform: rotate(180deg);
  border-color: var(--border-yellow);
  background: var(--yellow-muted);
}
.panel-shop-block__toggle:hover .panel-shop-block__chevron {
  border-color: var(--border-yellow);
}
.panel-shop-block__body {
  margin-top: 0;
}
.panel-shop-block[open] .panel-shop-block__body,
.panel-shop-block.is-open .panel-shop-block__body {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.panel-shop-block--group[open] .panel-shop-block__body,
.panel-shop-block--group.is-open .panel-shop-block__body {
  border-top-color: rgba(198, 240, 21, 0.18);
}
.panel-shop-block__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}
.panel-shop-block__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.1;
}
.panel-shop-block__lead {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}
.panel-shop-block__head h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.panel-shop-block__head p {
  color: var(--text-muted);
  font-size: 14px;
}
.panel-shop-block.is-empty .panel-shop-block__head { margin-bottom: 0; }
.panel-shop-block.is-empty .panel-shop-featured-grid,
.panel-shop-block.is-empty .panel-shop-grid { display: none; }

.panel-shop-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(198, 240, 21, 0.25);
  border-radius: var(--radius-lg);
  background: rgba(198, 240, 21, 0.06);
}
.panel-shop-cart[hidden] { display: none !important; }
.panel-shop-cart__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.panel-shop-cart__info strong {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.panel-shop-cart__info span {
  font-size: 14px;
  color: var(--text-muted);
}
.panel-shop-cart__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-shop-offer-tabs { display: none !important; }

.panel-shop-block__catalog {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  width: 100%;
  justify-content: center;
}

.panel-shop-grid.panel-shop-grid--under-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-shop-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
  width: 100%;
}

.panel-shop-featured__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
}
.panel-shop-featured__heading {
  width: 100%;
}
.panel-shop-featured__icon {
  display: none;
}
.panel-shop-featured__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.panel-shop-featured__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.panel-shop-featured__features li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}
.panel-shop-featured__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}
.panel-shop-featured {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.panel-shop-featured--solid {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}
.panel-shop-featured--solid .panel-shop-featured__desc,
.panel-shop-featured--solid .panel-shop-card__label,
.panel-shop-featured--solid .panel-shop-card__meta {
  color: rgba(0,0,0,0.65);
}
.panel-shop-featured--solid .panel-shop-featured__icon {
  color: #000;
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.16);
}
.panel-shop-featured--solid .panel-shop-featured__features li { color: rgba(0,0,0,0.75); }
.panel-shop-featured--solid .panel-shop-featured__features li::before { color: #000; }
.panel-shop-featured--group {
  border-color: rgba(198, 240, 21, 0.28);
}

.panel-shop-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.panel-shop-badge--yellow {
  background: var(--yellow-subtle);
  color: var(--yellow);
  border: 1px solid var(--border-yellow);
}
.panel-shop-badge--red {
  background: rgba(255, 80, 80, 0.12);
  color: #ff8f8f;
  border: 1px solid rgba(255, 143, 143, 0.3);
}

.panel-shop-card__media {
  width: 100%;
  margin: 0 0 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c10;
  aspect-ratio: 16 / 10;
}
.panel-shop-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel-shop-card__icon {
  width: 48px;
  height: 48px;
  color: var(--yellow);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(198, 240, 21, 0.08);
  border: 1px solid rgba(198, 240, 21, 0.24);
  margin: 0 auto 4px;
}
.panel-shop-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
  shape-rendering: geometricPrecision;
}
.panel-shop-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.panel-shop-card__actions--triple {
  grid-template-columns: 44px 1fr 1fr;
}
.panel-shop-card__actions .btn {
  min-height: 44px;
  padding: 12px 14px;
  line-height: 1.25;
  box-sizing: border-box;
  width: 100%;
  justify-content: center;
}
.panel-shop-card__actions .btn--cart-icon {
  width: 44px;
  min-width: 44px;
  padding: 0;
}
.panel-shop-card {
  position: relative;
}
.panel-shop-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: #c6f015;
  color: #0a0c10;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  z-index: 220;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.panel-shop-toast[hidden] { display: none !important; }

@media (max-width: 640px) {
  .panel-shop-cart {
    flex-direction: column;
    align-items: stretch;
  }
  .panel-shop-cart__actions {
    flex-direction: column;
  }
  .panel-shop-cart__actions .btn { width: 100%; justify-content: center; }
  .panel-shop-card__actions,
  .panel-shop-card__actions--triple {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .panel-shop-card__actions--triple [data-buy-now] {
    grid-column: 1 / -1;
  }
  .panel-shop-card__actions .btn--cart-icon {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
  }
}
.panel-shop-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.panel-shop-card--group { border-color: rgba(198, 240, 21, 0.2); }
.panel-shop-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.panel-shop-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.panel-shop-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  flex: 1;
}
.panel-shop-card__meta {
  font-size: 12px;
  color: var(--yellow);
  font-weight: 600;
}
.panel-shop-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 1.6em;
  margin-top: auto;
}
.panel-shop-card__price strong {
  font-size: 1.2rem;
  color: var(--yellow);
}
.panel-shop-card__price s {
  font-size: 13px;
  color: var(--text-dim);
}
.panel-shop-empty {
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .panel-shop-teasers { grid-template-columns: 1fr; }
}

.panel-sidebar__foot { display: flex; flex-direction: column; gap: 8px; }

.panel-shell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.panel-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.panel-topbar__menu {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  place-items: center;
}

.panel-topbar__title { flex: 1; min-width: 0; }
.panel-topbar__eyebrow { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 2px; }
.panel-topbar__title strong { font-size: 1.1rem; font-weight: 700; }

.panel-topbar__logout {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.panel-topbar__logout:hover {
  color: #ff8f8f;
  border-color: rgba(255, 143, 143, 0.35);
  background: rgba(255, 143, 143, 0.08);
}

.panel-main {
  flex: 1;
  padding: 28px 32px 48px;
  overflow-y: auto;
}

.panel-section { display: none; animation: panelFadeIn 0.35s ease; }
.panel-section.is-active { display: block; }

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(198, 240, 21, 0.08) 0%, rgba(17, 21, 32, 0.9) 45%, var(--bg-card) 100%);
  border: 1px solid var(--border);
}

.panel-welcome__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 6px;
}

.panel-welcome h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.panel-welcome__lead { color: var(--text-muted); font-size: 14px; max-width: 480px; }

.panel-welcome__icon img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  opacity: 0.9;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.panel-stat {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s;
}
.panel-stat:hover { border-color: var(--border-strong); }
.panel-stat--accent {
  background: linear-gradient(145deg, rgba(198, 240, 21, 0.07) 0%, var(--bg-card) 100%);
  border-color: rgba(198, 240, 21, 0.2);
}

.panel-stat__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.panel-stat__value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; font-style: italic; line-height: 1; color: var(--text); }
.panel-stat__value--sm { font-size: 1.1rem; }
.panel-stat--accent .panel-stat__value { color: var(--yellow); }
.panel-stat__hint { font-size: 12px; color: var(--text-dim); }

.panel-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.panel-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-block__head h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}

.panel-link-btn {
  border: none;
  background: none;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.panel-link-btn:hover { text-decoration: underline; }

.panel-header { margin-bottom: 24px; }
.panel-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.panel-header p { color: var(--text-muted); font-size: 14px; max-width: 560px; }

.panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-search-wrap {
  position: relative;
  margin-bottom: 4px;
}
.panel-search-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(198, 240, 21, 0.22), rgba(198, 240, 21, 0.04) 45%, rgba(142, 200, 255, 0.08));
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.panel-search-wrap:focus-within::before {
  opacity: 1;
}

.panel-search {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 6px 8px 6px 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 28px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: text;
}
.panel-search:focus-within {
  border-color: rgba(198, 240, 21, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 3px rgba(198, 240, 21, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.22);
}
.panel-search__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--yellow);
  background: rgba(198, 240, 21, 0.1);
  border: 1px solid rgba(198, 240, 21, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}
.panel-search:focus-within .panel-search__icon {
  background: rgba(198, 240, 21, 0.16);
  transform: scale(1.03);
}
.panel-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  outline: none;
  padding: 10px 4px 10px 0;
}
.panel-search input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}
.panel-search input::-webkit-search-cancel-button,
.panel-search input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.panel-search__clear {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 2px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.panel-search__clear:hover {
  background: rgba(198, 240, 21, 0.12);
  color: var(--yellow);
}
.panel-search__clear:active { transform: scale(0.94); }
.panel-search__clear[hidden] { display: none !important; }

.panel-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.tips-filter-board {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
  padding: 22px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(198, 240, 21, 0.06) 0%, transparent 55%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.tips-filter-board .panel-search-wrap { margin: 0; }

.tips-filter-group { display: flex; flex-direction: column; gap: 10px; }
.tips-filter-group__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.tips-section + .tips-section { margin-top: 36px; }
.tips-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.tips-section__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
}
.tips-section__subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}
.tips-section__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow-subtle);
  border: 1px solid var(--border-yellow);
}

.panel-filter {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.panel-filter:hover { color: var(--text); border-color: var(--border-strong); }
.panel-filter.is-active {
  background: var(--yellow-subtle);
  border-color: var(--border-yellow);
  color: var(--yellow);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}
.tips-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.tip-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.tip-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.tip-card--featured { border-color: rgba(198, 240, 21, 0.25); }

.tip-card__top {
  padding: 20px 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tip-card__tags { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.tip-card__tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.tip-card__tag--live { color: var(--yellow); border-color: var(--border-yellow); background: var(--yellow-subtle); }
.tip-card__tag--new {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tip-card__confidence {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
  flex-shrink: 0;
}
.tip-card__confidence-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(198, 240, 21, 0.2);
  border-top-color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 10px;
}

.tip-card__status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.tip-card__match-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
}
.tip-card__match-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #8ec8ff;
}
.tip-card__match-chip--live .tip-card__match-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(198, 240, 21, 0.45);
  animation: tip-match-pulse 1.6s ease-out infinite;
}
.tip-card__match-chip--finished .tip-card__match-dot { background: var(--text-dim); }
.tip-card__match-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tip-card__match-value {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tip-card__match-chip--live .tip-card__match-value { color: var(--yellow); }
.tip-card__match-chip--upcoming .tip-card__match-value { color: #8ec8ff; }

.tip-card__analysis-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  margin-left: auto;
}
.tip-card__analysis-pill-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.tip-card__analysis-pill-value {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.tip-card__analysis-pill--pending {
  background: rgba(240, 193, 75, 0.12);
  border-color: rgba(240, 193, 75, 0.28);
  color: #f0c14b;
}
.tip-card__analysis-pill--live {
  background: rgba(198, 240, 21, 0.14);
  border-color: rgba(198, 240, 21, 0.35);
  color: var(--yellow);
  box-shadow: 0 0 18px rgba(198, 240, 21, 0.08);
}
.tip-card__analysis-pill--settling {
  background: rgba(201, 184, 255, 0.12);
  border-color: rgba(201, 184, 255, 0.28);
  color: #c9b8ff;
}
.tip-card__analysis-pill--won {
  background: rgba(110, 231, 168, 0.12);
  border-color: rgba(110, 231, 168, 0.28);
  color: #6ee7a8;
}
.tip-card__analysis-pill--lost {
  background: rgba(255, 143, 143, 0.12);
  border-color: rgba(255, 143, 143, 0.28);
  color: #ff8f8f;
}
.tip-card__analysis-pill--void {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text-dim);
}

@keyframes tip-match-pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 240, 21, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(198, 240, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 240, 21, 0); }
}

.tip-card__kickoff {
  font-size: 13px;
  color: var(--text-muted);
  margin: -4px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.tip-card__kickoff strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.02em;
}
.tip-card__kickoff span { color: var(--text-muted); }
.tip-card__kickoff svg { color: var(--yellow); opacity: 0.8; flex-shrink: 0; }
.tip-card__kickoff--missing span { font-size: 12px; color: var(--text-dim); font-style: italic; }

.tip-card__other-matches {
  margin: 0 0 14px;
}
.tip-card__other-matches-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.tip-card__legs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tip-card__legs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
}
.tip-card__leg-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 214, 10, 0.15);
  color: var(--yellow);
}
.tip-card__leg-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tip-card__leg-match { color: var(--text-muted); }
.tip-card__leg-pick { color: var(--text); font-weight: 600; }

.panel-filters--secondary { margin-top: 10px; }

.tip-card__body { padding: 16px 20px; flex: 1; }
.tip-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.tip-card__match {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip-card__match svg { color: var(--yellow); flex-shrink: 0; opacity: 0.7; }

.tip-card__pick {
  padding: 16px;
  background: linear-gradient(90deg, rgba(198, 240, 21, 0.08) 0%, transparent 100%);
  border: 1px solid rgba(198, 240, 21, 0.15);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.tip-card__pick-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.tip-card__pick-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.tip-card__pick strong { display: block; font-size: 15px; line-height: 1.35; flex: 1; }
.tip-card__odds {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  color: var(--yellow);
  white-space: nowrap;
}

.tip-card__analysis {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.tip-card__analysis.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tip-card__toggle {
  margin-top: 8px;
  border: none;
  background: none;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.tip-card__toggle:hover { text-decoration: underline; }

.tip-card__media {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tip-card__media-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.tip-card__media-head span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tip-card__media-head em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
}
.tip-card__media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tip-card__media-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.tip-card__media-item:hover {
  border-color: var(--border-yellow);
  transform: translateY(-1px);
}
.tip-card__media-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: #111 center/cover no-repeat;
}
.tip-card__media-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 10px;
}
.tip-card__media-meta strong {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yellow);
}
.tip-card__media-meta span {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.tip-lightbox-open { overflow: hidden; }
.tip-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.tip-lightbox[hidden] { display: none !important; }
.tip-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}
.tip-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tip-lightbox__figure {
  margin: 0;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.tip-lightbox__img {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: #050505;
}
.tip-lightbox__caption {
  padding: 12px 16px;
  font-size: 14px;
  color: #e5e7eb;
  background: #111;
}
.tip-lightbox__counter {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.tip-lightbox__close,
.tip-lightbox__nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 20, 20, 0.85);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.tip-lightbox__close {
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  z-index: 2;
}
.tip-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}
.tip-lightbox__nav--prev { left: -8px; }
.tip-lightbox__nav--next { right: -8px; }
@media (max-width: 720px) {
  .tip-card__media-grid { grid-template-columns: 1fr; }
  .tip-lightbox__nav--prev { left: 4px; }
  .tip-lightbox__nav--next { right: 4px; }
  .tip-lightbox__close { top: 4px; right: 4px; }
}

.tip-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
  font-size: 12px;
  color: var(--text-dim);
}

.tip-card__copy {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.tip-card__copy:hover { border-color: var(--yellow); color: var(--yellow); }

.orders-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.orders-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.orders-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: rgba(255,255,255,0.02); }
.orders-table td strong { color: var(--text); }
.orders-table .order-products { font-size: 13px; line-height: 1.5; }

.orders-list { display: none; flex-direction: column; gap: 16px; }

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.order-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.order-card__status {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.order-card__status--paid { background: var(--yellow-subtle); color: var(--yellow); border: 1px solid var(--border-yellow); }
.order-card__status--pending { background: rgba(255,255,255,0.04); color: var(--text-dim); }
.order-card__items { list-style: none; font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.order-card__items li { padding: 4px 0; }
.order-card__foot { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); font-size: 14px; }

.profile-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.profile-hero__avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.profile-hero__avatar {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #000;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(100%, 220px);
}
.profile-avatar-actions__upload {
  width: 100%;
  justify-content: center;
  cursor: pointer;
}
.profile-avatar-actions__upload.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.profile-avatar-actions__hint,
.profile-avatar-actions__status {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: var(--text-dim);
}
.profile-avatar-actions__status.is-success { color: #6ee7a8; }
.profile-avatar-actions__status.is-error { color: #ff8f8f; }
.profile-avatar-actions .btn { width: 100%; justify-content: center; }
.profile-hero h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; }
.profile-hero p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.profile-hero__since { font-size: 12px; color: var(--text-dim); }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.profile-card--wide { grid-column: 1 / -1; }
.profile-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.profile-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }

.profile-rows { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.profile-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.profile-rows li:last-child { border-bottom: none; padding-bottom: 0; }
.profile-rows span { color: var(--text-dim); }
.profile-rows strong { text-align: right; }
.profile-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-private-chat {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 20px);
  background: var(--bg-card);
  overflow: hidden;
}
.panel-private-chat__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.panel-private-chat__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #667085;
}
.panel-private-chat__dot.is-online { background: #12b76a; box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.18); }
.panel-private-chat__dot.is-queue { background: #f79009; box-shadow: 0 0 0 4px rgba(247, 144, 9, 0.18); }
.panel-private-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
  max-height: 52vh;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), transparent 40%);
}
.panel-private-chat__empty {
  margin: auto;
  text-align: center;
  max-width: 360px;
  color: var(--text-muted);
  display: grid;
  gap: 14px;
  justify-items: center;
}
.panel-private-chat__empty p { line-height: 1.55; }
.panel-chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  display: grid;
  gap: 4px;
}
.panel-chat-msg time {
  font-size: 11px;
  opacity: 0.7;
}
.panel-chat-msg--mine {
  align-self: flex-end;
  background: rgba(198, 240, 21, 0.16);
  border: 1px solid rgba(198, 240, 21, 0.35);
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.panel-chat-msg--theirs {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.panel-chat-msg--system {
  align-self: center;
  max-width: 92%;
  text-align: center;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 8px;
}
.panel-private-chat__compose {
  border-top: 1px solid var(--border);
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
}
.panel-private-chat__compose textarea {
  width: 100%;
  resize: vertical;
  min-height: 64px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
.panel-private-chat__compose-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.panel-private-chat__hint {
  margin: 12px 4px 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.support-panel {
  display: grid;
  gap: 20px;
  max-width: 720px;
}
.support-panel__card {
  padding: 32px 28px;
  border-radius: var(--radius-xl, 20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}
.support-panel__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(198, 240, 21, 0.12);
  border: 1px solid rgba(198, 240, 21, 0.28);
  color: var(--yellow);
}
.support-panel__card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.support-panel__card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 420px;
}
.support-panel__hints {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.support-hint {
  padding: 16px 18px;
  border-radius: var(--radius-lg, 14px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.support-hint strong {
  font-size: 13px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.support-hint span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}


.panel-empty {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
}
.panel-empty--inline { padding: 32px 24px; margin-top: 0; border-style: solid; }
.panel-empty__icon { font-size: 2rem; margin-bottom: 12px; opacity: 0.8; }
.panel-empty h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.panel-empty p { font-size: 14px; margin-bottom: 20px; max-width: 320px; margin-inline: auto; line-height: 1.6; }

/* Login */
.panel-login-wrap {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.panel-login-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(198, 240, 21, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(198, 240, 21, 0.04) 0%, transparent 50%),
    var(--bg);
}

.panel-login-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  max-width: 920px;
  width: 100%;
  align-items: center;
}

.panel-login-brand h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin: 20px 0 12px;
}
.panel-login-brand > p { color: var(--text-muted); font-size: 15px; line-height: 1.65; max-width: 400px; margin-bottom: 24px; }

.panel-login-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.panel-login-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.panel-login-features svg { color: var(--yellow); flex-shrink: 0; }

.panel-login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}
.panel-login-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.panel-login-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

.panel-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.panel-sidebar-backdrop[hidden] { display: none !important; }

body.panel-sidebar-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 1024px) {
  .panel-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .panel-layout { grid-template-columns: 1fr; }
  .panel-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 16px 0 48px rgba(0, 0, 0, 0.35);
  }
  .panel-sidebar.is-open { transform: translateX(0); }
  .panel-topbar {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
  }
  .panel-topbar__menu {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
  }
  .panel-topbar__title {
    flex: 1 1 auto;
    min-width: 0;
  }
  .panel-topbar__title strong {
    display: block;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .panel-topbar__actions--split {
    width: 100%;
    flex-basis: 100%;
    order: 3;
  }
  .panel-topbar__actions--split .btn {
    flex: 1;
    justify-content: center;
    min-width: 0;
    padding-inline: 10px;
  }
  .panel-topbar__logout {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
  }
  .panel-main {
    padding: 16px 16px calc(40px + env(safe-area-inset-bottom));
    overflow-x: clip;
  }
  .panel-welcome {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    gap: 16px;
  }
  .panel-welcome__icon { display: none; }
  .panel-welcome h1 { font-size: 1.45rem; }
  .panel-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .panel-stat { padding: 16px; }
  .panel-stat__value { font-size: 1.5rem; }
  .panel-block { padding: 18px 16px; }
  .panel-block__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .panel-header h1 { font-size: 1.35rem; }
  .panel-shop-block { padding: 18px 16px; }
  .panel-shop-block__title { font-size: 1.2rem; }
  .panel-shop-featured-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .panel-shop-grid,
  .panel-shop-grid.panel-shop-grid--under-featured,
  .panel-shop-grid--under-featured {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .panel-shop-card__actions--triple {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
  }
  .panel-shop-card__actions--triple [data-buy-now] {
    grid-column: 1 / -1;
  }
  .panel-shop-card__actions .btn--cart-icon {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
  }
  .panel-shop-card,
  .panel-shop-featured {
    min-width: 0;
    overflow: hidden;
  }
  .panel-shop-card h3,
  .panel-shop-featured h3 {
    overflow-wrap: anywhere;
  }
  .tips-filter-board { padding: 16px; gap: 16px; }
  .tips-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .tips-section__count { align-self: flex-start; }
  .tip-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
    padding: 14px 14px 0;
  }
  .tip-card__tags {
    grid-column: 1;
    gap: 5px;
  }
  .tip-card__confidence {
    grid-column: 2;
    align-self: start;
  }
  .tip-card__confidence-ring {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }
  .tip-card__body { padding: 12px 14px 14px; }
  .tip-card__status-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 12px;
  }
  .tip-card__match-chip {
    width: 100%;
    justify-content: flex-start;
  }
  .tip-card__analysis-pill {
    width: 100%;
    margin-left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
  }
  .tip-card__analysis-pill-label {
    font-size: 10px;
    white-space: nowrap;
  }
  .tip-card__analysis-pill-value {
    font-size: 11px;
    text-align: right;
  }
  .tip-card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
  }
  .tip-card__copy { width: 100%; text-align: center; }
  .tip-card__pick-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .tip-card__match,
  .tip-card__kickoff {
    align-items: flex-start;
  }
  .orders-table-wrap { display: none !important; }
  .orders-list { display: flex !important; }
  .order-card { padding: 16px; }
  .order-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .profile-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
    gap: 16px;
  }
  .profile-hero__avatar-block {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
  }
  .profile-hero__avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    font-size: 1.75rem;
  }
  .profile-avatar-actions {
    align-items: flex-start;
    width: auto;
    flex: 1;
    min-width: 0;
  }
  .profile-avatar-actions .btn { width: auto; min-width: 140px; }
  .profile-rows li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .profile-rows strong { text-align: left; word-break: break-word; }
  .profile-card { padding: 18px 16px; }
  .profile-card__actions { flex-direction: column; }
  .profile-card__actions .btn { width: 100%; justify-content: center; }
  .panel-login-grid { grid-template-columns: 1fr; gap: 32px; }
  .panel-login-brand { text-align: center; }
  .panel-login-brand > p { margin-inline: auto; }
  .panel-login-features { align-items: center; }
  .panel-login-card { padding: 28px 20px; }
  .panel-sidebar__cta { padding-inline: 0; }
}

@media (max-width: 640px) {
  .panel-topbar__eyebrow { display: none; }
  .panel-topbar__actions--split { display: none; }
  .panel-topbar__logout {
    display: grid;
    place-items: center;
  }
  .panel-stats { grid-template-columns: 1fr; }
  .panel-shop-teasers { grid-template-columns: 1fr; }
  .panel-shop-cart {
    flex-direction: column;
    align-items: stretch;
  }
  .panel-shop-cart__actions {
    flex-direction: column;
  }
  .panel-shop-cart__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .panel-shop-card__actions {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .panel-shop-card__actions--triple {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .panel-shop-card__actions--triple [data-buy-now] {
    grid-column: 1 / -1;
  }
  .support-panel__hints { grid-template-columns: 1fr; }
  .support-panel__card { padding: 24px 18px; }
  .panel-search {
    min-height: 48px;
    gap: 10px;
    padding-inline: 6px;
  }
  .panel-search__icon {
    width: 34px;
    height: 34px;
  }
  .panel-search input {
    font-size: 16px;
    padding-block: 8px;
  }
  .panel-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 2px;
    margin-inline: -2px;
    padding-inline: 2px;
  }
  .panel-filters::-webkit-scrollbar { display: none; }
  .panel-filter { flex-shrink: 0; }
  .panel-empty { padding: 40px 20px; }
  .panel-tip-toast {
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    transform: none;
    width: auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .panel-main { padding-inline: 14px; }
  .panel-topbar { padding-inline: 14px; }
  .panel-welcome { padding: 18px 14px; }
  .panel-block,
  .panel-shop-block,
  .tips-filter-board { padding: 14px; }
  .panel-stat__value { font-size: 1.35rem; }
  .tip-card__top { padding: 12px 12px 0; }
  .tip-card__body { padding: 10px 12px 12px; }
  .tip-card__tag { font-size: 9px; padding: 3px 7px; }
  .tip-card__title { font-size: 1.05rem; }
  .panel-nav__label { font-size: 13px; }
}

@media (hover: none) {
  .tip-card:hover,
  .panel-shop-teaser:hover,
  .panel-stat:hover {
    transform: none;
  }
}

.panel-tip-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: #c6f015;
  color: #0a0c10;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  animation: panelToastIn .3s ease;
}
.panel-tip-toast[hidden] { display: none !important; }
@keyframes panelToastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 640px) {
  @keyframes panelToastInMobile {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .panel-tip-toast { animation-name: panelToastInMobile; }
}
