/* Homepage only: one deck, then an image-led catalogue. */
.discovery-home .discover-layout{max-width:800px;padding-top:24px}
.home-hero-top{max-width:520px;margin:0 auto 12px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.home-hero-top .discover-heading{position:static;width:auto;height:auto;overflow:visible;clip:auto;margin:0}
.home-hero-controls{max-width:520px;margin:0 auto 16px}
.home-hero-controls fieldset{border:0;padding:0;margin:0;min-width:0}
.home-hero-top .discover-heading p{font-size:13px;line-height:1.5;color:var(--muted);margin:8px 0 0}
.home-hero-topics .topic-choices{justify-content:flex-start;gap:7px;padding:2px 0}
.home-hero-topics .topic-choices span{min-height:40px;padding:9px 17px;font-size:13px}
.home-hero-topics .topic-choices :checked+span{background:#ebe3f4;color:#715288}
.home-hero-top h1{font-size:22px;line-height:1.3;letter-spacing:-.5px}
.home-tuning{position:relative;margin:0;max-width:none;flex-shrink:0;z-index:6}
.home-tuning>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px 0 10px 14px;min-height:44px;font-size:13px;color:var(--muted);cursor:pointer}
.home-tuning>summary::-webkit-details-marker{display:none}
.home-tuning>summary:focus-visible{outline:2px solid var(--violet);outline-offset:4px;border-radius:6px}
.home-tuning-panel{position:absolute;top:100%;right:0;width:280px;display:flex;flex-direction:column;gap:12px;max-width:calc(100vw - 36px);padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 36px #34234016}
.home-tuning:not([open]) .home-tuning-panel{display:none}
.home-tuning fieldset legend{font-size:12px;color:var(--muted);margin-bottom:8px}
.home-tuning .choice-row{display:inline-flex}.home-tuning .choice-row span{min-height:40px;display:flex;align-items:center}
.home-tuning .discover-mix{text-align:left;min-height:44px;padding:8px 0}
.home-tuning .secret-trigger{padding:12px 0 0;border-top:1px solid var(--line);border-radius:0;width:100%;font-size:13px}
.discovery-home .swipe-stage{max-width:520px;padding-inline:0;--swipe-image-height:clamp(120px,calc(100svh - 550px),185px)}
.discovery-home .swipe-stack{padding-bottom:11px}
.discovery-home .swipe-stack:before{inset:12px 10px 2px;transform:rotate(-1.4deg);border-color:#e5dcef;background:#f1eaf8}
.discovery-home .swipe-stack:after{display:none}
.discovery-home .swipe-card{border:1px solid #e9e3ef;border-radius:22px;box-shadow:0 10px 28px #40265308}
.discovery-home .swipe-copy{padding:24px 28px 26px}
.discovery-home .swipe-copy h2{font-size:24px;line-height:1.24;letter-spacing:-.65px}
.discovery-home .swipe-copy>p:not(.swipe-meta){display:block;margin:14px 0 16px;font-size:15px;line-height:1.5;overflow:visible;-webkit-line-clamp:unset}
.discovery-home .swipe-copy>a{font-size:13px;padding-top:8px}
.discovery-home .swipe-copy dl{margin:16px 0;gap:8px}
.discovery-home .round-panel{padding:5px 8px;background:#ffffffdf}
.discovery-home .round-panel progress{display:none}
.discovery-home .swipe-category{background:#ffffffdf}
.discovery-home .swipe-actions{left:14px;right:14px;top:calc(var(--swipe-image-height) - 12px);transform:translateY(-100%);gap:14px}
.discovery-home .swipe-actions button{width:auto;min-width:130px;min-height:44px;padding:10px 16px;flex-direction:row;gap:8px;border-radius:12px;font-size:13px;font-weight:500;line-height:1.4;box-shadow:0 3px 10px #34214012;transform:none;transition:background .15s,box-shadow .15s}
.discovery-home .swipe-actions .swipe-pass{background:#ffffffed;border:1px solid #ffffffc9;color:#63566f;backdrop-filter:blur(10px);transform:none}
.discovery-home .swipe-actions .swipe-like{background:#786091;border:1px solid #786091;color:white;transform:none}
.discovery-home .swipe-actions .swipe-pass:hover{background:#fff;transform:none;box-shadow:0 4px 14px #3421401a}
.discovery-home .swipe-actions .swipe-like:hover{background:#684f81;transform:none;box-shadow:0 4px 14px #3421401a}
.discovery-home .swipe-actions button:active{box-shadow:none}
.discovery-home .swipe-actions button:disabled{opacity:.5;cursor:default}
.discovery-home .swipe-actions .swipe-action-icon{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.discovery-home .swipe-under{max-width:520px;margin:7px auto 0;justify-content:space-between;gap:12px}
.discovery-home .swipe-undo{padding:4px 0;font-size:12px;min-height:40px}
.discovery-home .swipe-help{font-size:12px;line-height:1.4;color:var(--muted)}
.discovery-home .swipe-finish{min-height:370px;border-radius:22px}
.home-challenges{margin:36px 0 0;scroll-margin-top:24px}
.home-challenges-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}
.home-challenges-heading h2{font-size:27px;line-height:1.25;letter-spacing:-.6px}
.home-challenges-heading p{font-size:16px;line-height:1.5;color:var(--muted);margin-top:8px}
.home-challenges-all{display:inline-flex;gap:8px;align-items:center;min-height:44px;font-size:14px;color:#715387;white-space:nowrap}
.home-challenges-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-challenge-card{min-width:0;border:1px solid #e9e1ee;border-radius:20px;background:#fff;overflow:hidden;transition:box-shadow .2s,border-color .2s}
.home-challenge-card:hover{border-color:#bba4c9;box-shadow:0 8px 26px #4223570d}
.home-challenge-card>a{display:flex;flex-direction:column;height:100%;color:inherit}
.home-challenge-card>a:focus-visible{outline:3px solid #765087;outline-offset:-4px;border-radius:20px}
.home-challenge-image{position:relative;height:140px;background:#ece4f2;overflow:hidden}
.home-challenge-image img{width:100%;height:100%;object-fit:cover}
.home-challenge-image>.challenge-emblem{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.home-challenge-copy{display:flex;flex-direction:column;flex:1;padding:20px}
.home-challenge-copy h3{font-size:22px;line-height:1.25;letter-spacing:-.4px;margin:0 0 12px}
.home-challenge-teaser{font-size:16px;line-height:1.5;color:var(--muted);margin:0 0 20px}
.home-challenge-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;border-top:1px solid #eee7f3}
.home-challenge-badge{font-size:12px;line-height:1.4;color:#7a608b}
.home-challenge-badge>span{font-size:17px;vertical-align:-1px;margin-right:4px}
.home-challenge-open{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#67417e;white-space:nowrap}
.home-library{margin:36px auto 0;padding:30px 0 0;border-top:1px solid var(--line);scroll-margin-top:24px}
.home-library-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px}
.home-library-heading h2{font-size:27px;line-height:1.2;letter-spacing:-.6px}
.home-library-heading>span{font-size:12px;color:var(--muted)}
.home-library-filters{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0;margin:0;padding:2px 0}
.home-library-filters>a{flex-shrink:0;padding:10px 18px;min-height:44px;display:flex;align-items:center;border-radius:24px;color:var(--muted);font-size:14px;line-height:1.4;white-space:nowrap;transition:background .15s,color .15s}
.home-library-filters>a:hover{background:#f0eaf6;color:#674d83}
.home-library-filters>a[aria-current]{background:#786093;color:#fff}
.home-library-filters>a:focus-visible{outline:2px solid #826093;outline-offset:3px}
.home-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:18px}
.home-library [hidden],.home-saved[hidden]{display:none!important}
.bento-tile{min-width:0;overflow:hidden;border-radius:15px;background:white;box-shadow:0 1px 0 #eae4ef;transition:box-shadow .2s}
.bento-tile:hover{box-shadow:0 8px 26px #4223570d}
.bento-tile>a{display:flex;flex-direction:column;height:100%}
.bento-image{height:148px;overflow:hidden;background:#f2edf5;flex-shrink:0}
.bento-image img{width:100%;height:100%;object-fit:cover}
.toys-tile .bento-image{background:#f5f3f8}.toys-tile .bento-image img{object-fit:contain;padding:18px;mix-blend-mode:multiply}
.positions-tile .bento-image{background:#f5f0e8}.positions-tile .bento-image img{object-fit:contain}
.bento-copy{padding:14px 16px 18px}
.bento-kicker{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#7b6c87;font-size:11px;line-height:1.4;margin-bottom:8px}
.bento-copy h3{font-size:17px;line-height:1.35;letter-spacing:-.25px;margin:0;overflow-wrap:anywhere}
.bento-copy>.card-description{display:block;margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.bento-tile:nth-child(3n+2){background:#f1edf7}
.bento-tile:nth-child(4n){background:#f3f0e9}
.home-library-more{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 0;min-height:44px;font-size:13px;color:var(--muted)}
.home-library-more a{color:#715387;padding:10px 0;min-height:44px;white-space:nowrap}
.home-saved{max-width:none;margin-top:30px;padding:24px 0 0}.home-saved .shelf-heading h2{font-size:21px;margin:0}.home-saved .favorite-preview{margin-top:16px}.home-saved .favorite-mini{background:#f1ecf6}.home-saved .shelf-all{font-size:13px}
.discovery-home .site-footer{margin-top:44px}
@media(max-width:900px){
.home-challenges-grid{gap:14px}.home-challenge-copy{padding:17px}.home-challenge-copy h3{font-size:20px}.home-challenge-bottom{align-items:start;flex-direction:column;gap:8px}
.home-bento{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bento-copy{padding:14px}.bento-copy h3{font-size:16px}
}
@media(max-width:600px){
.home-challenges{margin-top:28px}.home-challenges-heading{align-items:start;flex-direction:column;gap:4px;margin-bottom:14px}.home-challenges-heading h2{font-size:24px}.home-challenges-heading p{font-size:16px;max-width:330px}
.home-challenges-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:86%;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding:0 2px 12px;scroll-padding:2px}
.home-challenge-card{scroll-snap-align:start}.home-challenge-image{height:120px}.home-challenge-copy{padding:18px}.home-challenge-bottom{align-items:center;flex-direction:row}.home-challenge-copy h3{font-size:21px}
.discovery-home .discover-layout{padding-top:12px}
.home-hero-controls{margin-bottom:12px;padding-inline:3px}
.home-hero-top{align-items:flex-start;gap:8px;margin-bottom:12px}.home-hero-top h1{font-size:20px}
.home-hero-top .discover-heading p{font-size:12px;line-height:1.5;margin-top:6px}
.home-tuning>summary{padding:2px 0 8px 10px;font-size:12px}
.home-hero-topics .topic-choices{gap:5px;justify-content:space-between;overflow:visible}
.home-hero-topics .topic-choices label{flex:1}.home-hero-topics .topic-choices span{padding:9px 10px;text-align:center;font-size:12px;min-height:40px}
.discovery-home .swipe-stage{padding-inline:3px;--swipe-image-height:clamp(115px,calc(100svh - 540px),165px)}
.discovery-home .swipe-copy{padding:22px 24px 24px}
.discovery-home .swipe-copy h2{font-size:22px}
.discovery-home .swipe-copy>p:not(.swipe-meta){font-size:14px;line-height:1.5;margin:12px 0 14px}
.discovery-home .swipe-actions{left:15px;right:15px;top:calc(var(--swipe-image-height) - 11px);gap:10px}
.discovery-home .swipe-actions button{min-width:116px;min-height:44px;padding:10px 12px;gap:6px;font-size:12px;border-radius:11px}
.discovery-home .swipe-actions .swipe-action-icon{width:18px;height:18px}
.discovery-home .swipe-under{justify-content:center;gap:4px 12px;flex-wrap:wrap}
.discovery-home .swipe-help{font-size:11px;max-width:none}
.discovery-home .swipe-undo{font-size:11px;min-height:36px}
.home-library{margin-top:26px;padding-top:23px}
.home-library-heading{margin-bottom:12px}.home-library-heading h2{font-size:24px}
.home-library-filters{gap:3px}.home-library-filters>a{font-size:13px;padding:10px 12px}
.home-bento{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bento-image{height:118px}.bento-copy{padding:12px 13px 16px}.bento-copy h3{font-size:15px}.bento-kicker{font-size:10px}
.home-library-more{align-items:start;gap:10px;font-size:12px}.home-library-more p{max-width:200px;line-height:1.5}.home-library-more a{padding-top:0}
.home-saved .favorite-preview{grid-template-columns:1fr}.home-saved .shelf-heading h2{font-size:20px}
}
@media(max-width:360px){.home-hero-top h1{font-size:19px}.home-hero-top .discover-heading p{font-size:11px}.bento-copy h3{font-size:14px}.bento-copy{padding:11px}.home-bento{gap:10px}}
@media(prefers-reduced-motion:reduce){.bento-tile,.home-challenge-card,.home-library-filters>a{transition:none}}

.discovery-home .swipe-copy>.toy-highlights{font-size:14px;line-height:1.45;gap:5px;margin:13px 0 14px}
.discovery-home .swipe-card[data-category=toys] .swipe-meta{position:static;display:block;font-size:12px;line-height:1.4;margin:0 0 4px;color:#8a709c}
[data-secret-result]>.toy-highlights{font-size:15px;line-height:1.5;gap:7px;margin:15px 0;text-align:left}
[data-secret-result]>.toy-card-tag{font-size:12px;margin:0 0 18px}
@media(max-width:600px){.discovery-home .swipe-copy>.toy-highlights{font-size:13px;gap:5px;margin:12px 0}}
