: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}}

/* TodayMeal roulette: photo-led layout, readable result, restrained decoration. */
#roulette-dialog{
 box-sizing:border-box;max-width:600px;width:calc(100% - 24px);
 padding:36px 32px 24px;border:1px solid #e7e2db;border-radius:26px;
 background:#fffdfa;box-shadow:0 20px 70px #20180f33;
 max-height:92dvh;overflow:auto;overscroll-behavior:contain;
}
#roulette-dialog::backdrop{background:#25232180;backdrop-filter:blur(3px)}
#roulette-dialog .dialog-close{width:40px;height:40px;top:12px;right:12px;background:#f1efeb;color:#555;font-size:26px}
#roulette-dialog .roulette-eyebrow{display:none}
#roulette-dialog h2{font-size:28px;line-height:1.45;letter-spacing:-.8px;color:#252525;margin:8px 20px 10px}
#roulette-dialog .roulette-intro{font-size:16px;line-height:1.6;color:#62605c;margin:0}
#roulette-dialog .roulette-stage{box-sizing:border-box;width:min(100%,420px);padding:10px;margin:24px auto;filter:none}
#roulette-dialog .roulette-rim{box-sizing:border-box;padding:9px;border:2px solid #ea8135;background:#fff2e4;box-shadow:none}
#roulette-dialog .roulette-rim::before{content:none;display:none;animation:none}
#roulette-dialog .roulette-pointer{top:0;left:calc(50% - 13px);width:26px;height:34px;background:#dc651f;filter:none}
#roulette-dialog .menu-wheel{box-sizing:border-box;border:1px solid #fff;box-shadow:none}
#roulette-dialog .wheel-hub{box-sizing:border-box;width:82px;height:82px;border:5px solid #fffdfa;background:#eb7026;box-shadow:none}
#roulette-dialog .wheel-hub span{font-size:14px;color:#fff;line-height:1.5}
#roulette-dialog .wheel-hub b{font-size:23px;color:#fff;letter-spacing:-.6px}
#roulette-dialog .wheel-menu{width:auto;gap:0;line-height:1}
#roulette-dialog .wheel-menu img{box-sizing:border-box;width:clamp(48px,14vw,82px);height:clamp(48px,14vw,82px);border:3px solid #fff;border-radius:50%;box-shadow:0 2px 6px #24170918;object-fit:cover}
/* Long dish names are presented at full size in the result, not squeezed into sectors. */
#roulette-dialog .wheel-menu-name{display:none}
#roulette-dialog .wheel-menu-mark{box-sizing:border-box;width:clamp(48px,14vw,82px);height:clamp(48px,14vw,82px);font-size:22px;color:#8e461d;border:2px solid #fff;background:#fff8ef;box-shadow:none}
#roulette-dialog .wheel-menu.chosen img{border-color:#de5b16;box-shadow:0 0 0 4px #fff}
#roulette-dialog #roulette-result{box-sizing:border-box;min-height:110px;margin:0 0 16px;padding:20px;background:#f5f2ec;border:0;border-radius:16px;box-shadow:none;text-align:left}
#roulette-dialog .picked-menu{justify-content:flex-start;gap:16px}
#roulette-dialog .picked-menu>div{flex:1;min-width:0}
#roulette-dialog .picked-photo{width:88px;height:88px;border-radius:12px;object-fit:cover}
#roulette-dialog .pick-kicker{font-size:15px;font-weight:600;line-height:1.5;color:#65605a}
#roulette-dialog #roulette-result strong{display:block;font-size:25px;font-weight:800;line-height:1.4;color:#232323;letter-spacing:-.6px;margin:6px 0 10px;word-break:keep-all;overflow-wrap:anywhere}
#roulette-dialog #roulette-result>p{font-size:16px;color:#62605c;line-height:1.6;margin-top:8px;text-align:center}
#roulette-dialog #roulette-result .result-link{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:17px;font-weight:700;line-height:1.5;color:#a84717;margin:0;text-decoration:none}
#roulette-dialog #spin-roulette{min-height:58px;border:0;border-radius:12px;background:#e66a20;box-shadow:none;font-size:19px;font-weight:750;transition:background .15s}
#roulette-dialog #spin-roulette:hover:not(:disabled){background:#cc5717;filter:none;transform:none}
#roulette-dialog #spin-roulette:active:not(:disabled){background:#b94b12;transform:none;box-shadow:none}
#roulette-dialog #spin-roulette:disabled{opacity:.7}
#roulette-dialog .roulette-footnote{font-size:13px;line-height:1.6;color:#67615b;margin:14px 0 0}
@media(max-width:600px){
 #roulette-dialog{padding:38px 20px 20px;border-radius:22px}
 #roulette-dialog h2{font-size:25px;margin:4px 8px 10px}
 #roulette-dialog .roulette-stage{width:min(100%,370px);margin:20px auto}
 #roulette-dialog .wheel-hub{width:70px;height:70px;border-width:4px}
 #roulette-dialog .wheel-hub span{font-size:12px}
 #roulette-dialog .wheel-hub b{font-size:20px}
 #roulette-dialog #roulette-result{padding:16px}
 #roulette-dialog #roulette-result strong{font-size:22px}
 #roulette-dialog .picked-photo{width:72px;height:72px}
 #roulette-dialog .picked-menu{gap:12px}
}
@media(max-width:370px){
 #roulette-dialog{padding-left:14px;padding-right:14px}
 #roulette-dialog h2{font-size:23px}
 #roulette-dialog .roulette-intro{font-size:15px}
 #roulette-dialog .wheel-hub{width:58px;height:58px}
 #roulette-dialog .wheel-hub span{font-size:11px}
 #roulette-dialog .wheel-hub b{font-size:18px}
 #roulette-dialog #roulette-result strong{font-size:21px}
 #roulette-dialog .picked-photo{width:60px;height:60px}
}

