/* Visual parity with preview/feed.css. Loaded last to isolate the live app
   from prototype selectors reused by comparison and astrology widgets. */
:root{--prototype-line:#2b333d;--prototype-muted:#9aabba}
.shell>.app-header{background:#080d12;border-bottom-color:var(--prototype-line)}
.shell>.bottom-nav{height:calc(58px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0 7px env(safe-area-inset-bottom);background:linear-gradient(180deg,#10161d,#0b1016);border-top-color:var(--prototype-line)}
.shell>.bottom-nav .icon{width:100%;height:48px;min-width:0;padding:5px;color:#b5c0cc;border-radius:9px;display:flex;align-items:center;justify-content:center}
.shell>.bottom-nav .icon.active{color:#f4f7fa}
.shell>.bottom-nav .icon>svg{width:23px;height:23px}
.shell>.bottom-nav .create{justify-self:center;width:36px;height:36px;font-size:27px;border-radius:11px;background:linear-gradient(#17212b,#17212b) padding-box,var(--rainbow) border-box}
.shell>.bottom-nav img.avatar{width:24px;height:31px;object-fit:cover;border-radius:6px;border:0;padding:0;background:none}
.shell>.bottom-nav .active img{outline:1px solid #83cbd3;outline-offset:3px}
.page>#stream>.post{scroll-margin-top:76px}
.post .review-title-row{gap:8px;align-items:flex-start}
.post .review-title-row>.post-title{font-size:15px;line-height:1.35;letter-spacing:-.2px;font-weight:650;margin:1px 0 4px;min-width:0}
.post .comparison-title-row>.comparison-recritique{position:static;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;align-self:flex-start;margin:1px 0 0;min-height:36px;padding:0 8px;background:#10171db3;border:1px solid #bacbd82e;border-radius:8px;color:#c2ced8;font-size:11px;font-weight:500;white-space:nowrap;box-shadow:none}
.post .comparison-recritique svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linejoin:round}
.post .comparison-recritique:hover{color:#e0e9ef;background:#101b25;border-color:#bacbd866}
.post .post-copy{font-size:13px;line-height:1.65;color:#c3ced9}
.post .read-more{font-size:12px;font-weight:600;color:#c5d2dd;padding:6px 0;min-height:32px}
.post .post-actions{min-height:50px;gap:7px;padding:2px 12px}
.post .post-actions .icon{min-height:44px;padding:4px;min-width:30px}
.post .post-actions svg{width:22px;height:22px;stroke-width:1.5}
.post .post-actions .brand-stars-placeholder svg{width:30px;height:26px;stroke-width:1.35}
.post .post-actions .reaction-star{font-size:31px;line-height:1;color:#c3d0db}
.profile-publications .profile-grid{gap:8px;padding:0 8px 12px}
.profile-publications .profile-tile{position:relative;aspect-ratio:3/4;overflow:hidden;border:0;border-radius:8px;background:#0b141c;padding:0;display:block;min-width:0}
.profile-publications .profile-tile>.post-media{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}
.profile-publications .profile-tile>.profile-tile-title{position:absolute;bottom:0;left:0;right:0;display:block;min-height:0;padding:25px 8px 9px;background:linear-gradient(transparent,#03080cea 35%,#03080c);font-size:11px;font-weight:500;line-height:1.4;color:#edf2f6}
.profile-tile-title>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.profile-publications .profile-tile-score{position:absolute;top:5px;right:5px;display:flex;align-items:center;gap:2px;background:#050a11df;padding:3px 5px;border-radius:6px;font-size:12px;font-weight:650}
#sheet{background:#0c1319;border:1px solid #36434e;box-shadow:0 20px 90px #0009}
#sheet form>label{font-size:12px;font-weight:600;line-height:1.5}
#sheet form input:not([type=range]):not([type=checkbox]):not([type=radio]),#sheet form textarea{border:1px solid #58616b;border-radius:9px;background:linear-gradient(130deg,#23272d,#171b20);color:#eef0f3;font-size:13px;padding:12px}
#sheet form textarea{min-height:96px;resize:vertical}
#sheet form .primary{min-height:44px;border-radius:10px;background:linear-gradient(110deg,#c9dce5,#aec5d2) padding-box,var(--rainbow) border-box;border:1px solid transparent;color:#0b1117;font-size:13px;font-weight:700}
#sheet:has(.recritique-composer){padding:16px}
.recritique-navigation{margin:0 0 16px;min-height:44px}
.recritique-composer>.post-media{max-height:380px;border-radius:8px}
.recritique-composer>.recritique-title{padding:0;font-size:17px;line-height:1.4;margin:16px 0}
.recritique-composer form>.primary{width:100%;margin-top:12px}
.recritique-criteria{display:grid;gap:12px;margin:18px 0 24px}
.recritique-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
.recritique-criterion{min-width:0;--score:#9aaabb}
.recritique-criterion>.post-media{width:100%;height:auto;aspect-ratio:var(--item-ratio,3/4);object-fit:cover;border-radius:8px;margin-bottom:10px}
.recritique-criterion label{display:block;margin:0}
.recritique-mark-heading{display:flex;align-items:baseline;gap:8px;justify-content:space-between;font-size:14px;font-weight:650;line-height:1.4}
.recritique-mark-heading>span{min-width:0;overflow-wrap:anywhere}
.recritique-mark-heading output{font-size:20px;color:var(--score);font-weight:700;flex-shrink:0}
.recritique-criterion .star-range{height:30px;margin:2px 0 0}
.recritique-grid .recritique-mark-heading{font-size:12px}
.recritique-grid .recritique-mark-heading output{font-size:18px}
@media(max-width:360px){.post .post-content{padding-inline:12px}.post .post-actions{gap:3px}.post .review-title-row>.post-title{font-size:14px}.recritique-grid{gap:14px 9px}}

/* Exact final prototype surfaces, not the tinted migration backgrounds. */
:root{background:#080d12;color:#edf2f8;--line:#202a34;--muted:#94a3b3}
.shell,.shell>.page{background:#080d12;color:#edf2f8}
#sheet:not(.sheet-comments){background:#080d12;border-color:#30363e;border-radius:16px;color:#e5eaf0;scrollbar-width:thin;scrollbar-color:#343a42 transparent}
#sheet:not(.sheet-comments)::backdrop{background:#0009;backdrop-filter:blur(2px)}
#sheet.sheet-comments{background:#101316;border-color:#2b3036;color:#edf2f8}
#sheet .comment-compose{background:#101316}
#sheet .identity-back{color:#bcc9d6}
#sheet form>.primary{width:100%}
.original-rating-star{display:block;width:28px;height:28px;object-fit:contain}
.profile-publications .profile-tile-score .original-rating-star{width:18px;height:18px}
.profile-publications .profile-tile-title{min-height:70px!important;padding:24px 8px 8px!important;background:linear-gradient(transparent,#03080cea 28%,#03080c)!important;font-size:11px!important;line-height:15px!important;font-weight:400!important}
.profile-publications .profile-tile-score{gap:2px}
.post .post-category{font-size:10px;line-height:1.4;color:#94a3b3;margin:6px 0 10px}
.profile-category-chips{display:flex;align-items:center;gap:7px;overflow-x:auto;margin-top:16px;padding:0 0 6px;scrollbar-width:thin;scrollbar-color:#3e5462 transparent}
.profile-category-chips button{flex:0 0 auto;min-height:30px;border:1px solid #303c46;background:#0f171e;color:#bcc6d1;border-radius:20px;font-size:10px;line-height:1.2;padding:7px 11px;white-space:nowrap}
.profile-category-chips button[aria-pressed=true]{background:#20323d;border-color:#68cddc;color:#fff}
.profile-publications .profile-tile[hidden]{display:none!important}
.review-media-stage .star-range input::-webkit-slider-thumb,.recritique-criterion .star-range input::-webkit-slider-thumb{background:transparent;clip-path:none}
.review-media-stage .star-range input::-moz-range-thumb,.recritique-criterion .star-range input::-moz-range-thumb{background:transparent;clip-path:none}
.star-range>.rating-outline-star{position:absolute;left:clamp(12.5px,var(--position,50%),calc(100% - 12.5px));top:50%;transform:translate(-50%,-50%);width:25px;height:25px;fill:#080d12;stroke:var(--score,#9aabb7);stroke-width:1.9;stroke-linejoin:round;pointer-events:none;z-index:2}
.recritique-grid .recritique-mark-heading{min-height:4.2em;align-items:flex-start}
.recritique-grid .recritique-mark-heading>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
