/* Reference redesign: web-only visual system. Keep generated cross-platform tokens intact. */
/* Colors inherit Glint's canonical Cyanotype palette from tokens.css. */
:root { --radius-control:10px; --radius-photo-feed:8px; --page-max:1280px; --gradient-brand:var(--brand-500); }
.btn-primary { background:var(--brand-500); box-shadow:none; }
.btn-primary:hover { background:color-mix(in srgb,var(--brand-500) 88%,#000); }
.btn-secondary { color:var(--brand-400); }
.btn { border-radius:9px; min-height:38px; }
.badge,.dot { background:var(--accent-flash); }
.desktop-header { position:sticky; top:0; z-index:31; margin-left:var(--sidebar-w); display:flex; align-items:center; gap:22px; height:76px; padding:12px 24px; background:var(--bg-base); }
.desktop-search { display:flex; align-items:center; gap:14px; flex:1; min-width:0; background:var(--bg-raised); border-radius:13px; height:46px; padding:0 16px; color:var(--text-secondary); }
.desktop-search span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.desktop-search .icon { color:var(--text-primary); }
.desktop-account { display:flex; align-items:center; gap:12px; background:var(--bg-raised); border-radius:14px; width:245px; padding:5px 12px 5px 5px; }
.desktop-account strong { flex:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.header-notifications { position:relative; }.header-notifications .badge { position:absolute; top:0; right:-3px; }
.sidebar { padding:0 16px 20px; overflow-y:auto; }
.sidebar-brand { height:86px; padding:14px 18px; }.sidebar-brand .wordmark { font-size:46px; }
.nav { gap:5px; flex:0; }.nav-item { min-height:48px; border-radius:12px; gap:21px; padding:10px 16px; }
.nav-utilities { margin-top:24px; padding-top:18px; border-top:1px solid var(--border-subtle); display:grid; gap:6px; }
.nav-bottom { margin-top:8px; }.nav-icon .icon { width:25px;height:25px; }
.main { min-height:calc(100dvh - 76px); }.page-feed { padding-top:0; }
.feed-layout { padding:0 24px 30px; gap:22px; justify-content:stretch; }.feed-col { flex:1; max-width:none; padding-top:0; }
.rail { width:320px; flex:none; padding-top:0; }
.post-card { border:1px solid var(--border-subtle); border-radius:16px; padding:8px 14px 12px; margin-bottom:22px; background:var(--bg-surface); }
.post-head { padding:10px 0 14px; }.post-media { border-radius:13px; overflow:hidden; }.post-footer { padding-bottom:4px; }
.story-tray { border:1px solid var(--border-subtle); border-radius:16px; margin-bottom:20px; padding:16px 8px; background:var(--bg-surface); }
.rail-me { border:1px solid var(--border-subtle); border-radius:15px; padding:20px 14px; margin-bottom:18px; }
.rail-head { padding:15px 14px 8px; border:1px solid var(--border-subtle); border-bottom:0; border-radius:14px 14px 0 0; color:var(--text-primary); }.rail-list { padding:6px 14px 16px; border:1px solid var(--border-subtle); border-top:0; border-radius:0 0 14px 14px; }
.design-heading { margin:8px 0 22px; }.design-heading h1 { font-size:36px; line-height:1.2; font-weight:600; letter-spacing:var(--type-display-tracking); }.design-heading p { color:var(--text-secondary); margin-top:8px; font-size:16px; }
.design-card { padding:16px; border:1px solid var(--border-subtle); border-radius:14px; background:var(--bg-surface); }
.design-card-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:16px; }.design-card-heading h2 { font-size:17px; letter-spacing:var(--type-display-tracking); }.design-card-heading>a { color:var(--brand-400); font-size:12px; white-space:nowrap; }
.discovery-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:22px; padding:4px 24px 40px; }
.discovery-layout .explore-inner { padding:0; width:100%; }.discovery-rail { display:grid; align-content:start; gap:18px; }.discovery-rail .user-row { margin-top:15px; }.discovery-rail .user-row-sub { font-size:12px; }
.category-pills { display:flex; gap:8px; overflow-x:auto; padding-bottom:14px; scrollbar-width:none; }.category-pills a { padding:10px 18px; border-radius:9px; white-space:nowrap; background:var(--bg-raised); font-size:13px; }.category-pills .is-active { background:var(--gradient-brand); color:white; }
.explore-hero { min-height:290px; border-radius:15px; padding:34px; margin:6px 0 25px; color:white; background:linear-gradient(90deg,#0a0c11b5,transparent),linear-gradient(135deg,var(--brand-100),var(--bg-raised)) center 48%/cover; display:flex; align-items:center; }
.explore-hero h2 { font-size:42px; letter-spacing:var(--type-display-tracking); line-height:1.15; margin:9px 0; }.explore-hero p { margin:0 0 22px; font-size:16px; }.explore-hero>div>span { font-size:10px; letter-spacing:2px; }
.discover-promo { display:block; min-height:245px; padding:24px 20px; border-radius:14px; color:white; background:linear-gradient(90deg,#0a0c11b8,#0a0c1118),linear-gradient(135deg,var(--brand-100),var(--bg-raised)) center/cover; }.discover-promo>span { font-weight:600; font-size:26px; line-height:1.15; }.discover-promo p { font-size:13px; margin:12px 0 24px; }.discover-promo b { display:inline-block; padding:10px 14px; border-radius:9px; background:var(--gradient-brand); font-size:13px; }
.interest-row { display:flex; align-items:center; gap:12px; padding:12px 0; }.interest-row .icon { margin-left:auto;color:var(--text-secondary); }.interest-hash { display:grid; place-items:center; width:37px; height:37px; background:var(--brand-100); border-radius:10px; color:var(--brand-400); font-size:22px; }
.grid { gap:10px; }.tile { border-radius:12px; overflow:hidden; }.grid-explore .tile.is-large { grid-column:auto;grid-row:auto; }.tile-hover { opacity:1; align-items:flex-end; justify-content:flex-start; padding:12px; gap:14px; background:linear-gradient(transparent 65%,#0a0c1180); }.tile-hover span { gap:5px; font-size:12px; }.tile-hover .icon { width:16px;height:16px; }
.profile-inner { padding:4px 24px 30px; }.profile-cover { height:190px; border-radius:15px; background:linear-gradient(135deg,var(--brand-100),var(--bg-raised)) center 47%/cover; }.profile-header { grid-template-columns:190px 1fr; margin-top:-48px; position:relative; padding:0 22px 24px; margin-bottom:12px; border-bottom:1px solid var(--border-subtle); }.profile-avatar .avatar { border:5px solid var(--bg-base); border-radius:50%; }.profile-main { padding-top:65px; gap:16px; }.profile-username { font-weight:600; font-size:28px; }.profile-name { font-family:var(--font-display); }.profile-tabs { justify-content:flex-start; gap:34px; padding-left:12px; }.profile-tab { text-transform:none; letter-spacing:0; font-size:14px; height:55px; }.profile-tab.is-active { color:var(--brand-400); border-color:var(--brand-400); }
.hub-header { border-radius:15px; padding:30px; background:var(--bg-raised); margin-bottom:20px; }.hub-title { font-size:38px; }.hub-tabs { gap:8px; border:0; margin-bottom:18px; }.hub-tabs .tab-btn { background:var(--bg-raised); border:0; border-radius:9px; padding:12px 25px; }.hub-tabs .tab-btn.is-active { background:var(--gradient-brand); color:white; }
.map-header { border-radius:15px; margin-bottom:16px; }.narrow-inner { max-width:1000px; }.cm-page { display:block; padding:10px 28px; }.cm-card { width:min(100%,1000px); border-radius:16px; }
.auth-body { background:linear-gradient(90deg,#1a254755,#1a254700),linear-gradient(135deg,var(--brand-100),var(--bg-raised)) center/cover fixed; color:#fff; min-height:100dvh; }.auth-nav { display:flex; align-items:center; gap:70px; padding:24px 3%; }.auth-nav .wordmark { font-size:58px; }.auth-nav nav { display:flex;gap:40px; }.auth-nav>.btn { margin-left:auto; min-width:130px; }.auth-main { padding:8px 3% 40px; min-height:0; }.auth-wrap { width:100%; max-width:1450px; margin:auto; }.login-wrap { display:grid; grid-template-columns:1.3fr 1fr; gap:7%; align-items:center; }.login-story { padding:25px 12px; }.welcome-pill { display:inline-flex; gap:12px; align-items:center; border:1px solid #ffffff55; border-radius:12px; background:#1a254760; padding:9px 14px; }.welcome-pill .icon { color:var(--ring-to); }.login-story h1 { font-size:clamp(42px,4.8vw,76px); line-height:1.03; letter-spacing:var(--type-display-tracking); margin:24px 0 18px; }.login-story h1>span { color:var(--ring-to); }.login-story>p { font-size:22px; line-height:1.4; }.login-features { display:grid;gap:22px;margin-top:30px; }.login-features>div { display:flex;gap:20px;align-items:center; }.login-features>div>span { display:grid;place-items:center;width:50px;height:50px;border:1px solid var(--ring-to);border-radius:16px;background:#1a254766;color:var(--ring-to); }.login-features p { display:grid;gap:5px; }.login-features small { font-size:14px; }.login-community { margin-top:55px;background:#ffffff24;backdrop-filter:blur(15px);border:1px solid #ffffff40;border-radius:22px;padding:20px 26px;width:max-content;font-size:17px; }
.auth-col { width:100%; max-width:580px; justify-self:end; color:var(--text-primary); background:var(--bg-base);border-radius:24px;padding:44px;box-shadow:0 12px 65px #0a0c1115; }.auth-card { width:100%;border:0;background:none;padding:0; }.login-heading { font-size:42px;line-height:1.15;letter-spacing:var(--type-display-tracking); }.login-subtitle { font-size:20px;color:var(--text-secondary);margin:10px 0 34px; }.auth-form { gap:18px; }.auth-form .input { height:60px;border-radius:11px;background:color-mix(in srgb,var(--bg-raised) 40%,var(--bg-base));border-color:var(--border-subtle); }.auth-form .btn-lg { height:56px;font-size:18px;margin-top:14px; }.auth-alt { margin-top:30px;padding:0; }.auth-forgot { color:var(--brand-400);margin-top:22px; }.auth-body>.site-footer { color:white; }.auth-body .auth-wrap:not(.login-wrap) { display:flex;justify-content:center; }.auth-body .auth-wrap:not(.login-wrap) .auth-col { margin:20px 0; }
@media(min-width:1024px){body.page-direct { --sidebar-w:240px; --dm-inbox-w:310px; }.page-direct .sidebar { width:240px; padding-inline:16px; }.page-direct .sidebar .nav-label,.page-direct .sidebar .wordmark { display:block; }.page-direct .sidebar .brand-mark { display:none; }.page-direct .main { height:calc(100dvh - 76px); }.dm { height:calc(100dvh - 76px); }.dm-inbox-head { padding-top:18px; }.reels-scroller { height:calc(100dvh - 76px); }.reels-top { top:92px; }.reel { height:calc(100dvh - 76px); min-height:0; }}
@media(max-width:1263px){.discovery-layout { grid-template-columns:minmax(0,1fr); }.discovery-rail { display:none; }.desktop-account { width:190px; }.desktop-header { gap:14px; }}
@media(min-width:768px) and (max-width:1023px){:root {--sidebar-w:72px}.nav-utilities { display:none; }.desktop-account { width:160px; }.desktop-header { margin-left:72px; }.sidebar-brand { padding-inline:10px; }.login-wrap { gap:30px; }.auth-col { padding:28px; }.login-story h1 { font-size:44px; }.auth-nav { gap:35px; }.auth-nav nav { gap:22px; }}
@media(max-width:767px){:root {--sidebar-w:0px}.desktop-header { display:none; }.main { min-height:100dvh; }.feed-layout { padding:0; }.post-card { border-radius:0; border-inline:0; padding:8px 12px; margin-bottom:12px; }.story-tray { border-radius:0; border-inline:0; margin-bottom:8px; }.discovery-layout { display:block;padding:16px 12px; }.design-heading h1 { font-size:28px; }.design-heading p { font-size:14px; }.explore-hero { padding:24px;min-height:250px; }.explore-hero h2 { font-size:32px; }.grid { gap:5px; }.tile { border-radius:7px; }.tile-hover { padding:6px;gap:7px; }.tile-hover span { font-size:10px; }.tile-hover .icon { width:12px;height:12px; }.profile-inner { padding:0; }.profile-cover { height:130px;border-radius:0; }.profile-header { margin-top:-30px;padding:0 16px;margin-bottom:14px;grid-template-columns:86px 1fr; }.profile-main { padding:0; }.profile-title-row { margin-top:40px; }.profile-avatar .avatar { border-width:3px; }.profile-tabs { padding:0;gap:0; }.hub-header { padding:18px;margin:12px; }.hub-title { font-size:28px; }.cm-page { padding:0; }.cm-page>.design-heading { padding:18px;margin:0; }.auth-nav { padding:18px 22px; }.auth-nav .wordmark { font-size:40px; }.auth-nav nav { display:none; }.auth-main { padding:12px 16px 30px; }.login-wrap { display:block; }.login-story { padding:15px 8px 25px; }.login-story h1 { font-size:42px;margin:18px 0 12px; }.login-story>p { font-size:17px; }.login-features,.login-community,.welcome-pill { display:none; }.auth-col { max-width:100%;padding:30px 24px;border-radius:20px; }.login-heading { font-size:32px; }.login-subtitle { font-size:17px;margin-bottom:24px; }.auth-body>.site-footer { padding:20px; }.hub-tabs .tab-btn { padding:10px 20px; }}
.auth-body { background-image:linear-gradient(90deg,#1a254799,#0a0c1130),linear-gradient(135deg,var(--brand-100),var(--bg-raised));background-position:center 57%; }
.auth-nav .wordmark { color:white; }
.home-profile { padding:0 18px 18px;text-align:center;overflow:hidden; margin-bottom:20px; }.home-profile-cover { height:88px;background:linear-gradient(135deg,var(--brand-100),var(--bg-raised)) center 40%/cover;margin:0 -18px -36px; }.home-profile>.avatar { border:4px solid var(--bg-base);border-radius:50%; }.home-profile h2 { margin-top:7px;font-size:19px; }.home-profile>p { font-size:12px;color:var(--text-secondary);margin:10px 0; }.home-profile-stats { display:flex;justify-content:space-around;margin:18px 0; }.home-profile-stats span { display:grid;font-size:12px;color:var(--text-secondary); }.home-profile-stats strong { color:var(--text-primary);font-size:16px; }
.notification-filters button { padding:11px 22px; border-radius:9px;background:var(--bg-raised);white-space:nowrap; }.notification-filters button.is-active { background:var(--gradient-brand);color:white; }
.activity-section { border:1px solid var(--border-subtle);border-radius:14px;margin-bottom:18px;overflow:hidden; }.activity-title { padding:18px 20px;font-size:18px; }.activity-row { min-height:86px;padding:16px 20px;border-top:1px solid var(--border-subtle); }.activity-row.is-unread { background:color-mix(in srgb,var(--brand-100) 45%,var(--bg-base)); }.activity-thumb { width:52px;height:52px;border-radius:9px; }
.search-page .panel-inner.is-page { max-width:none;margin:0; }.search-page .panel-head { padding:0 0 20px; }.search-page .tabs { gap:8px;border:0;margin-bottom:18px; }.search-page .tab-btn { border:0;background:var(--bg-raised);border-radius:9px; }.search-page .tab-btn.is-active { background:var(--gradient-brand);color:#fff; }
.dm-thread[data-chat-theme="default"] { --dm-own-bg:var(--brand-500); }.dm-row.is-active { background:var(--brand-100);border-radius:13px; }.dm-inbox-scroll { padding:0 10px; }.dm-shape { border-radius:17px; }
.post-page-inner { max-width:1280px;padding:10px 24px; }.pd { border-radius:15px;overflow:hidden;border:1px solid var(--border-subtle); }.pd-side { background:var(--bg-surface); }.more-posts { border-top:0; }
.reels-discover { display:none; }
@media(min-width:1024px){.reels-page { display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;padding:0 24px; }.reels-discover { display:block;overflow-y:auto;max-height:calc(100dvh - 90px);padding-right:10px; }.reels-playlist { display:grid;gap:12px;margin-bottom:22px; }.reels-playlist-item { display:flex;gap:12px;padding:10px;border:1px solid var(--border-subtle);border-radius:13px;align-items:center; }.reels-playlist-item:hover { border-color:var(--brand-400);background:var(--brand-100); }.reels-playlist-item img,.reels-playlist-icon { width:74px;height:90px;object-fit:cover;border-radius:9px;flex:none; }.reels-playlist-icon { background:var(--bg-raised);display:grid;place-items:center;color:var(--brand-400); }.reels-playlist-item strong { display:block;font-size:13px; }.reels-playlist-item small { display:block;color:var(--text-secondary);margin-top:8px; }.reel-stage { height:calc(100dvh - 112px); }.reel-media { border-radius:16px;max-width:100%; }.reel { padding:8px 0; }.reels-top { right:36px; }.reels-scroller { min-width:0; }}
@media(max-width:767px){.post-page-inner { padding:0; }.pd { border-radius:0; }.activity-row { padding:14px 12px; }.notification-filters button { padding:10px 17px; }.search-page .panel-head { padding:0 0 14px; }.home-profile { display:none; }}
.profile-layout { display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;padding:4px 24px 30px; }.profile-layout>.profile-inner { padding:0;width:100%; }.profile-layout .profile-header { grid-template-columns:165px 1fr;padding-inline:10px; }.profile-layout .profile-title-row { gap:12px; }.profile-layout .profile-username { font-size:26px; }.profile-layout .profile-stats { gap:24px; }.profile-layout .profile-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.profile-layout .profile-cover { height:175px; }.profile-layout .highlights { padding:12px 0 22px; }
.tag-hero,.place-hero { min-height:290px;background:linear-gradient(90deg,#0a0c11cc,#1a254730),var(--hub-image,linear-gradient(120deg,#2e5be0,#5dd3c2)) center/cover;color:white;align-items:flex-end; }.tag-hero .hub-cover { display:none; }.tag-hero .hub-title,.place-hero .hub-title { font-size:48px;font-weight:600;letter-spacing:var(--type-display-tracking); }.tag-hero .hub-sub,.place-hero .hub-sub { color:#eceff4; }.place-hero .btn { background:#ffffffeb;color:var(--brand-500); }.discovery-layout .map-header { height:210px;margin:0 0 15px; }.discovery-layout .map-tiles { max-width:none; }.discovery-layout .explore-inner>.grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.discovery-layout .explore-inner>.grid-explore { grid-template-columns:repeat(3,minmax(0,1fr)); }
.create-layout { display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start; }.create-tips img { width:100%;height:200px;object-fit:cover;border-radius:12px;margin:18px 0; }.create-tips h2 { font-size:20px; }.create-tips h3 { margin:16px 0 8px; }.create-tips p,.create-tips li { color:var(--text-secondary);font-size:14px;line-height:1.6; }.create-tips ul { display:grid;gap:12px;list-style:decimal;padding:16px 0 0 18px; }.cm-page .cm { --cm-s:min(580px,calc(100vw - var(--sidebar-w) - 415px)); }.cm-select { background:linear-gradient(150deg,var(--bg-base),var(--brand-100)); }.cm-select-art { color:var(--brand-400); }
@media(max-width:1263px){.profile-layout { grid-template-columns:minmax(0,1fr); }.create-layout { grid-template-columns:minmax(0,1fr); }.create-tips { display:none; }.cm-page .cm { --cm-s:min(650px,calc(100vw - var(--sidebar-w) - 56px)); }}
@media(max-width:767px){.profile-layout { display:block;padding:0; }.profile-layout .profile-header { grid-template-columns:86px 1fr;padding:0 16px; }.profile-layout .profile-cover { height:125px; }.profile-layout .profile-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.tag-hero,.place-hero { min-height:220px;margin:0 0 16px; }.tag-hero .hub-title,.place-hero .hub-title { font-size:34px; }.discovery-layout .explore-inner>.grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.cm-page .cm { --cm-s:100vw; }}
.tile-hover { display:flex;pointer-events:none; }.search-page .tab-btn { padding:10px 22px;min-width:80px; }.cm-page { place-items:normal; }.cm-page>.design-heading { width:100%;text-align:left; }.create-layout { width:100%; }.cm-page .cm-card { width:100%; }.cm-page .cm { width:100%; }.cm-page .cm-select { min-height:500px; }
@media(max-width:767px){.tile-hover { padding:5px;gap:6px; }.search-page .tab-btn { padding:10px 15px;min-width:70px; }.cm-page .cm-select { min-height:380px; }}
.sidebar-inspiration { margin-top:auto;padding:18px 14px 14px;background:var(--bg-raised);border-radius:14px; }.sidebar-inspiration>.icon { color:var(--brand-400);margin-bottom:8px; }.sidebar-inspiration h2 { font-size:17px;letter-spacing:var(--type-display-tracking); }.sidebar-inspiration p { font-size:12px;color:var(--text-secondary);margin:9px 0 14px; }.sidebar-inspiration .btn { font-size:13px; }.sidebar { gap:0; }.nav-bottom { margin-bottom:24px;flex-shrink:0; }.nav-utilities { flex-shrink:0; }
.carousel-thumbnails { position:absolute;bottom:12px;left:12px;right:12px;z-index:4;display:flex;gap:7px;overflow-x:auto;scrollbar-width:none; }.carousel-thumbnails button { flex:none;width:68px;height:60px;border:2px solid #ffffffa0;border-radius:9px;overflow:hidden;opacity:.8; }.carousel-thumbnails button.is-selected { opacity:1;border-color:white;box-shadow:0 0 0 2px var(--brand-500); }.carousel-thumbnails img { width:100%;height:100%;object-fit:cover; }
.auth-body .auth-wrap.signup-wrap { display:grid;grid-template-columns:1fr 1.1fr;gap:0;max-width:1080px;align-items:stretch;background:#f6f7f9ef;border-radius:22px;overflow:hidden; }.auth-body .signup-wrap .auth-col { margin:0;max-width:none;border-radius:0;padding:40px;box-shadow:none; }.signup-story { padding:34px;color:white;background:linear-gradient(#1a2547a0,#0a0c1130),linear-gradient(135deg,var(--brand-100),var(--bg-raised)) center/cover;display:flex;flex-direction:column;min-height:720px; }.signup-story .wordmark { color:white;font-size:48px; }.signup-story h2 { margin-top:45px;font-size:44px;letter-spacing:var(--type-display-tracking); }.signup-story>p { font-size:17px;margin-top:10px; }.signup-benefits { margin-top:36px;display:grid;gap:28px; }.signup-benefits p { display:flex;align-items:center;gap:16px;font-weight:600; }.signup-benefits .icon { color:var(--ring-to); }.signup-story blockquote { margin-top:auto;padding-top:50px;font-size:22px; }.signup-heading { font-size:32px;letter-spacing:var(--type-display-tracking);line-height:1.15;margin-bottom:12px; }
@media(max-height:850px) and (min-width:768px){.sidebar-inspiration { display:none; }}
@media(max-width:1023px){.sidebar-inspiration { display:none; }}
@media(max-width:767px){.auth-body .auth-wrap.signup-wrap { display:block; }.signup-story { display:none; }.auth-body .signup-wrap .auth-col { padding:30px 24px; }.signup-heading { font-size:28px; }.carousel-thumbnails { bottom:8px;gap:5px; }.carousel-thumbnails button { width:44px;height:40px; }}
.chat-person { text-align:center;padding:0 20px 20px;border-bottom:1px solid var(--border-subtle); }.chat-person-cover { height:85px;background:linear-gradient(135deg,var(--brand-100),var(--bg-raised)) center 38%/cover;margin:0 -20px -34px; }.chat-person>.avatar { border:4px solid var(--bg-base);border-radius:50%; }.chat-person h3 { font-size:20px;margin:8px 0 4px; }.chat-person p { color:var(--text-secondary);margin-bottom:14px; }
.caught-up { grid-template-columns:32px 1fr;text-align:left;justify-items:start;gap:0 12px;padding:15px 18px;background:var(--bg-raised);border:0;border-radius:12px;margin:0 0 18px; }.caught-up .caught-up-icon { width:30px;height:30px;grid-row:1 / 3;align-self:center; }.caught-up h2 { margin:0;font-size:14px; }.caught-up p { font-size:12px; }.feed-section-title { margin-bottom:12px; }

/* Use the shipped Glint wordmarks, including the selenium tittle. */
.wordmark .brand-wordmark-light { display:none; }
[data-theme="light"] .wordmark .brand-wordmark-dark { display:none; }
[data-theme="light"] .wordmark .brand-wordmark-light { display:block; }
@media(prefers-color-scheme:light){
  [data-theme="system"] .wordmark .brand-wordmark-dark { display:none; }
  [data-theme="system"] .wordmark .brand-wordmark-light { display:block; }
}
.auth-nav .wordmark .brand-wordmark-light, .signup-story .wordmark .brand-wordmark-light { display:none; }
.auth-nav .wordmark .brand-wordmark-dark, .signup-story .wordmark .brand-wordmark-dark { display:block; }

/* Headings use the system UI font in bold; the display face is reserved for the wordmark. */
.design-heading h1, .login-story h1, .login-heading, .signup-story h2,
.signup-heading, .explore-hero h2, .hub-title {
  font-family:var(--font-ui);
  font-weight:700;
  letter-spacing:-0.01em;
}
.login-story h1 { font-size:clamp(32px,3.5vw,56px); }
.login-heading, .signup-heading { font-size:var(--type-display-size); }
.auth-body { background:var(--bg-base); color:var(--text-primary); }
.auth-welcome-photo { position:fixed; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.auth-body:has(.auth-welcome-photo) { background:transparent; color:var(--on-brand); }
.auth-body:has(.auth-welcome-photo)::before { content:""; position:fixed; inset:0; background:var(--overlay-scrim); z-index:-1; }
.auth-body:not(:has(.auth-welcome-photo)) .auth-nav .wordmark { color:var(--text-primary); }
[data-theme="light"] .auth-body:not(:has(.auth-welcome-photo)) .auth-nav .brand-wordmark-dark { display:none; }
[data-theme="light"] .auth-body:not(:has(.auth-welcome-photo)) .auth-nav .brand-wordmark-light { display:block; }
@media(prefers-color-scheme:light){
  [data-theme="system"] .auth-body:not(:has(.auth-welcome-photo)) .auth-nav .brand-wordmark-dark { display:none; }
  [data-theme="system"] .auth-body:not(:has(.auth-welcome-photo)) .auth-nav .brand-wordmark-light { display:block; }
}
.auth-body:not(:has(.auth-welcome-photo))>.site-footer { color:var(--text-secondary); }
.explore-hero, .discover-promo, .signup-story { background:var(--brand-100); color:var(--text-primary); }
.signup-story .wordmark .brand-wordmark-dark { display:block; }
[data-theme="light"] .signup-story .wordmark .brand-wordmark-dark { display:none; }
[data-theme="light"] .signup-story .wordmark .brand-wordmark-light { display:block; }
@media(prefers-color-scheme:light){
  [data-theme="system"] .signup-story .wordmark .brand-wordmark-dark { display:none; }
  [data-theme="system"] .signup-story .wordmark .brand-wordmark-light { display:block; }
}

/* Reference refinement: photographic discovery, compact cards, and balanced columns. */
.design-heading h1 { font-size:28px; }.design-heading { margin:8px 0 18px; }.design-heading p { font-size:14px; }
.design-card-heading h2 { font-family:var(--font-body);font-size:16px;letter-spacing:0; }
.desktop-header { height:72px;padding:10px 16px;gap:20px; }
.discovery-layout,.profile-layout { padding:0 16px 32px;gap:16px;grid-template-columns:minmax(0,1fr) 320px; }
.feed-layout { padding-inline:16px;gap:16px; }.rail { width:320px; }
.photo-hero { position:relative;isolation:isolate;overflow:hidden;min-height:235px;padding:28px; }
.photo-hero .hero-photo { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2; }
.photo-hero:has(.hero-photo) { color:white; }.photo-hero:has(.hero-photo)::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0a0c11b8,#0a0c1108);z-index:-1; }
.explore-hero h2 { font-size:34px; }.explore-hero p { font-size:14px; }
.category-section { margin-bottom:24px; }.category-photo-row { display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px; }
.category-photo-row a { display:flex;align-items:flex-end;justify-content:center;position:relative;isolation:isolate;overflow:hidden;min-height:110px;border-radius:10px;background:var(--brand-100);padding:10px 3px;color:white;font-size:12px; }
.category-photo-row img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2; }.category-photo-row a::after { content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent,#0a0c11b0); }
.discovery-post { min-width:0;border:1px solid var(--border-subtle);border-radius:12px;overflow:hidden;background:var(--bg-surface); }
.discovery-post-head { display:flex;align-items:center;gap:8px;padding:9px;min-height:52px; }.discovery-post-head>div { min-width:0; }.discovery-post-head .username { font-size:12px; }.discovery-post-head .post-sub { display:block;font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden; }
.discovery-post .tile { display:block;width:100%;border-radius:8px;aspect-ratio:1; }.discovery-post-caption { padding:8px 10px;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:43px; }
.activity-row { min-height:68px;padding:11px 16px; }.activity-title { padding:14px 16px;font-size:16px; }.activity-thumb { width:44px;height:44px; }.notification-filters button { padding:10px 18px; }
@media(min-width:1264px){
 .reels-page { grid-template-columns:245px minmax(0,1fr) 300px;gap:16px;padding:0 16px; }
 .reels-heading { grid-column:1 / 3; }.reels-heading .design-heading { margin-bottom:12px; }
 .reels-page>.discovery-rail { grid-column:3;grid-row:1 / 3; }
 .reels-discover { grid-column:1;grid-row:2; }.reels-scroller { grid-column:2;grid-row:2;height:calc(100dvh - 220px); }
 .reel { height:calc(100dvh - 220px);padding:0; }.reel-stage { width:100%;height:100%;display:block; }.reel-media { width:100%;height:100%;max-width:none;aspect-ratio:auto; }
 .reel-rail { position:absolute;right:12px;bottom:32px;gap:18px;z-index:4; }.reel-action { color:white;filter:drop-shadow(0 1px 3px #0008); }.reel-overlay { padding-right:64px; }
 .reels-top { position:absolute;top:135px;right:340px; }.reels-top .reels-sound { color:white;background:#0006; }.sound-hint { right:350px; }
 .profile-layout .profile-cover { height:155px; }.profile-layout .profile-header { margin-top:-42px; }.profile-layout .profile-main { padding-top:54px;gap:12px; }
 .profile-layout .profile-username { font-size:24px; }.profile-layout .profile-title-row { flex-wrap:wrap; }.profile-layout .profile-actions { margin-left:auto; }
 .post-page .post-detail:not(.in-modal) .pd { border:0;background:none; }
 .post-page .post-detail:not(.in-modal) .pd-frame { display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:auto auto auto auto;gap:0 18px;height:auto;border:0;overflow:visible;background:none; }
 .post-page .post-detail:not(.in-modal) .pd-side { display:contents; }
 .post-page .pd-head { grid-column:1;grid-row:1;border:1px solid var(--border-subtle);border-radius:14px 14px 0 0;padding:16px;background:var(--bg-surface); }
 .post-page .post-detail:not(.in-modal) .pd-media { grid-column:1;grid-row:2;width:100%;height:auto;min-width:0;border-radius:0 0 12px 12px;overflow:hidden; }
 .post-page .pd-footer { grid-column:1;grid-row:3;border:0;padding:8px 16px;background:var(--bg-surface); }
 .post-page .pd-caption { grid-column:1;grid-row:4;padding:4px 16px 20px;font-size:14px;line-height:1.6;background:var(--bg-surface);border-radius:0 0 14px 14px; }
 .post-page .pd-comments { grid-column:2;grid-row:2 / 5;max-height:650px;border:1px solid var(--border-subtle);border-top:0;border-radius:0 0 14px 14px;background:var(--bg-surface); }
 .post-page .pd-form,.post-page .pd-login { grid-column:2;grid-row:1;border:1px solid var(--border-subtle);border-radius:14px 14px 0 0;background:var(--bg-surface); }
 .pd-comments-title { font-family:var(--font-body);font-size:16px;margin:4px 0 18px; }.pd-comments-title span { color:var(--text-secondary);font-size:13px; }
}
@media(max-width:1263px){.discovery-layout,.profile-layout { grid-template-columns:minmax(0,1fr); }.reels-heading { display:none; }.reels-page>.discovery-rail { display:none; }.pd-caption { padding:12px 16px; }.category-photo-row { grid-template-columns:repeat(4,minmax(0,1fr)); }}
@media(max-width:767px){.discovery-layout { padding:16px 12px; }.profile-layout { padding:0; }.design-heading h1 { font-size:24px; }.category-photo-row { display:flex;overflow-x:auto; }.category-photo-row a { min-width:90px; }.discovery-post-head { display:none; }.discovery-post-caption { display:none; }.discovery-post { border:0; }.explore-hero h2 { font-size:28px; }.photo-hero { min-height:220px;padding:22px; }.pd-caption { grid-area:caption; }.post-page .post-detail:not(.in-modal) .pd-frame { grid-template-areas:"head" "media" "footer" "caption" "comments" "form"; }.pd-comments-title { font-size:16px;margin-bottom:12px; }}
.discovery-rail .user-row { padding:6px 0;margin-top:6px;gap:10px; }.discovery-rail .user-row .btn { font-size:12px;min-height:34px;padding:7px 12px; }.discovery-rail .user-row-text .username-row { font-size:13px; }
.discover-promo b { color:var(--on-brand); }.category-photo-row a:not(:has(img)) { color:var(--text-primary);flex-direction:column;align-items:center;justify-content:center;gap:14px; }.category-photo-row a:not(:has(img))::after { display:none; }
@media(min-width:1264px){.post-page .post-detail:not(.in-modal) .pd-media { height:min(62vh,640px); }.post-page .post-detail:not(.in-modal) .pd-media>.media,.post-page .post-detail:not(.in-modal) .pd-media>.carousel { height:100%;aspect-ratio:auto!important; }.post-page .pd-media img,.post-page .pd-media video { object-fit:contain; }.post-page .pd-comments { align-self:start;min-height:360px;max-height:650px; }.post-page-inner { padding:0 16px; }}
@media(min-width:1264px){.reels-scroller,.reel,.reel-stage { height:calc(100dvh - 240px);min-height:420px; }.reel-stage { min-width:0; }.reel-media { height:100%; }.reels-page { align-items:start; }.reels-discover { max-height:calc(100dvh - 240px); }.reels-top { top:160px; }.reels-scroller .reel .reel-media>.media { height:100%;aspect-ratio:auto!important; }}
@media(min-width:1264px){.reels-page { grid-template-rows:134px minmax(0,calc(100dvh - 222px));align-content:start; }.reels-scroller,.reel,.reel-stage { height:calc(100dvh - 222px); }.reels-top { top:162px;right:340px; }.reels-page>.discovery-rail { max-height:calc(100dvh - 88px);overflow-y:auto;scrollbar-width:none; }}
.cm-page .cm:not(.has-panel) .cm-select { width:100%;height:420px;min-height:420px;background:var(--bg-base);border:1px dashed var(--border-subtle);border-radius:12px; }.cm-page .cm:not(.has-panel) .cm-body { padding:16px; }.cm-page .cm:not(.has-panel) { width:100%; }.profile-layout .highlights { margin-bottom:0; }
@media(max-width:767px){.cm-page .cm:not(.has-panel) .cm-select { height:360px;min-height:360px; }.cm-page .cm:not(.has-panel) .cm-body { padding:8px; }}

/* Keep the configured welcome image behind its contrast overlay. */
.auth-body { isolation:isolate; }.auth-welcome-photo { z-index:-2; }

/* Profile grid, Instagram-style: 3 columns of 3:4 tiles (reels tab 9:16), square corners,
   4px gaps (2px on phones). Desktop hover: likes + comments centred over a 35% scrim.
   Corner count (.tile-stat): phones always; desktop only on the reels tab (views). */
.profile-page .grid.profile-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
.profile-page .profile-grid .tile { aspect-ratio:3/4; border-radius:0; }
.profile-page .profile-grid.is-reels .tile { aspect-ratio:9/16; }
.profile-page .profile-grid .tile img { object-position:center; }
.profile-page .profile-grid .tile-hover { display:none; inset:0; padding:0; gap:28px; align-items:center; justify-content:center; background:rgba(0,0,0,.35); opacity:1; font-size:16px; font-weight:700; }
.profile-page .profile-grid .tile-hover span { gap:6px; font-size:16px; }
.profile-page .profile-grid .tile-hover .icon { width:20px; height:20px; }
@media (hover:hover) and (min-width:768px) { .profile-page .profile-grid .tile:hover .tile-hover, .profile-page .profile-grid .tile:focus-visible .tile-hover { display:flex; } .profile-page .profile-grid .tile:hover .tile-stat { opacity:0; } }
.tile-stat { position:absolute; left:0; right:0; bottom:0; display:none; align-items:center; gap:4px; padding:22px 8px 6px; color:#fff; font-size:15px; font-weight:700; line-height:1.2; text-shadow:0 0 4px rgba(0,0,0,.5); background:linear-gradient(transparent,rgba(0,0,0,.35)); pointer-events:none; }
.tile-stat .icon { width:16px; height:16px; flex:none; filter:drop-shadow(0 0 3px rgba(0,0,0,.45)); }
.tile-stat.is-always { display:flex; }
@media (max-width:767px) {
  .profile-page .grid.profile-grid { gap:2px; }
  .tile-stat { display:flex; padding:18px 6px 5px; font-size:14px; }
  .tile-stat .icon { width:15px; height:15px; }
}
