/* A compact, category-first experience, shared by phone and desktop. */
:root{--red:#b51220;--ink:#232323;--muted:#747474;--line:#e3e3e3}
body{background:#f7f7f7;color:var(--ink)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.header{max-width:1140px;height:auto;min-height:110px;padding:20px 30px 0;display:grid;grid-template-columns:1fr auto;gap:15px}
.brand img{height:39px;width:39px}.brand b{font-size:16px}.brand small{font-size:11px;color:#747474}
.history-nav{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#ffffff;min-height:42px;border-radius:12px;font-size:12px;color:#464646}.history-nav svg{width:20px;height:20px}
.header nav{grid-column:1/-1;width:100%;border-top:1px solid var(--line);padding:9px 0;display:flex;gap:4px}
.header nav>span{margin-right:auto;font-size:11px;color:#919191}.header nav button{min-height:38px;padding:7px 14px;border-radius:9px;font-size:12px}.doctor-toggle{border:0;margin:0}.doctor-toggle[aria-pressed=true]{background:var(--ink);color:#ffffff}.nav-button.active{color:#b51220;background:#e7e7e7}
.screen{max-width:1080px;margin:0 auto;padding:0 0 35px;min-height:0}body[data-screen=homeScreen] footer{margin-top:15px}
.home-intro{height:252px;border-radius:24px;background:#252525;color:#ffffff;display:flex;align-items:center;justify-content:space-between;padding:32px 42px;position:relative;overflow:hidden;margin:15px 0 24px}
.home-intro:before{content:'';position:absolute;width:450px;height:450px;left:-140px;top:-80px;border:1px solid #ffffff12;border-radius:50%;box-shadow:0 0 0 50px #ffffff03,0 0 0 100px #ffffff02;pointer-events:none}
.intro-copy{position:relative;z-index:1}.intro-label{font-size:11px;color:#ededed;display:flex;align-items:center;gap:7px}.intro-label:before{content:'';width:5px;height:5px;background:#e51b29;border-radius:50%}
.home-intro h1{font-size:32px;line-height:1.65;margin:7px 0 10px;letter-spacing:-.65px;font-weight:820}.home-intro h1 em{font-style:normal;color:#ededed}.home-intro p{font-size:13px;color:#c2c2c2;line-height:1.9}.home-intro p br{display:none}
.intro-portrait{position:relative;align-self:stretch;flex:0 0 220px;display:flex;align-items:flex-end;justify-content:center;margin:-10px 30px -33px 0}.intro-portrait img{width:210px;max-height:250px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(10px 10px 8px #00000022)}
.portrait-frame{position:absolute;inset:15px 4px 0;border-radius:100px 100px 0 0;background:linear-gradient(135deg,#dadada,#e51b29);transform:rotate(-6deg)}.portrait-line{position:absolute;left:-10px;right:-10px;top:59%;height:1px;background:#e51b2985;z-index:2}.portrait-line:after{content:'';position:absolute;left:30%;height:5px;width:5px;top:-2px;background:#f7f7f7;border-radius:50%;box-shadow:0 0 0 5px #ffffff22}.portrait-dot{position:absolute;right:-8px;top:25%;width:29px;height:29px;border:1px solid #ffffff33;border-radius:50%;background:#ffffff11}.portrait-dot:after{content:'+';display:grid;place-items:center;color:#ffffff88;font:22px Arial}
.category-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.category-heading h2{font-size:20px;font-weight:800}.category-heading>span{font-size:11px;color:#777777}.category-heading b{font:20px Arial;margin-right:5px}
.category-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.category-tile{position:relative;min-width:0;display:flex;flex-direction:column;border:1px solid #dedede;background:#ffffff;border-radius:19px;padding:21px 18px 15px;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden}.category-tile:hover{transform:translateY(-3px);border-color:#b51220;box-shadow:0 10px 22px #3535350a}.category-tile:active{transform:scale(.98)}
.category-art{width:57px;height:59px;display:grid;place-items:center;margin-bottom:17px;background:#efefef;border-radius:17px;color:#b51220;position:relative}.category-art:after{content:'';position:absolute;width:40px;height:40px;border:1px solid #b5122012;border-radius:50%;left:-12px;top:-8px}.category-art svg{width:38px;height:38px}.category-eyes .category-art{background:#efefef;color:#b51220}.category-breast .category-art{background:#eeeeee;color:#b51220}.category-body .category-art{background:#efefef;color:#595959}
.category-copy strong{display:block;font-size:14px;font-weight:800;line-height:1.8}.category-copy small{display:block;font-size:10px;color:#828282;margin-top:4px;white-space:nowrap}.category-count{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#858585;margin-top:16px}.category-count b{font:22px Arial;color:#b51220}
.home-search{margin-top:19px}.search-box{border-radius:13px;min-height:48px;gap:10px;padding:0 14px}.search-box svg{height:20px;width:20px;flex:none;color:#919191}.search-box input{font-size:12px;padding:10px 0;line-height:1.8}.search-box button{background:none;color:#b51220;min-width:36px;min-height:42px;font:22px Arial}.home-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;color:#929292;font-size:11px}.home-bottom i{font-style:normal;margin:0 9px;color:#b9b9b9}.home-bottom a{color:#b51220;font-weight:750;min-height:35px;display:flex;align-items:center;gap:8px}.home-bottom b{font:19px Arial}
.catalog-heading{margin:8px 0 19px}.catalog-heading h1{font-size:29px;font-weight:800}.catalog-heading p{font-size:12px;color:#7d7d7d;margin-top:6px}.section-kicker{color:#e51b29}.catalog-search{max-width:650px}.category-filters{margin:0;padding:16px 0 3px;gap:8px;flex-wrap:wrap;overflow:visible}.category-filters button{padding:7px 13px;min-height:40px;border-radius:10px;font-size:12px}.category-filters button.active{background:var(--ink)}.catalog-meta{min-height:44px;font-size:11px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.service-card{min-height:112px;padding:18px;display:flex;flex-direction:row;align-items:center;gap:16px;border-radius:15px;box-shadow:none}.service-card:before{display:none}.service-card:hover{transform:translateY(-2px);border-color:#e51b29;box-shadow:0 7px 18px #22222206}.service-icon{flex:none;width:48px;height:48px;background:#f1f1f1;color:#b51220;border-radius:14px;display:grid;place-items:center}.service-icon svg{width:29px;height:29px}.service-copy{flex:1;min-width:0}.service-card h2{font-size:14px;line-height:1.7;font-weight:780}.service-card h2 span{font-size:11px;color:#b51220;display:block;font-weight:500;margin-top:1px}.service-card p{font-size:10px;margin-top:5px;color:#848484;line-height:1.8}.service-open{display:flex;flex-direction:column;gap:7px;color:#a2a2a2;align-items:center}.service-open b{font:21px Arial;font-weight:400}.service-open small{font-size:9px;white-space:nowrap;color:#8b8b8b}
.back-button{min-height:43px;display:inline-flex;align-items:center;font-size:12px;color:#797979;background:none;padding:6px 0;margin:9px 0 1px}.create-heading{text-align:right;max-width:720px;margin:8px auto 18px}.create-heading h1{font-size:27px;line-height:1.65;margin:4px 0 7px}.create-heading p{font-size:12px;line-height:1.9;color:#7b7b7b}.create-heading .section-kicker{font-size:10px}.roadmap{max-width:720px;display:flex;align-items:center;justify-content:flex-start;gap:14px;margin:0 auto 18px;font-size:11px;color:#aeaeae;padding-bottom:13px;border-bottom:1px solid #e2e2e2}.roadmap button{background:none;color:#989898;padding:3px 0;display:flex;align-items:center;gap:7px;min-height:36px;font-size:12px}.roadmap button>span,.roadmap .result-step>b{height:23px;width:23px;border-radius:50%;display:grid;place-items:center;border:1px solid #dddddd;font-size:11px;font-weight:500}.roadmap .current{color:#b51220;font-weight:800}.roadmap .current>span{background:#b51220;color:#ffffff;border-color:#b51220}.roadmap .done>span{background:#e7e7e7;color:#636363}.roadmap i{font-style:normal;color:#c0c0c0}.roadmap .result-step{display:flex;align-items:center;gap:7px;font-weight:400}
.editor-grid{display:block;max-width:720px}.upload-panel,.settings-panel{padding:25px;border-radius:20px;border-color:#e0e0e0}.panel-heading{margin-bottom:15px}.upload-box{min-height:220px;background:#fafafa;border:1px dashed #ededed;border-radius:15px;padding:24px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.upload-icon{margin-bottom:12px;background:#e9e9e9;color:#b51220}.upload-box small{margin-top:10px;max-width:270px;line-height:1.9}.continue-button{width:100%;justify-content:space-between;min-height:51px;margin-top:17px;font-size:15px;background:#b51220}.upload-privacy{font-size:10px;color:#929292;text-align:center;margin-top:10px}.sample-row{margin-top:13px}.photo-stage,.photo-stage img{max-height:300px}.selected-photo{background:#f6f6f6;border-radius:13px;overflow:hidden}.settings-context{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;margin-bottom:20px;border-bottom:1px solid #e9e9e9;font-size:11px;color:#787878}.settings-context>span:before{content:'✓';display:inline-block;color:#6d6d6d;margin-left:5px}.settings-context .text-button{font-size:11px;min-height:32px}.choice-grid{gap:9px}.choice-button{min-height:49px}.settings-panel .panel-heading{display:none}.settings-panel h3{font-size:13px}.settings-panel .summary-box{background:#f5f5f5}.settings-panel .generate-button{justify-content:center;gap:18px}.level-buttons button{min-height:55px}.mini-number{background:#e9e9e9;color:#b51220}.transfer-area{margin-top:20px}.processing-note{font-size:10px;color:#838383}.prompt-details{margin-top:16px}footer{max-width:1080px;margin:18px auto 0;font-size:10px}.footer-brand b{font-size:13px}.footer-brand span{font-size:10px}
@media(min-width:761px){#createScreen>.back-button{display:flex;max-width:720px;margin-left:auto;margin-right:auto}.screen{min-height:45vh}}
@media(max-width:1140px){.screen,footer{margin-left:30px;margin-right:30px}}
@media(max-width:760px){
 .header{padding:14px 18px 0;min-height:104px;gap:12px}.brand{gap:8px}.brand img{width:32px;height:32px}.brand b{font-size:13px}.brand small{font-size:9px}.history-nav{padding:7px 9px;gap:5px;min-height:36px;font-size:10px}.history-nav svg{width:16px;height:16px}.header nav{padding:7px 0 8px;gap:3px}.header nav button{min-height:33px;padding:5px 12px;font-size:11px}.header nav>span{display:none}
 .screen,footer{margin-left:18px;margin-right:18px}.screen{padding-bottom:20px}.home-intro{height:168px;border-radius:19px;padding:19px;margin:7px 0 19px;gap:0}.intro-label{font-size:9px;gap:5px}.home-intro h1{font-size:19px;line-height:1.8;letter-spacing:-.45px;margin:5px 0 6px}.home-intro p{font-size:10px;line-height:1.9}.home-intro p br{display:block}.intro-portrait{flex:0 0 90px;margin:7px -4px -19px 0;align-self:stretch}.intro-portrait img{width:115px;max-width:none;height:143px;object-fit:contain;object-position:center bottom;align-self:flex-end}.portrait-frame{inset:9px -4px 0;border-radius:65px 65px 0 0}.portrait-dot{width:19px;height:19px;right:-8px;top:18%}.portrait-dot:after{font-size:15px}.portrait-line{left:-8px;right:-4px;top:58%}
 .category-heading{margin-bottom:11px;gap:6px}.category-heading h2{font-size:15px}.category-heading>span{font-size:9px;white-space:nowrap}.category-heading b{font-size:17px;margin-right:2px}.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-tile{padding:12px 13px 10px;border-radius:15px;min-height:132px}.category-art{width:36px;height:36px;border-radius:10px;margin-bottom:9px}.category-art svg{width:27px;height:27px}.category-art:after{width:28px;height:28px;left:-7px;top:-5px}.category-copy strong{font-size:11px;line-height:1.7}.category-copy small{font-size:9px;margin-top:3px;letter-spacing:-.15px}.category-count{font-size:9px;margin-top:6px}.category-count b{font-size:18px}.home-search{margin-top:13px}.search-box{min-height:43px;padding:0 11px;border-radius:12px;gap:8px}.search-box input{font-size:11px;padding:9px 0}.search-box svg{width:18px;height:18px}.search-box button{min-height:39px;min-width:29px;font-size:20px}.home-bottom{font-size:9px;margin-top:7px;gap:5px}.home-bottom i{margin:0 3px}.home-bottom a{font-size:10px}.home-bottom b{font-size:17px}
 .catalog-heading{margin:2px 0 16px}.catalog-heading h1{font-size:23px}.catalog-heading p{font-size:11px;line-height:1.9}.category-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:13px 0 2px;margin:0}.category-filters button{font-size:10px;padding:6px 8px;min-height:36px;justify-content:center;border-radius:9px}.catalog-meta{min-height:38px;font-size:10px}.service-grid{grid-template-columns:1fr;gap:9px}.service-card{min-height:95px;padding:13px;gap:12px;border-radius:13px}.service-icon{height:42px;width:42px;border-radius:12px}.service-icon svg{width:27px;height:27px}.service-card h2{font-size:13px;line-height:1.7}.service-card h2 span{font-size:10px;margin-top:1px}.service-card p{font-size:10px;line-height:1.8;margin-top:3px}.service-open b{font-size:19px}
 .back-button{margin-top:3px;min-height:36px;font-size:11px}.create-heading{margin:5px 0 12px}.create-heading h1{font-size:21px;line-height:1.7;margin:3px 0 5px;letter-spacing:-.4px}.create-heading p{font-size:11px;line-height:1.9}.create-heading .section-kicker{font-size:9px}.roadmap{gap:9px;justify-content:space-between;padding-bottom:10px;margin-bottom:14px;font-size:10px}.roadmap button{font-size:11px;gap:5px;min-height:32px}.roadmap button>span,.roadmap .result-step>b{width:21px;height:21px;font-size:10px}.roadmap .result-step{gap:5px}.upload-panel,.settings-panel{padding:17px;border-radius:17px}.panel-heading{margin-bottom:12px;font-size:12px}.panel-heading>span{font-size:10px}.upload-box{min-height:172px;padding:16px}.upload-icon{width:43px;height:43px;font-size:26px;border-radius:13px;margin-bottom:9px}.upload-box strong{font-size:15px}.upload-box>span:not(.upload-icon){font-size:11px}.upload-box small{font-size:9px;margin-top:8px}.sample-row{font-size:10px;margin-top:9px}.sample-row button{font-size:11px;min-height:34px}.continue-button{font-size:13px;min-height:47px;margin-top:11px}.upload-privacy{font-size:9px;margin-top:8px}.photo-stage,.photo-stage img{max-height:214px}.settings-context{font-size:10px;margin-bottom:15px;padding-bottom:11px}.settings-context .text-button{font-size:10px}.choice-button{font-size:12px;min-height:47px;padding:10px}.level-area{margin-top:20px}.level-buttons button{min-height:52px;font-size:11px}.summary-box{margin:18px 0 14px;padding:13px}.generate-button{min-height:49px;font-size:14px}.transfer-area{padding:13px}.information-only{margin:12px auto}.toast{bottom:max(15px,env(safe-area-inset-bottom));font-size:12px}.result-heading h1{font-size:22px}.result-top{margin-top:8px}.history-grid{gap:10px}
 footer{margin-top:12px;padding:18px 0 25px;gap:10px}.footer-brand span{font-size:9px}.footer-brand b{font-size:12px}footer>p{font-size:9px}.local-badge{font-size:8px}
}
@media(max-width:370px){.header{padding-left:12px;padding-right:12px}.screen,footer{margin-left:12px;margin-right:12px}.brand b{font-size:12px}.brand img{width:28px;height:28px}.history-nav{font-size:9px;padding:6px 7px}.home-intro{padding:15px;height:154px;margin-bottom:15px}.home-intro h1{font-size:17px}.intro-portrait{flex-basis:74px;margin-bottom:-15px}.intro-portrait img{width:95px;height:128px}.home-intro p{font-size:9px}.category-heading h2{font-size:13px}.category-heading>span{font-size:8px}.category-tile{padding:10px 11px 8px;min-height:121px}.category-art{height:31px;width:31px;margin-bottom:7px}.category-copy strong{font-size:10px}.category-copy small{font-size:8px}.category-count{font-size:8px;margin-top:5px}.home-search{margin-top:10px}.home-bottom{font-size:8px}.home-bottom a{font-size:9px}.search-box input{font-size:10px}.create-heading h1{font-size:19px}.roadmap{gap:5px}.roadmap button{font-size:10px}.settings-context{gap:5px}.category-filters button{font-size:9px}}
@media(prefers-reduced-motion:reduce){.category-tile,.service-card{transition:none}.category-tile:hover,.service-card:hover{transform:none}}
@media(max-width:760px){.home-intro{height:154px}.intro-label{display:none}.home-intro h1{font-size:18px;line-height:1.65}.home-intro p{font-size:9px}.category-tile{min-height:119px;padding:10px 12px 9px}.category-art{height:31px;width:31px;margin-bottom:6px}.category-art svg{width:24px;height:24px}.category-count{margin-top:4px}.category-copy small{font-size:8.5px}.category-heading{margin-bottom:10px}.home-intro{margin-bottom:16px}}
@media(max-width:370px){.home-intro{height:142px}.home-intro h1{font-size:16px}.category-tile{min-height:112px;padding:9px 10px 8px}.category-copy small{font-size:8px}.category-count{margin-top:3px}.category-art{height:28px;width:28px;margin-bottom:5px}}
@media(max-width:760px) and (max-height:700px){.home-intro{height:136px;margin-top:3px;margin-bottom:13px}.home-intro h1{font-size:17px;line-height:1.6;margin-top:0}.home-intro p{font-size:9px;line-height:1.7}.intro-portrait img{height:124px}.category-tile{min-height:108px;padding-top:8px;padding-bottom:7px}.category-art{width:27px;height:27px;margin-bottom:4px}.category-art svg{width:23px;height:23px}.category-count{margin-top:2px}.category-tiles{gap:8px}.home-search{margin-top:10px}.home-bottom{margin-top:3px}}
@media(max-width:760px){body[data-edit-step=settings] #createScreen .create-heading>p,body[data-edit-step=settings] #chosenCategory{display:none}body[data-edit-step=settings] #chosenTitle{font-size:18px;line-height:1.65}body[data-edit-step=settings] #createScreen .create-heading{margin-top:2px;margin-bottom:10px}body[data-edit-step=settings] .settings-panel .summary-box{display:none}body[data-edit-step=settings] .generate-button{margin-top:17px;position:sticky;bottom:12px;z-index:4;box-shadow:0 5px 18px #b5122037,0 0 0 5px #ffffff}body[data-edit-step=settings] .settings-context{margin-bottom:13px;padding-bottom:7px}body[data-edit-step=settings] .level-area{margin-top:16px}}
@media(max-width:760px) and (max-height:600px){.home-intro{height:108px}.home-intro p{display:none}.intro-portrait img{height:100px}.portrait-frame{top:0}.category-count{display:none}.category-tile{min-height:94px}.category-copy small{white-space:normal;line-height:1.6}.category-heading h2{font-size:12px}.home-bottom{font-size:8px}.home-bottom i{margin:0 2px}}
.category-copy small,.service-card p{color:#6d6d6d}.category-count{color:#727272}.search-box input::placeholder{color:#737373;opacity:1}.home-bottom>span{color:#767676}
@media(max-width:760px){.category-copy strong{font-size:12px}.category-copy small{font-size:9px}.home-bottom>span{font-size:9px}.intro-copy p{color:#cfcfcf}}
@media(max-width:370px){.category-copy strong{font-size:11px}.category-copy small{font-size:8.5px}.home-bottom>span{font-size:8px}}
.transfer-heading{cursor:pointer;list-style:none;min-height:42px}.transfer-heading::-webkit-details-marker{display:none}.transfer-heading>span:nth-child(2){flex:1}.transfer-heading strong{display:block;font-size:12px}.transfer-heading small{display:block;font-size:10px;color:#7a7a7a;margin-top:2px}.transfer-chevron{font:20px Arial;color:#7f7f7f;transition:transform .2s}.transfer-area[open] .transfer-chevron{transform:rotate(180deg)}.transfer-area{padding:12px 16px}.transfer-area[open]{padding-bottom:16px}
@media(max-width:760px){.settings-panel:has(#transferArea:not([hidden])) #choiceButtons{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.settings-panel:has(#transferArea:not([hidden])) #choiceButtons .contour-option{padding:8px 6px;gap:5px;font-size:10px;min-height:46px;line-height:1.7}.settings-panel:has(#transferArea:not([hidden])) #choiceButtons .contour-check{height:16px;width:16px;border-radius:5px}.settings-panel:has(#transferArea:not([hidden])) .generate-button{position:static}.transfer-area{padding:9px 11px;margin-top:16px}.transfer-heading strong{font-size:11px}.transfer-heading small{font-size:9px}.transfer-symbol{width:30px;height:30px;font-size:18px}}
