:root{color-scheme:dark;font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f4f0f7;background:#070609;--pink:#ff69d7;--line:#ffffff12;--muted:#a49aa9;--cyan:#80dafa}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 0,#45133915,transparent 45%),#070609;min-height:100vh}a{color:inherit;text-decoration:none}a:hover{color:var(--pink)}button,input,textarea,select{font:inherit}button,a,input{touch-action:manipulation}button,.primary{cursor:pointer;border:1px solid #ffffff29;border-radius:8px;padding:9px 15px;color:#fff;background:#ffffff06;display:inline-flex;align-items:center;justify-content:center;min-height:42px;transition:background .18s,border-color .18s,color .18s}button:hover,.primary:hover{background:#ff69d712;border-color:#ff69d755}button:disabled{opacity:.5;cursor:wait}.primary{background:linear-gradient(110deg,#d733ad,#8531b7);border:0;color:white;font-weight:600}.primary:hover{background:linear-gradient(110deg,#e33bb8,#9849c6)}input,textarea,select{display:block;width:100%;max-width:100%;margin:8px 0 18px;border:1px solid #ffffff35;background:#100d14;color:#fff;border-radius:8px;padding:11px 12px}input[type=checkbox]{display:inline;width:auto}input[type=file]{font-size:13px}label{display:block}*:focus-visible{outline:2px solid var(--cyan);outline-offset:5px}.skip{position:fixed;top:-100px;background:#fff;color:#000;z-index:30;padding:12px}.skip:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon-definitions{position:absolute;pointer-events:none}.environment{height:26px;display:flex;align-items:center;justify-content:center;gap:7px;color:#a89ab0;background:#110c16;font-size:9px;letter-spacing:.12em}.status-dot{height:4px;width:4px;background:#c783d8;border-radius:50%}.environment span:last-child{letter-spacing:.025em;color:#827687}header{height:84px;display:flex;align-items:center;gap:26px;max-width:1140px;padding:0 30px;margin:auto;border-bottom:1px solid var(--line)}header img{width:122px;height:auto;display:block}.web-label{font-size:9px;letter-spacing:.23em;color:#8b7c91}#session{margin-left:auto;display:flex;gap:18px;align-items:center;font-size:11px;color:var(--muted)}#session button{font-size:11px;min-height:34px;padding:6px 13px;border-radius:6px}.layout{max-width:1080px;margin:40px auto 80px;display:grid;grid-template-columns:184px minmax(0,620px);gap:68px;padding:0 30px;justify-content:center}nav{align-self:start;position:sticky;top:28px}nav a{display:flex;gap:15px;align-items:center;margin:0 0 9px;padding:12px 10px;color:#a69aaE;font-size:13px;min-height:44px;transition:color .18s}nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}nav a[aria-current]{color:#ff83db}nav a[aria-current] svg{filter:drop-shadow(0 0 7px #f445c560)}.nav-short{display:none}.nav-signature{padding:34px 10px 0}.signature-line{display:block;width:36px;height:1px;background:linear-gradient(90deg,#f770d2,#6598e9);opacity:.55}.nav-signature p{font-family:Georgia,serif;font-style:italic;font-size:23px;line-height:1.45;color:#c58caf;margin:20px 0 15px}.nav-signature>span:last-child{font-size:8px;letter-spacing:.19em;color:#746479}main{min-width:0}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:9px;font-weight:500;letter-spacing:.2em;color:#c788b8}h1{font-size:30px;line-height:1.2;font-weight:550;letter-spacing:-.045em;margin:8px 0 22px}.heading h1{margin-bottom:0}.feed-note{max-width:100px;text-align:right;color:#8a7a92;font:italic 14px/1.7 Georgia,serif}h2{font-size:20px;font-weight:550;letter-spacing:-.02em;line-height:1.4}p{margin:10px 0 18px}.muted{color:var(--muted);font-size:12px}.panel{padding:22px 0;margin:0 0 24px;border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0}.post{margin:0 0 28px;padding:0 0 22px;border-bottom:1px solid var(--line);background:transparent}.post-head{display:flex;gap:11px;align-items:center;padding:12px 0 14px;font-size:13px}.avatar{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid #c975ad70;border-radius:50%;background:linear-gradient(145deg,#39223c,#14121c);color:#efcae5;font-size:12px;flex:none}.post-author{display:flex;flex-direction:column;gap:1px}.post-author>a{font-weight:550;letter-spacing:.005em}.post-author>span{font-size:10px;color:#8c7f94}.demo-label{color:#8c7f94}.post-mark{margin-left:auto;letter-spacing:3px;color:#76687c;font-size:12px}.media-stage{position:relative;isolation:isolate;background:#0b090f;overflow:hidden;border-radius:10px}.post-media{width:100%;max-height:720px;object-fit:contain;display:block;background:#0b090f}.post-art{aspect-ratio:4/3;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;background:radial-gradient(ellipse at 40% 45%,#53235b44,transparent 65%),radial-gradient(at 100% 100%,#17335c55,transparent 60%),#0f0b17;color:#bd9bc6;font-size:12px}.post-art img{object-fit:contain}.post-actions{position:absolute;inset:auto 0 0;display:flex;align-items:end;gap:18px;padding:48px 22px 14px;background:linear-gradient(0deg,#000c,transparent);pointer-events:none}.post-actions>*{pointer-events:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;border:0;border-radius:5px;padding:6px 0;background:none;color:white;font-size:12px;text-shadow:0 1px 4px #000}.post-actions svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.post-actions .paw-icon{width:24px;height:24px;stroke:none}.post-actions button:hover,.post-actions a:hover{background:none;color:#ff8be1;border:0}.post-actions button[aria-pressed=true]{color:#ff66db}.post-actions button:last-child{margin-left:0}.caption{margin:12px 0 0;color:#d3c9d8;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.is-video .post-actions{bottom:48px;padding-top:34px;padding-bottom:7px}.is-video .post-media{min-height:230px}.floating-paw{position:absolute;left:50%;bottom:20%;pointer-events:none;animation:paw-float 1.1s cubic-bezier(.16,.75,.3,1) both;z-index:3;filter:drop-shadow(0 0 18px #ff20c288)}.floating-paw svg{width:70px;height:70px}@keyframes paw-float{0%{opacity:0;transform:translate(-50%,20px) scale(.65)}20%{opacity:1;transform:translate(-50%,-10px) scale(1)}100%{opacity:0;transform:translate(-50%,-145px) scale(1.2)}}.member{display:flex;align-items:center;gap:15px}.member>div{min-width:0;overflow-wrap:anywhere}.large{width:72px;height:72px;font-size:28px;margin-bottom:20px}.profile .eyebrow{display:block}dd{margin:4px 0 20px;overflow-wrap:anywhere}dt{color:#c69abf;font-size:12px}.comment{padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.comment p{margin-bottom:10px}.comment button{font-size:12px}details{margin-top:20px}summary{cursor:pointer;color:#de9dcc}.replies{border-left:1px solid #a8439944;padding-left:15px}#relationship{display:flex;gap:8px;flex-wrap:wrap}#progress,code{overflow-wrap:anywhere}.messages{max-height:55vh;overflow:auto;padding:10px 0;margin:20px 0}.bubble{max-width:85%;padding:10px 15px;border:0;border-radius:16px;margin-bottom:12px;background:#1a1420;overflow-wrap:anywhere}.bubble.own{margin-left:auto;background:linear-gradient(120deg,#481b40,#27213f)}.bubble p{margin:5px 0}#inbox button{margin-left:12px}#notice:not(:empty){position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#19131ff2;backdrop-filter:blur(18px);border:1px solid #d488c740;border-radius:9px;padding:11px 18px;max-width:min(90vw,560px);z-index:20;font-size:12px;box-shadow:0 10px 40px #0008}
@media(min-width:1500px){.layout{margin-top:52px;gap:84px}header{max-width:1200px}.post-media{max-height:780px}}
@media(max-width:1000px){.layout{grid-template-columns:56px minmax(0,620px);gap:32px;padding:0 28px}nav a{justify-content:center;padding:12px 5px}nav .nav-full,.nav-signature{display:none}.feed-note{max-width:120px}header{padding:0 28px}}
@media(max-width:650px){.environment{height:22px;font-size:8px;gap:6px}header{height:66px;padding:0 18px;gap:12px}header img{width:100px}.web-label{display:none}#session>span{display:none}#session button{font-size:10px;min-height:32px}.layout{display:block;padding:0 16px;margin:25px auto 95px}.heading{margin-bottom:12px;gap:10px}.heading h1{font-size:27px}.eyebrow{font-size:8px}.feed-note{font-size:12px;max-width:83px}nav{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:15;display:flex;justify-content:space-around;gap:0;padding:7px 3px max(8px,env(safe-area-inset-bottom));background:#0b090ef5;backdrop-filter:blur(20px);border-top:1px solid #ffffff16}nav a{display:flex;flex-direction:column;gap:4px;min-width:44px;min-height:45px;margin:0;padding:3px 0;font-size:8px}nav svg{width:21px;height:21px}.nav-short{display:block}nav .nav-full{display:none}nav a[aria-current]{color:#ff7bdd}.post{margin-bottom:18px;padding-bottom:18px}.post-head{padding:10px 0 12px}.post-author>a{font-size:12px}.post-author>span{font-size:9px}.media-stage{margin:0 -16px;border-radius:0}.post-media{max-height:68svh;min-height:0}.post-actions{gap:16px;padding:44px 20px 10px}.post-actions>*{font-size:12px;gap:7px}.caption{margin-top:11px;font-size:12px;line-height:1.65}.panel{padding:12px 0 20px}.large{margin-top:10px}#notice:not(:empty){bottom:calc(78px + env(safe-area-inset-bottom));font-size:11px}.is-video .post-actions{bottom:43px;padding-top:34px}.messages{max-height:45svh}}
@media(max-height:500px) and (min-width:651px){header{height:62px}.layout{margin-top:20px;grid-template-columns:56px minmax(0,500px);gap:30px}.heading{margin-bottom:10px}h1{font-size:25px}.post-head{padding-top:5px}.post-media{max-height:none}nav{top:10px}nav a{padding:7px 5px;margin-bottom:0;min-height:40px}.post-actions{padding-bottom:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.floating-paw{display:none}}

/* Approved decorative family: same header dimensions and foreground logo layer. */
header{position:relative}header>.brand,header>.web-label,header>#session{position:relative;z-index:1}.cat-header-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.cat-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(176px,1fr));gap:20px}.cat-review-grid h2{font-size:13px}.cat-review-grid canvas,.cat-review-grid img{display:block;width:176px;height:144px;background:#0a0810}.cat-review-grid details img:nth-child(even){background:#25222a}

/* Persistent shell stays in normal flow; route and animation updates never change its height. */
header{position:sticky;top:0;z-index:18;background:#070609f5;backdrop-filter:blur(18px)}
html{scroll-padding-top:100px}main :is(input,textarea,button,a,select){scroll-margin-top:100px}
nav{top:104px}.cat-header-canvas{overflow:hidden}
@media(max-width:650px){html{scroll-padding-top:80px}main :is(input,textarea,button,a,select){scroll-margin-top:80px}nav{top:auto}}
@media(max-height:500px) and (min-width:651px){nav{top:72px}html{scroll-padding-top:76px}}
/* One responsive social shell, with navigation outside all forms/scroll panels. */
header{top:0;padding-top:env(safe-area-inset-top);height:calc(84px + env(safe-area-inset-top))}
header>.notifications-link{position:relative;z-index:1;font-size:12px;min-height:44px;display:inline-flex;align-items:center;margin-left:auto}
#session{margin-left:0}#session>span{display:none}#session button{min-height:44px}
.route-toolbar{position:sticky;top:calc(84px + env(safe-area-inset-top));z-index:17;background:#100b14ed;backdrop-filter:blur(14px);display:flex;gap:10px;align-items:center;padding:4px max(18px,env(safe-area-inset-left));border-bottom:1px solid #ffffff10}
.route-toolbar button,.route-toolbar a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border-radius:22px;color:#fff;font-size:14px}
.layout>nav{top:calc(148px + env(safe-area-inset-top))}
html{scroll-padding-top:160px}main :is(input,textarea,button,a,select){scroll-margin-top:160px}
.profile-links{display:flex;gap:12px;margin:0 0 20px}.profile-links a{min-height:44px;display:inline-flex;align-items:center;padding:0 20px;border:1px solid #eb86d440;border-radius:22px;background:#1c1220}
.profile-avatar{object-fit:contain;background:#110d16}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-tile{min-width:0;overflow:hidden;border-radius:12px;background:#130e18;display:flex;flex-direction:column}.profile-tile img,.tile-placeholder{width:100%;aspect-ratio:1;object-fit:cover}.tile-placeholder{display:grid;place-items:center;color:#e8a7db}.profile-tile>span:last-child{padding:8px;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.settings-layout{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px}.settings-menu{display:flex;flex-direction:column;gap:4px;align-self:start}.settings-menu a,.settings-menu button{min-height:44px;display:flex;justify-content:space-between;align-items:center;padding:10px;font-size:13px;border-radius:10px}.settings-menu a[aria-current]{background:#2d1630;color:#ff8cde}.settings-menu span{padding-left:8px}.settings-content{min-width:0}.settings-content h2{margin-top:0}.settings-content form{margin-bottom:24px}.settings-content input:not([type=checkbox]),.settings-content textarea,.settings-content select{width:100%;max-width:100%;box-sizing:border-box}.settings-content label{margin-bottom:14px}.settings-content label:has(input[type=checkbox]){display:flex;gap:12px;align-items:center;min-height:44px}.settings-content input[type=checkbox]{width:20px;height:20px;flex:none}.danger-zone{border-top:1px solid #ef778a50;margin-top:40px;padding-top:20px}.danger-zone h3,.danger{color:#ffa4b4}.danger-zone summary{min-height:44px;padding:12px 0}.settings-link{min-height:44px;display:flex;align-items:center}.blocked-row{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:12px 0}.blocked-row span{overflow-wrap:anywhere;min-width:0}
@media(max-width:650px){header{height:calc(66px + env(safe-area-inset-top));gap:10px}.notifications-link{font-size:11px!important}header img{width:92px}.route-toolbar{top:calc(66px + env(safe-area-inset-top))}.layout>nav{top:auto}.settings-layout{display:block}.settings-content{display:none}.section-open .settings-menu{display:none}.section-open .settings-content{display:block}.settings-menu a{border-bottom:1px solid #ffffff12;padding:14px 4px;border-radius:0;font-size:15px}.settings-menu button{margin-top:24px}.profile-grid{gap:4px}.profile-links a{flex:1;justify-content:center;padding:0 12px}.profile-tile>span:last-child{font-size:10px}.layout{padding-bottom:env(safe-area-inset-bottom)}.web-label{display:none}}
@media(max-width:360px){header{padding-left:12px;padding-right:12px;gap:6px}header img{width:76px}.notifications-link{font-size:10px!important}#session button{padding:6px 8px}.profile-tile>span:last-child{padding:5px}}
@media(min-width:651px){.settings-content{padding-left:20px;border-left:1px solid #ffffff15}.web-label{display:none}}

/* Unified CatZ social-app header: navigation stays clear of the animated companion. */
header{height:auto;min-height:0;padding:env(safe-area-inset-top) max(22px,env(safe-area-inset-left)) 0;display:block;max-width:none;background:#070609f7;backdrop-filter:none;border-bottom:1px solid #ffffff13}
.header-top{max-width:1200px;min-height:78px;margin:0 auto;display:flex;align-items:center;gap:clamp(18px,3vw,46px)}
header>.brand{position:relative;z-index:2;flex:none}
header img{width:116px}
.primary-nav{position:static;align-self:center;display:flex;align-items:center;justify-content:flex-start;gap:clamp(4px,1vw,15px);flex:1;min-width:0}
.primary-nav a{min-height:46px;margin:0;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:14px;color:#b8aebb;font-size:12px;white-space:nowrap}
.primary-nav a:hover,.primary-nav a[aria-current]{color:#ffd8f4;background:linear-gradient(130deg,#ed45bb20,#7561db18);border-color:#ed8bd52b}
.primary-nav svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}
.header-dropdown{position:relative;margin:0;color:#eee}
.header-dropdown>summary{list-style:none;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border:1px solid #ffffff1c;border-radius:13px;background:#ffffff07;color:#e6dce8;font-size:11px;white-space:nowrap}
.header-dropdown>summary::-webkit-details-marker{display:none}
.header-dropdown>summary:hover,.header-dropdown[open]>summary{border-color:#ef80d377;background:#311931}
.header-dropdown>summary svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.dropdown-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:25;min-width:184px;padding:8px;border:1px solid #ffffff22;border-radius:15px;background:#17111df7;box-shadow:0 16px 44px #0009;backdrop-filter:blur(20px)}
.dropdown-panel a,.dropdown-panel button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:flex-start;margin:0;padding:0 12px;border:0;border-radius:9px;background:transparent;color:#eee;text-align:left;font-size:12px}
.dropdown-panel a:hover,.dropdown-panel button:hover{background:#f064d31c;color:#ffb5e9}
#session{margin:0;color:#fff;font-size:12px}
#session .account-menu>summary{min-width:112px}
.account-avatar{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#cf49b5,#6251b6);color:#fff;font-weight:700}
.sign-in-link{min-height:44px;display:inline-flex;align-items:center;padding:0 18px;border-radius:14px;background:linear-gradient(110deg,#d733ad,#8531b7);font-size:12px;font-weight:650}
.companion-lane{position:relative;max-width:1200px;height:84px;margin:0 auto;display:grid;grid-template-columns:minmax(170px,24%) minmax(0,1fr);align-items:center;overflow:hidden;border-top:1px solid #ffffff0a}
.companion-identity{position:relative;z-index:1;display:flex;flex-direction:column;gap:3px;min-width:0;padding:0 14px 0 4px}
.companion-kicker{color:#c887b6;font-size:8px;letter-spacing:.19em}
#header-cat-name{overflow:hidden;color:#f5eaf5;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
#header-cat-description{color:#95899b;font-size:10px;text-transform:capitalize}
.cat-walkway{position:relative;height:100%;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.cat-header-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.route-toolbar{position:sticky;top:calc(165px + env(safe-area-inset-top));}
.route-toolbar[hidden]{display:none}
.layout{max-width:1060px;display:block;margin:34px auto 80px;padding:0 30px}
.layout>main{max-width:680px;margin:0 auto}
.cat-customisation fieldset{min-width:0;margin:0 0 26px;padding:0;border:0}
.cat-choice-grid legend,.effect-choice-grid legend{margin-bottom:4px;color:#f0e5ef;font-size:15px;font-weight:600}
.cat-choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(98px,1fr));gap:10px;margin:14px 0 26px}
.cat-choice{position:relative;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:0;padding:8px;border:1px solid #ffffff1b;border-radius:15px;background:linear-gradient(145deg,#17111c,#0e0b11);cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.cat-choice:hover{transform:translateY(-2px);border-color:#db70c16b}
.cat-choice.selected{border-color:#fa82db;background:linear-gradient(145deg,#3c1a39,#19111f);box-shadow:0 0 24px #e65bc41f}
.cat-choice input,.effect-choice input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.cat-choice:has(input:focus-visible),.effect-choice:has(input:focus-visible){outline:2px solid var(--cyan);outline-offset:3px}
.cat-choice img{width:76px;height:62px;object-fit:contain;filter:drop-shadow(0 5px 10px #0009)}
.cat-choice span{color:#e9dce9;font-size:11px}
.effect-choice-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0 22px}
.effect-choice{min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:0;padding:7px 3px;border:1px solid #ffffff1a;border-radius:12px;background:#120e16;cursor:pointer}
.effect-choice.selected{border-color:#ba75eb;background:#291a35}
.effect-choice>span{font-size:18px;color:#ef85d8;line-height:1}
.effect-choice strong{font-size:10px;font-weight:500;color:#e5d9e6}
@media(max-width:850px) and (min-width:651px){.header-top{gap:12px}.primary-nav{gap:0}.primary-nav a{padding:0 8px;gap:6px}.primary-nav a span{font-size:11px}.header-dropdown>summary{padding:0 8px}.header-dropdown>summary>span{display:none}.header-actions{gap:6px}}
@media(max-width:650px){
 header{padding-left:max(15px,env(safe-area-inset-left));padding-right:max(15px,env(safe-area-inset-right))}
 .header-top{min-height:64px;gap:10px}
 header img{width:86px}
 .primary-nav{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:30;display:flex;justify-content:space-around;gap:0;padding:8px 8px max(9px,env(safe-area-inset-bottom));border-top:1px solid #ffffff20;background:#0d0912f5;backdrop-filter:blur(22px)}
 .primary-nav a{flex:1;min-width:54px;min-height:50px;flex-direction:column;gap:3px;padding:3px 0;border-radius:12px;font-size:9px}
 .primary-nav svg{width:21px;height:21px}
 .header-actions{gap:6px}
 .header-dropdown>summary{min-width:44px;width:44px;height:44px;padding:0;border-radius:13px}
 .header-dropdown>summary span{display:none}
 .header-dropdown>summary svg{width:19px;height:19px}
 .account-menu>summary{min-width:44px!important;width:44px}
 .account-menu>summary>span:last-child{display:none}
 .account-menu>summary>.account-avatar{display:grid!important;visibility:visible;color:#fff;font-size:12px}
 .dropdown-panel{right:0;min-width:166px}
 .companion-lane{height:70px;grid-template-columns:minmax(138px,40%) minmax(0,1fr)}
 .companion-identity{padding-left:2px}
 #header-cat-name{font-size:13px}
 #header-cat-description{font-size:9px}
 .route-toolbar{top:calc(134px + env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left))}
 .layout{margin:23px auto 96px;padding:0 16px}
 .cat-choice-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .cat-choice{min-height:100px;padding:6px}
 .cat-choice img{width:66px;height:56px}
 .effect-choice-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Profile follows the familiar social order: identity, connection counts, then media. */
.profile-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 20px 25px;border-bottom:1px solid #ffffff16}
.profile-avatar-wrap{display:grid;place-items:center;margin-bottom:13px}
.profile-hero .profile-avatar{width:96px;height:96px;margin:0;border-color:#d56bc58a;box-shadow:0 0 28px #de53c51d}
.profile-hero .eyebrow{font-size:9px;letter-spacing:.2em}
.profile-hero h1{margin:7px 0 5px;font-size:30px;letter-spacing:-.035em}
.profile-bio{max-width:480px;margin:2px auto 12px;color:#c9bdce;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.profile-hero #relationship{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:9px}
.profile-connections{padding:14px 0 18px;border-bottom:1px solid #ffffff16}
.profile-stats{display:flex;justify-content:center;gap:clamp(28px,9vw,84px)}
.profile-stat{min-width:104px;min-height:58px;flex-direction:column;gap:0;padding:5px 12px;border:0;border-radius:12px;background:transparent;color:#f4edf6}
.profile-stat:hover,.profile-stat[aria-expanded="true"]{background:#ffffff0b;border-color:transparent}
.profile-stat strong{font-size:17px;line-height:1.25;font-weight:650}
.profile-stat span{color:#a99bad;font-size:10px}
.connection-list-panel:not([hidden]){padding:10px 8px 0}
.connection-list-panel .connection-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px}
.connection-list-panel .member{min-height:44px;padding:6px 10px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff05;font-size:12px}
.connection-list-panel>p{margin:0 0 8px}
.profile-posts{padding-top:18px}
.profile-posts-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.profile-posts-heading h2{margin:0;font-size:16px}
.profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-tile{position:relative;aspect-ratio:1;justify-content:flex-end;border-radius:10px}
.profile-tile img,.profile-tile .tile-placeholder{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
.profile-tile>span:last-child{position:relative;z-index:1;width:100%;padding:28px 8px 8px;background:linear-gradient(0deg,#050407dd,transparent);font-size:10px;color:#fff}
.profile-tile:focus-visible{outline-offset:2px}
.public-page{max-width:760px;margin:0 auto;padding:24px clamp(18px,4vw,42px);line-height:1.7}
.public-page h1{font-size:clamp(26px,4vw,38px);margin-bottom:18px}
.public-page h2{margin-top:26px;font-size:18px}
.public-page a{color:#ff9cde;text-decoration:underline;text-underline-offset:3px}
.public-page details{padding:12px 0;border-bottom:1px solid #ffffff17}
.route-toolbar{top:calc(168px + env(safe-area-inset-top))}
@media(max-width:650px){
 .profile-hero{padding:20px 8px 20px}
 .profile-hero .profile-avatar{width:82px;height:82px}
 .profile-hero h1{font-size:26px}
 .profile-bio{font-size:12px}
 .profile-stat{min-width:94px}
 .profile-grid{gap:4px}
 .profile-tile{border-radius:6px}
 .profile-tile>span:last-child{padding:22px 5px 5px;font-size:9px}
 .route-toolbar{top:calc(134px + env(safe-area-inset-top))}
}
@media(max-width:360px){.header-top{gap:6px}header img{width:74px}.companion-lane{grid-template-columns:128px minmax(0,1fr)}.header-actions{gap:4px}}
#main:focus{outline:none}

/* Companion names travel with the selected cat; effects are painted on the same animation layer. */
.companion-lane{height:104px;display:block}
.cat-nameplate{position:absolute;z-index:2;top:7px;left:50%;transform:translateX(-50%);display:block;max-width:min(260px,78%);overflow:hidden;padding:4px 12px;border:1px solid #ff83db3c;border-radius:999px;background:#09070ddf;color:#fff3fc;font-size:12px;font-weight:650;line-height:1.3;text-align:center;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 3px 18px #050309a8;pointer-events:none}
.cat-nameplate[hidden]{display:none}
#notice:not(:empty){opacity:1;transition:opacity .3s ease}
#notice.notice-fading{opacity:0}
@media(max-width:650px){.companion-lane{height:96px;grid-template-columns:none}.cat-nameplate{top:5px;max-width:74%;font-size:11px}}

/* Final simple header: four destinations on mobile, with account utilities above. */
.mobile-settings-link{display:none}
.sign-out-button{min-height:44px!important;padding:0 15px!important;border:1px solid #ef80d355!important;border-radius:13px!important;background:#e947b018!important;color:#ffe2f5!important;font-size:11px!important;white-space:nowrap}
.sign-out-button:hover{background:#ed55c32b!important;border-color:#f19bdb88!important}
@media(max-width:650px){
 .primary-nav a[href="#settings"]{display:none}
 .mobile-settings-link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:1px solid #ffffff1c;border-radius:13px;background:#ffffff07;color:#e6dce8;font-size:10px;white-space:nowrap}
 .mobile-settings-link svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
 .mobile-settings-link:hover{border-color:#ef80d377;background:#311931}
 .sign-out-button{padding:0 10px!important;font-size:10px!important}
}

/* Center the desktop destinations; keep Notifications beside Settings and Sign Out at the edge. */
@media(min-width:651px){
 .header-top{gap:clamp(12px,2vw,28px)}
 .primary-nav{justify-content:center;gap:clamp(3px,.7vw,10px)}
 .header-actions{margin-left:0}
 .mobile-settings-link,.mobile-notifications{display:none}
 .primary-nav .desktop-notifications{display:block;flex:none}
 .primary-nav .desktop-notifications>summary{padding:0 10px}
}
@media(max-width:650px){
 .primary-nav .desktop-notifications{display:none}
 .header-actions{margin-left:auto}
 .mobile-notifications{display:block}
 .mobile-notifications>summary{display:flex}
}
.media-source-picker{border:0;padding:0;margin:24px 0 12px;min-width:0}
.media-source-picker legend{font-size:15px;font-weight:550;margin-bottom:12px}
.media-source-button{width:100%;min-height:68px;justify-content:flex-start;gap:14px;text-align:left;padding:12px 16px;border:1px solid #ffffff24;border-radius:13px;background:linear-gradient(110deg,#17101c,#0e0c13)}
.media-source-button:hover{border-color:#ff69d766;background:linear-gradient(110deg,#241326,#12101a)}
.media-source-button svg{width:25px;height:25px;flex:none;fill:none;stroke:#f28cdb;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.media-source-button span{display:flex;flex-direction:column;gap:2px}
.media-source-button strong{font-size:14px;font-weight:550;color:#f4f0f7}
.media-source-button small{font-size:11px;color:#a49aa9}
#media-choice{min-height:1.5em;margin:8px 0 20px}
