/* Tablet layouts keep their own columns instead of borrowing image width. */
[data-rate-app] .full-ex-identity{grid-template-columns:52px minmax(0,1fr);gap:10px;min-width:0}
[data-rate-app] .full-ex-identity>.generated-avatar{width:52px!important;height:52px!important;min-width:0!important;max-width:52px;transform:none!important;overflow:hidden;isolation:isolate}
[data-rate-app] .full-ex-identity>.ex-summary{grid-column:2;min-width:0;overflow:hidden}
.rating-row>.rating-control>.rating-value{border:2px solid #986c16;box-shadow:0 2px 0 #986c1640}
.rating-subpanel .subparameter-control.has-eve{grid-template-columns:minmax(85px,1fr) 48px 56px 44px}
.rating-subpanel .subparameter-control>.rating-value{min-height:44px;font-size:24px;border:0;box-shadow:none;border-radius:10px}
.creative-entry-banner--moonlight .creative-home-art{overflow:hidden;min-width:0;min-height:320px}
.creative-entry-banner--moonlight .creative-home-slides{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto}
.creative-entry-banner--moonlight .creative-home-slide,.creative-entry-banner--moonlight .creative-home-slide picture{position:absolute;inset:0;width:100%;height:100%;min-width:0;margin:0}
.creative-entry-banner--moonlight .creative-home-slide img{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-width:100%;object-fit:cover}
.topbar,.top-actions,.profile-copy{min-width:0}.topbar{box-sizing:border-box;max-width:100%}
@media(max-width:1100px){
 .mobile-nav { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); }
 .mobile-nav + .site-footer { padding-bottom:95px; }
 .topbar{gap:12px}.topbar .desktop-nav{display:none}.topbar .brand{min-width:0;gap:7px;flex:0 1 auto}.topbar .brand-wordmark{width:clamp(110px,19vw,195px)}.topbar .brand-mascot{width:36px;height:36px}
 .top-actions{gap:7px;padding-inline-end:4px;flex:0 1 auto}.top-actions .locale-menu summary{min-width:0;width:44px;grid-template-columns:22px;gap:0;padding:0 8px}.locale-menu summary>span:nth-of-type(2),.top-actions .locale-menu summary i{display:none}
 .top-actions .credit-balance{display:grid;grid-template-columns:auto auto;justify-content:center;align-content:center;column-gap:4px;row-gap:0;min-width:0;max-width:78px;min-height:44px;padding:3px 7px;line-height:1.1}
 .credit-balance>span:last-of-type{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.credit-balance>small{grid-column:1/-1;max-width:66px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
 .top-actions .profile-chip{max-width:175px;min-width:0;padding:4px 8px;gap:7px}.profile-chip .generated-avatar,.profile-chip .mini-avatar{flex:0 0 34px;width:34px!important;height:34px!important}.profile-copy{max-width:110px}.profile-copy strong,.profile-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy small{font-size:10px}
}
@media(max-width:960px){
 .creative-entry-banner--moonlight{grid-template-columns:minmax(0,1fr)}.creative-entry-banner--moonlight .creative-home-art{min-height:0;aspect-ratio:16/9}.creative-entry-banner--moonlight .creative-home-copy{padding:24px;max-width:none}.creative-entry-banner--moonlight h2,.creative-entry-banner--moonlight p{max-width:none}
}
@media(max-width:600px){
 .topbar .brand-mascot-picture{display:none}
 [data-rate-app] .full-ex-identity{grid-template-columns:46px minmax(0,1fr);gap:8px}[data-rate-app] .full-ex-identity>.generated-avatar{width:46px!important;height:46px!important;max-width:46px}
 .rating-subpanel .subparameter-control.has-eve{grid-template-columns:minmax(70px,1fr) 38px 48px 36px;gap:5px}.rating-subpanel .subparameter-control>.rating-value{font-size:22px;min-height:40px}
 .topbar{gap:8px}.topbar .brand-wordmark{width:105px}.topbar .brand-mascot{display:none}.top-actions{gap:4px;padding-inline-end:0}.top-actions .sound-toggle,.top-actions .support-notification{width:40px;min-width:40px;height:40px;padding:5px}.top-actions .locale-menu summary{width:40px;height:40px;grid-template-columns:19px;gap:0;padding:0 5px}.top-actions .profile-chip{width:40px;max-width:40px;min-height:40px;padding:2px;gap:0}.top-actions .profile-copy,.profile-chip>span:last-child{display:none}.top-actions .credit-balance{max-width:54px;padding:3px 5px}.credit-balance>small{max-width:46px;font-size:8px}
}
@media(max-width:365px){.topbar .brand-wordmark{width:87px}.top-actions{gap:3px}.top-actions .sound-toggle,.top-actions .support-notification{width:36px;min-width:36px}.top-actions .locale-menu summary{width:36px}}
.score-with-note,.full-score-zone,.has-unrated,.parameter-preview>div,.ex-row-wrap{position:relative}
.score-with-note{display:block;min-width:0}.score-with-note>.full-parameter{width:100%;height:100%}
/* Keep column names available after the list heading has scrolled away. */
[data-rate-app] [data-ex-list] .full-parameter .metric-tooltip{left:50%;right:auto;--tooltip-x:-50%;white-space:normal}
[data-rate-app] [data-ex-list] .score-with-note:first-child>.full-parameter .metric-tooltip{left:auto;right:auto;inset-inline-start:0;--tooltip-x:0}
[data-rate-app] [data-ex-list] .score-with-note:last-child>.full-parameter .metric-tooltip{left:auto;right:auto;inset-inline-end:0;--tooltip-x:0}
[data-ex-list] .full-parameter .metric-tooltip::after{display:none}
[data-ex-list] .full-parameter::after{content:'';position:absolute;top:-7px;left:50%;border:5px solid transparent;border-top-color:var(--ink);transform:translateX(-50%);opacity:0;pointer-events:none}
[data-ex-list] .full-parameter:focus-visible::after,[data-ex-list] .full-parameter.is-tooltip-visible::after{opacity:1}
[data-ex-list] .full-parameter:focus-visible .metric-tooltip{animation:none;opacity:1;transform:translate(var(--tooltip-x),0) scale(1)}
[data-ex-list] .ex-row-full:focus-within{z-index:5}
@media(hover:hover){
 [data-ex-list] .full-parameter:hover .metric-tooltip{animation:none;opacity:1;transform:translate(var(--tooltip-x),0) scale(1)}
 [data-ex-list] .full-parameter:hover::after{opacity:1}
 [data-ex-list] .ex-row-full:hover{z-index:5}
}
.ex-row-wrap>.ex-row{width:100%}
[data-rate-app] .unrated-note{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;width:21px;min-width:21px;height:21px;min-height:21px;padding:0;border:1px solid #ac8128;border-radius:50%;background:#fff7d9;color:#795618;font:900 14px/1 Nunito,sans-serif;box-shadow:0 1px 3px #5a431533;z-index:2;cursor:help}
[data-rate-app] .unrated-note:focus-visible{outline:2px solid #4265c5;outline-offset:2px}
[data-rate-app] .ex-row:has(+ .unrated-note) > .row-arrow { visibility: hidden; }
[data-rate-app] .ex-row-wrap > .unrated-note {
    top: 50%;
    right: auto;
    inset-inline-end: 13px;
    transform: translateY(-50%);
}
@media (max-width: 600px) {
    [data-rate-app] .ex-row:has(+ .unrated-note) {
        grid-template-columns: 24px 50px minmax(0, 1fr) auto 21px;
    }
    [data-rate-app] .ex-row-wrap > .unrated-note { inset-inline-end: 11px; }
}
.review-later-switch{display:flex;align-items:center;justify-self:end;gap:7px;font-size:12px;cursor:pointer;color:#71582d;grid-column:1/-1;padding:4px 0;min-height:32px}
.review-later-switch input{appearance:none;width:29px;height:17px;border-radius:12px;border:1px solid #ad9b7e;background:#e7dfd0;position:relative;cursor:pointer;flex-shrink:0}
.review-later-switch input:before{content:'';position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .15s}
.review-later-switch input:checked{background:#e6b73d;border-color:#987326}.review-later-switch input:checked:before{transform:translateX(12px)}
.close-parameter-details{display:block;margin:12px 0 0;padding:8px 10px;min-height:36px;border:0;border-radius:8px;background:#fff8e9;color:#705015;font:800 13px/1.4 Nunito,sans-serif;text-decoration:underline;cursor:pointer}
.micro-notice{position:fixed;z-index:10050;max-width:min(300px,calc(100vw - 32px));padding:9px 12px;border:1px solid #d6b969;border-radius:12px;background:#fff8df;color:#654e1c;font:800 12px/1.45 Nunito,sans-serif;text-align:center;pointer-events:none;transform:translate(-50%,-100%);box-shadow:0 3px 12px #35250025;animation:micro-notice-rise 2.4s both}
@keyframes micro-notice-rise{0%{opacity:0;transform:translate(-50%,calc(-100% + 8px))}12%,68%{opacity:1}100%{opacity:0;transform:translate(-50%,calc(-100% - 22px))}}
@media(prefers-reduced-motion:reduce){.micro-notice{animation-name:micro-notice-fade}.review-later-switch input:before{transition:none}@keyframes micro-notice-fade{0%,100%{opacity:0}12%,75%{opacity:1}}}
.micro-notice{width:max-content}
.rating-subpanel .subparameter-control.has-eve>.sub-eve-button{width:100%;min-width:0;max-width:100%;white-space:nowrap}
@media(max-width:600px){.rating-subpanel .sub-eve-button{font-size:10px}}
/* Shared header controls have the same visual height. */
.topbar .top-actions{align-items:center;gap:10px}
.topbar .sound-toggle{display:grid;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;aspect-ratio:1;border-radius:50%;padding:8px}
.topbar .sound-toggle img{width:26px;height:26px;object-fit:contain}
.topbar .locale-menu summary{height:44px;min-height:44px;border-radius:24px}
.topbar .credit-balance{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:5px;min-height:44px;height:44px;max-width:none;padding:0 13px;line-height:1;white-space:nowrap}
.topbar .credit-balance>small{flex-basis:auto;grid-column:auto;max-width:none;font-size:10px;line-height:1;white-space:nowrap}
.topbar .profile-chip{height:44px;min-height:44px;max-width:210px;gap:8px;padding:5px 10px 5px 5px;box-sizing:border-box;border-radius:24px}
.topbar .profile-chip .generated-avatar,.topbar .profile-chip .mini-avatar{width:32px!important;height:32px!important;min-width:32px;flex:0 0 32px;max-height:32px;align-self:center;border-radius:50%;overflow:hidden;margin:0;transform:none}
.topbar .profile-copy{display:grid;min-width:0;max-width:145px;gap:0;line-height:1.2}
.topbar .profile-copy strong,.topbar .profile-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .profile-copy strong{font-size:13px}.topbar .profile-copy small{font-size:11px}
.topbar .profile-chip .header-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.topbar .header-monogram{place-items:center;background:#fff7df;color:#805329;font:900 17px/1 Nunito,sans-serif}
.limit-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}.limit-actions[hidden]{display:none}
.limit-offer,.limit-invite{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border-radius:16px;border:1px solid #e6d7b5;background:#fff8e6}
.limit-offer>div,.limit-invite>div{min-width:0}.limit-actions strong{display:block;font:900 16px/1.3 Nunito,sans-serif;color:#3a2a1b}.limit-actions p{margin:5px 0;color:#715e44;font-size:13px;line-height:1.5}.limit-actions small{display:block;font-size:12px;color:#705620}.limit-actions .button{flex-shrink:0;text-decoration:none;font-size:13px;min-height:42px;padding:0 14px}
.limit-invite{background:#fffdf7}.limit-invite strong{font-size:14px}.limit-invite p{max-width:430px;font-size:12px}
@media(max-width:1100px){.topbar .top-actions{gap:7px}.topbar .credit-balance{max-width:none;padding:0 9px}.topbar .credit-balance>[data-credit-label]{position:static;width:auto;height:auto;clip-path:none;font-size:11px}.topbar .profile-chip{max-width:170px}.topbar .profile-copy{max-width:105px}}
@media(max-width:700px){.limit-offer,.limit-invite{align-items:flex-start;flex-wrap:wrap;gap:12px}.limit-actions .button{min-height:42px}.limit-actions p{max-width:none}}
@media(max-width:600px){.topbar .top-actions{gap:4px}.topbar .sound-toggle{flex-basis:40px;width:40px;min-width:40px;height:40px;min-height:40px}.topbar .locale-menu summary{height:40px;min-height:40px}.topbar .credit-balance{height:40px;min-height:40px;padding:0 6px;gap:3px}.topbar .credit-balance>[data-credit-label]{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.topbar .credit-balance>small{font-size:9px}.topbar .credit-balance strong{font-size:14px}.topbar .profile-chip{width:40px;max-width:40px;height:40px;min-height:40px;padding:3px}.topbar .profile-copy{display:none}.topbar .profile-chip .generated-avatar,.topbar .profile-chip .mini-avatar{width:32px!important;height:32px!important;min-width:32px;flex-basis:32px}}
@media(max-width:365px){.topbar .sound-toggle{flex-basis:36px;width:36px;min-width:36px;height:36px;min-height:36px}.topbar .locale-menu summary{height:36px;min-height:36px}.topbar .profile-chip{width:36px;max-width:36px;height:36px;min-height:36px;padding:3px}.topbar .profile-chip .generated-avatar,.topbar .profile-chip .mini-avatar{width:28px!important;height:28px!important;min-width:28px;flex-basis:28px}.topbar .credit-balance{height:36px;min-height:36px;padding:0 4px}}
.limit-meter .limit-actions{display:grid;grid-template-columns:minmax(0,1fr)}
.limit-meter .limit-offer>div,.limit-meter .limit-invite>div{display:block}

/* Direct range editing keeps the step buttons beside the scale. */
.inline-range{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;align-items:center;min-width:0;width:100%}
.inline-range>.range-shell{grid-area:auto;grid-column:2;grid-row:1;width:100%;min-width:0}
.inline-range>input[type=range]{grid-column:2;grid-row:1;min-width:0;width:100%;margin:0;min-height:44px;touch-action:pan-y}
.range-step{display:grid;place-items:center;min-width:44px;min-height:44px;width:44px;height:44px;padding:0;border:1px solid #b9ada1;border-radius:10px;background:#fffaf2;color:#302a26;font:800 24px/1 Nunito,sans-serif;cursor:pointer;touch-action:manipulation}
.range-step[data-range-step="-1"]{grid-column:1;grid-row:1}.range-step[data-range-step="1"]{grid-column:3;grid-row:1}
.range-step:focus-visible{outline:3px solid #4776e6;outline-offset:2px}.range-step:disabled{opacity:.4;cursor:default}
[data-rate-app] .weight-picker{grid-template-columns:44px minmax(0,1fr)}
.weight-picker>.inline-range{grid-column:2;grid-row:1}.weight-picker>output{grid-row:1}
.weight-subpanel .subparameter-control{grid-template-columns:minmax(0,1fr) 44px}
.weight-subpanel .subparameter-control>.inline-range{grid-column:1;grid-row:1}
.weight-subpanel .subparameter-control>output{grid-column:2;grid-row:1}
[data-rate-app] .rating-row>.rating-control,[data-rate-app] .rating-subpanel .subparameter-control.has-eve{grid-template-columns:minmax(180px,1fr) 48px 70px;grid-template-areas:"stars eve value";gap:8px}
.rating-control>.inline-range,.rating-subpanel .subparameter-control>.inline-range{grid-area:stars}
.rating-control .open-rating-stars{inset:0}
.private-review-score{grid-template-columns:minmax(0,1fr) 44px}
@media(max-width:600px){
 [data-rate-app] .rating-row>.rating-control,[data-rate-app] .rating-subpanel .subparameter-control.has-eve{grid-template-columns:minmax(0,1fr) 48px 64px;grid-template-areas:"stars stars stars" ". eve value";gap:6px}
 .inline-range{gap:4px}.rating-control>.rating-value,.rating-subpanel .subparameter-control>.rating-value{min-height:44px}
 .weight-subpanel .subparameter-control{grid-template-columns:minmax(0,1fr);gap:4px}
 .weight-subpanel .subparameter-control>output{grid-column:1;grid-row:2;justify-self:end}
}

.app-welcome { flex-wrap:wrap; gap:18px; }
.app-welcome > .welcome-actions { margin-inline-start:auto; }
.app-title-group { display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:start; gap:10px 20px; flex:0 0 100%; width:100%; min-width:0; }
.app-title-group > .self-avatar-button { grid-column:1; grid-row:1 / 3; }
.app-title-group > .avatar-premium-link { grid-column:2; grid-row:1; justify-self:end; flex:none; width:auto; height:auto; overflow:visible; min-height:44px; max-width:100%; }
.app-title-group > div { grid-column:2; grid-row:2; min-width:0; }
@media(max-width:640px){
 .app-title-group { gap:14px 12px; width:100%; }
 .app-title-group > .self-avatar-button { grid-row:1; }
 .app-title-group > .avatar-premium-link { align-self:center; font-size:14px; padding:12px; }
 .app-title-group > div { grid-column:1/-1; grid-row:2; }
}
