:root{--o:#ea590b;--ink:#22252a;--muted:#686a70;--line:#e4e4e5;--cream:#fffaf2}html{scroll-behavior:smooth}body{font-family:Arial,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;line-height:1.6;background:#fff}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ea590b;outline-offset:4px}[hidden]{display:none!important}.wrap{max-width:1240px;padding:0 28px}.site-header{border-bottom:1px solid var(--line)}.top{height:100px;border:0;gap:44px}.logo{font-size:30px;letter-spacing:-1px;white-space:nowrap}.nav{margin:auto;gap:30px;align-items:center;font-weight:500;white-space:nowrap}.nav a,.nav button{position:relative;background:none;border:0;padding:12px 0;color:var(--muted);font-size:15px}.nav .active{color:var(--ink);font-weight:700}.nav .active:after{content:'';position:absolute;bottom:1px;height:2px;background:var(--o);left:0;right:0}.nav button[aria-pressed=true]{color:var(--o)}.right{margin-left:0;font-size:14px;gap:20px;white-space:nowrap}.app-link{padding:7px 13px;border:1px solid #d5d7da;border-radius:5px}.intro{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr);gap:36px;align-items:center;padding:44px 0 35px}.search-intro h1{font-size:34px;line-height:1.35;letter-spacing:-1.4px;margin:0 0 13px;font-weight:800}.search-intro>p{font-size:17px;color:var(--muted);margin:0 0 25px}#recipe-search{display:flex;gap:8px;width:100%}.search-field{display:flex;align-items:center;border:1px solid #cfd1d4;border-radius:5px;min-width:0;flex:1;background:white}.search-field span{font-size:28px;line-height:1;margin:0 13px}.search-field input{border:0;background:none;width:100%;min-width:0;padding:13px 12px 13px 0;font-size:15px;outline-offset:0}.search-field input::placeholder{color:#93969b}.search-submit{background:#292b2d;color:white;border:0;border-radius:5px;padding:12px 25px;font-weight:700}.keywords{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin-top:16px;font-size:13px;color:var(--muted)}.keywords button{border:0;border-left:1px solid var(--line);background:none;padding:0 0 0 13px;color:#555b64}.roulette-card{background:var(--cream);border:1px solid #f4d7b3;border-radius:9px;min-height:223px;padding:26px;display:flex;align-items:center;gap:14px;justify-content:space-between}.roulette-card h2{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:0 0 10px;color:#181818}.roulette-card p{font-size:15px;margin:0 0 20px;color:var(--muted)}.orange-button{border:0;border-radius:5px;background:var(--o);color:#fff;padding:12px 19px;font-weight:700;font-size:15px}.mini-wheel{flex:none;position:relative;width:100px;height:100px;border:2px solid var(--o);border-radius:50%;background:conic-gradient(#f6ba7a 0deg 60deg,#fff9ed 60deg 120deg,#f6ba7a 120deg 180deg,#fff9ed 180deg 240deg,#f6ba7a 240deg 300deg,#fff9ed 300deg)}.mini-wheel:before{content:'';position:absolute;z-index:2;left:calc(50% - 9px);top:-10px;border-left:9px solid transparent;border-right:9px solid transparent;border-top:17px solid var(--o)}.mini-wheel i{position:absolute;left:calc(50% - 8px);top:calc(50% - 8px);width:16px;height:16px;border:2px solid white;border-radius:50%;background:var(--o)}.recipe-filters{border-bottom:1px solid var(--line);display:flex;align-items:center;gap:26px;margin-bottom:22px}.recipe-filters>div{display:flex;gap:30px}.recipe-filters button{padding:10px 0 15px;border:0;border-bottom:2px solid transparent;background:none;white-space:nowrap;color:#5a5b62;font-size:15px}.recipe-filters button.selected{border-color:var(--o);color:#161616;font-weight:700}.recipe-filters label{font-size:14px;border-left:1px solid var(--line);padding-left:22px;color:var(--muted);white-space:nowrap}.recipe-filters select{border:0;background:#fff;color:var(--ink);padding:6px;max-width:125px}.content-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:32px;align-items:start}#community,#stories{scroll-margin-top:20px}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.list-heading h2,.stories h2,.ingredient-links h2{font-size:24px;letter-spacing:-.8px;line-height:1.35;margin:0}.list-heading a{font-size:13px;white-space:nowrap}.search-status{font-size:12px;color:var(--muted);margin:8px 0 10px}.recipe-row{display:grid;grid-template-columns:170px minmax(0,1fr) 32px;gap:21px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.recipe-photo{height:108px;display:block;background:#f5f4f1;border-radius:5px;overflow:hidden}.recipe-photo img{width:100%;height:100%;object-fit:cover;display:block}.photo-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#7d7d7d;font-size:12px}.recipe-copy h3{font-size:19px;letter-spacing:-.4px;line-height:1.45;margin:0 0 6px;overflow-wrap:anywhere}.recipe-copy p{color:#60636a;font-size:14px;margin:0 0 6px}.recipe-copy small{font-size:12px;color:#76797d}.bookmark{padding:6px;background:none;border:0;align-self:start;margin-top:4px;color:#6a6e75}.bookmark svg{width:21px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}.bookmark.is-saved{color:var(--o)}.bookmark.is-saved svg{fill:#fff0dc}.stories{background:#f6f5f2;border-radius:8px;padding:28px}.stories .eyeline{font-size:14px;color:var(--muted);margin:0 0 8px}.stories h2{margin-bottom:18px}.stories button{width:100%;text-align:left;background:none;border:0;border-top:1px solid #deddd9;padding:18px 0}.stories button>span{color:var(--o);font-size:13px;font-weight:700}.stories h3{font-size:17px;line-height:1.5;letter-spacing:-.3px;margin:5px 0}.stories button p{font-size:13px;color:var(--muted);margin:0}.stories>a{display:inline-block;margin-top:12px;font-size:14px}.ingredient-links{border-top:1px solid var(--line);margin:30px 0 26px;padding-top:18px}.ingredient-links h2{font-size:22px}.ingredient-links>div{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:12px}.ingredient-links button,.ingredient-links a{background:none;border:0;border-right:1px solid var(--line);padding:4px 12px;font-size:14px;text-align:center;color:var(--ink)}.ingredient-links a{border-right:0}.foot{justify-content:flex-start;gap:26px;font-size:12px;color:var(--muted)}.foot .logo{font-size:17px;margin-right:4px}footer{background:white;padding:20px 0}.empty-state{padding:35px 18px;background:#faf9f6;text-align:center;color:var(--muted);line-height:2}.empty-state button,#more-recipes{margin-top:14px;border:1px solid var(--line);background:white;border-radius:5px;padding:8px 16px}#more-recipes{width:100%}.contribute{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted);padding-top:20px;gap:12px}.contribute button{background:none;border:0;color:var(--o);white-space:nowrap}.home-dialog{border:1px solid var(--line);border-radius:16px;padding:36px;max-width:510px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;color:var(--ink);text-align:center}.home-dialog::backdrop{background:#171a2059}.dialog-close{position:absolute;top:8px;right:13px;background:none;border:0;font-size:27px;color:#666}.home-dialog h2{font-size:23px;margin:8px 0 12px}.home-dialog>p{font-size:14px;color:var(--muted)}.large-wheel{width:215px;height:215px;margin:32px auto}.large-wheel i{width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px)}.large-wheel.spinning{animation:wheel-spin 1.4s cubic-bezier(.2,.5,.1,1)}@keyframes wheel-spin{to{transform:rotate(1080deg)}}#roulette-result{margin:20px 0;min-height:60px}#roulette-result strong{display:block;font-size:22px}.result-link{color:var(--o);display:block;margin-top:10px;text-decoration:underline}.home-dialog .orange-button:disabled{opacity:.55;cursor:wait}.article-dialog{text-align:left;max-width:650px;padding:38px}.article-dialog h3{margin-top:26px;font-size:18px}.article-dialog p{line-height:1.9;color:#565c64}.story-tag{font-size:13px;color:var(--o)!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.top{gap:20px}.nav{gap:20px}.intro{gap:24px;grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr)}.search-intro h1{font-size:29px}.roulette-card{padding:22px;gap:10px}.roulette-card h2{font-size:27px}.mini-wheel{width:75px;height:75px}.large-wheel{width:215px;height:215px}.content-grid{gap:24px}.recipe-row{grid-template-columns:130px minmax(0,1fr) 28px;gap:15px}.recipe-photo{height:95px}.stories{padding:22px}.right{gap:12px}}
@media(max-width:780px){.top{height:auto;min-height:96px;flex-wrap:wrap;gap:4px 15px;padding-top:16px;padding-bottom:8px}.top .logo{font-size:27px}.right{margin-left:auto}.nav{display:flex;order:3;width:100%;margin:0;justify-content:flex-start;gap:26px}.nav a,.nav button{font-size:13px;padding:9px 0}.intro{grid-template-columns:1fr;padding-top:30px;gap:24px}.search-intro h1{font-size:28px}.search-intro>p{font-size:15px;margin-bottom:20px}.roulette-card{min-height:154px;padding:23px;justify-content:space-between}.roulette-card h2{font-size:25px}.roulette-card p{margin-bottom:12px;font-size:14px}.mini-wheel{width:95px;height:95px;margin-right:10px}.large-wheel{width:210px;height:210px;margin:32px auto}.content-grid{grid-template-columns:1fr;gap:28px}.recipe-row{grid-template-columns:135px minmax(0,1fr) 30px}.recipe-photo{height:95px}.stories{padding:25px}.stories h2{font-size:23px}.ingredient-links>div{grid-template-columns:1fr 1fr}.ingredient-links button:nth-child(2){border-right:0}.recipe-filters{gap:15px;flex-wrap:wrap;padding-bottom:8px}.recipe-filters>div{gap:25px}.recipe-filters label{border:0;padding:0}.foot{display:flex;gap:18px}.keywords{font-size:12px}.list-heading h2{font-size:22px}}
@media(max-width:420px){.wrap{padding-left:18px;padding-right:18px}.search-intro h1{font-size:25px}.search-intro>p{font-size:14px}.search-field input{font-size:13px}.search-field span{margin:0 8px}.search-submit{padding:12px 16px}.keywords{gap:8px}.keywords button{padding-left:8px}.recipe-filters>div{gap:23px}.recipe-filters button{font-size:14px}.recipe-row{grid-template-columns:105px minmax(0,1fr) 26px;gap:12px}.recipe-copy h3{font-size:16px}.recipe-copy p{font-size:12px}.recipe-photo{height:86px}.roulette-card{padding:20px}.roulette-card p{font-size:13px}.mini-wheel{width:80px;height:80px;margin-right:0}.large-wheel{width:190px;height:190px;margin:32px auto}.home-dialog{padding:32px 22px}.home-dialog h2{font-size:20px}.ingredient-links button,.ingredient-links a{font-size:12px;padding:4px}.contribute{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spinning{animation:none!important}}
@media(max-width:360px){.roulette-card{padding:18px;gap:8px}.roulette-card .mini-wheel{width:62px;height:62px}.roulette-card .orange-button{font-size:13px;padding:11px 13px}.roulette-card h2{font-size:23px}.roulette-card p{font-size:12px}.nav{gap:20px}.top .logo{font-size:24px}.right{font-size:12px;gap:10px}.recipe-filters>div{gap:19px}}

/* Compact homepage list; normal document scrolling on dedicated pages. */
body[data-page="home"] #recipes{max-height:390px;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#c8c2bb #f5f3f0;padding-right:10px;-webkit-overflow-scrolling:touch}
body[data-page="home"] #recipes::-webkit-scrollbar{width:7px}body[data-page="home"] #recipes::-webkit-scrollbar-thumb{background:#c8c2bb;border-radius:8px}.scroll-hint{font-size:12px;color:var(--muted);margin:0 0 10px}
.stories a.story-link{display:block;width:100%;text-align:left;border-top:1px solid #deddd9;padding:18px 0;margin:0}.stories .story-link>span{color:var(--o);font-size:13px;font-weight:700}.stories .story-link p{font-size:13px;color:var(--muted);margin:0}.story-link:hover h3{text-decoration:underline}
body[data-page="saved"] .intro{grid-template-columns:1fr;max-width:780px;padding-bottom:28px}body[data-page="saved"] .roulette-card,body[data-page="saved"] .keywords,body[data-page="saved"] #stories,body[data-page="saved"] .ingredient-links,body[data-page="saved"] .contribute,body[data-page="saved"] #scroll-hint{display:none}body[data-page="saved"] .content-grid{grid-template-columns:1fr;max-width:900px;margin-bottom:60px}body[data-page="saved"] #recipes{max-height:none;overflow:visible}
.reading-page{padding-top:34px;padding-bottom:70px}.back-link{font-size:14px;color:var(--muted)}.reading-page h1{font-size:34px;margin:20px 0 8px;letter-spacing:-1px}.page-lead{color:var(--muted);margin:0 0 30px}.article-index{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.article-index a{background:#f8f6f2;border:1px solid var(--line);border-radius:9px;padding:24px;display:flex;flex-direction:column;gap:12px}.article-index span{font-size:13px;color:var(--o)}.article-index strong{font-size:19px;line-height:1.5}.reading-articles{max-width:780px;margin:45px auto 0}.reading-article{padding:35px 0 50px;border-top:1px solid var(--line);scroll-margin-top:24px}.reading-article h2{font-size:28px;line-height:1.4;margin:0 0 28px;letter-spacing:-.8px}.reading-article h3{font-size:20px;margin:28px 0 10px}.reading-article p{line-height:1.9;color:#555c64}.reading-article .orange-button{display:inline-block;margin-top:22px}.article-top{display:block;margin-top:24px;color:var(--muted);font-size:14px}
@media(max-width:780px){body[data-page="home"] #recipes{max-height:335px;padding-right:7px}.article-index{grid-template-columns:1fr;gap:12px}.article-index a{padding:20px}.reading-page h1{font-size:29px}.reading-article h2{font-size:24px}.reading-articles{margin-top:32px}.reading-page{padding-top:24px}.reading-article{padding:28px 0 40px}}
/* Refined menu roulette, September 26. */
#roulette-dialog{width:calc(100% - 28px);max-width:460px;padding:34px 28px 22px;border:1px solid #eee4d7;border-radius:24px;background:#fffdfa;box-shadow:0 24px 90px #34221529;overflow-x:hidden}
#roulette-dialog::backdrop{background:#24201c70;backdrop-filter:blur(3px)}
#roulette-dialog .dialog-close{width:32px;height:32px;display:grid;place-items:center;padding:0;top:14px;right:14px;background:#f3f0eb;border-radius:50%;font-size:23px;color:#77736d;line-height:1}
.roulette-eyebrow{display:block;margin:4px 0 12px;font-size:10px;font-weight:700;letter-spacing:2px;color:#aa7957}
#roulette-dialog h2{font-size:25px;line-height:1.4;letter-spacing:-.9px;margin:0 0 8px;color:#30251e}
#roulette-dialog .roulette-intro{font-size:13px;color:#8a7b70;margin:0}
.roulette-stage{position:relative;margin:27px auto 22px;width:min(100%,294px);aspect-ratio:1;padding:7px}
.roulette-rim{position:relative;width:100%;height:100%;padding:9px;border-radius:50%;background:#fffaf1;border:1px solid #e8c59d;box-shadow:0 7px 18px #8a512d14,inset 0 0 0 4px #f6e5d0}
.menu-wheel{position:relative;width:100%;height:100%;border-radius:50%;border:1px solid #e1b880;overflow:hidden;will-change:transform}
.roulette-pointer{position:absolute;z-index:5;left:calc(50% - 11px);top:0;width:22px;height:27px;background:#d96726;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 2px 2px #61361420)}
.wheel-hub{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:60px;height:60px;border:4px solid #fffaf2;border-radius:50%;background:#cc632d;color:white;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 2px 7px #653c2524;line-height:1.35}.wheel-hub span{font-size:10px}.wheel-hub b{font-size:16px}
.wheel-menu{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:4px;width:76px;line-height:1.3}.wheel-menu img{width:39px;height:39px;border-radius:50%;object-fit:cover;border:2px solid #fffcf6;box-shadow:0 2px 4px #70492217}.wheel-menu-name{font-size:10px;color:#6d4d34;font-weight:700;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:72px;word-break:keep-all;overflow-wrap:anywhere}.wheel-menu-mark{display:grid;place-items:center;width:28px;height:28px;border:1px solid #cda679;border-radius:50%;color:#a16c41;font-size:10px;background:#fffaf19c}
#roulette-result{margin:0 0 16px;min-height:98px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:14px 16px;background:#f7f2ea;border-radius:13px;text-align:center}.pick-kicker{font-size:12px;color:#a37552;font-weight:700}#roulette-result>p{font-size:12px;color:#8e8175;margin:5px 0;line-height:1.6}.picked-menu{display:flex;align-items:center;gap:13px;width:100%;text-align:left;justify-content:center}.picked-photo{width:68px;height:68px;object-fit:cover;border-radius:12px;flex:none}.picked-menu>div{min-width:0}#roulette-result strong{font-size:19px;color:#34281e;line-height:1.5;margin:3px 0;overflow-wrap:anywhere}#roulette-result .result-link{font-size:13px;color:#ba5527;margin:4px 0 0;text-decoration:none;font-weight:700}
#roulette-dialog #spin-roulette{display:block;width:100%;min-height:49px;border-radius:10px;background:#ce632e;color:white;font-size:15px;font-weight:700;box-shadow:0 4px 10px #a5521e14}#spin-roulette>span{display:inline-block;font-size:21px;vertical-align:-1px;margin-right:6px}#roulette-dialog .roulette-footnote{font-size:10px;color:#a29588;margin:12px 0 0}
@media(max-width:420px){#roulette-dialog{padding:31px 20px 19px;border-radius:22px}#roulette-dialog h2{font-size:22px}.roulette-stage{width:min(100%,270px);margin-top:23px}.wheel-menu{width:65px}.wheel-menu-name{font-size:9px;max-width:63px}.wheel-menu img{width:33px;height:33px}.wheel-hub{width:54px;height:54px}#roulette-result strong{font-size:17px}}
@media(max-width:350px){#roulette-dialog{padding-left:16px;padding-right:16px}.roulette-stage{width:240px;max-width:100%}.wheel-menu img{width:29px;height:29px}.wheel-menu{width:59px}.wheel-menu-name{max-width:57px}.wheel-hub{width:48px;height:48px}.wheel-hub b{font-size:14px}}
/* Wider desktop composition with readable content and a contained recipe list. */
@media(min-width:1100px){
 body[data-page="home"]{background:#faf9f6}
 body[data-page="home"] .wrap{width:calc(100% - 96px);max-width:1720px;padding-left:28px;padding-right:28px}
 body[data-page="home"] .site-header{background:#fff}
 body[data-page="home"] .top{height:100px}
 body[data-page="home"] .logo{font-size:34px}
 body[data-page="home"] .nav{gap:38px}
 body[data-page="home"] .nav a{font-size:17px}
 body[data-page="home"] .right{font-size:15px}
 body[data-page="home"] .intro{grid-template-columns:minmax(0,1.55fr) minmax(360px,1fr);gap:42px;padding:38px 0 30px}
 body[data-page="home"] .search-intro h1{font-size:38px;line-height:1.35;margin-bottom:13px}
 body[data-page="home"] .search-intro>p{font-size:19px;margin-bottom:24px}
 body[data-page="home"] #recipe-search{max-width:760px}
 body[data-page="home"] .search-field input{font-size:17px;padding-top:16px;padding-bottom:16px}
 body[data-page="home"] .search-submit{font-size:17px;padding:14px 28px}
 body[data-page="home"] .keywords{font-size:15px;gap:8px 18px}
 body[data-page="home"] .roulette-card{min-height:232px;padding:30px 32px;border-radius:16px;background:#fff5e8;gap:22px}
 body[data-page="home"] .roulette-card h2{font-size:33px}
 body[data-page="home"] .roulette-card p{font-size:17px}
 body[data-page="home"] .roulette-card .orange-button{font-size:16px;padding:13px 21px}
 body[data-page="home"] .roulette-card .mini-wheel{width:124px;height:124px;box-shadow:0 0 0 6px #fffbf2,0 0 0 7px #efd5b6}
 body[data-page="home"] .recipe-filters{margin-bottom:23px;gap:34px}
 body[data-page="home"] .recipe-filters>div{gap:36px}
 body[data-page="home"] .recipe-filters button{font-size:17px}
 body[data-page="home"] .recipe-filters label{font-size:16px}
 body[data-page="home"] .content-grid{grid-template-columns:minmax(0,2fr) minmax(330px,1fr);gap:28px}
 body[data-page="home"] #community{padding:25px 26px 20px;background:#fff;border:1px solid #ebe7e1;border-radius:16px;min-width:0}
 body[data-page="home"] .list-heading h2{font-size:28px}
 body[data-page="home"] .list-heading a{font-size:15px}
 body[data-page="home"] .search-status{font-size:14px;margin:9px 0 5px}
 body[data-page="home"] .scroll-hint{font-size:13px;margin-bottom:9px}
 body[data-page="home"] #recipes{max-height:452px;padding-right:12px}
 body[data-page="home"] .recipe-row{grid-template-columns:190px minmax(0,1fr) 34px;gap:22px;padding:13px 0}
 body[data-page="home"] .recipe-photo{height:122px;border-radius:9px}
 body[data-page="home"] .recipe-copy h3{font-size:21px;line-height:1.45;margin-bottom:8px}
 body[data-page="home"] .recipe-copy p{font-size:16px;margin-bottom:7px}
 body[data-page="home"] .recipe-copy small{font-size:14px}
 body[data-page="home"] .bookmark svg{width:23px;height:25px}
 body[data-page="home"] .contribute{font-size:14px;padding-top:16px}
 body[data-page="home"] .stories{background:#f0ede6;border:1px solid #e9e3d9;border-radius:16px;padding:29px}
 body[data-page="home"] .stories .eyeline{font-size:15px}
 body[data-page="home"] .stories h2{font-size:28px;margin-bottom:20px}
 body[data-page="home"] .stories a.story-link{padding:22px 0}
 body[data-page="home"] .stories .story-link>span{font-size:15px}
 body[data-page="home"] .stories h3{font-size:20px;margin:8px 0}
 body[data-page="home"] .stories .story-link p{font-size:15px;line-height:1.65}
 body[data-page="home"] .stories>a:last-child{font-size:16px}
 body[data-page="home"] .ingredient-links{margin-top:25px;padding-top:20px}
 body[data-page="home"] .ingredient-links h2{font-size:24px}
 body[data-page="home"] .ingredient-links button,body[data-page="home"] .ingredient-links a{font-size:16px}
 body[data-page="home"] footer{background:#fff}
 body[data-page="home"] .foot .logo{font-size:19px}
}
@media(min-width:1100px) and (max-width:1350px){
 body[data-page="home"] .wrap{width:calc(100% - 48px);padding-left:18px;padding-right:18px}
 body[data-page="home"] .intro{gap:28px;grid-template-columns:minmax(0,1.35fr) minmax(330px,1fr)}
 body[data-page="home"] .search-intro h1{font-size:32px}
 body[data-page="home"] .roulette-card{padding:25px;gap:15px}
 body[data-page="home"] .roulette-card .mini-wheel{width:90px;height:90px}
 body[data-page="home"] .content-grid{grid-template-columns:minmax(0,1.85fr) minmax(310px,1fr);gap:22px}
 body[data-page="home"] #community{padding:22px}
 body[data-page="home"] .recipe-row{grid-template-columns:150px minmax(0,1fr) 28px;gap:15px}
 body[data-page="home"] .recipe-photo{height:108px}
 body[data-page="home"] .recipe-copy h3{font-size:19px}
 body[data-page="home"] #recipes{max-height:406px}
 body[data-page="home"] .stories{padding:24px}
}
/* Larger celebration-style roulette, preserving the existing selection logic. */
#roulette-dialog{max-width:600px;width:calc(100% - 24px);padding:36px 36px 25px;border:1px solid #f3c17a;border-radius:30px;background:radial-gradient(ellipse at 50% 35%,#fff0c9 0%,#fff8ec 42%,#fffdf8 80%);box-shadow:0 32px 110px #51260040,0 0 0 5px #ffffff45;max-height:90dvh}
#roulette-dialog::backdrop{background:#30201387;backdrop-filter:blur(5px)}
#roulette-dialog .roulette-eyebrow{color:#bd711a;letter-spacing:2.6px;font-size:11px;margin-bottom:11px}
#roulette-dialog h2{font-size:30px;letter-spacing:-1.2px;color:#472c16}
#roulette-dialog .roulette-intro{font-size:15px;color:#92734f}
#roulette-dialog .dialog-close{background:#f3e7d5;top:16px;right:16px;width:34px;height:34px}
#roulette-dialog .roulette-stage{width:min(100%,400px);margin:27px auto 23px;padding:10px;filter:drop-shadow(0 13px 17px #b864192b)}
#roulette-dialog .roulette-rim{padding:18px;border:2px solid #c98728;background:linear-gradient(145deg,#fff0b6 3%,#e6b150 28%,#d49634 55%,#f6cf72 80%,#f9e5a4);box-shadow:inset 0 0 0 4px #ffedb0,inset 0 0 0 7px #dfa144,0 0 0 3px #ffefcd,0 0 0 5px #dcad65}
#roulette-dialog .roulette-rim::before{content:'';position:absolute;inset:7px;border:6px dotted #fffbd3;border-radius:50%;pointer-events:none;filter:drop-shadow(0 0 3px #fff5ae);z-index:2}
#roulette-dialog .roulette-pointer{top:0;left:calc(50% - 16px);width:32px;height:40px;background:linear-gradient(90deg,#b55d11,#ffe5a2 48%,#ce7c19);filter:drop-shadow(0 3px 2px #8e461c45);z-index:5}
#roulette-dialog .menu-wheel{border:2px solid #fff2c6;box-shadow:inset 0 0 18px #d78d3620}
#roulette-dialog .wheel-hub{width:80px;height:80px;border:5px solid #fff4d8;background:linear-gradient(145deg,#ff983f,#e85e1b);box-shadow:0 5px 12px #8e451b38,0 0 0 2px #ebac50;line-height:1.3}
#roulette-dialog .wheel-hub span{font-size:13px;color:#fff5dd}
#roulette-dialog .wheel-hub b{font-size:23px;letter-spacing:-1px}
#roulette-dialog .wheel-menu{width:98px;gap:6px}
#roulette-dialog .wheel-menu img{width:57px;height:57px;border:3px solid #fffdfa;box-shadow:0 3px 8px #794b2930}
#roulette-dialog .wheel-menu-name{max-width:96px;font-size:12px;font-weight:800;color:#674220;line-height:1.3}
#roulette-dialog .wheel-menu-mark{width:38px;height:38px;background:#fff9e9;border:1px solid #e0b780;font-size:13px;font-weight:700;box-shadow:0 2px 4px #8a522514}
#roulette-dialog .wheel-menu.chosen img{border-color:#ff9a36;box-shadow:0 0 0 3px #fff7dc,0 0 16px #ffac42a6}
#roulette-dialog .wheel-menu.chosen .wheel-menu-name{color:#b24812;background:#fffcf0;border-radius:5px;padding:2px 4px;box-shadow:0 1px 4px #7d4b1724}
#roulette-dialog #roulette-result{border:1px solid #f1d5a9;background:#fffaf0;border-radius:16px;min-height:102px;padding:16px 20px;margin-bottom:16px;box-shadow:0 3px 12px #a46c2510}
#roulette-dialog .pick-kicker{font-size:13px;color:#bc7028}
#roulette-dialog #roulette-result strong{font-size:22px}
#roulette-dialog .picked-photo{width:78px;height:78px;border-radius:14px}
#roulette-dialog #spin-roulette{min-height:58px;border:1px solid #ee7e27;background:linear-gradient(100deg,#ff9832,#f0661b);border-radius:14px;box-shadow:0 6px 0 #bc521e,0 10px 20px #d8732a30;font-size:18px;transition:transform .15s,box-shadow .15s}
#roulette-dialog #spin-roulette:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}
#roulette-dialog #spin-roulette:active:not(:disabled){transform:translateY(3px);box-shadow:0 3px 0 #bc521e,0 5px 12px #d8732a30}
#roulette-dialog #spin-roulette:disabled{opacity:.8}
#roulette-dialog .roulette-footnote{margin-top:18px;color:#a38a6b;font-size:11px}
#roulette-dialog:has(#spin-roulette:disabled) .roulette-rim::before{animation:roulette-lights 1.6s ease-in-out infinite alternate}
@keyframes roulette-lights{from{filter:drop-shadow(0 0 2px #fff3a3);opacity:.7}to{filter:drop-shadow(0 0 8px #fff5bd);opacity:1}}
/* The homepage entry card echoes the larger wheel. */
body[data-page="home"] .roulette-card{background:linear-gradient(120deg,#fff6e9,#ffeccf);border-color:#f0c389;box-shadow:0 5px 16px #b67b2520}
body[data-page="home"] .roulette-card .mini-wheel{border:4px solid #dba449;box-shadow:0 0 0 5px #fff3cf,0 0 0 7px #eac48d,0 8px 14px #9a5d2024}
@media(min-width:1351px){body[data-page="home"] .roulette-card .mini-wheel{width:152px;height:152px}body[data-page="home"] .roulette-card{min-height:248px}}
@media(max-width:600px){
 #roulette-dialog{padding:31px 21px 21px;border-radius:25px}
 #roulette-dialog h2{font-size:24px}
 #roulette-dialog .roulette-intro{font-size:13px}
 #roulette-dialog .roulette-stage{width:min(100%,340px);padding:9px;margin:25px auto 20px}
 #roulette-dialog .roulette-rim{padding:14px}
 #roulette-dialog .roulette-rim::before{inset:5px;border-width:5px}
 #roulette-dialog .roulette-pointer{width:27px;height:34px;left:calc(50% - 13.5px)}
 #roulette-dialog .wheel-hub{width:64px;height:64px;border-width:4px}
 #roulette-dialog .wheel-hub span{font-size:11px}#roulette-dialog .wheel-hub b{font-size:18px}
 #roulette-dialog .wheel-menu{width:78px;gap:4px}
 #roulette-dialog .wheel-menu img{width:44px;height:44px;border-width:2px}
 #roulette-dialog .wheel-menu-name{font-size:10px;max-width:76px}
 #roulette-dialog .wheel-menu-mark{width:29px;height:29px;font-size:11px}
 #roulette-dialog #roulette-result{padding:13px;min-height:92px}
 #roulette-dialog #roulette-result strong{font-size:19px}
 #roulette-dialog .picked-photo{width:63px;height:63px}
 #roulette-dialog #spin-roulette{min-height:53px;font-size:16px}
}
@media(max-width:370px){
 #roulette-dialog{padding-left:15px;padding-right:15px}
 #roulette-dialog h2{font-size:21px}
 #roulette-dialog .wheel-menu{width:62px}
 #roulette-dialog .wheel-menu img{width:33px;height:33px}
 #roulette-dialog .wheel-menu-name{max-width:61px;font-size:9px}
 #roulette-dialog .wheel-hub{width:53px;height:53px}
 #roulette-dialog .wheel-hub b{font-size:16px}
}
@media(prefers-reduced-motion:reduce){#roulette-dialog .roulette-rim::before{animation:none!important}#roulette-dialog #spin-roulette{transition:none}}
