/* Footer and catalog: one consistent, theme-aware layout. */
footer[data-od-id="footer"] {padding:56px 0 32px;background:var(--bg-alt);isolation:isolate;overflow:visible;content-visibility:visible;}
footer::before,footer::after {display:none;}
footer .foot-v2 {gap:32px;}
footer .foot-grid {grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:40px;padding:0;}
footer .foot-brand {max-width:330px;}
footer .foot-brand .logo {display:inline-flex;font-size:27px;letter-spacing:-1px;line-height:1.2;background:none;padding:0;border:0;box-shadow:none;}
footer .foot-brand p {font:400 14px/1.7 var(--font);color:var(--ink-2);margin:16px 0 22px;max-width:300px;}
footer .foot-brand .btn {min-height:44px;padding:0 20px;border-radius:12px;font-size:13px;}
footer .foot-col {display:flex;flex-direction:column;align-items:flex-start;gap:4px;}
footer .foot-col b {font:600 13px/1.4 var(--font);color:var(--ink);margin-bottom:12px;padding:0;letter-spacing:0;text-transform:none;}
footer .foot-col b::before {display:none;}
footer .foot-col a {font:400 13px/1.5 var(--font);padding:7px 0;color:var(--ink-2);min-height:34px;}
footer .foot-col a::before,footer .foot-col a::after {display:none;}
footer .foot-col a:hover {color:var(--accent);}
footer .theme-bar {display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:24px;padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:none;overflow:visible;}
footer .theme-bar::before {display:none;}
footer .theme-now {border:0;padding:8px 0;min-width:0;gap:10px;}
footer .theme-label {font:500 11px/1.4 var(--mono);letter-spacing:.08em;}
footer .theme-current {animation:none;background:none;-webkit-text-fill-color:var(--ink);font:600 20px/1.3 var(--font);}
footer .theme-opts {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;width:100%;}
footer .theme-opt {display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;width:100%;min-width:0;min-height:74px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--bg-alt);box-shadow:none;transform:none;position:relative;transition:border-color .18s,background .18s;}
footer .theme-opt::before,footer .theme-opt::after {display:none;}
footer .theme-opt .theme-swatch {width:30px;height:13px;flex:none;border:0;border-radius:5px;background:linear-gradient(110deg,var(--t1),var(--t2));box-shadow:none;transform:none;}
footer .theme-opt .theme-swatch::before,footer .theme-opt .theme-swatch::after {display:none;}
footer .theme-name {font:500 11px/1.3 var(--font);color:var(--ink-2);letter-spacing:0;}
footer .theme-opt.is-active {border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--bg-alt));}
footer .theme-opt.is-active::after {content:'✓';display:block;position:absolute;right:9px;top:9px;font-size:12px;color:var(--accent);background:none;width:auto;height:auto;box-shadow:none;}
footer .theme-opt.is-active .theme-name {color:var(--ink);}
footer .theme-opt:hover {transform:none;border-color:var(--ink-3);}
footer .theme-opt:focus-visible {outline:2px solid var(--accent);outline-offset:3px;}
footer .foot-legal {padding-top:22px;border-top:1px solid var(--border);font:400 11px/1.7 var(--font);color:var(--ink-3);}
#page-styles .section {padding-top:48px;}
#page-styles .section-head {text-align:left;max-width:none;margin:0 0 32px;}
#page-styles .section-head h1 {font-size:clamp(32px,4vw,52px)!important;line-height:1.12;letter-spacing:-.035em;margin:12px 0 16px;}
#page-styles .section-head .lede {margin:0;max-width:640px;font-size:16px;line-height:1.6;}
#page-styles .styles-filter-panel {display:grid;gap:16px;padding:22px;margin-bottom:20px;background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:none;overflow:visible;}
#page-styles .styles-filter-title {display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font:600 13px/1.4 var(--font);letter-spacing:0;text-transform:none;color:var(--ink);}
#page-styles .styles-filter-title::before {display:none;}
#page-styles .styles-filter-actions {gap:8px;}
#page-styles :is(#styles-random,#styles-reset) {height:38px;font-size:12px;font-weight:500;border-radius:10px;padding:0 12px;box-shadow:none;}
#page-styles .catalog-tools {grid-template-columns:minmax(0,2fr) minmax(0,1.15fr) minmax(0,.85fr);margin:0;gap:12px;}
#page-styles :is(#catalog-search,.site-pick-btn) {min-height:48px;border-radius:12px;font:400 14px/1.4 var(--font);box-shadow:none;background-color:var(--bg-alt);}
#page-styles .site-pick {min-width:0;}
#page-styles .site-pick-btn {width:100%;text-align:left;color:var(--ink);background:var(--bg);border:1px solid var(--border-strong);border-radius:12px;min-height:48px;padding:0 16px;}
#page-styles .site-pick-val {color:var(--ink);}
#page-styles .site-pick {position:relative;min-width:0;}
#page-styles .styles-filter-panel {overflow:visible;position:relative;z-index:200;}
#page-styles #styles-grid {position:relative;z-index:1;}
#page-styles .site-pick-menu {position:absolute;z-index:80;top:calc(100% + 8px);left:0;width:100%;min-width:220px;max-width:calc(100vw - 40px);max-height:320px;overflow:auto;padding:7px;border:1px solid var(--border-strong);border-radius:14px;background:var(--surface);box-shadow:0 16px 48px #0008;opacity:1;visibility:visible;transform:none;pointer-events:auto;}
#page-styles .site-pick-menu[hidden] {display:none!important;}
#page-styles .site-pick-item {appearance:none;display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:11px 12px;margin:0;border:0;border-radius:8px;background:transparent;color:var(--ink-2);font:500 13px/1.4 var(--font);text-align:left;cursor:pointer;}
#page-styles .site-pick-item:hover,#page-styles .site-pick-item:focus-visible {background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--ink);outline:1px solid var(--accent);outline-offset:-1px;}
#page-styles .site-pick-item.is-selected {background:color-mix(in srgb,var(--accent) 16%,var(--surface));color:var(--accent);}
#page-styles .site-pick-item small,#page-styles .site-pick-item .meta {margin-left:auto;font-size:11px;color:var(--ink-3);}
@media(max-width:700px){#page-styles .site-pick:last-child .site-pick-menu{left:auto;right:0;}#page-styles .site-pick-menu{max-height:280px;}}
#page-styles .fav-filter {padding:3px;border-radius:11px;gap:4px;}
#page-styles .fav-filter .chip {min-height:36px;padding:0 16px;border-radius:8px;border:0;box-shadow:none;font-size:12px;}
#page-styles .fav-filter .chip.is-active {background:color-mix(in srgb,var(--accent) 14%,var(--surface));color:var(--accent);}
#page-styles .catalog-status,#page-styles .catalog-count {font:400 12px/1.6 var(--font);color:var(--ink-2);text-align:left;margin:8px 0;}
#page-styles #styles-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:22px;}
#styles-grid .g-card {height:auto;min-width:0;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:none;transform:none;overflow:hidden;}
#styles-grid .g-card:hover {transform:none;border-color:var(--accent);box-shadow:none;}
#styles-grid .g-media {flex:none;aspect-ratio:3/4;overflow:hidden;}
#styles-grid .g-media-main {width:100%;height:100%;object-fit:cover;object-position:center;}
#styles-grid .g-cap {padding:40px 14px 16px;gap:8px;align-items:flex-end;}
#styles-grid .g-cap h3 {font:600 16px/1.25 var(--font);max-width:65%;}
#styles-grid .g-use {font:500 11px/1.4 var(--font);text-align:right;max-width:35%;color:#fff;}
#styles-grid .g-prompt {position:static;inset:auto;opacity:1;transform:none;pointer-events:auto;background:var(--surface);backdrop-filter:none;padding:12px 14px;font:400 10px/1.4 var(--mono);color:var(--ink-3);border-top:1px solid var(--border);}
#page-styles #catalog-more {display:flex;margin:32px auto 0;min-height:48px;padding:0 28px;border-radius:12px;}
#page-styles #catalog-more[hidden] {display:none;}
@media(min-width:1400px){#page-styles #styles-grid{grid-template-columns:repeat(5,minmax(0,1fr));}}
@media(max-width:1050px){footer .theme-bar{grid-template-columns:1fr;gap:16px;}footer .theme-now{flex-direction:row;align-items:center;padding:0;}footer .theme-opts{grid-template-columns:repeat(7,minmax(0,1fr));}#page-styles #styles-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){footer[data-od-id="footer"]{padding:32px 0 calc(116px + env(safe-area-inset-bottom));}footer .foot-v2{gap:24px;}footer .foot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px;}footer .foot-brand{grid-column:1/-1;max-width:none;}footer .foot-brand p{max-width:360px;margin:12px 0 16px;}footer .theme-bar{padding:18px;border-radius:16px;}footer .theme-opts{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;}footer .theme-opt{padding:10px;min-height:70px;}footer .theme-name{font-size:10px;}#page-styles .section{padding-top:30px;}#page-styles .section-head{margin-bottom:24px;}#page-styles .section-head .lede{font-size:14px;}#page-styles .styles-filter-panel{padding:16px;gap:14px;}#page-styles .catalog-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;}#page-styles #catalog-search{grid-column:1/-1;}#page-styles #styles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}#styles-grid .g-cap{padding:35px 10px 12px;display:block;}#styles-grid .g-cap h3{max-width:none;font-size:14px;}#styles-grid .g-use{max-width:none;text-align:left;margin-top:7px;min-height:28px;}#styles-grid .g-prompt{font-size:9px;padding:10px;}#page-styles .styles-filter-title{align-items:flex-start;}#page-styles .styles-filter-actions{width:100%;}#page-styles :is(#styles-random,#styles-reset){flex:1;justify-content:center;}}
@media(prefers-reduced-motion:reduce){footer .theme-opt,#styles-grid .g-card{transition:none;}}
/* Card captions have their own space below the image. */
#page-styles #styles-grid .g-card {display:flex;flex-direction:column;height:auto;}
#page-styles #styles-grid .g-media {width:100%;aspect-ratio:3/4;height:auto;min-height:0;flex:none;}
#page-styles #styles-grid .g-cap {position:static;inset:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(42px,auto) 44px;align-items:start;gap:12px 8px;padding:16px;background:var(--surface);flex:1;}
#page-styles #styles-grid .g-cap h3 {margin:0;width:auto;max-width:none;min-width:0;font:600 15px/1.4 var(--font);color:var(--ink);overflow-wrap:anywhere;}
#page-styles #styles-grid .g-cost {position:static;align-self:start;margin:3px 0 0;white-space:nowrap;font:500 10px/1.6 var(--mono);letter-spacing:0;color:var(--ink-3);}
#page-styles #styles-grid .g-use {grid-column:1/-1;display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-width:0;min-height:44px;margin:0;padding:8px;border:1px solid var(--border-strong);border-radius:10px;background:var(--bg);color:var(--ink);font:500 12px/1.4 var(--font);white-space:normal;text-align:center;}
#page-styles #styles-grid .g-use:hover {border-color:var(--accent);color:var(--accent);text-decoration:none;}
#page-styles #styles-grid .g-use::after {content:none;}
#page-styles #styles-grid .g-prompt {display:none;}
@media(max-width:700px){#page-styles #styles-grid .g-cap{grid-template-columns:1fr;grid-template-rows:minmax(40px,auto) 16px 42px;padding:12px;gap:6px;}#page-styles #styles-grid .g-cap h3{font-size:13px;}#page-styles #styles-grid .g-cost{margin:0;}#page-styles #styles-grid .g-use{min-height:42px;font-size:11px;}}
/* Horizontal photo drum. */
#wheel-modal .modal-card {max-width:560px;padding:28px;overflow:hidden;background:var(--bg-alt);}
#wheel-modal .drum-stage {max-width:none;margin:24px -28px 20px;}
#wheel-modal .drum-window {height:268px;border:0;border-radius:0;background:var(--bg);mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);}
#wheel-modal .drum-reel {display:flex;width:max-content;}
#wheel-modal .drum-item {flex:0 0 188px;width:188px;height:268px;padding:8px;box-sizing:border-box;}
#wheel-modal .drum-item img {object-fit:cover;border-radius:16px;border:1px solid var(--border);}
#wheel-modal .drum-item span {left:16px;right:16px;bottom:16px;background:linear-gradient(transparent,#000b);padding:24px 10px 10px;border-radius:0 0 12px 12px;font-size:13px;}
#wheel-modal .drum-mark {left:50%;top:0;width:180px;height:268px;margin:0;transform:translateX(-50%);border:2px solid var(--accent);border-radius:18px;background:transparent;box-shadow:0 0 24px color-mix(in srgb,var(--accent) 12%,transparent);pointer-events:none;}
#wheel-modal .drum-mark::after {width:12px;height:12px;left:50%;right:auto;top:-7px;margin:0;transform:translateX(-50%) rotate(45deg);background:var(--accent);}
#wheel-modal #wheel-title {font-size:28px;}
#wheel-modal .wheel-result {min-height:38px;font-size:14px;line-height:1.5;color:var(--ink-2);}
#wheel-modal .wheel-reveal[hidden],#wheel-modal #wheel-use[hidden] {display:none;}
#wheel-modal #wheel-spin,#wheel-modal #wheel-use {min-height:48px;border-radius:12px;}
@media(max-width:600px){#wheel-modal .modal-card{padding:24px 20px;}#wheel-modal .drum-stage{margin-inline:-20px;}#wheel-modal #wheel-title{font-size:24px;}}
/* Compact gallery details. */
#page-styles #styles-grid .g-card {border-radius:20px;background:var(--bg-alt);}
#page-styles #styles-grid .g-cap {grid-template-rows:auto 42px;padding:14px;gap:14px 8px;background:var(--bg-alt);}
#page-styles #styles-grid .g-cap h3 {font-size:15px;letter-spacing:-.02em;}
#page-styles #styles-grid .g-cost {font-family:var(--font);font-size:10px;padding:3px 7px;margin:0;border-radius:6px;background:var(--surface);color:var(--ink-2);}
#page-styles #styles-grid .g-use {justify-content:space-between;padding:10px 13px;background:color-mix(in srgb,var(--accent) 9%,var(--bg-alt));border-color:color-mix(in srgb,var(--accent) 20%,var(--border));color:var(--ink);border-radius:10px;font-size:12px;min-height:42px;}
#page-styles #styles-grid .g-use::after {content:'↗';font-size:17px;color:var(--accent);}
#page-styles #styles-grid .g-use:hover {background:color-mix(in srgb,var(--accent) 17%,var(--bg-alt));}
@media(max-width:700px){#page-styles #styles-grid .g-cap{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 40px;padding:11px;gap:8px;}#page-styles #styles-grid .g-cost{justify-self:start;}#page-styles #styles-grid .g-use{font-size:10px;padding-inline:9px;min-height:40px;}#page-styles #styles-grid .g-cap h3{font-size:13px;}}
#wheel-modal .modal-card {max-height:calc(100dvh - 32px);overflow-y:auto;}
#wheel-modal .wheel-reveal,#wheel-modal .wheel-history {display:none;}
#wheel-modal #wheel-use {margin-top:8px;}
/* A quiet breathing ring, independent of the camera tile. */
.bottombar .bottombar-picrum-icon {animation:none!important;}
.bottombar .bottombar-picrum-icon::after {content:'';position:absolute;inset:-6px;border-radius:23px;border:1px solid var(--accent);box-shadow:0 0 16px color-mix(in srgb,var(--accent) 38%,transparent);pointer-events:none;animation:studio-ring-breathe 4s ease-in-out infinite;}
@keyframes studio-ring-breathe {0%,100%{opacity:.18;}50%{opacity:.75;}}
/* Image-led cards with a single clear action. */
#page-styles #styles-grid .g-cap {grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(34px,auto) 44px;gap:10px 8px;padding:16px;background:linear-gradient(150deg,var(--surface),var(--bg-alt));}
#page-styles #styles-grid .g-cost {align-self:start;background:transparent;padding:2px 0;color:var(--ink-3);font-size:11px;}
#page-styles #styles-grid .g-use {min-height:44px;border-radius:12px;font-size:12px;font-weight:600;background:var(--surface);border-color:var(--border-strong);}
#page-styles #styles-grid .g-use::after {content:'→';display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:color-mix(in srgb,var(--accent) 15%,transparent);font-size:16px;}
@media(max-width:700px){#page-styles #styles-grid .g-cap{padding:12px;grid-template-columns:1fr;grid-template-rows:auto auto 44px;gap:7px;}#page-styles #styles-grid .g-cost{font-size:10px;}#page-styles #styles-grid .g-use{font-size:11px;padding:8px 10px;}}
/* Tablet menu floats over the page instead of pushing it down. */
@media(min-width:601px) and (max-width:1100px){
 header {position:sticky;top:0;z-index:950;}
 header #mobileMenu.open {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:absolute;top:calc(100% + 10px);right:20px;width:min(460px,calc(100vw - 40px));padding:12px;border:1px solid var(--border-strong);border-radius:22px;background:var(--bg-alt);box-shadow:0 20px 60px #0008;}
 header #mobileMenu a {display:flex;align-items:center;min-height:52px;padding:12px 16px;border:1px solid var(--border);border-radius:13px;background:var(--surface);font-size:14px;font-weight:500;}
 header #mobileMenu a.is-active {background:color-mix(in srgb,var(--accent) 13%,var(--surface));border-color:color-mix(in srgb,var(--accent) 40%,var(--border));color:var(--accent);}
 header #mobileMenu a:hover {border-color:var(--accent);}
}
@media(prefers-reduced-motion:reduce){.bottombar .bottombar-picrum-icon::after{animation:none;opacity:.4;}}
@media(max-width:700px){#page-styles #styles-grid .g-use{font-size:10px;white-space:nowrap;gap:5px;}#page-styles #styles-grid .g-use::after{width:22px;height:22px;flex:none;}}
@media(max-width:1050px){
 footer .foot-grid {grid-template-columns:1fr;gap:20px;}
 footer .foot-brand {grid-column:1/-1;max-width:none;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px 24px;padding-bottom:22px;border-bottom:1px solid var(--border);}
 footer .foot-brand p {max-width:440px;margin:0;grid-column:1;}
 footer .foot-brand .btn {grid-column:2;grid-row:1/3;min-width:180px;}
 footer .foot-col {display:grid;grid-template-columns:130px repeat(5,minmax(0,1fr));align-items:center;gap:8px;}
 footer .foot-col b {margin:0;}
 footer .foot-col a {display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;padding:10px 8px;min-height:42px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:12px;}
 footer .theme-opts {grid-template-columns:repeat(7,minmax(0,1fr));}
 footer .foot-v2 {gap:24px;}
}
@media(max-width:700px){
 footer .foot-brand {grid-template-columns:1fr;gap:12px;padding-bottom:20px;}
 footer .foot-brand .btn {grid-column:1;grid-row:auto;width:100%;}
 footer .foot-col {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
 footer .foot-col b {grid-column:1/-1;margin:0 0 2px;}
 footer .foot-col a {font-size:11px;min-height:42px;text-align:center;}
 footer .theme-opts {grid-template-columns:repeat(4,minmax(0,1fr));}
 footer .theme-bar {padding:16px;}
 footer .theme-opt {align-items:center;min-height:64px;gap:8px;padding:10px 5px;}
 footer .theme-now {padding:0;}
 footer .theme-opt:nth-last-child(-n+2) {grid-column:span 2;}
 footer .foot-legal {display:flex;flex-direction:column;align-items:flex-start;gap:10px;}
}
@media(max-width:1050px){footer .foot-grid .foot-brand{display:grid;max-width:none;width:100%;justify-items:start;text-align:left;}footer .foot-grid .foot-brand .btn{justify-self:stretch;}}
footer .theme-opt {transition:transform .2s ease,background .3s ease,border-color .3s ease;}
footer .theme-opt:active {transform:scale(.94);}
footer .theme-opt.is-active {animation:theme-selection .55s ease-out;}
footer .theme-opt.is-active::after {animation:theme-check .35s ease-out;}
@keyframes theme-selection {0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 40%,transparent);}45%{box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 16%,transparent);}100%{box-shadow:0 0 0 9px transparent;}}
@keyframes theme-check {0%{opacity:0;transform:scale(.4);}70%{opacity:1;transform:scale(1.2);}100%{transform:scale(1);}}
@media(prefers-reduced-motion:reduce){footer .theme-opt,footer .theme-opt::after{animation:none!important;transition:none;}}
#profile-view .theme-bar {display:grid;grid-template-columns:1fr;gap:18px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--bg-alt);box-shadow:none;}
#profile-view .theme-bar::before {display:none;}
#profile-view .theme-now {display:flex;flex-direction:row;align-items:center;gap:12px;padding:0;border:0;}
#profile-view .theme-current {animation:none;background:none;-webkit-text-fill-color:var(--ink);font:600 20px/1.3 var(--font);}
#profile-view .theme-opts {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;width:100%;}
#profile-view .theme-opt {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;min-width:0;min-height:72px;padding:10px 5px;border:1px solid var(--border);border-radius:12px;background:var(--bg);box-shadow:none;transition:transform .2s,border-color .3s,background .3s;}
#profile-view .theme-opt::before {display:none;}
#profile-view .theme-opt .theme-swatch {width:30px;height:13px;flex:none;border:0;border-radius:5px;background:linear-gradient(110deg,var(--t1),var(--t2));box-shadow:none;transform:none;}
#profile-view .theme-opt .theme-swatch::before,#profile-view .theme-opt .theme-swatch::after {display:none;}
#profile-view .theme-opt .theme-name {font:500 11px/1.3 var(--font);color:var(--ink-2);}
#profile-view .theme-opt.is-active {border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--bg));animation:theme-selection .55s ease-out;}
#profile-view .theme-opt.is-active::after {content:'✓';position:absolute;right:7px;top:5px;background:none;color:var(--accent);box-shadow:none;animation:theme-check .35s ease-out;}
#profile-view .theme-opt:active {transform:scale(.94);}
@media(max-width:900px){#profile-view .theme-opts{grid-template-columns:repeat(4,minmax(0,1fr));}#profile-view .theme-opt:nth-last-child(-n+2){grid-column:span 2;}}
@media(prefers-reduced-motion:reduce){#profile-view .theme-opt,#profile-view .theme-opt::after{animation:none!important;transition:none;}}
/* Shared theme interaction in settings and footer. */
footer .theme-opt,#profile-view .theme-opt {position:relative;overflow:hidden;transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;}
footer .theme-opt .theme-swatch,#profile-view .theme-opt .theme-swatch {transition:transform .3s ease,box-shadow .3s ease;}
@media(hover:hover){
 footer .theme-opt:hover,#profile-view .theme-opt:hover {transform:translateY(-3px);border-color:var(--t1);background:color-mix(in srgb,var(--t1) 9%,var(--bg-alt));box-shadow:0 8px 24px -10px color-mix(in srgb,var(--t1) 65%,transparent);}
 footer .theme-opt:hover .theme-swatch,#profile-view .theme-opt:hover .theme-swatch {transform:scale(1.14);box-shadow:0 0 18px color-mix(in srgb,var(--t1) 55%,transparent);}
}
::view-transition-old(root),::view-transition-new(root) {animation-duration:.55s;animation-timing-function:ease-in-out;}
body:not([data-page="home"]) footer .theme-bar {display:none;}
#mobileMenu.open {grid-template-columns:1fr!important;width:min(330px,calc(100vw - 32px))!important;padding:10px!important;gap:6px!important;border-radius:20px!important;background:var(--bg-alt)!important;}
header #mobileMenu a {display:flex;align-items:center;gap:14px;min-height:60px;padding:12px 16px;border:1px solid transparent;border-radius:13px;background:transparent;font-size:14px;font-weight:500;}
header #mobileMenu a svg {width:22px;height:22px;flex:none;fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
header #mobileMenu .menu-arrow {margin-left:auto;font-size:17px;color:var(--ink-3);}
header #mobileMenu a:hover {background:var(--surface);border-color:var(--border);}
header #mobileMenu a.is-active {background:color-mix(in srgb,var(--accent) 10%,var(--bg-alt));border-color:color-mix(in srgb,var(--accent) 25%,var(--border));color:var(--ink);}
@media(prefers-reduced-motion:reduce){footer .theme-opt:hover,#profile-view .theme-opt:hover{transform:none;}::view-transition-old(root),::view-transition-new(root){animation:none;}}
/* Animated account entrance and password guidance */
#auth-view,#auth-modal .modal-card {position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 5% 0%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 55%),var(--bg-alt);border:1px solid color-mix(in srgb,var(--accent) 23%,var(--border));box-shadow:0 24px 80px #0005;}
#auth-view::before,#auth-modal .modal-card::before {content:'';position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,var(--accent),transparent);animation:auth-glow 5s ease-in-out infinite;pointer-events:none;}
#auth-view .auth-tabs,.am-tabs {padding:5px;border-radius:16px;background:var(--bg);border:1px solid var(--border);}
#auth-view .auth-tab,.am-tab {min-height:44px;border-radius:12px;transition:background .35s,box-shadow .35s,color .35s;}
.auth-tab.is-active,.am-tab.is-active {box-shadow:0 5px 22px color-mix(in srgb,var(--accent) 18%,transparent);}
#auth-view .auth-form,#am-form {gap:12px;}
#auth-view input:not([type=checkbox]),#am-form input:not([type=checkbox]) {min-height:54px;border-radius:14px;transition:border-color .25s,box-shadow .25s,background .25s;}
#auth-view input:focus,#am-form input:focus {box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent);}
.auth-form > :not([hidden]) {animation:auth-field-in .35s ease-out both;}
.auth-password-live:not([hidden]) {display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:16px;background:color-mix(in srgb,var(--bg) 70%,transparent);animation:auth-field-in .4s ease-out;--pw-color:#f09570;}
.auth-password-live[data-level="4"] {--pw-color:#66d3ac;}
.auth-password-live[data-level="3"] {--pw-color:#e5c16d;}
.pw-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--ink-3);}
.pw-heading b {color:var(--pw-color);font-weight:600;transition:color .3s;}
.pw-meter {display:grid;grid-template-columns:repeat(4,1fr);gap:6px;}
.pw-meter i {height:6px;border-radius:9px;background:var(--border);transition:background .4s,box-shadow .4s,transform .4s;}
.pw-meter i.filled {background:var(--pw-color);box-shadow:0 0 12px color-mix(in srgb,var(--pw-color) 25%,transparent);animation:pw-fill .45s ease-out;}
.pw-checks {display:flex;gap:5px;flex-wrap:wrap;}
.pw-checks span {font-size:10px;padding:5px 7px;border-radius:7px;color:var(--ink-3);background:var(--surface);transition:color .3s,background .3s;}
.pw-checks span.done {color:#66d3ac;background:#66d3ac12;}
.pw-match {margin:0;font-size:12px;color:var(--ink-3);transition:color .3s;}
.pw-match[data-state=ok] {color:#66d3ac;}
.pw-match[data-state=error] {color:#f09570;}
.auth-form input[aria-invalid=true] {border-color:#f09570!important;}
#auth-view .soc-btn,#auth-modal .soc-btn {transition:transform .25s,border-color .25s,box-shadow .25s;}
@media(hover:hover){#auth-view .soc-btn:hover:not(:disabled),#auth-modal .soc-btn:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 8px 25px #0003;}}
@keyframes auth-field-in {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes auth-glow {0%,100%{opacity:.3;transform:scaleX(.6)}50%{opacity:1;transform:scaleX(1)}}
@keyframes pw-fill {from{transform:scaleX(.8);opacity:.4}to{transform:scaleX(1);opacity:1}}
@media(max-width:600px){#auth-view {padding:24px 20px!important;border-radius:24px;} .auth-password-live:not([hidden]){padding:13px;}.pw-heading{font-size:10px;}}
@media(prefers-reduced-motion:reduce){#auth-view::before,#auth-modal .modal-card::before,.auth-form > :not([hidden]),.auth-password-live,.pw-meter i.filled{animation:none!important;}}
/* Premium account surface, theme-aware and deliberately quiet in motion. */
#auth-view {width:min(100%,480px);max-width:480px!important;padding:36px!important;border-radius:30px!important;background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--accent) 13%,transparent),transparent 48%),linear-gradient(145deg,color-mix(in srgb,var(--bg-alt) 94%,white),var(--bg));box-shadow:0 32px 100px #0006,inset 0 1px 0 #ffffff0a;}
#auth-view::before {height:1px;inset:0 20%;background:linear-gradient(90deg,transparent,var(--accent),transparent);animation:auth-glow 7s ease-in-out infinite;}
#auth-view::after {content:'';position:absolute;z-index:-1;width:230px;height:230px;right:-130px;top:220px;border-radius:50%;background:var(--accent);filter:blur(90px);opacity:.07;animation:auth-ambient 12s ease-in-out infinite alternate;pointer-events:none;}
.auth-intro {text-align:center;margin:0 0 30px;}
.auth-emblem {position:relative;display:grid;place-items:center;width:62px;height:62px;margin:0 auto 20px;border-radius:20px;border:1px solid color-mix(in srgb,var(--accent) 28%,transparent);color:var(--accent);background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 14%,transparent),transparent);box-shadow:0 10px 35px color-mix(in srgb,var(--accent) 10%,transparent);animation:auth-emblem-breathe 6s ease-in-out infinite;}
.auth-emblem svg {width:36px;height:36px;stroke-width:1.3;}
.auth-kicker {display:block;font-size:9px;letter-spacing:2px;color:var(--ink-3);margin-bottom:11px;}
.auth-intro h2 {font-size:32px;letter-spacing:-1.2px;line-height:1.1;margin:0 0 10px;font-weight:650;}
.auth-intro h2 span {color:var(--accent);}
.auth-intro p {font-size:13px;line-height:1.5;color:var(--ink-2);margin:0;}
#auth-view .auth-tabs {margin-bottom:25px;padding:4px;background:#0003;border-color:#ffffff09;border-radius:15px;}
#auth-view .auth-tab {font-size:13px;min-height:42px;}
#auth-view .auth-tab.is-active {background:color-mix(in srgb,var(--accent) 15%,var(--bg-alt));color:var(--accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent),0 3px 12px #0002;}
#auth-view .field-label,#auth-modal .field-label {font-size:10px;letter-spacing:1.4px;color:var(--ink-2);margin-top:8px;}
#auth-view input:not([type=checkbox]),#am-form input:not([type=checkbox]) {background:#0003;border-color:#ffffff16;padding:15px 16px;font-size:14px;box-shadow:inset 0 1px 3px #0002;}
#auth-view input:hover:not(:focus) {border-color:#ffffff30;}
#auth-view input:focus,#am-form input:focus {background:color-mix(in srgb,var(--accent) 3%,var(--bg));border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent),0 8px 25px #0002;outline:none;}
#auth-view .password-rules,#auth-modal .password-rules {font:11px/1.65 var(--font);color:var(--ink-3);margin:0;}
.auth-password-live:not([hidden]) {background:linear-gradient(140deg,#ffffff04,#0002);border-color:#ffffff10;border-radius:16px;gap:13px;}
.pw-meter i {height:4px;}.pw-checks span {background:transparent;border:1px solid #ffffff0c;border-radius:20px;padding:5px 8px;}.pw-checks span.done {border-color:#66d3ac25;background:#66d3ac0a;}
#auth-submit,#am-submit {position:relative;overflow:hidden;min-height:52px;border-radius:14px;margin-top:10px;font-weight:600;box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 17%,transparent);transition:transform .25s,box-shadow .25s,filter .25s;}
#auth-submit::after,#am-submit::after {content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,#ffffff30 50%,transparent 65%);transform:translateX(-110%);pointer-events:none;}
@media(hover:hover){#auth-submit:hover,#am-submit:hover {transform:translateY(-2px);box-shadow:0 12px 30px color-mix(in srgb,var(--accent) 25%,transparent);}#auth-submit:hover::after,#am-submit:hover::after{animation:auth-shine .85s ease;}}
#auth-submit:active,#am-submit:active {transform:scale(.98);}
#auth-view .auth-divider {margin:24px 0 18px;font-size:10px;letter-spacing:1px;}
#auth-view .auth-social {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
#auth-view .soc-btn {display:flex;align-items:center;justify-content:center;gap:9px;min-height:49px;padding:10px;border-radius:13px;background:#ffffff03!important;border:1px solid #ffffff12;color:var(--ink)!important;font-size:12px;box-shadow:none;}
#auth-view .soc-btn svg {width:23px;height:23px;flex:none;}
#auth-view .soc-btn:hover:not(:disabled) {border-color:color-mix(in srgb,var(--accent) 35%,transparent);background:color-mix(in srgb,var(--accent) 6%,var(--bg-alt))!important;}
#auth-view .auth-note {font:10px/1.5 var(--font);margin:20px 0 0;color:var(--ink-3);text-align:center;}
#auth-view .auth-terms {font-size:11px;line-height:1.7;gap:10px;}.auth-terms input{accent-color:var(--accent);}
@keyframes auth-ambient{to{transform:translate(-40px,120px);opacity:.12;}}
@keyframes auth-emblem-breathe{0%,100%{transform:translateY(0);box-shadow:0 10px 35px color-mix(in srgb,var(--accent) 10%,transparent);}50%{transform:translateY(-3px);box-shadow:0 12px 40px color-mix(in srgb,var(--accent) 20%,transparent);}}
@keyframes auth-shine{to{transform:translateX(110%);}}
@media(max-width:600px){#auth-view{padding:26px 22px!important;border-radius:25px!important;}.auth-intro{margin-bottom:24px;}.auth-emblem{width:52px;height:52px;margin-bottom:16px;border-radius:17px;}.auth-intro h2{font-size:29px;}.auth-kicker{font-size:8px;letter-spacing:1.6px;}#page-profile:has(#auth-view:not([hidden])) .section-head {margin-bottom:26px;}#page-profile:has(#auth-view:not([hidden])) .section-head h1 {font-size:30px!important;}#page-profile:has(#auth-view:not([hidden])) .section-head .lede{font-size:13px;}}
@media(prefers-reduced-motion:reduce){#auth-view::after,.auth-emblem,#auth-submit::after,#am-submit::after{animation:none!important;}#auth-submit,#am-submit{transition:none;}}
/* Keep browser autofill legible inside the dark authentication surface. */
#auth-view input:not([type=checkbox]),#am-form input:not([type=checkbox]) {color:var(--ink);caret-color:var(--accent);color-scheme:dark;}
#auth-view input::placeholder,#am-form input::placeholder {color:var(--ink-3);opacity:1;}
#auth-view input:-webkit-autofill,#auth-view input:-webkit-autofill:hover,#auth-view input:-webkit-autofill:focus,#am-form input:-webkit-autofill,#am-form input:-webkit-autofill:hover,#am-form input:-webkit-autofill:focus {-webkit-text-fill-color:var(--ink)!important;caret-color:var(--accent);-webkit-box-shadow:0 0 0 1000px var(--bg-alt) inset!important;box-shadow:0 0 0 1000px var(--bg-alt) inset!important;border-color:color-mix(in srgb,var(--accent) 30%,var(--border));}
#auth-view input:autofill,#am-form input:autofill {color:var(--ink);background:var(--bg-alt);}
/* One moving selection plate shared by both authentication switches. */
#auth-view .auth-tabs,#auth-modal .am-tabs {position:relative;isolation:isolate;display:flex;gap:0;padding:4px;}
#auth-view .auth-tabs::before,#auth-modal .am-tabs::before {content:'';position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/2);border-radius:12px;background:color-mix(in srgb,var(--accent) 15%,var(--bg-alt));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent),0 3px 12px #0002;transform:translateX(0);transition:transform .42s cubic-bezier(.22,1,.36,1),background .35s,box-shadow .35s;pointer-events:none;}
#auth-view .auth-tabs:has([data-auth=register].is-active)::before,#auth-modal .am-tabs:has([data-am=register].is-active)::before {transform:translateX(100%);}
#auth-view .auth-tab,#auth-modal .am-tab {position:relative;z-index:1;flex:1 1 0;transition:color .3s;background:transparent!important;box-shadow:none!important;}
#auth-view .auth-tab.is-active,#auth-modal .am-tab.is-active {color:var(--accent);background:transparent!important;box-shadow:none!important;}
@media(prefers-reduced-motion:reduce){#auth-view .auth-tabs::before,#auth-modal .am-tabs::before{transition:none;}}
.hub-profile-link {display:flex;align-items:center;gap:14px;margin:0 0 24px;padding:16px 18px;border:1px solid color-mix(in srgb,var(--accent) 22%,var(--border));border-radius:20px;background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 8%,var(--bg-alt)),var(--bg-alt));color:var(--ink);text-decoration:none;transition:border-color .25s,transform .25s,box-shadow .25s;}
.hub-profile-avatar {display:grid;place-items:center;flex:none;width:44px;height:44px;overflow:hidden;border-radius:15px;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--bg));font-size:17px;font-weight:600;}
.hub-profile-avatar img {width:100%;height:100%;object-fit:cover;}
.hub-profile-link b {display:block;font-size:15px;margin-bottom:5px;}.hub-profile-link small {display:block;font-size:12px;line-height:1.5;color:var(--ink-2);}.hub-profile-arrow {margin-left:auto;color:var(--accent);font-size:23px;flex:none;}
@media(hover:hover){.hub-profile-link:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:0 10px 28px #0002;}}
.bottombar .account-switch .bottombar-picrum-icon svg {animation:account-icon-in .45s ease-out;}
@keyframes account-icon-in {from{opacity:0;transform:scale(.65) rotate(-12deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@media(max-width:600px){.hub-profile-link{padding:14px;gap:12px;border-radius:17px;}.hub-profile-link small{font-size:11px;}.hub-profile-avatar{width:40px;height:40px;}}
@media(prefers-reduced-motion:reduce){.bottombar .account-switch .bottombar-picrum-icon svg{animation:none;}.hub-profile-link{transition:none;}}

/* Selected catalog look: photos only, protected prompt and fixed model. */
.studio-selected-style{display:flex;align-items:center;gap:14px;padding:14px;margin:18px 0;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,var(--bg-alt)),var(--bg));animation:studio-look-in .35s ease-out}
.studio-selected-style[hidden],#studio-free-prompt[hidden],#pro-mode-toggle[hidden]{display:none!important}
.studio-selected-style img{width:62px;height:80px;object-fit:cover;border-radius:11px;flex-shrink:0}
.studio-selected-style div{flex:1;min-width:0;display:grid;gap:6px}
.studio-selected-style span{font-size:9px;letter-spacing:.13em;color:var(--accent);font-weight:700}
.studio-selected-style b{font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.studio-selected-style small{font-size:11px;color:var(--ink-3)}
.studio-selected-style a{font-size:12px;color:var(--accent);white-space:nowrap;padding:9px;border-radius:10px;background:color-mix(in srgb,var(--accent) 8%,transparent)}
@keyframes studio-look-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:420px){.studio-selected-style{gap:10px;padding:12px}.studio-selected-style b{font-size:15px}.studio-selected-style a{font-size:11px;padding:7px}}
@media(prefers-reduced-motion:reduce){.studio-selected-style{animation:none}}

/* Personal address: compact, theme-aware controls in both auth forms and settings. */
.address-choice{border:0;padding:0;margin:18px 0 24px;min-width:0}
.address-choice[hidden]{display:none!important}
.address-choice legend{font-size:13px;font-weight:600;margin-bottom:10px;color:var(--text,#eee)}
.address-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:5px}
.address-options label{position:relative;cursor:pointer;min-width:0}
.address-options input{position:absolute;opacity:0;width:1px;height:1px}
.address-options span{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:11px;color:#999;font-size:14px;transition:background .35s,color .35s,box-shadow .35s,transform .2s}
.address-options input:checked+span{background:var(--accent,#a78bfa);color:#111;box-shadow:0 3px 16px color-mix(in srgb,var(--accent,#a78bfa) 20%,transparent)}
.address-options input:focus-visible+span{outline:2px solid var(--accent,#a78bfa);outline-offset:3px}
.address-options label:active span{transform:scale(.97)}
.address-options input:disabled+span{opacity:.6}
.address-choice p{font-size:12px;line-height:1.5;color:#888;margin:10px 0 0}
@media(prefers-reduced-motion:reduce){.address-options span{transition:none}}

.pf-hs b{font-variant-numeric:tabular-nums}
.pf-hs span{font-size:11px;line-height:1.4;white-space:normal;overflow:visible;text-overflow:clip;min-height:2.8em}
.pf-hs{justify-content:flex-start}
@media(max-width:380px){.pf-hs{padding:10px 8px}.pf-hs span{font-size:10px}}
.pf-hs b.count-reveal{animation:profile-count-reveal .65s cubic-bezier(.2,.7,.2,1) both}
@keyframes profile-count-reveal{from{opacity:.25;transform:translateY(6px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@media(prefers-reduced-motion:reduce){.pf-hs b.count-reveal{animation:none}}

#profile-view .pf-wallet .pc-amount{align-items:baseline;gap:10px;font-variant-numeric:tabular-nums;min-height:48px}
#profile-view .pf-wallet .pc-amount .pc-coin{align-self:center;flex-shrink:0}
#profile-view .pf-wallet .pc-amount b{line-height:1.15}
#profile-view .pf-wallet .pc-amount #pf-coins-unit{line-height:1.15;font-size:14px}
.account-signout{display:flex;justify-content:space-between;width:100%;min-height:46px;margin-top:20px;color:var(--ink-2);border:1px solid var(--border);border-radius:12px}
.account-signout:hover{color:var(--danger,#ff6b6b);border-color:currentColor}
.pricing-gift{display:flex;align-items:center;gap:16px;padding:22px;margin-top:24px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border));border-radius:20px;background:color-mix(in srgb,var(--accent) 6%,var(--surface))}
.pricing-gift-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:color-mix(in srgb,var(--accent) 15%,transparent);color:var(--accent);font-size:24px}
.pricing-gift b{font-size:17px}.pricing-gift p{margin:6px 0 0;color:var(--ink-2);font-size:14px;line-height:1.5}
@media(max-width:600px){.pricing-gift{padding:18px;gap:12px}}

#profile-view .account-signout{justify-content:center;text-align:center;background:#db384b;color:#fff;border-color:#db384b;font-weight:600;transition:background .2s,transform .2s}
#profile-view .account-signout:hover{background:#ed4659;border-color:#ed4659;color:#fff}
#profile-view .account-signout:active{transform:scale(.98)}
#profile-view .account-signout::after,#profile-view .account-signout::before{display:none!important;content:none!important}
#page-pricing .section-head .lede{max-width:none}
.pricing-assurance,.pricing-description{display:block}
.pricing-assurance{font-weight:600;color:var(--ink);margin-bottom:8px}
@media(min-width:768px){.pricing-assurance{white-space:nowrap}}

#profile-view .pf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){#profile-view .pf-stats{grid-template-columns:1fr}}

/* picrum-pw-checks-20261008 */
.pw-checks {display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.pw-checks span {
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;line-height:1;font-weight:500;
  padding:6px 10px 6px 7px;border-radius:999px;
  color:var(--ink-3);
  background:color-mix(in srgb,var(--surface) 88%,transparent);
  border:1px solid #ffffff14;
}
.pw-checks span::before {
  content:'';width:14px;height:14px;border-radius:50%;flex:0 0 14px;
  box-sizing:border-box;border:1.5px solid #ffffff2e;background:transparent;
}
.pw-checks span.done {
  color:#9ee9cb;border-color:#66d3ac55;background:#66d3ac16;
}
.pw-checks span.done::before {
  content:'✓';display:flex;align-items:center;justify-content:center;
  font-size:9px;font-weight:800;line-height:1;color:#0b1612;
  border-color:#66d3ac;background:#66d3ac;
}
