:root{
  --navy:#0b2d5f; --pink:#ff2d72; --pink2:#ff4f8c; --gold:#ffc107; --teal:#00c49a; --blue:#2196f3; --purple:#9c27b0;
  --ink:#10253f; --muted:#65768a; --line:#e9edf3; --soft:#f7f9fc; --cream:#fff8f3; --card:#ffffff;
  --shadow:0 16px 45px rgba(25,50,80,.11); --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Poppins","Avenir Next","Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;overflow-x:hidden}
button,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.site-header{height:82px;display:flex;align-items:center;justify-content:space-between;padding:10px clamp(18px,4vw,58px);border-bottom:1px solid rgba(15,45,80,.06);position:sticky;top:0;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);z-index:50}
.brand{display:flex;align-items:center;min-width:220px}.brand img{width:220px;max-height:60px;object-fit:contain;object-position:left center}
.nav{display:flex;gap:32px;font-weight:650;font-size:14px}.nav a:hover{color:var(--pink)}
.header-actions{display:flex;align-items:center;gap:12px}.icon-button{border:0;background:#fff;font-size:24px;color:var(--pink);position:relative}.saved-count{font-size:11px;background:var(--navy);color:#fff;border-radius:20px;padding:2px 6px;position:absolute;top:-5px;right:-12px}
.button{border:0;border-radius:999px;padding:14px 22px;font-weight:800;transition:.2s transform,.2s box-shadow,.2s background}.button:hover{transform:translateY(-1px)}.button-pink{color:#fff;background:linear-gradient(135deg,var(--pink2),#ff145e);box-shadow:0 10px 26px rgba(255,45,114,.28)}.button-light{background:#fff;border:1px solid #dfe5ec;color:var(--navy)}.button-small{padding:11px 18px;font-size:13px}.button-wide{width:100%;margin-top:12px}.text-button{border:0;background:none;color:#6d55c9;font-weight:800}.danger{color:#d23b56}
.hero{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(380px,1.1fr) minmax(300px,.8fr);gap:32px;align-items:center;padding:54px clamp(20px,4vw,64px) 62px;background:radial-gradient(circle at 25% 35%,rgba(255,221,226,.56),transparent 36%),radial-gradient(circle at 80% 35%,rgba(212,239,255,.62),transparent 37%),linear-gradient(120deg,#fffaf7,#fff,#f6fbff);min-height:700px}
.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:900;color:#7f8da0;margin:0 0 10px}.hero h1{font-size:clamp(48px,5vw,78px);line-height:.94;margin:0;color:#112d4b;letter-spacing:-.04em}.hero h1 span{color:var(--pink)}.hero-text{font-size:18px;line-height:1.65;max-width:520px;margin:28px 0;color:#344960}.hero-cta{font-size:16px;padding:18px 30px}.hero-cta span{margin-left:14px}
.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:38px;max-width:520px}.trust-row>div{display:flex;gap:10px;align-items:center;background:rgba(255,255,255,.66);border:1px solid rgba(255,255,255,.8);padding:12px;border-radius:18px}.trust-row b{font-size:23px}.trust-row strong,.trust-row small{display:block}.trust-row strong{font-size:12px}.trust-row small{font-size:10px;color:var(--muted);margin-top:2px}
.wheel-column{text-align:center}.wheel-wrap{width:min(500px,41vw);aspect-ratio:1;position:relative;margin:auto;filter:drop-shadow(0 18px 28px rgba(25,43,73,.20));margin-bottom:50px}.wheel{width:100%;height:100%;border-radius:50%;position:absolute;inset:0;border:12px solid #203b59;box-shadow:inset 0 0 0 3px rgba(255,255,255,.4);transition:none;will-change:transform;overflow:hidden;background:conic-gradient(#ef3167 0 45deg,#ff7a19 45deg 90deg,#ffc423 90deg 135deg,#1ab85b 135deg 180deg,#17b5b2 180deg 225deg,#258bd6 225deg 270deg,#7d36d8 270deg 315deg,#e638bb 315deg 360deg)}
.segment-label{position:absolute;width:102px;min-height:66px;transform:translate(-50%,-50%) rotate(var(--counter-rotation,0deg));transform-origin:center center;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-weight:900;text-shadow:0 1px 3px rgba(0,0,0,.28);line-height:1.02;text-align:center;pointer-events:none;z-index:2}.segment-icon{display:block;font-size:27px;line-height:1;margin-bottom:5px;filter:grayscale(1) brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0,0,0,.18))}.segment-text{display:block;max-width:96px;font-size:12px;letter-spacing:-.15px}.wheel-pointer{position:absolute;z-index:4;top:-7px;left:50%;transform:translateX(-50%);width:42px;height:48px;background:#273c5d;clip-path:polygon(0 0,100% 0,50% 100%);border-radius:8px}.spin-button{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);width:138px;height:138px;border-radius:50%;border:10px solid #273c5d;background:#fff;color:var(--navy);box-shadow:0 8px 18px rgba(0,0,0,.18)}.spin-button strong,.spin-button span{display:block}.spin-button strong{font-size:30px}.spin-button span{font-size:12px;font-weight:900}.wheel-stand{position:absolute;z-index:-1;width:42%;height:52px;background:#213d5d;border-radius:10px;left:29%;bottom:-41px}.wheel-stand:after{content:"";position:absolute;width:128%;left:-14%;height:18px;bottom:-12px;background:#18334e;border-radius:5px}.wheel-toolbar{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}.wheel-toolbar span{font-size:12px;color:var(--muted);max-width:240px}
.builder-card{background:rgba(255,255,255,.92);padding:24px;border-radius:24px;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.9)}.builder-card h2{font-size:21px;margin:0 0 20px}.field{margin-bottom:15px}.field label{display:block;font-size:13px;font-weight:900;margin:0 0 7px}.field label em{font-style:normal;color:#8c99a8;font-weight:600}.select-wrap{display:flex;align-items:center;border:1px solid #dce3ea;border-radius:12px;background:#fff;overflow:hidden}.select-icon{width:44px;text-align:center;font-size:19px}.select-wrap select{width:calc(100% - 44px);border:0;background:#fff;padding:12px 36px 12px 0;color:var(--ink);font-weight:650;outline:none}.field-heading{display:flex;justify-content:space-between;align-items:center}.interests-field small{display:block;margin-top:8px;color:var(--muted)}.interest-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.interest-chip{border:1px solid #e0e5eb;background:#fff;border-radius:12px;padding:9px 8px;font-size:11px;font-weight:750;color:#40546a}.interest-chip.active{border-color:var(--pink);background:#fff2f7;color:#c71955;box-shadow:0 0 0 2px rgba(255,45,114,.08)}.surprise-link{border:0;background:none;width:100%;margin-top:13px;color:#6544c2;font-size:12px;font-weight:850}.hidden{display:none!important}
.result-section{padding:54px clamp(20px,5vw,76px);background:#fff}.result-head{display:flex;justify-content:space-between;gap:30px;align-items:end}.result-head h2{font-size:34px;margin:0}.result-head h2 span{color:#1aa65a}.result-head p{color:var(--muted)}.result-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}.product-card{background:#fff;border:1px solid #edf0f4;border-radius:20px;padding:18px;box-shadow:0 10px 28px rgba(20,45,70,.07);display:flex;flex-direction:column;min-height:315px}.product-visual{height:116px;border-radius:16px;display:grid;place-items:center;font-size:58px;background:linear-gradient(135deg,#fff4f7,#f2f9ff)}.product-card h3{font-size:15px;line-height:1.35;margin:14px 0 7px}.product-card .price{font-weight:900;color:var(--navy);margin:0 0 13px}.product-meta{font-size:11px;color:var(--muted);margin-bottom:14px}.product-card-actions{display:grid;grid-template-columns:1fr auto auto;gap:7px;margin-top:auto}.amazon-link{display:grid;place-items:center;background:#ffd45b;color:#191919;border-radius:10px;padding:10px;font-weight:900;font-size:12px}.mini-button{border:1px solid #e1e6ec;background:#fff;border-radius:10px;min-width:38px;color:var(--navy)}.mini-button.saved{background:#fff0f5;color:var(--pink);border-color:#ffc4d8}.result-foot{display:flex;justify-content:center;gap:12px;margin-top:26px}.tester-note{text-align:center;color:#8b97a5;font-size:11px;max-width:800px;margin:18px auto 0}
.popular,.how{padding:62px clamp(20px,5vw,76px)}.popular{background:#fafcff}.section-title h2{font-size:38px;margin:0}.centered{text-align:center}.popular-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:28px}.popular-grid button{border:0;border-radius:20px;min-height:145px;padding:20px;background:#fff;box-shadow:0 8px 24px rgba(20,45,75,.07);font-size:34px}.popular-grid button:nth-child(1){background:#fff0f5}.popular-grid button:nth-child(2){background:#f1fbf4}.popular-grid button:nth-child(3){background:#f2f7ff}.popular-grid button:nth-child(4){background:#fff9e8}.popular-grid button:nth-child(5){background:#f7f0ff}.popular-grid button:nth-child(6){background:#eefcff}.popular-grid strong,.popular-grid span{display:block}.popular-grid strong{font-size:13px;margin-top:12px;color:var(--ink)}.popular-grid span{font-size:10px;color:var(--muted);margin-top:4px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:32px}.steps article{border:1px solid #e9edf2;border-radius:22px;padding:24px;background:#fff}.steps article span{display:grid;place-items:center;width:38px;height:38px;background:var(--pink);color:#fff;border-radius:50%;font-weight:900}.steps h3{font-size:16px}.steps p{font-size:13px;color:var(--muted);line-height:1.6}.about{margin:10px clamp(20px,5vw,76px) 64px;padding:38px 42px;border-radius:26px;background:linear-gradient(110deg,#fff3f7,#fff,#f3fbff);display:flex;align-items:center;justify-content:space-between;gap:30px}.about h2{font-size:36px;margin:0 0 8px}.about p{max-width:750px;line-height:1.6;color:#51657b}
footer{display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:30px;background:#0b2848;color:#fff;padding:26px clamp(20px,5vw,76px)}footer img{width:185px;filter:drop-shadow(0 1px 0 rgba(255,255,255,.5));background:#fff;border-radius:10px;padding:6px}footer div{display:flex;gap:22px;justify-content:center;flex-wrap:wrap}footer a,footer button{font-size:12px;color:#d9e4ef;background:none;border:0}footer p{font-size:11px;color:#9db0c5}
dialog{width:min(760px,92vw);border:0;border-radius:24px;padding:0;box-shadow:0 24px 80px rgba(0,0,0,.24)}dialog::backdrop{background:rgba(10,24,40,.48);backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid #edf0f4}.dialog-head h2{margin:0}.close-dialog{border:0;background:#f1f4f8;width:38px;height:38px;border-radius:50%;font-size:24px}.saved-list{padding:20px;display:grid;gap:10px;max-height:60vh;overflow:auto}.saved-row{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;border:1px solid #e7ebf0;border-radius:14px;padding:10px}.saved-row .emoji{font-size:30px}.saved-row strong,.saved-row small{display:block}.saved-row small{color:var(--muted)}#clearSaved{margin:0 20px 20px}.info-body{padding:22px;line-height:1.7;color:#465a70}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,30px);background:#102f52;color:#fff;padding:12px 18px;border-radius:999px;font-size:13px;font-weight:700;opacity:0;pointer-events:none;transition:.25s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}
@media (max-width:1180px){.nav{display:none}.hero{grid-template-columns:1fr 1fr}.hero-copy{grid-column:1}.wheel-column{grid-column:2}.builder-card{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.builder-card h2{grid-column:1/-1}.builder-card .field{margin:0}.interests-field{grid-column:1/-1}.builder-card>.button-wide,.builder-card>.surprise-link{grid-column:1/-1}.wheel-wrap{width:min(480px,43vw)}.product-grid{grid-template-columns:repeat(2,1fr)}.popular-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.site-header{height:68px;padding:7px 14px}.brand{min-width:0}.brand img{width:158px}.header-actions .button{display:none}.hero{display:flex;flex-direction:column;padding:34px 16px 44px;min-height:0}.hero-copy{text-align:center}.hero h1{font-size:50px}.hero-text{font-size:15px}.trust-row{display:none}.builder-card{order:2;display:block;width:100%;padding:18px}.wheel-column{order:3;width:100%;margin-top:22px}.wheel-wrap{width:min(92vw,440px);margin-bottom:50px}.wheel{border-width:9px}.segment-label{width:82px;min-height:60px}.segment-icon{font-size:22px;margin-bottom:3px}.segment-text{font-size:10px;max-width:78px}.spin-button{width:108px;height:108px;border-width:8px}.spin-button strong{font-size:24px}.interest-grid{grid-template-columns:repeat(2,1fr)}.result-section{padding:40px 16px}.result-head{display:block}.result-actions{justify-content:flex-start;margin-top:18px}.product-grid{grid-template-columns:1fr}.popular,.how{padding:46px 16px}.popular-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:1fr 1fr}.about{margin:0 16px 42px;padding:28px 22px;display:block;text-align:center}.about .button{margin-top:12px}footer{grid-template-columns:1fr;text-align:center}footer img{margin:auto}footer div{justify-content:center}.result-foot{flex-direction:column}.result-foot .button{width:100%}}
@media (max-width:430px){.hero h1{font-size:43px}.wheel-wrap{width:94vw}.segment-label{width:76px}.segment-icon{font-size:20px}.segment-text{font-size:9px;max-width:72px}.popular-grid,.steps{grid-template-columns:1fr 1fr}.site-header{gap:8px}.icon-button{font-size:21px}}

/* v4 responsive polish: keep approved mock-up proportions while protecting portrait/landscape */
body{min-width:0;-webkit-text-size-adjust:100%}
.site-header{padding-left:max(clamp(14px,4vw,58px),env(safe-area-inset-left));padding-right:max(clamp(14px,4vw,58px),env(safe-area-inset-right))}
main{width:100%;min-width:0}
.hero-copy,.wheel-column,.builder-card{min-width:0}
.wheel-wrap{max-width:520px}
.builder-card{align-self:center}
select{min-width:0}
@media (min-width:1181px){
  .hero{grid-template-columns:minmax(300px,.92fr) minmax(430px,1.15fr) minmax(310px,.78fr);gap:clamp(24px,2.7vw,42px)}
  .wheel-wrap{width:min(500px,38vw)}
}
@media (min-width:761px) and (max-width:1180px){
  .hero{padding-top:40px;grid-template-columns:minmax(280px,.86fr) minmax(350px,1.14fr);align-items:center}
  .wheel-wrap{width:min(470px,46vw)}
  .builder-card{margin-top:8px}
}
@media (orientation:landscape) and (max-height:620px) and (min-width:761px){
  .site-header{height:64px}
  .brand img{max-height:48px}
  .hero{min-height:0;padding-top:24px;padding-bottom:34px}
  .hero h1{font-size:clamp(42px,6.5vh,62px)}
  .hero-text{font-size:15px;margin:18px 0}
  .trust-row{margin-top:22px}
  .wheel-wrap{width:min(430px,62vh);margin-bottom:42px}
  .segment-label{width:92px}.segment-icon{font-size:23px}.segment-text{font-size:10px}
}
@media (max-width:760px){
  .site-header{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
  .hero{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:max(44px,env(safe-area-inset-bottom))}
  .hero-copy{width:100%;max-width:620px;margin:0 auto}
  .hero-cta{width:min(330px,100%)}
  .wheel-column{max-width:560px;margin:0 auto}
  .wheel-toolbar{padding:0 4px}
  .builder-card{max-width:560px;margin:0 auto}
  .product-card{min-height:0}
}
@media (orientation:landscape) and (max-height:520px) and (max-width:980px){
  .site-header{position:relative;height:58px}
  .brand img{width:145px;max-height:44px}
  .hero{display:grid;grid-template-columns:minmax(240px,.82fr) minmax(300px,1.18fr);gap:18px;padding:22px max(18px,env(safe-area-inset-left)) 32px max(18px,env(safe-area-inset-right));align-items:center}
  .hero-copy{text-align:left}
  .hero h1{font-size:38px}
  .hero-text{font-size:13px;line-height:1.5;margin:14px 0 16px}
  .hero-cta{padding:13px 18px;font-size:13px;width:auto}
  .wheel-column{order:initial;width:100%}
  .wheel-wrap{width:min(330px,72vh);margin-bottom:38px}
  .builder-card{grid-column:1/-1;order:initial;max-width:none;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
  .builder-card h2,.interests-field,.builder-card>.button-wide,.builder-card>.surprise-link{grid-column:1/-1}
  .builder-card .field{margin:0}
  .spin-button{width:92px;height:92px;border-width:7px}
  .spin-button strong{font-size:21px}
  .segment-label{width:72px}.segment-icon{font-size:18px}.segment-text{font-size:8.5px;max-width:68px}
}

/* v3: choices first on phones, wheel last; keep mock-up wheel icons visible */
@media (max-width:760px){
  .hero-copy{order:1}
  .builder-card{order:2;margin-top:8px}
  .wheel-column{order:3;margin-top:24px}
  .builder-card h2{margin-bottom:14px}
  .wheel-toolbar{margin-top:4px}
}

/* v4: robust white SVG icons inside wheel segments */
.segment-icon{display:grid;place-items:center;margin-bottom:5px;filter:none;color:#fff;width:30px;height:30px}
.segment-svg{width:27px;height:27px;color:#fff;overflow:visible;filter:drop-shadow(0 1px 2px rgba(0,0,0,.28))}
.builder-intro{display:none;color:var(--muted);font-size:12px;line-height:1.5;margin:-7px 0 16px}
.product-live-image{height:150px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #f0f2f5;overflow:hidden}
.product-live-image img{width:100%;height:100%;object-fit:contain;padding:8px}
.product-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:800;color:#287d4d;background:#edf9f2;border-radius:999px;padding:5px 8px;margin-bottom:8px}

@media (max-width:760px){
  .hero{padding-top:16px}
  .builder-card{order:1;margin-top:0}
  .builder-card h2{font-size:24px;margin-bottom:8px}
  .builder-intro{display:block}
  .hero-copy{display:none}
  .wheel-column{order:2;margin-top:26px}
  .wheel-wrap{width:min(90vw,410px)}
  .segment-icon{width:25px;height:25px;margin-bottom:3px}
  .segment-svg{width:23px;height:23px}
}
@media (max-width:430px){
  .wheel-wrap{width:min(92vw,390px)}
  .segment-icon{width:22px;height:22px}
  .segment-svg{width:20px;height:20px}
}
.loading-products{grid-column:1/-1;text-align:center;padding:34px;color:var(--muted);font-weight:700}
/* v6 — live Amazon product tile polish */
.product-live-image{height:190px;background:#fff}
.product-live-image img{width:100%;height:100%;object-fit:contain;padding:12px}
.saved-thumb{width:54px;height:54px;border-radius:10px;border:1px solid #edf0f4;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.saved-thumb img{width:100%;height:100%;object-fit:contain;padding:4px}
@media(max-width:760px){.product-live-image{height:220px}}

/* v7 — hard horizontal viewport lock + always-upright wheel labels */
html,body{width:100%;max-width:100%;overflow-x:clip;overscroll-behavior-x:none}
body{position:relative;touch-action:pan-y pinch-zoom}
.site-header,main,.hero,.result-section,.popular,.how,.about,footer{max-width:100%;min-width:0}
.hero,.result-section,.popular,.how,footer{overflow-x:clip}
.wheel-column,.wheel-wrap,.builder-card,.product-grid,.product-card{max-width:100%;min-width:0}
.segment-label{transform:translate(-50%,-50%) rotate(var(--counter-rotation,0deg));transform-origin:center center;will-change:transform}
@supports not (overflow:clip){html,body,.hero,.result-section,.popular,.how,footer{overflow-x:hidden}}
@media (orientation:landscape) and (max-height:520px) and (max-width:980px){
  .hero{width:100%;max-width:100%;overflow-x:clip}
  .wheel-column{justify-self:center;max-width:100%}
  .wheel-wrap{max-width:min(330px,72vh,46vw)}
}


/* v8 — polished curated gift-idea results while Amazon live images are unavailable */
.idea-card{padding:16px;min-height:310px}
.idea-visual{height:154px;border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--idea-accent) 9%,#fff),#f8fbff);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid color-mix(in srgb,var(--idea-accent) 16%,#edf0f4)}
.idea-icon-ring{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--idea-accent) 15%,#fff);color:var(--idea-accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--idea-accent) 18%,transparent),0 10px 24px color-mix(in srgb,var(--idea-accent) 12%,transparent)}
.idea-icon-ring svg{width:42px;height:42px;overflow:visible}
.idea-visual>span{font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:#738197}
.product-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.idea-badge{display:inline-flex;align-items:center;font-size:10px;font-weight:900;color:#8045b8;background:#f6effd;border-radius:999px;padding:5px 8px;margin-top:12px}
.idea-budget{font-weight:850;color:var(--navy);font-size:13px;margin:0 0 10px}
.idea-card h3{font-size:16px;margin:9px 0 7px}
.idea-card .product-meta{line-height:1.35}
.idea-card .amazon-link{background:#ffd45b}
.saved-thumb.saved-icon{color:var(--pink);background:linear-gradient(145deg,#fff4f7,#f3f9ff)}
.saved-thumb.saved-icon svg{width:27px;height:27px}
@media(max-width:760px){
  .idea-card{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-areas:"visual copy" "actions actions";column-gap:14px;row-gap:12px;align-items:center;min-height:0;padding:14px}
  .idea-card .idea-visual{grid-area:visual;height:104px;width:104px;border-radius:16px;gap:5px}
  .idea-card .idea-icon-ring{width:62px;height:62px}.idea-card .idea-icon-ring svg{width:32px;height:32px}.idea-card .idea-visual>span{font-size:8px}
  .idea-card .product-copy{grid-area:copy}.idea-card .idea-badge{margin-top:0}.idea-card h3{font-size:17px;margin:7px 0 5px}.idea-budget{font-size:12px;margin-bottom:7px}
  .idea-card .product-card-actions{grid-area:actions}
}
@media(max-width:420px){
  .idea-card{grid-template-columns:90px minmax(0,1fr);column-gap:12px}
  .idea-card .idea-visual{width:90px;height:90px}.idea-card .idea-icon-ring{width:54px;height:54px}.idea-card .idea-icon-ring svg{width:28px;height:28px}
  .idea-card .amazon-link{font-size:11px;padding:10px 7px}
}

/* v9 — SEO guide content + installable app polish */
.install-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.app-installed .install-button{display:none!important}
.about-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.seo-guides{padding:62px clamp(20px,5vw,76px);background:#fff}
.section-lead{max-width:720px;margin:12px auto 0;color:var(--muted);line-height:1.65;font-size:15px}
.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px}
.guide-grid a{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:164px;padding:22px 16px;border:1px solid #edf0f4;border-radius:22px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:0 8px 24px rgba(20,45,75,.06);transition:.18s transform,.18s box-shadow}
.guide-grid a:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(20,45,75,.10)}
.guide-grid span{font-size:38px;line-height:1}.guide-grid strong{font-size:14px;margin-top:13px}.guide-grid small{font-size:11px;color:var(--muted);line-height:1.45;margin-top:5px}
.faq-section{padding:62px clamp(20px,5vw,76px);background:#fafcff}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:1050px;margin:28px auto 0}
.faq-grid details{background:#fff;border:1px solid #e9edf3;border-radius:18px;padding:18px 20px}
.faq-grid summary{cursor:pointer;font-weight:850;color:var(--navy)}
.faq-grid p{font-size:13px;line-height:1.65;color:var(--muted);margin:12px 0 0}
#installDialog{max-width:520px}
.install-ios{background:#f7f9fc;border-radius:12px;padding:12px}

/* Slightly richer vector results while preserving the approved mock-up style. */
.idea-icon-ring{background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--idea-accent) 15%,#fff));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--idea-accent) 22%,transparent),0 10px 24px color-mix(in srgb,var(--idea-accent) 13%,transparent)}
.idea-icon-ring svg{stroke-width:2.15;filter:drop-shadow(0 1px 0 rgba(255,255,255,.75))}

@media (max-width:1180px){
  .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .header-actions{gap:8px}
  .header-actions .install-button{display:inline-flex!important;padding:9px 10px;font-size:11px}
  .header-actions .install-button span{display:none}
  .seo-guides,.faq-section{padding:46px 16px}
  .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .guide-grid a{min-height:138px;padding:18px 10px}.guide-grid span{font-size:32px}.guide-grid strong{font-size:12px}.guide-grid small{font-size:9px}
  .faq-grid{grid-template-columns:1fr}
  .about-actions{justify-content:center}
}
@media (max-width:390px){
  .guide-grid{grid-template-columns:1fr 1fr}
  .site-header .brand img{width:146px}
}

/* V11 detailed-category refinements */
.category-depth-note{display:block;margin-top:5px;color:#7a8494;font-size:11px}
.segment-text.long-label{font-size:10px;line-height:1.02}
.segment-text.very-long-label{font-size:9px;line-height:1.0}
@media(max-width:760px){
  .segment-text.long-label{font-size:8.8px}
  .segment-text.very-long-label{font-size:8px}
}
@media(max-width:430px){
  .segment-text.long-label{font-size:8.2px}
  .segment-text.very-long-label{font-size:7.5px}
}

/* V12: Home-page share controls */
.share-home-button{white-space:nowrap}
@media (max-width:760px){
  .header-actions .share-home-button{display:inline-flex!important;width:38px;height:38px;padding:0;align-items:center;justify-content:center;border-radius:50%;font-size:18px}
  .header-actions .share-home-button span{display:none}
}
@media (max-width:430px){
  .header-actions{gap:6px}
  .header-actions .share-home-button{width:36px;height:36px}
}

/* V13 Popular Category Spins */
.category-spins{padding:62px clamp(20px,5vw,76px);background:linear-gradient(180deg,#fff,#fbfdff)}
.category-spins .section-lead{max-width:720px;margin:10px auto 0;color:var(--muted);line-height:1.6}
.category-spin-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin:28px auto 0;max-width:1240px}
.category-spin-grid button{appearance:none;border:1px solid #edf0f4;border-radius:20px;background:#fff;min-height:122px;padding:16px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;box-shadow:0 8px 24px rgba(20,45,75,.06);color:var(--ink);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.category-spin-grid button:hover,.category-spin-grid button:focus-visible{transform:translateY(-2px);box-shadow:0 14px 30px rgba(20,45,75,.1);border-color:#dfe6f0;outline:none}
.category-spin-grid button.active{border-color:#ef3167;box-shadow:0 0 0 3px rgba(239,49,103,.1),0 12px 28px rgba(20,45,75,.09)}
.category-spin-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#fff5f8,#f2f7ff);color:#17395d}
.category-spin-icon svg{width:30px;height:30px;fill:none;stroke:currentColor}
.category-spin-grid strong{font-size:12px;text-align:center;line-height:1.25}
.category-spin-note{text-align:center;color:var(--muted);font-size:11px;margin:16px auto 0;max-width:760px}
@media (max-width:1180px){.category-spin-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px){.category-spins{padding:46px 16px}.category-spin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-spin-grid button{min-height:108px;padding:14px 8px}.category-spin-icon{width:46px;height:46px}.category-spin-icon svg{width:27px;height:27px}}


/* V15 — reorganised landing page: popular spins + categories together */
.quick-start-hub{
  padding:34px clamp(16px,4vw,58px) 38px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  border-bottom:1px solid #eef2f6;
}
.quick-start-heading{max-width:920px;margin:0 auto 20px;text-align:center}
.quick-start-heading h2{font-size:clamp(30px,3.3vw,46px);line-height:1.05;margin:4px 0 8px;color:var(--ink)}
.quick-start-heading>p:last-child{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.quick-start-split{display:grid;grid-template-columns:.92fr 1.2fr;gap:16px;max-width:1380px;margin:0 auto}
.quick-panel{background:#fff;border:1px solid #e9eef4;border-radius:24px;padding:18px;box-shadow:0 10px 28px rgba(20,45,75,.055);min-width:0}
.quick-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:14px}
.quick-kicker{display:block;color:#8390a0;font-size:10px;font-weight:900;letter-spacing:.17em;margin-bottom:4px}
.quick-panel h3{margin:0;font-size:22px;line-height:1.1;color:var(--ink)}
.quick-panel-hint{color:#8a94a2;font-size:10px;text-align:right}
.quick-card-grid{display:grid;gap:9px}
.quick-popular-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.quick-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.quick-card-grid button{appearance:none;border:1px solid #edf0f4;border-radius:16px;background:#fff;min-height:94px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:0 6px 18px rgba(20,45,75,.045);color:var(--ink);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.quick-card-grid button:hover,.quick-card-grid button:focus-visible{transform:translateY(-2px);box-shadow:0 11px 24px rgba(20,45,75,.09);border-color:#dfe6f0;outline:none}
.quick-card-grid button.active{border-color:#ef3167;background:#fff9fb;box-shadow:0 0 0 3px rgba(239,49,103,.09)}
.quick-popular-grid button:nth-child(1){background:#fff4f7}.quick-popular-grid button:nth-child(2){background:#f3fbf5}.quick-popular-grid button:nth-child(3){background:#f4f7ff}.quick-popular-grid button:nth-child(4){background:#fff9e8}.quick-popular-grid button:nth-child(5){background:#faf4ff}.quick-popular-grid button:nth-child(6){background:#f0fbff}
.quick-emoji{font-size:25px;line-height:1}
.quick-card-grid strong{font-size:11px;line-height:1.15;text-align:center}
.quick-card-grid small{font-size:9px;color:var(--muted);line-height:1.2;text-align:center}
.quick-category-grid .category-spin-icon{width:40px;height:40px;border-radius:13px}
.quick-category-grid .category-spin-icon svg{width:24px;height:24px}
.quick-category-grid strong{font-size:10.5px}

/* Retire the old large landing blocks; their content now lives in quick-start-hub. */
.category-spins,.popular{background:transparent}

@media (max-width:980px) and (orientation:portrait){
  .quick-start-split{grid-template-columns:1fr}
  .quick-popular-grid{grid-template-columns:repeat(6,minmax(120px,1fr));overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}
  .quick-category-grid{grid-template-columns:repeat(8,minmax(116px,1fr));overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}
  .quick-card-grid button{scroll-snap-align:start}
}
@media (max-width:760px){
  .quick-start-hub{padding:20px 12px 24px}
  .quick-start-heading{text-align:left;margin:0 6px 14px}
  .quick-start-heading h2{font-size:31px}
  .quick-start-heading>p:last-child{font-size:12px}
  .quick-start-split{gap:11px}
  .quick-panel{padding:14px 12px;border-radius:20px}
  .quick-panel-head{margin-bottom:10px;align-items:center}
  .quick-panel h3{font-size:18px}
  .quick-panel-hint{font-size:9px;max-width:128px}
  .quick-popular-grid{grid-template-columns:repeat(6,112px);gap:8px}
  .quick-category-grid{grid-template-columns:repeat(8,106px);gap:8px}
  .quick-card-grid{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .quick-card-grid::-webkit-scrollbar{display:none}
  .quick-card-grid button{min-height:88px;padding:10px 6px;border-radius:15px}
  .quick-emoji{font-size:23px}
  .quick-category-grid .category-spin-icon{width:36px;height:36px}
  .quick-category-grid .category-spin-icon svg{width:22px;height:22px}
  .quick-card-grid strong{font-size:10px}
  .quick-card-grid small{font-size:8px}
}
@media (max-width:430px){
  .quick-start-hub{padding-top:16px}
  .quick-start-heading h2{font-size:29px}
  .quick-panel{padding:12px 10px}
  .quick-popular-grid{grid-template-columns:repeat(6,104px)}
  .quick-category-grid{grid-template-columns:repeat(8,100px)}
}


/* V16 — Quick Start panels stay side by side on desktop and every landscape layout. */
@media (orientation:landscape) and (min-width:540px){
  .quick-start-split{grid-template-columns:minmax(0,.92fr) minmax(0,1.2fr);gap:12px;align-items:stretch}
  .quick-panel{min-width:0;height:100%;padding:14px 12px}
  .quick-panel-head{align-items:flex-end;margin-bottom:10px}
  .quick-panel h3{font-size:18px}
  .quick-panel-hint{font-size:9px;max-width:120px}
  .quick-popular-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:visible;scroll-snap-type:none;padding-bottom:0}
  .quick-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;overflow:visible;scroll-snap-type:none;padding-bottom:0}
  .quick-card-grid{overflow:visible;overscroll-behavior-x:auto}
  .quick-card-grid button{min-width:0;min-height:78px;padding:8px 5px;border-radius:14px}
  .quick-card-grid strong{font-size:9.5px}
  .quick-card-grid small{font-size:7.5px}
  .quick-emoji{font-size:21px}
  .quick-category-grid .category-spin-icon{width:34px;height:34px}
  .quick-category-grid .category-spin-icon svg{width:20px;height:20px}
}

@media (orientation:landscape) and (min-width:1000px){
  .quick-start-split{gap:16px}
  .quick-panel{padding:18px}
  .quick-panel h3{font-size:22px}
  .quick-panel-hint{font-size:10px;max-width:none}
  .quick-popular-grid{gap:9px}
  .quick-category-grid{gap:9px}
  .quick-card-grid button{min-height:94px;padding:12px 8px;border-radius:16px}
  .quick-card-grid strong{font-size:11px}
  .quick-card-grid small{font-size:9px}
  .quick-emoji{font-size:25px}
  .quick-category-grid .category-spin-icon{width:40px;height:40px}
  .quick-category-grid .category-spin-icon svg{width:24px;height:24px}
}

/* V17 shared-spin deep links */
.product-card.shared-focus{outline:3px solid rgba(244,83,132,.35);box-shadow:0 16px 38px rgba(29,42,84,.14)}

/* V18 Pexels inspiration imagery */
.product-inspiration-image{position:relative;height:190px;border-radius:16px;background:#f7f9fc;border:1px solid #eef1f5;overflow:hidden}
.product-inspiration-image>img{width:100%;height:100%;object-fit:cover;display:block}
.inspiration-label{position:absolute;left:10px;top:10px;z-index:2;background:rgba(255,255,255,.9);color:#173454;font-size:11px;font-weight:800;padding:5px 8px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.photo-credit{position:absolute;left:0;right:0;bottom:0;padding:18px 10px 8px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;font-size:10px;line-height:1.2}
.photo-credit a{color:#fff;text-decoration:underline}
#amazonStatus a{color:inherit;font-weight:700}
@media(max-width:760px){.product-inspiration-image{height:220px}}


/* V23 Gift Hint helper strip */
.gift-hint-strip{max-width:1400px;margin:18px auto 24px;padding:18px 22px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;background:linear-gradient(135deg,#fff7fb,#f3f8ff);border:1px solid rgba(17,50,82,.08);border-radius:28px;box-shadow:0 14px 40px rgba(16,48,80,.07)}
.gift-hint-mini{width:66px;height:66px;border-radius:22px;display:grid;place-items:center;font-size:34px;background:#fff;box-shadow:0 8px 24px rgba(244,51,121,.12)}
.gift-hint-strip-copy h2{margin:3px 0 4px;font-size:clamp(1.3rem,2vw,2rem);color:#102f4f}.gift-hint-strip-copy p{margin:0;color:#677789}.gift-hint-strip-button{white-space:nowrap}
@media(max-width:760px){.gift-hint-strip{margin:14px 16px 20px;padding:16px;grid-template-columns:auto 1fr}.gift-hint-strip-button{grid-column:1/-1;width:100%;text-align:center}.gift-hint-mini{width:54px;height:54px;border-radius:18px;font-size:28px}.gift-hint-strip-copy h2{font-size:1.25rem}.gift-hint-strip-copy p{font-size:.92rem}}


/* V27 — simpler homepage + three editable occasion presets */
.preset-wheel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.preset-wheel-grid button{min-height:126px;padding:14px 10px}
.preset-wheel-grid button em{font-style:normal;font-size:9px;font-weight:850;color:var(--pink);margin-top:2px}
.home-more{padding:42px clamp(20px,5vw,76px);background:#fafcff}
.home-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:980px;margin:24px auto 0}
.home-more-grid a{background:#fff;border:1px solid #e9edf3;border-radius:18px;padding:20px;text-decoration:none;color:var(--ink);box-shadow:0 7px 22px rgba(20,45,75,.05);display:grid;grid-template-columns:44px 1fr;column-gap:12px;align-items:center}
.home-more-grid a>span{grid-row:1/3;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff2f6;color:var(--pink);font-weight:900;font-size:20px}
.home-more-grid strong{font-size:14px}.home-more-grid small{font-size:11px;color:var(--muted);margin-top:3px}
@media (max-width:980px) and (orientation:portrait){.preset-wheel-grid{grid-template-columns:repeat(3,minmax(148px,1fr));overflow-x:auto}.home-more-grid{grid-template-columns:1fr}}
@media (max-width:760px){.preset-wheel-grid{grid-template-columns:repeat(3,148px)}.preset-wheel-grid button{min-height:106px}.home-more{padding:34px 16px}}
@media (orientation:landscape) and (min-width:540px){.preset-wheel-grid{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.preset-wheel-grid button{min-height:88px}}

.simple-page{min-height:70vh;background:linear-gradient(180deg,#fff,#fbfdff)}.simple-hero{padding:70px 20px 28px;text-align:center;max-width:900px;margin:auto}.simple-hero h1{font-size:clamp(38px,5vw,64px);margin:0 0 12px;color:var(--ink);letter-spacing:-.035em}.simple-hero p:last-child{color:var(--muted);font-size:17px;line-height:1.6;max-width:720px;margin:0 auto}

/* V28 — quick category budget + clickable wheel segments */
.category-budget-picker{margin-top:14px;padding-top:14px;border-top:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.category-budget-picker[hidden]{display:none}
.category-budget-copy{display:flex;flex-direction:column;gap:2px;min-width:180px}
.category-budget-copy strong{font-size:13px;color:var(--ink)}
.category-budget-copy small{font-size:10px;color:var(--muted)}
.category-budget-chips{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.category-budget-chip{appearance:none;border:1px solid #dfe6ef;background:#fff;color:var(--navy);border-radius:999px;padding:8px 10px;font-size:10px;font-weight:850;min-height:36px;cursor:pointer}
.category-budget-chip:hover,.category-budget-chip:focus-visible{border-color:var(--pink);outline:none}
.category-budget-chip.active{background:#fff0f5;border-color:var(--pink);color:#d92d66;box-shadow:0 0 0 2px rgba(239,49,103,.08)}
.segment-label{pointer-events:auto;appearance:none;border:0;background:transparent;padding:4px;border-radius:13px;cursor:pointer;font:inherit}
.segment-label:hover,.segment-label:focus-visible{background:rgba(255,255,255,.16);outline:2px solid rgba(255,255,255,.86);outline-offset:1px}
.segment-label.segment-picked{background:rgba(255,255,255,.24);outline:3px solid #fff;box-shadow:0 0 0 4px rgba(255,255,255,.18)}
.wheel.is-spinning .segment-label{pointer-events:none}
#wheelHint .tap-note{font-weight:800;color:var(--pink)}
@media (max-width:760px){.category-budget-picker{display:block}.category-budget-copy{margin-bottom:9px}.category-budget-chips{justify-content:flex-start;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.category-budget-chip{padding:8px 5px}}
@media (orientation:landscape) and (min-width:540px){.category-budget-picker{flex-wrap:nowrap}.category-budget-chips{flex-wrap:nowrap}.category-budget-chip{white-space:nowrap}}


/* V31 — clean clickable-wheel tip */
.wheel-column{position:relative}
.wheel-tap-tip{margin:0 auto 8px;text-align:center;color:var(--navy);font-size:clamp(13px,1.8vw,17px);line-height:1.25;padding:0 12px}
.wheel-tap-tip strong{font-weight:900}
/* V35 progressive category drill-down */
.category-sub-picker{margin-top:14px;padding-top:14px;border-top:1px solid #edf1f5}
.category-sub-picker[hidden]{display:none}
.category-sub-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.category-sub-chips .category-budget-chip{flex:0 1 auto}
@media(max-width:760px){.category-sub-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.category-sub-chips .category-budget-chip{white-space:normal}}

/* V37: clearer top story + category/subcategory builder */
.home-intro-split{max-width:1400px;margin:22px auto 16px;padding:0 28px;display:grid;grid-template-columns:1.08fr .92fr;gap:18px;align-items:stretch}
.home-about-card,.home-hint-card{background:#fff;border:1px solid #e9eef4;border-radius:28px;padding:28px;box-shadow:0 12px 34px rgba(16,48,80,.06);min-width:0}
.home-about-card h1{font-size:clamp(36px,4vw,58px);line-height:1.02;margin:5px 0 12px;color:var(--ink)}.home-about-card h1 span{color:var(--pink)}
.home-about-card p,.home-hint-card p{color:var(--muted);line-height:1.65;margin:0 0 14px}.strong-link{font-weight:900;color:#c71955}
.home-hint-card{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;background:linear-gradient(135deg,#fff7fb,#f4f8ff)}
.home-hint-card .gift-hint-mini{grid-row:1/3}.home-hint-card h2{font-size:clamp(24px,2.4vw,34px);margin:4px 0 8px;color:var(--ink)}.home-hint-card .button{grid-column:2;justify-self:start}
.hero{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;max-width:1400px;margin:0 auto}.wheel-column{grid-column:1}.builder-card{grid-column:2}
.category-field small{display:block;margin-top:8px;color:var(--muted);font-size:11px}.popular-search-grid button{min-height:74px}
@media (orientation:portrait) and (max-width:900px){.home-intro-split{grid-template-columns:1fr;padding:0 16px}.hero{display:flex!important;flex-direction:column!important}.builder-card{order:1!important}.wheel-column{order:2!important}.home-hint-card .button{width:100%;text-align:center;justify-self:stretch}}
@media (orientation:landscape) and (max-width:900px){.home-intro-split{grid-template-columns:1.08fr .92fr;padding:0 16px}.home-about-card,.home-hint-card{padding:18px}.home-about-card h1{font-size:34px}.home-hint-card h2{font-size:22px}.home-hint-card p,.home-about-card p{font-size:12px}.hero{grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr)!important;display:grid!important}.wheel-column{grid-column:1;order:initial!important}.builder-card{grid-column:2;order:initial!important;display:block!important}}
@media(max-width:600px){.home-about-card,.home-hint-card{padding:20px;border-radius:22px}.home-hint-card{grid-template-columns:auto 1fr}.home-about-card h1{font-size:38px}.popular-search-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important}}


/* V38 — concise intro, quick starts directly under Gift Hint, stronger split layout */
.home-about-card p,.home-hint-card p{max-width:52ch;line-height:1.48}
.home-about-card h1{margin-bottom:10px}
.home-hint-card h2{margin:5px 0 8px}
.home-intro-split{margin-bottom:12px}
.quick-start-hub{margin-top:0;padding-top:10px}
.quick-start-heading{margin-bottom:14px}
.quick-start-heading>p:last-child{max-width:760px;margin-left:auto;margin-right:auto}
@media (min-width:640px){
  .home-intro-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .home-about-card,.home-hint-card{min-width:0}
}
@media (max-width:639px){
  .home-intro-split{grid-template-columns:1fr!important}
}

#builderCard.quick-loaded{outline:3px solid rgba(247,52,116,.35);outline-offset:4px;transition:outline-color .3s ease;}

/* V42 — landscape/tablet wheel scaling cleanup */
@media (orientation:landscape) and (max-height:760px){
  .hero{align-items:start!important;gap:20px!important;padding-top:18px!important;padding-bottom:26px!important}
  .wheel-column{align-self:start!important;max-width:100%!important}
  .wheel-tap-tip{font-size:14px!important;margin:0 auto 4px!important;padding:0 8px!important}
  .wheel-wrap{width:min(360px,44vw,58vh)!important;max-width:360px!important;margin-bottom:34px!important}
  .wheel-toolbar{margin-top:0!important;gap:8px!important;align-items:center!important}
  .wheel-toolbar span{display:none!important}
  .wheel-toolbar .button{padding:12px 18px!important;font-size:13px!important}
  .builder-card{align-self:start!important}
  .segment-label{width:76px!important;min-height:54px!important}
  .segment-icon{font-size:19px!important;margin-bottom:2px!important}
  .segment-text{font-size:9px!important;max-width:72px!important}
  .spin-button{width:96px!important;height:96px!important;border-width:7px!important}
  .spin-button strong{font-size:22px!important}
  .spin-button span{font-size:10px!important}
}

@media (orientation:landscape) and (max-height:620px){
  .wheel-wrap{width:min(320px,41vw,56vh)!important;max-width:320px!important;margin-bottom:30px!important}
  .wheel-tap-tip{font-size:13px!important}
}

/* V43 — landscape: builder above wheel, compact controls, no wheel footer text */
@media (orientation:landscape) and (min-width:640px){
  .hero{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:18px!important;
    max-width:1400px!important;
    margin:0 auto!important;
    padding:18px 24px 30px!important;
  }
  .builder-card{
    order:1!important;
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:10px 12px!important;
    align-items:end!important;
    padding:18px 20px!important;
  }
  .builder-card h2{grid-column:1/-1!important;margin:0 0 2px!important;font-size:26px!important}
  .builder-card .builder-intro{grid-column:1/-1!important;margin:0 0 6px!important;display:none!important}
  .builder-card .field{margin:0!important;min-width:0!important}
  .builder-card .field label{font-size:11px!important;line-height:1.15!important;min-height:26px!important;display:flex!important;align-items:flex-end!important}
  .builder-card .select-wrap select{min-width:0!important;width:100%!important;font-size:12px!important;padding-right:28px!important}
  .builder-card .select-wrap{min-width:0!important}
  .builder-card .select-icon{font-size:16px!important}
  .builder-card .category-depth-note{display:none!important}
  .builder-card>.button-wide{grid-column:1/4!important;margin-top:2px!important;min-height:46px!important}
  .builder-card>.surprise-link{grid-column:4/6!important;margin:2px 0 0!important;align-self:center!important}
  #subRecipientField.hidden{display:none!important}
  #subRecipientField:not(.hidden){display:block!important}
  .wheel-column{
    order:2!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
  }
  .wheel-tap-tip{margin:0 auto 5px!important;font-size:14px!important}
  .wheel-wrap{width:min(350px,42vw,56vh)!important;max-width:350px!important;margin:0 auto 34px!important}
  .wheel-toolbar{margin-top:0!important;justify-content:center!important}
  .wheel-toolbar span{display:none!important}
  .wheel-toolbar .button{padding:11px 18px!important;font-size:13px!important}
  .segment-label{width:74px!important;min-height:52px!important}
  .segment-icon{width:22px!important;height:22px!important;margin-bottom:2px!important}
  .segment-svg{width:20px!important;height:20px!important}
  .segment-text{font-size:8.5px!important;max-width:70px!important;line-height:1.02!important}
  .spin-button{width:94px!important;height:94px!important;border-width:7px!important}
  .spin-button strong{font-size:21px!important}
  .spin-button span{font-size:9px!important}
}

@media (orientation:landscape) and (min-width:640px) and (max-width:980px){
  .builder-card{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .builder-card>.button-wide{grid-column:1/3!important}
  .builder-card>.surprise-link{grid-column:3!important}
  .wheel-wrap{width:min(320px,48vw,54vh)!important;max-width:320px!important}
}

/* V46 — simplified 3-question gift builder: legacy recipient detail must never render. */
#subRecipientField{display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}

/* V47 Food Wheel homepage feature */
.food-wheel-feature{max-width:1180px;margin:20px auto;padding:24px 28px;border:1px solid #e8eaf0;border-radius:28px;background:linear-gradient(135deg,#fff8fb,#f5fbff);box-shadow:0 12px 35px rgba(22,48,80,.07);display:flex;align-items:center;justify-content:space-between;gap:24px}
.food-wheel-feature h2{margin:3px 0 7px;font-size:clamp(26px,3vw,38px);color:#142f50}.food-wheel-feature p{margin:0;color:#6e7887}.food-wheel-home-button{white-space:nowrap}
@media(max-width:720px){.food-wheel-feature{margin:14px 18px;padding:20px;display:block}.food-wheel-home-button{display:flex;margin-top:16px;width:100%;justify-content:center}}