/* 2026-09-27: unified roulette and account dialogs. */
#roulette-dialog{max-width:580px;padding:30px 30px 24px;border:0;border-radius:28px;background:#fffdf9;box-shadow:0 24px 80px #21170f40}
#roulette-dialog .roulette-eyebrow{display:block;font-size:15px;letter-spacing:0;font-weight:700;color:#b14e1c;margin:0 0 8px}
#roulette-dialog h2{font-size:34px;letter-spacing:-1px;margin:0 28px 8px}
#roulette-dialog .roulette-intro{font-size:16px;color:#66615b}
#roulette-dialog .roulette-stage{width:min(100%,400px);padding:10px;margin:22px auto}
#roulette-dialog .roulette-rim{padding:6px;border:7px solid #ed813b;background:#fff;box-shadow:0 9px 0 #eed8c2,0 15px 25px #b5783e12}
#roulette-dialog .menu-wheel{border:0}
#roulette-dialog .roulette-pointer{background:#b64a17;width:28px;height:33px;left:calc(50% - 14px);top:1px}
#roulette-dialog .wheel-hub{width:72px;height:72px;background:#ee7028;border:5px solid #fff;box-shadow:0 2px 7px #93471125}
#roulette-dialog .wheel-hub span{font-size:12px}
#roulette-dialog .wheel-hub b{font-size:20px}
#roulette-dialog .wheel-menu{width:92px;gap:6px}
#roulette-dialog .wheel-menu img{width:66px;height:66px;border:3px solid #fff;box-shadow:0 3px 6px #64432020}
#roulette-dialog .wheel-menu-name{display:block;max-width:92px;line-height:1.3;font-size:16px;color:#4a3325;font-weight:750;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0;background:none;box-shadow:none}
#roulette-dialog .wheel-menu.chosen .wheel-menu-name{color:#a23e10;background:none;box-shadow:none;padding:0}
#roulette-dialog .wheel-menu-mark{width:66px;height:66px;font-size:22px}
#roulette-dialog #roulette-result{background:#fff4e7;border:1px solid #f4e6d5;padding:18px;min-height:96px;border-radius:16px}
#roulette-dialog #roulette-result>p{font-size:15px;margin:8px 0 0}
#roulette-dialog .pick-kicker{font-size:16px;color:#5d4a3c;text-align:center}
#roulette-dialog #roulette-result strong{font-size:25px;color:#2d2824}
#roulette-dialog #roulette-result .result-link{font-size:17px;color:#a34314}
#roulette-dialog .picked-photo{width:82px;height:82px}
#roulette-dialog #spin-roulette{background:#e56521;min-height:56px;font-size:19px;box-shadow:0 3px 0 #b94e18}
#roulette-dialog .roulette-footnote{font-size:13px;color:#716960}
#c-login-modal{padding:18px;background:#25232180;backdrop-filter:blur(3px);z-index:100}
#c-login-modal .c-sheet{box-sizing:border-box;max-width:460px;width:100%;padding:32px;border:1px solid #e9e4dc;border-radius:24px;box-shadow:0 24px 80px #21170f33;max-height:92dvh;overflow:auto;overscroll-behavior:contain;background:#fff}
#c-login-modal .c-close{top:14px;right:14px;width:36px;height:36px;background:#f3f1ed;color:#666;font-size:24px;display:grid;place-items:center;padding:0;line-height:1}
#c-login-modal .login-heading{border:0;background:none;padding:0;margin:0 0 24px;text-align:left}
#c-login-modal .login-brand{font-size:19px;font-weight:850;color:#dd621f;letter-spacing:-.5px}
#c-login-modal h2{font-size:30px;line-height:1.35;color:#252525;letter-spacing:-.7px;margin:12px 0 8px}
#c-login-modal .login-heading p{font-size:16px;line-height:1.6;color:#666;margin:0}
#c-login-modal .kakao-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;font-size:17px;font-weight:750;border-radius:11px;padding:12px;background:#fee500;color:#191919;border:0;width:100%}
#c-login-modal .kakao-btn svg{width:21px;height:21px;flex:none}
#c-login-modal .login-divider{display:flex;align-items:center;gap:14px;margin:24px 0;font-size:14px;color:#777}
#c-login-modal .login-divider:before,#c-login-modal .login-divider:after{content:'';height:1px;flex:1;background:#e8e5e1}
#c-login-modal .login-tabs{display:flex;background:#f3f2ef;padding:4px;gap:4px;border-radius:11px;margin-bottom:22px}
#c-login-modal .c-chip{flex:1;min-height:42px;border-radius:8px;background:none;color:#68635d;font-size:16px;font-weight:700}
#c-login-modal .c-chip.active{background:#fff;color:#bd4f18;box-shadow:0 1px 5px #20170b12}
#c-login-modal .login-field{margin:0 0 16px}
#c-login-modal label{display:block;font-size:15px;color:#3c3935;font-weight:700;margin-bottom:8px}
#c-login-modal .c-input{box-sizing:border-box;display:block;width:100%;min-height:52px;padding:13px 14px;background:#fff;border:1px solid #d8d5cf;border-radius:9px;font-size:16px;line-height:1.5;color:#282624;margin:0}
#c-login-modal .c-input::placeholder{color:#8a857e}
#c-login-modal .c-input:focus{border-color:#dc692b;outline:3px solid #fbe7da;outline-offset:0}
#c-login-modal #c-auth-go{box-sizing:border-box;width:100%;min-height:54px;border:0;border-radius:11px;background:#e56521;color:#fff;font-size:18px;font-weight:750;padding:14px;margin-top:4px;cursor:pointer}
#c-login-modal #c-auth-go:hover{background:#cc5519}
#c-login-modal #c-auth-go:disabled{opacity:.55;cursor:wait}
#c-login-modal #c-auth-msg{font-size:14px;line-height:1.6;color:#a43c22;margin:0 0 12px;overflow-wrap:anywhere}
#c-login-modal #c-auth-msg:empty{display:none}
@media(max-width:600px){
 #roulette-dialog{padding:30px 18px 20px}
 #roulette-dialog h2{font-size:29px}
 #roulette-dialog .roulette-stage{width:min(100%,370px)}
 #roulette-dialog .wheel-menu{width:76px;gap:5px}
 #roulette-dialog .wheel-menu img,#roulette-dialog .wheel-menu-mark{width:clamp(44px,14vw,60px);height:clamp(44px,14vw,60px)}
 #roulette-dialog .wheel-menu-name{font-size:15px;max-width:76px}
 #roulette-dialog .wheel-hub{width:60px;height:60px;border-width:4px}
 #roulette-dialog .wheel-hub b{font-size:18px}
 #roulette-dialog .wheel-hub span{font-size:11px}
 #roulette-dialog #roulette-result strong{font-size:22px}
 #roulette-dialog .picked-photo{width:70px;height:70px}
}
@media(max-width:370px){
 #roulette-dialog{padding-left:12px;padding-right:12px}
 #roulette-dialog .roulette-stage{padding:5px}
 #roulette-dialog .wheel-menu{width:66px;gap:4px}
 #roulette-dialog .wheel-menu-name{max-width:66px;font-size:14px}
 #roulette-dialog .wheel-hub{width:52px;height:52px}
 #roulette-dialog .wheel-hub b{font-size:16px}
 #c-login-modal .c-sheet{padding:28px 22px}
}
@media(prefers-reduced-motion:reduce){#roulette-dialog #spin-roulette{transition:none}}

/* Keep the roulette hub geometrically circular with balanced lettering. */
#roulette-dialog .wheel-hub{box-sizing:border-box!important;width:72px!important;height:72px!important;min-width:72px;min-height:72px;max-width:72px;max-height:72px;aspect-ratio:1/1;flex:none;padding:0!important;border:4px solid #fff;border-radius:50%;display:grid;place-content:center;gap:1px;line-height:1;box-shadow:0 2px 5px #8a43131c;overflow:hidden}
#roulette-dialog .wheel-hub span{font-size:12px;line-height:1.3;font-weight:500;letter-spacing:0;margin:0;padding:0}
#roulette-dialog .wheel-hub b{font-size:19px;line-height:1.3;font-weight:700;letter-spacing:0;margin:0;padding:0}
.header-write{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;background:#e56521;color:#fff!important;border-radius:9px;font-size:15px;font-weight:700;text-decoration:none}
#write-view{box-sizing:border-box;width:calc(100% - 64px);max-width:1440px;margin:0 auto;padding:36px 0 70px}
.writer-intro{margin:0 0 24px}.writer-intro p{color:#b34a18;font-size:15px;font-weight:700;margin:0 0 8px}.writer-intro h1{font-size:34px;line-height:1.4;color:#282724;margin:0 0 10px;letter-spacing:-1px}.writer-intro span{font-size:17px;color:#67625a}
#write-view .write-back{font-size:15px;margin-bottom:24px}
#write-view .write-mode-tabs{margin-bottom:24px}#write-view .wmt{font-size:16px;padding:12px 20px}
#write-view .write-layout{grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start}
#write-view .write-main{min-width:0;padding:32px;background:#fff;border:1px solid #e9e4db;border-radius:18px}
.editor-label{display:block;font-size:17px;color:#39352e;font-weight:750;margin:0 0 10px}
#write-view .write-title{box-sizing:border-box;font-size:28px;line-height:1.5;padding:10px 0 16px;font-weight:700;margin-bottom:24px}
#write-view .write-label{font-size:15px}#write-view #w-target{display:flex;flex-wrap:wrap;gap:8px}#write-view .w-chip{font-size:15px;padding:9px 14px}
.editor-help{font-size:15px;line-height:1.7;color:#6e665c;margin:0 0 16px;overflow-wrap:anywhere}
#write-view .write-body{box-sizing:border-box;font-size:18px;line-height:1.9;min-height:600px;padding:24px;border-radius:12px;background:#fffdf9;color:#302e2a;resize:vertical}
#write-view .write-side{padding:24px;border:1px solid #e9e4db;border-radius:18px;background:#fff;position:sticky;top:24px}
.photo-title{font-size:21px;margin:0 0 8px;color:#292621}
#write-view .write-photo-box{box-sizing:border-box;position:relative;padding:0;aspect-ratio:4/3;border:2px dashed #d7b99f;background:#fff8ef;border-radius:13px;margin:0 0 12px}
#write-view .write-photo-box.drag-over{border-color:#d75c1c;background:#ffe3c9;outline:3px solid #f6ceaa}
#write-view #w-photo-preview{position:absolute;inset:0;object-fit:contain;width:100%;height:100%;background:#f6f3ef}
#write-view #w-photo-hint{display:flex;flex-direction:column;align-items:center;padding:20px}
#write-view #w-photo-hint .photo-plus{font-size:36px;font-weight:400;line-height:1;color:#cb5b22;margin-bottom:12px}
#write-view #w-photo-hint strong{display:block;font-size:17px;color:#4d3b2f;margin-bottom:6px}
#write-view #w-photo-hint span{display:block;font-size:15px;color:#7a6a5b}
.photo-actions{display:flex;gap:10px;margin-bottom:14px}.photo-actions button{padding:9px 15px;font-size:15px;border:1px solid #ded8cf;border-radius:8px;background:#fff;color:#514a42;cursor:pointer}
#write-view .write-tip{font-size:14px;line-height:1.7;background:#f7f4ee;padding:14px;border-radius:10px}
#write-view .write-submit{font-size:18px;min-height:56px;box-shadow:none;background:#e56521}#write-view .write-submit:disabled{opacity:.6;cursor:wait}
@media(max-width:1000px){#write-view .write-layout{grid-template-columns:minmax(0,1fr) 310px;gap:18px}#write-view .write-main{padding:24px}#write-view .write-side{padding:20px}.site-header .right{flex-wrap:wrap;gap:10px}}
@media(max-width:800px){#write-view{width:calc(100% - 32px);padding-top:24px}#write-view .write-layout{grid-template-columns:1fr}#write-view .write-side{position:static}#write-view .write-body{min-height:430px;font-size:17px}.writer-intro h1{font-size:28px}#write-view .write-title{font-size:24px}#write-view .write-photo-box{max-height:350px}.header-write{font-size:14px;padding:8px 12px}.site-header .top{height:auto;min-height:100px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px}}
@media(max-width:600px){#roulette-dialog .wheel-hub{width:60px!important;height:60px!important;min-width:60px;min-height:60px;max-width:60px;max-height:60px}#roulette-dialog .wheel-hub b{font-size:17px}#roulette-dialog .wheel-hub span{font-size:11px}}


/* Quiet homepage invitation. Detailed food photos stay in the opened wheel. */
body[data-page="home"] .roulette-card{padding:30px;gap:24px;min-height:234px;border:1px solid #eadcc9;border-radius:18px;background:#fff6e9;box-shadow:none;overflow:visible}
body[data-page="home"] .roulette-card:after{content:none}
body[data-page="home"] .roulette-card>div:first-child{flex:1;min-width:0}
body[data-page="home"] .roulette-card h2{font-size:30px;line-height:1.3;letter-spacing:-.8px;color:#312b25;margin:0 0 12px}
body[data-page="home"] .roulette-card p{font-size:16px;line-height:1.65;color:#746758;margin:0 0 22px;word-break:keep-all;max-width:240px}
body[data-page="home"] .roulette-card .orange-button{font-size:16px;min-height:46px;border-radius:9px;padding:11px 18px;background:#df641f;box-shadow:none}
body[data-page="home"] .roulette-card .mini-wheel{box-sizing:border-box;flex:none;width:144px;height:144px;border:5px solid #e89748;border-radius:50%;background:conic-gradient(#fffaf0 0deg 60deg,#f4c389 60deg 120deg,#fffaf0 120deg 180deg,#f4c389 180deg 240deg,#fffaf0 240deg 300deg,#f4c389 300deg);box-shadow:inset 0 0 0 4px #fffaf0;position:relative}
body[data-page="home"] .roulette-card .mini-wheel:before{left:calc(50% - 8px);top:-10px;border-left:8px solid transparent;border-right:8px solid transparent;border-top:20px solid #bd591f}
body[data-page="home"] .roulette-card .mini-wheel i{box-sizing:border-box;position:absolute;width:26px;height:26px;left:50%;top:50%;transform:translate(-50%,-50%);border:5px solid #fffaf0;background:#db702a;border-radius:50%;box-shadow:none}
@media(max-width:1100px) and (min-width:801px){body[data-page="home"] .roulette-card{padding:24px 20px;gap:18px}body[data-page="home"] .roulette-card .mini-wheel{width:116px;height:116px}body[data-page="home"] .roulette-card h2{font-size:26px}}
@media(max-width:420px){body[data-page="home"] .roulette-card{padding:24px 18px;gap:16px}body[data-page="home"] .roulette-card .mini-wheel{width:104px;height:104px}body[data-page="home"] .roulette-card h2{font-size:25px}body[data-page="home"] .roulette-card p{font-size:15px}body[data-page="home"] .roulette-card .orange-button{font-size:14px;padding:11px 12px}}

/* Spacious center badge; use a single size for every width/height constraint. */
#roulette-dialog .wheel-hub{
 --hub-size:96px;
 box-sizing:border-box!important;
 width:var(--hub-size)!important;height:var(--hub-size)!important;
 min-width:var(--hub-size);max-width:var(--hub-size);
 min-height:var(--hub-size);max-height:var(--hub-size);
 padding:0!important;border:5px solid #fffaf5;border-radius:50%;
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:4px;overflow:visible;aspect-ratio:1;flex-shrink:0;
 background:#eb7028;box-shadow:0 2px 6px #8a43131c;
}
#roulette-dialog .wheel-hub span,
#roulette-dialog .wheel-hub b{
 display:block;flex:none;white-space:nowrap;word-break:keep-all;
 letter-spacing:0;line-height:1.25;margin:0;padding:0;
 transform:none;font-stretch:normal;text-align:center;color:#fff;
}
#roulette-dialog .wheel-hub span{font-size:16px;font-weight:500}
#roulette-dialog .wheel-hub b{font-size:25px;font-weight:750}
@media(max-width:600px){
 #roulette-dialog .wheel-hub{--hub-size:84px;border-width:4px;gap:3px}
 #roulette-dialog .wheel-hub span{font-size:15px}
 #roulette-dialog .wheel-hub b{font-size:22px}
}
@media(max-width:370px){
 #roulette-dialog .wheel-hub{--hub-size:72px;gap:2px}
 #roulette-dialog .wheel-hub span{font-size:13px}
 #roulette-dialog .wheel-hub b{font-size:20px}
}
