/* Phone layout: use the portrait's complete composition at its natural ratio.
   Do not enlarge the small source crop, fade the face, or push it offscreen. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-size: 16px; }
.wrap { width: calc(100% - 32px); }
.topline { height: auto; min-height: 29px; padding: 3px 0; font-size: 10.5px; }
.topline-inner { text-align: center; justify-content: center; }
.topline .hot { font-size: 16px; }
.trending, .desktop-nav { display: none; }
.header { height: 68px; }
.header-inner { gap: 8px; }
.brand { margin-left: 0; }
.brand img { width: 125px; height: auto; }
.header-actions { gap: 7px; margin-left: auto; }
.header-actions .icon-button { width: 40px; height: 44px; }
.header-actions .icon { width: 23px; height: 23px; }
.join { width: 67px; height: 40px; font-size: 12px; }
.menu-toggle { display: inline-flex; }
.mobile-nav { top: 67px; gap: 4px; padding: 12px 16px; max-height: calc(100dvh - 100px); overflow-y: auto; }
.mobile-nav button { min-height: 48px; padding: 12px; font-size: 16px; }

.hero { height: auto; min-height: 0; background: radial-gradient(ellipse at 70% 12%, #210617, transparent 55%), #030205; }
.hero-art {
  inset: 0 0 auto 0;
  width: 100%;
  height: auto;
  aspect-ratio: 708 / 286;
  background-image: image-set(url('/assets/hero-restored-20261004-708.webp') 1x, url('/assets/hero-restored-20261004-1416.webp') 2x);
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  opacity: 1;
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
.hero:after { display: none; }
.hero-inner { padding-top: calc(100vw * 286 / 708 - 4px); padding-bottom: 25px; }
.hero h1 { font-size: clamp(24px, 6.8vw, 38px); line-height: 1.16; letter-spacing: .45px; white-space: normal; text-wrap: balance; }
.hero-motto { font-size: 18px; line-height: 1.45; margin-top: 13px; }
.hero-description { font-size: 14px; line-height: 1.55; max-width: 36em; width: 100%; margin-top: 4px; color: #d8d0d8; }
.desktop-break { display: none; }
.search-form { display: grid; grid-template-columns: 38px minmax(0, 1fr) 116px; grid-template-rows: 48px 46px; height: auto; width: 100%; margin-top: 18px; border-color: #814162; border-radius: 6px; }
.search-symbol { grid-row: 1; grid-column: 1; width: 38px; }
.search-symbol .icon { width: 19px; height: 19px; }
.search-form input { grid-row: 1; grid-column: 2 / 4; font-size: 16px; padding-right: 10px; }
.search-form input::placeholder { font-size: 12px; }
.search-form select { grid-row: 2; grid-column: 1 / 3; width: 100%; padding: 0 13px; font-size: 14px; border: 0; border-top: 1px solid #412337; border-radius: 0; background: #120c12; }
.search-form .pink-button { grid-row: 2; grid-column: 3; padding: 0 13px; font-size: 13px; font-weight: 600; }
.popular { gap: 7px; margin-top: 12px; font-size: 12px; align-items: center; }
.popular > span { width: 100%; font-size: 12px; color: #bcaaba; margin: 0; }
.popular button { min-height: 38px; padding: 8px 11px; font-size: 12px; border-radius: 5px; line-height: 1.3; }

.pillars { grid-template-columns: 1fr; gap: 14px; }
.pillar { height: auto; min-height: 254px; padding: 20px; border-radius: 8px; }
.pillar-art, .create .pillar-art { width: 58%; height: 100%; background-size: auto 193px; background-position: right bottom; mask-image: linear-gradient(90deg, transparent, black 50%); -webkit-mask-image: linear-gradient(90deg, transparent, black 50%); }
.pillar-heading { display: flex; gap: 14px; align-items: center; }
.pillar-icon { float: none; margin: 0; width: 56px; height: 56px; border-radius: 10px; }
.pillar-icon .icon { width: 35px; height: 35px; }
.pillar h2 { padding: 0; margin: 0 0 5px; font-size: 22px; line-height: 1.15; }
.pillar p { font-size: 14px; line-height: 1.45; }
.pillar p br { display: none; }
.pillar ul { margin-top: 14px; font-size: 13px; line-height: 1.7; }
.pillar li:before { margin-right: 8px; }
.pillar-cta { height: 42px; min-width: 159px; padding: 0 17px; margin-top: 13px; font-size: 12px; border-radius: 4px; }
.pillar-cta span { font-size: 21px; }

.category-section { margin-top: 16px; padding: 7px 8px 9px; border-radius: 7px; }
.category-section .section-heading { min-height: 35px; margin: 0 2px 6px; align-items: center; }
.category-section .section-heading h2 { font-size: 12px; letter-spacing: .1px; white-space: normal; }
.category-section .section-heading .hot { display: none; }
.text-link { min-height: 34px; font-size: 11px; display: inline-flex; align-items: center; gap: 3px; }
.text-link span { font-size: 16px; margin: 0; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.category-tile { height: 86px; padding: 9px 3px; gap: 7px; font-size: 12px; line-height: 1.25; white-space: normal; border-radius: 5px; }
.category-tile > .icon { width: 28px; height: 28px; }
.category-tile > span:last-child { min-height: 30px; display: flex; align-items: center; justify-content: center; }
.category-tile .of { height: 28px; line-height: 28px; }

.dashboard { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; margin-bottom: 20px; }
.panel { height: auto; min-height: 0; padding: 10px 13px 13px; border-radius: 7px; }
.panel > .section-heading { min-height: 34px; height: auto; margin: 0 2px 7px; }
.panel .section-heading h2 { font-size: 15px; letter-spacing: .35px; }
.panel .text-link { font-size: 12px; }
.panel .text-link span { display: inline; }
.ranking-list { gap: 4px; }
.ranking-row { height: 43px; gap: 12px; padding: 0 9px; font-size: 15px; }
.rank-number { width: 13px; font-size: 13px; }
.ranking-row .brand-badge { width: 24px; height: 24px; }
.score { font-size: 13px; }
.score .icon { width: 14px; height: 14px; margin-left: 4px; }
.panel-note { font-size: 12px; line-height: 1.5; margin: 9px 3px 0; }
.review-row { height: 55px; gap: 12px; }
.review-row > .brand-badge { width: 40px; height: 24px; }
.review-copy strong { font-size: 14px; margin-bottom: 4px; }
.review-copy > span { font-size: 12px; }
.unrated-stars { letter-spacing: 1px; margin-right: 5px; }
.mini-label { display: inline; font-size: 10px; padding: 2px 4px; }
.deal-row { height: 46px; gap: 11px; font-size: 14px; }
.deal-row .brand-badge { width: 24px; height: 24px; }
.deal-name { min-width: 0; }
.deal-description { display: block; font-size: 11px; }
.deal-label { font-size: 10px; padding: 5px 7px; }
.newsletter { margin: 0; height: auto; padding: 23px 16px 20px; }
.newsletter-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.mail-art { display: inline; margin: 0; }
.mail-art .icon { width: 48px; height: 43px; }
.newsletter h2 { font-size: 18px; white-space: normal; margin-bottom: 5px; }
.newsletter p { font-size: 14px; line-height: 1.5; }
.newsletter p br { display: none; }
.newsletter form { height: 46px; border-radius: 5px; }
.newsletter input { padding: 0 11px; font-size: 16px; }
.newsletter input::placeholder { font-size: 13px; }
.newsletter .pink-button { padding: 0 13px; font-size: 12px; }
.newsletter p.privacy-line { font-size: 12px; margin-top: 12px; }
.privacy-line .icon { width: 12px; height: 13px; }
.newsletter #newsletter-status { font-size: 13px; }

.trust-inner { grid-template-columns: 1fr 1fr; gap: 20px 13px; padding: 19px 0; }
.trust-inner > div { align-items: flex-start; gap: 9px; min-width: 0; }
.trust-icon .icon { width: 23px; height: 26px; }
.trust-inner strong { font-size: 11px; line-height: 1.5; }
.trust-inner p > span { font-size: 11px; line-height: 1.45; }
.footer { padding: 24px 0 30px; }
.footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
.footer-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0; gap: 9px; }
.footer-brand img { width: 151px; height: 62px; }
.footer-brand p { margin: 0; font-size: 12px; }
.footer h2 { font-size: 12px; margin-bottom: 7px; }
.footer-column button { font-size: 12px; line-height: 1.5; min-height: 32px; padding: 4px 0; }
.footer-column:nth-child(6) { grid-column: auto; }
.socials { gap: 5px; flex-wrap: wrap; }
.socials button { width: 32px; height: 32px; }
.footer-social p { font-size: 10px; line-height: 1.6; }

dialog { width: calc(100% - 24px); padding: 17px; max-height: calc(100dvh - 32px); }
.dialog-top { margin-bottom: 14px; }
.dialog-close { width: 42px; height: 42px; }
#dialog-title { font-size: 26px; overflow-wrap: anywhere; }
.dialog-intro { font-size: 15px; }
.dialog-grid { grid-template-columns: 1fr; }
.dialog-grid.categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dialog-grid.categories button { font-size: 14px; min-height: 58px; }
.result-card { min-height: 78px; }
.result-card .brand-badge { width: 25px; height: 25px; }
.result-card strong { font-size: 16px; }
.compare-selectors { gap: 10px; }
.compare-selectors select { font-size: 16px; padding: 10px 6px; }
.comparison { font-size: 12px; overflow-wrap: anywhere; }
.comparison th, .comparison td { padding: 10px 5px; }
.detail-table { grid-template-columns: 1fr 1.5fr; font-size: 13px; }
.dialog-action, .modal-back { min-height: 44px; }

@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .header-actions { gap: 3px; }
  .header-actions .icon-button { width: 35px; }
  .brand img { width: 118px; }
  .join { width: 59px; }
  .hero h1 { font-size: 6.6vw; }
  .pillar { padding: 18px; }
  .pillar-heading { gap: 11px; }
  .pillar p { font-size: 13px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deal-description { display: none; }
  .trust-inner { gap: 18px 10px; }
  .trust-inner > div { gap: 6px; }
  .trust-inner strong { font-size: 10px; }
  .trust-inner p > span { font-size: 10px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-column button { font-size: 13px; }
}
@media (min-width: 600px) {
  .hero-art { width: 708px; max-width: 100%; left: auto; right: 0; }
  .hero-inner { padding-top: 260px; }
  .hero h1 { font-size: 38px; }
  .dashboard { grid-template-columns: 1fr 1fr; }
  .deal-description { display: none; }
  .newsletter-heading { gap: 10px; }
  .newsletter h2 { font-size: 16px; }
}
