/* Shared galaxy theme: one generated image, quiet neutral surfaces, no glow or blur. */
:root{--bg:#080c12;--panel:#151b23;--raised:#202833;--line:#343e4b;--text:#edf1f6;--muted:#b2becb;--green:#bfd9a8;--gold:#e5c988;--galaxy-surface:rgba(18,24,33,.96);--galaxy-field:#111922;--galaxy-border:#425064;--galaxy-secondary:#bac6d4}
body,body.immersive-mode{background:#080c12 url('/assets/galaxy-background.webp') center center / cover fixed no-repeat;color:var(--text);isolation:isolate}
body::before{content:'';position:fixed;inset:0;background:rgba(5,9,15,.26);z-index:-1;pointer-events:none}
header,body.immersive-mode header{background:rgba(8,13,21,.98);border-bottom:1px solid #2b3543;box-shadow:none}
header .brand{color:#f2f4f8}header nav a{color:#bac4d1}header nav a:hover,header nav a.active{color:#fff}header nav a.active:after{background:#d2dfed}.header-search svg{stroke:#d9e2ed}.avatar{background:#263140;border-color:#536275;color:#e0e9f2}.repository-shortcut+.avatar{margin-left:0}.header-search+.avatar{margin-left:-12px}
main{background:transparent}.page-heading h1,.feed-heading h1,h1,h2,h3{color:#edf1f6}.page-heading p,.feed-heading span,.inline-help,.notice,.page-footnote,.repository-note,.localnote{color:var(--galaxy-secondary)}
button{background:#222c39;border-color:#46556a;color:#e7edf5;box-shadow:none}button:hover{background:#303e50;border-color:#71849b}.primary-action,button[type=submit],.feed-heading>button,.workspacebar button{background:#dce6f1;color:#182637;border-color:transparent}.primary-action:hover,button[type=submit]:hover,.feed-heading>button:hover{background:#edf4fb;border-color:transparent}
input,textarea,select,.directory-tools input,.directory-tools select,.feed-filters input,.feed-filters select,.filterbar input,.filterbar select,.resource-application input:not([type=checkbox]),.resource-application textarea,.resource-application select,#repository-body input,#repository-body textarea,.feed-composer input:not([type=checkbox]),.feed-composer textarea,.feed-composer select{background:var(--galaxy-field);border-color:#49586d;color:#edf1f6;box-shadow:none;caret-color:#d2e4f7}input:hover,textarea:hover,select:hover{border-color:#7e90a7}::placeholder{color:#b3c0d0}::selection{background:#bcd3eb;color:#112234}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#c0d9f2}
:is(.blank-panel,.group-tile,.group-about,.resource-card,.request-description,.request-sidebar,.request-submission,.readme,.thread,.file-list,.file-content,.thread-row,.profile-local-work){background:var(--galaxy-surface);border-color:#344052;box-shadow:none}:is(.group-tile,.thread-row):hover{background:#202d3d}.group-tile h2{color:#f0f4fa}.group-category,.group-tile-bottom span:last-child{color:#c3d4e8}.group-tile-bottom,.group-tile p,.group-about dt,.group-about p{color:#b8c6d7}.group-post,.request-row,.tutorial-row,.view-tabs,.profile-tabs,.resource-guidelines,.bottom{border-color:#354252}.group-post p,.reading-body,.request-description p,.request-license,.resource-detail p,.resource-detail li,.tutorial-article section p{color:#d3dde9}.group-cover-letter,.group-initial,.profile-picture{background:#283a50;color:#dce9f5}.profile-picture{border-color:#576e88}.profile-summary,.profile-identity p{color:#becbda}.profile-local-work>span,.profile-local-work small,.profile-local-work p{color:#c0d1e4}.view-tabs button,.resource-switch button{color:#b8c5d5}.view-tabs button.is-selected,.resource-switch button.chosen{color:#f4f7fb;border-bottom-color:#b8cfe9;background:none}
.tutorial-summary p,.tutorial-meta,.tutorial-summary small,.tutorial-byline,.tutorial-description,.tutorial-resources p,.resource-type,.resource-card>p,.resource-card-foot small{color:#bcc9d9}.tutorial-code{background:#101923;border-color:#35465a}.tutorial-outline>button{color:#c6d4e6}.tutorial-open,.tutorial-resources a,.resource-card-foot a,.resource-guidelines a,.request-row-meta strong,.request-submission>span,.request-submission small{color:#c4d9f0}.tutorial-byline,.tutorial-resources,.tutorial-finish,.resource-card-foot{border-color:#354252}.resource-disclosure{background:#202c3b;color:#d1deed}.resource-consent{color:#c5d2e3}.tag{background:#273648;color:#c8d9ed}.request-row p,.request-row small,.request-row-meta{color:#b5c5d8}.request-status{background:#293445;color:#cad8e8}.request-status.open,.request-status.accepted{background:#2d3c2c;color:#d2e6bf}.request-status.revision{background:#3c3426;color:#e9d5aa}
.repository-header h1 a,.repo h3{color:#cfdef0}.repo h3 span,.meta,.repo p,.repository-tabs a,.file-list small,.side .label,.side a{color:#b9c8da}.repo{background:rgba(9,15,24,.58);border-color:#344257;padding-left:15px;padding-right:15px}.repo:hover{background:#1c293b}.repo .star{right:15px;background:#223146;border-color:#4c6480;color:#d6e3f1}.side a.selected{background:#24344b;color:#edf4fb}.side hr,.workspacebar{border-color:#344257}.tabs button{color:#b5c5da}.tabs button.active,.repository-tabs .chosen{color:#edf5ff;border-bottom-color:#bdd7f4;background:none}.file-toolbar{background:#243247}.file-list a{border-color:#35445a;background:transparent}.file-list a:hover{background:#23354a}.branch-label{border-color:#5a7290}.badge{border-color:#5a6d85;color:#c9d7e7}.readme h2{border-color:#35445a;color:#ccdaec}.thread-row p,.comment p{color:#c9d8e9}.comment{border-color:#35445a}.back-feed{color:#c2cfe0}.blank-panel p,.blank-panel a{color:#c2d2e5}
.header-search form{background:#1c293a;box-shadow:0 15px 40px #0008}.header-search form input{background:#0e1926}dialog{background:#172334;border-color:#536b87;color:#edf4fd;box-shadow:0 24px 80px #000a}dialog input,dialog textarea,dialog select{background:#0e1926;border-color:#506882;color:#e2edf9}dialog .close{background:#2b4059}.discovery-stage{background:#121d2b}.discovery-caption{background:rgba(16,26,40,.98)}.discovery-caption>p{color:#bccce0}.discovery-caption h2{color:#edf5ff}.feed-author>a{color:#e2edfa}.feed-author button{border-color:#526a88;color:#c6dcf8;background:#24354a}.feed-experience{background:#d3e2f3;color:#1f344d}.feed-experience:hover{background:#e9f3ff}.feed-actions button{background:transparent;border:0;color:#d3dfed}.feed-actions button[aria-pressed=true]{color:#c6dfa6}.feed-navigation button{background:#23344a;color:#dfedff}.feed-navigation span{color:#bed0e7}.discovery-toolbar>#open-composer{background:#253b54;color:#dfedff}.text-post{background:#1d2d42;color:#e3eefb}.text-post h2{color:#eff6ff}.text-post>span{color:#c0d6f0}.carousel-controls{background:#172639;color:#dbeaff}.feed-example{background:#0b1424e8;color:#ccddf4}.play-area:not(:empty){background:#1b2a3f}.work-next{border-color:#35445a}.work-next a,.work-author,.work-category{color:#c0cfe2}.work-title{color:#eaf3ff}.work-title:hover{color:#c6e1ff}.discovery-media{background:#080d14}.discovery-video{background:#080d14}.media-error{background:#23364d;color:#d9e9fc}.group-tile-bottom span:last-child{font-size:11px}
/* Preserve the explicit green repository control rather than repainting it blue. */
header nav a.repository-shortcut{background:#345329;color:#e0f0d5;border-color:#648450}header nav a.repository-shortcut:hover{background:#446736;border-color:#89ad73}.repository-shortcut.is-current{outline-color:#a5c78e}
@media(max-width:700px){body,body.immersive-mode{background-position:70% center;background-attachment:scroll}body::before{background:rgba(5,9,15,.36)}header,body.immersive-mode header{background:#0b121d}.discovery-caption{background:#132035}.group-directory{gap:10px}.header-search+.avatar{margin-left:0}.repo{padding-left:8px;padding-right:8px}.repo .star{right:8px}.text-post{background:#1d2d42}.request-description,.request-sidebar{background:rgba(18,24,33,.98)}}
@media(max-width:700px){header nav{gap:14px;justify-content:space-between}header nav a{font-size:12px}header nav a.repository-shortcut{font-size:12px;min-width:80px;padding:7px 9px}}
/* Full-bleed discovery: the media owns the entire space below navigation. */
.immersive-mode main{max-width:none;width:100%;padding:0;height:calc(100dvh - var(--header-height))}.immersive-mode .discovery-toolbar{height:0;min-height:0;flex-basis:0;z-index:3}.discovery-viewport{width:100%}.discovery-item{padding:0;gap:0;position:relative}.discovery-stage{width:100%;height:100%;border-radius:0;display:block;background:#080d14}.discovery-media{width:100%;height:100%;min-height:0}.discovery-video{width:100%;height:100%;object-fit:contain}.discovery-caption{position:absolute;left:32px;bottom:30px;max-width:min(620px,calc(100% - 150px));padding:18px 22px;background:rgba(8,15,25,.9);border-radius:10px;max-height:42%;overflow:auto;display:block}.discovery-caption h2{font-size:20px;margin:12px 0 7px;line-height:1.6}.discovery-caption>p{font-size:13px;margin:6px 0;max-height:18vh;overflow:auto}.discovery-caption .feed-experience{max-width:280px;margin-top:15px}.feed-actions{position:absolute;right:30px;bottom:40px;gap:22px;z-index:4;padding:0}.feed-actions button{border-radius:8px;background:rgba(8,15,25,.9);padding:10px;min-width:58px;min-height:66px}.feed-navigation{right:34px;top:28px;z-index:5}.feed-navigation span{padding:3px 7px;background:rgba(8,15,25,.9);border-radius:4px}.feed-carousel,.feed-slide{width:100%;height:100%}.feed-slide>.work-art{height:100%;width:100%;aspect-ratio:auto}.text-post{height:100%;width:100%;padding:60px max(10vw,35px) 230px;justify-content:center}.text-post h2{max-width:800px}.text-post p{max-width:800px}.carousel-controls{bottom:auto;top:20px;left:50%;z-index:4}.feed-example{z-index:2}.discovery-caption:has(> .feed-author:only-child){padding:12px 18px}@media(max-width:700px){.immersive-mode main{height:calc(100dvh - 112px);padding:0}.discovery-stage{height:100%;display:block;width:100%}.discovery-media{height:100%;width:100%}.discovery-caption{left:12px;bottom:15px;max-width:calc(100% - 90px);padding:13px 14px;border-radius:8px;max-height:42%;background:rgba(8,15,25,.92)}.discovery-caption h2{font-size:14px;margin:9px 0 5px}.discovery-caption>p{font-size:12px;max-height:70px}.discovery-caption .feed-experience{min-height:38px;padding:9px 12px;margin-top:10px}.feed-actions{right:10px;bottom:20px;gap:14px}.feed-actions button{min-width:48px;min-height:55px;padding:7px;background:rgba(8,15,25,.9)}.feed-navigation{display:none}.text-post{padding:35px 23px 230px;justify-content:flex-start}.text-post h2{font-size:25px}.text-post p{font-size:14px;line-height:1.9}.carousel-controls{top:12px;bottom:auto}.discovery-toolbar>#open-composer{top:8px;right:12px;background:rgba(25,42,60,.96)}}
/* Desktop short-video layout: edge-to-edge media, floating navigation and actions. */
body.immersive-mode{background:#000;--header-height:0px}.immersive-mode::before{display:none}body.immersive-mode header{position:fixed;inset:0 0 auto;height:76px;min-height:76px;background:rgba(6,10,16,.82);border:0;z-index:40}.immersive-mode main{height:100dvh;width:100%;max-width:none;min-height:0;padding:0;margin:0}.immersive-mode .discovery-viewport{height:100dvh;flex:1}.immersive-mode .discovery-item,.immersive-mode .discovery-stage,.immersive-mode .discovery-media{height:100dvh;width:100%;padding:0;border-radius:0}.immersive-mode .discovery-stage{background:#000}.immersive-mode .discovery-video{object-fit:cover;background:#000}.immersive-mode .discovery-caption{left:36px;bottom:28px;max-width:min(720px,calc(100% - 155px));background:rgba(5,9,15,.72);padding:15px 20px;border-radius:8px}.immersive-mode .discovery-caption h2{font-size:19px;margin:10px 0 6px}.immersive-mode .discovery-caption>p{color:#e0e7ef}.immersive-mode .feed-actions{right:30px;bottom:35px;gap:18px}.immersive-mode .feed-actions button{background:rgba(5,9,15,.65)}.immersive-mode .feed-navigation{right:35px;top:calc(50% - 65px)}.immersive-mode .feed-example{top:94px;left:36px}.immersive-mode .carousel-controls{top:95px}.immersive-mode .discovery-toolbar>#open-composer{top:17px;right:150px;z-index:50}.immersive-mode .text-post{padding-top:135px;padding-bottom:240px}.immersive-mode .feed-slide>.work-art{height:100dvh}.immersive-mode .feed-author>a{font-weight:600}.immersive-mode .discovery-caption .feed-experience{max-width:260px}
@media(max-width:700px){body.immersive-mode header{height:112px;min-height:112px;background:rgba(6,10,16,.8)}.immersive-mode main,.immersive-mode .discovery-viewport{height:100dvh}.immersive-mode .discovery-caption{left:10px;bottom:15px;max-width:calc(100% - 82px);padding:12px 13px;background:rgba(5,9,15,.75)}.immersive-mode .discovery-caption h2{font-size:14px}.immersive-mode .discovery-caption>p{font-size:12px}.immersive-mode .feed-actions{right:9px;bottom:20px;gap:13px}.immersive-mode .feed-navigation{display:none}.immersive-mode .feed-example{top:125px;left:12px}.immersive-mode .carousel-controls{top:125px}.immersive-mode .discovery-toolbar>#open-composer{top:122px;right:12px}.immersive-mode .text-post{padding-top:165px;padding-bottom:230px}.immersive-mode .discovery-caption .feed-experience{min-height:38px}}
.repository-directory-content{display:block;margin-top:25px}.repository-directory-content>section{width:100%}.repository-directory-nav{display:flex;gap:30px;align-items:center;border-bottom:1px solid #344257;padding:0;margin-top:22px;overflow:auto}.repository-directory-nav a{font-size:14px;color:#bac8d9;padding:12px 0;white-space:nowrap}.repository-directory-nav a.selected{color:#f1f6fd;border-bottom:2px solid #c1d7ef}.repository-directory-content .repo{padding:25px 0;background:rgba(9,15,24,.72)}.repository-directory-content .repo:hover{background:#1b293b}.repository-directory-content .repo .star{right:0}.repository-directory-content .sectionhead{margin-bottom:10px}.repository-directory-content .tabs{gap:26px}.repository-directory-content .filterbar{padding:17px 0}.repository-directory-content .repo p{max-width:85%}@media(max-width:700px){.repository-directory-nav{gap:25px;margin-top:18px}.repository-directory-nav a{font-size:13px}.repository-directory-content .repo p{max-width:100%}}
.my-account-link{font-size:13px;color:#d5e2f1;white-space:nowrap;margin-left:-24px;padding:10px 2px;min-height:40px;display:flex;align-items:center}.my-account-link:hover,.my-account-link.active{color:#fff;text-decoration:underline}.account-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-panel{padding:26px;background:var(--galaxy-surface);border-radius:12px}.account-panel h2{font-size:18px;margin-top:0}.account-panel .section-toolbar>a{font-size:12px;color:#c4d9f0}.account-empty{min-height:150px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.account-empty p{font-size:15px;color:#d3deec;margin:0 0 9px}.account-empty span{font-size:12px;color:#b5c5d9;line-height:1.9}.account-empty a{color:#c6def8;font-size:13px}.account-repo{display:block;padding:17px 0;border-top:1px solid #344257}.account-repo strong{font-size:15px;color:#d3e6fc}.account-repo p{font-size:13px;color:#b9cadd;margin:7px 0}.account-links{display:flex;gap:18px;margin-top:25px}.account-links a{padding:13px 18px;background:#1b293b;border-radius:8px;font-size:13px;color:#d0e0f3}.account-links span{margin-left:8px;color:#acc1dc}@media(max-width:700px){.my-account-link{margin-left:-9px;font-size:12px}.account-layout{grid-template-columns:1fr}.account-panel{padding:23px}.account-links{flex-wrap:wrap;gap:10px}.account-links a{font-size:12px;padding:12px 14px}header,body.immersive-mode header{gap:13px}.header-search{margin-left:auto}}

.feed-creator-avatar{width:54px;height:54px;display:grid;place-items:center;align-self:center;border-radius:50%;background:#33465e;border:2px solid #c9d9eb;color:#eef6ff;font-size:20px;font-weight:600;box-shadow:0 3px 12px #0005}.feed-creator-avatar:hover{background:#45607f;border-color:#fff}@media(max-width:700px){.feed-creator-avatar{width:45px;height:45px;font-size:17px}}
/* Floating short-video controls: only the media, text and action marks remain. */
.immersive-mode .discovery-caption{background:transparent;padding:0;border-radius:0;box-shadow:none;overflow:visible;text-shadow:0 2px 6px #000,0 1px 2px #000}.immersive-mode .discovery-caption h2,.immersive-mode .discovery-caption>p,.immersive-mode .feed-author>a{color:#fff}.immersive-mode .feed-author button{background:rgba(255,255,255,.14);border:1px solid #ffffffa0;color:#fff;text-shadow:0 1px 3px #000;min-height:30px}.immersive-mode .feed-actions button{background:transparent;border:0;box-shadow:none;color:#fff;padding:5px;min-height:60px;text-shadow:0 2px 5px #000}.immersive-mode .feed-actions button:hover{background:transparent;color:#dcecff}.immersive-mode .feed-actions svg{width:31px;height:31px;filter:drop-shadow(0 2px 3px #000b);stroke-width:1.8}.immersive-mode .feed-actions span{color:inherit;font-size:12px}.immersive-mode .feed-actions button[aria-pressed=true]{color:#c8e8a6}.immersive-mode .feed-creator-avatar{border:2px solid #fff;background:#33465e;box-shadow:0 2px 7px #0008}.immersive-mode .feed-experience{text-shadow:none;background:rgba(228,240,253,.94);color:#15304b}.immersive-mode .feed-navigation button{background:rgba(0,0,0,.25);border:1px solid #ffffff45;color:#fff}.immersive-mode .feed-navigation span{background:transparent;color:#fff;text-shadow:0 1px 4px #000}.immersive-mode .discovery-caption>p{overflow:auto}.immersive-mode .feed-author{align-items:center}@media(max-width:700px){.immersive-mode .discovery-caption{left:17px;bottom:20px;max-width:calc(100% - 93px);background:transparent;padding:0}.immersive-mode .feed-actions{right:10px;bottom:23px;gap:16px}.immersive-mode .feed-actions button{background:transparent;min-height:52px;min-width:44px;padding:3px}.immersive-mode .feed-actions svg{width:29px;height:29px}.immersive-mode .feed-actions span{font-size:11px}.immersive-mode .feed-creator-avatar{width:46px;height:46px}.immersive-mode .feed-experience{margin-top:11px}}
/* Two jigsaw tabs make the personal avatar part of Unlocked's puzzle identity. */
header>.avatar,.profile-picture,.user-banner>.avatar,.profile-page>div>.avatar{position:relative;isolation:isolate;border-radius:7px;overflow:visible;margin-top:3px;margin-right:4px}
header>.avatar::before,.profile-picture::before,.user-banner>.avatar::before,.profile-page>div>.avatar::before{content:'';position:absolute;left:31%;top:-18%;width:36%;height:29%;background:inherit;border-radius:50% 50% 15% 15%;border:1px solid #657b96;border-bottom:0;z-index:-1;pointer-events:none}
header>.avatar::after,.profile-picture::after,.user-banner>.avatar::after,.profile-page>div>.avatar::after{content:'';position:absolute;right:-19%;top:33%;width:29%;height:35%;background:inherit;border-radius:15% 50% 50% 15%;border:1px solid #657b96;border-left:0;z-index:-1;pointer-events:none}
.profile-picture{border-radius:13px;margin-right:10px}.profile-picture::before,.profile-picture::after{border-color:#657b96}header>.avatar{width:34px;height:34px;flex-shrink:0}header>.avatar:hover{background:#3b506b}.profile-identity{gap:26px}@media(max-width:700px){header>.avatar{width:32px;height:32px}.profile-picture{margin-right:6px}.profile-identity{gap:20px}}

.profile-repo-count{background:transparent;border:0;color:#c3d8f1;box-shadow:none;padding:0;min-height:24px;font-size:13px}.profile-repo-count:hover{background:transparent;text-decoration:underline}.profile-summary{align-items:center}
/* Restore standard circular account/profile avatars. */
header>.avatar,.profile-picture,.user-banner>.avatar,.profile-page>div>.avatar{border-radius:50%;overflow:hidden;isolation:auto;margin-top:0;margin-right:0}header>.avatar::before,header>.avatar::after,.profile-picture::before,.profile-picture::after,.user-banner>.avatar::before,.user-banner>.avatar::after,.profile-page>div>.avatar::before,.profile-page>div>.avatar::after{content:none;display:none}.profile-identity{gap:22px}@media(max-width:700px){.profile-identity{gap:15px}}

/* Cover every legacy avatar surface while the old shell is being retired. */
.avatar,.profile-picture,.creator-mark,.feed-creator-avatar{border-radius:50%!important}.avatar::before,.avatar::after,.profile-picture::before,.profile-picture::after{content:none!important;display:none!important}
/* Creator profile: photo-led grid and two clear tabs, inspired by Instagram. */
.creator-profile{max-width:980px;margin:0 auto}.creator-profile-header{display:grid;grid-template-columns:230px 1fr;gap:30px;padding:15px 20px 38px;align-items:center}.creator-avatar-wrap{display:flex;justify-content:center}.creator-profile .profile-picture{width:132px;height:132px;font-size:49px;border:2px solid #7388a2;border-radius:50%;margin:0;background:#283a50}.creator-name-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.creator-name-row h1{font-size:26px;font-weight:500;margin:0}.creator-name-row button,.creator-name-row .primary-action{min-height:36px;padding:8px 17px;font-size:12px}.creator-stats{display:flex;align-items:center;gap:36px;margin:22px 0;font-size:14px;color:#c4d2e4}.creator-stats strong{color:#f1f6ff;font-weight:600;margin-right:5px}.creator-stats button{background:none;border:0;box-shadow:none;min-height:24px;padding:0;font-size:14px;color:#c4d2e4}.creator-bio{font-size:13px;color:#d2dff0;line-height:1.9}.creator-bio strong{font-weight:600}.creator-bio p{margin:4px 0;color:#c0cee2}.creator-tabs{display:flex;justify-content:center;gap:60px;border-top:1px solid #40516b;margin-bottom:20px}.creator-tabs button{display:flex;gap:8px;align-items:center;justify-content:center;border:0;border-top:2px solid transparent;margin-top:-1px;border-radius:0;background:transparent;color:#9fb3cf;padding:17px 0;min-width:75px;font-size:13px}.creator-tabs button[aria-selected=true]{color:#edf5ff;border-top-color:#e0edff}.creator-tabs svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.3}.creator-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.creator-work-tile{position:relative;display:block;aspect-ratio:1;overflow:hidden;background:#1a2a41}.creator-work-tile>img,.creator-work-tile>video{display:block;width:100%;height:100%;object-fit:cover}.creator-work-tile>.work-art{width:100%;height:100%;aspect-ratio:1;transform:none}.creator-format{position:absolute;top:12px;right:12px;background:#081423cc;padding:3px 7px;border-radius:4px;font-size:10px;color:#dfedff}.creator-tile-caption{position:absolute;inset:auto 0 0;padding:15px;background:#081423e8;font-size:12px;color:#fff;opacity:0;transition:opacity .15s;pointer-events:none}.creator-work-tile:hover .creator-tile-caption,.creator-work-tile:focus-visible .creator-tile-caption{opacity:1}.creator-text-tile{height:100%;padding:27px 23px;overflow:hidden;background:#23374d}.creator-text-tile h2{font-size:21px;line-height:1.6;margin:10px 0;color:#edf5ff}.creator-text-tile p{font-size:13px;line-height:1.9;color:#c4d5eb;white-space:pre-wrap}.creator-repository-list .thread-row{border-radius:8px;margin-bottom:12px;padding:23px;background:rgba(16,25,39,.97)}.repo-content-grid{grid-template-columns:minmax(0,1fr)}.workspace-about{display:none}@media(max-width:700px){.creator-profile-header{grid-template-columns:90px 1fr;gap:22px;padding:5px 0 28px;align-items:start}.creator-profile .profile-picture{width:86px;height:86px;font-size:33px}.creator-name-row{gap:12px}.creator-name-row h1{font-size:21px}.creator-name-row button,.creator-name-row .primary-action{min-height:32px;font-size:11px;padding:7px 12px}.creator-stats{gap:24px;font-size:13px;margin:17px 0}.creator-stats button{font-size:13px}.creator-bio{font-size:12px}.creator-tabs{gap:65px;margin-bottom:12px}.creator-tabs button{padding:15px 0;font-size:12px}.creator-work-grid{gap:4px;margin:0 -10px}.creator-text-tile{padding:18px 10px}.creator-text-tile h2{font-size:12px;line-height:1.7;margin:6px 0}.creator-text-tile p{font-size:10px;line-height:1.6}.creator-format{font-size:8px;top:5px;right:5px;padding:2px 4px}.creator-tile-caption{display:none}.creator-work-tile .forest-ui{left:8px;top:12px;font-size:7px}.creator-work-tile .forest-ui span{font-size:8px}.creator-work-tile .block-world{transform:rotate(-10deg) scale(.5)}.creator-work-tile .task-demo{min-width:150px;padding:10px;transform:rotate(-3deg) scale(.75)}.creator-work-tile .type-demo{font-size:20px}.repo-content-grid{grid-template-columns:1fr}}

/* Combined repository entry lives beside the primary navigation. */
header nav a.repository-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:112px;height:42px;min-height:42px;padding:0 14px;margin:0;border:1px solid #648450;border-radius:8px;box-shadow:none;background:#345329;color:#e0f0d5;font-size:13px;line-height:1;flex-shrink:0}
header nav a.repository-shortcut svg{width:19px;height:19px;flex-shrink:0}header nav a.repository-shortcut:after{display:none}header nav a.repository-shortcut.is-current{outline:2px solid #a5c78e;outline-offset:2px}header>.header-search{margin-left:auto}header>.avatar{margin-left:0}
@media(max-width:1100px) and (min-width:701px){header nav{gap:16px}header,body.immersive-mode header{gap:20px}}
@media(max-width:700px){header nav{justify-content:flex-start;gap:18px;align-items:center}header nav a.repository-shortcut{min-width:104px;height:36px;min-height:36px;padding:0 10px;font-size:12px;margin:0 3px 5px 0;gap:6px}.header-search form{right:-92px}}

/* Right header actions: search, avatar, settings. */
header>.header-search{margin-right:-18px}header>.avatar{margin-left:0;margin-right:-18px}header>.header-settings-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 4px;color:#bac4d1;font-size:13px;white-space:nowrap;flex-shrink:0}header>.header-settings-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}header>.header-settings-link:hover,header>.header-settings-link.active{color:#fff}
.settings-section{max-width:760px;margin:0 0 32px}.settings-section h2{font-size:18px;margin:0 0 16px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0;border-bottom:1px solid #343e4b;color:#edf1f6;font-size:14px}.settings-row>span>strong{display:block;font-weight:500}.settings-row small,.settings-row>a,.settings-row>span:last-child{color:#b2becb;font-size:12px}.settings-row small{display:block;margin-top:6px}.settings-row input{width:20px;height:20px;accent-color:#bfd9a8;flex-shrink:0}body[data-reduce-motion=true] *,body[data-reduce-motion=true] *::before,body[data-reduce-motion=true] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
@media(max-width:1100px){header>.header-search{margin-right:-8px}header>.avatar{margin-right:-8px}}
@media(max-width:700px){header>.header-search{margin-right:-6px}header>.avatar{margin-right:-6px}header>.header-settings-link{gap:5px;font-size:12px;min-height:40px}header>.header-settings-link svg{width:18px;height:18px}.settings-row{gap:16px}.settings-row>span:last-child{max-width:50%;text-align:right}}

/* Publishing belongs to global navigation; personal content belongs to profile tabs. */
header nav a.navigation-publish{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#e1e9d9;color:#1b2a18;border:1px solid #e1e9d9;border-radius:8px;padding:0 13px;min-height:42px;height:42px;font-size:13px;flex-shrink:0}header nav a.navigation-publish svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}header nav a.navigation-publish:hover{background:#f2f6ed}header nav a.navigation-publish:after{display:none}.profile-messages-panel{padding:28px 0}.profile-messages-panel h2{font-size:18px;margin:0 0 28px}.profile-messages-panel p{font-size:15px;color:#edf1f6}.profile-messages-panel small{font-size:12px;color:#b2becb}
@media(min-width:701px) and (max-width:1200px){header nav{gap:16px}header,body.immersive-mode header{gap:20px;padding-left:26px;padding-right:26px}}
@media(max-width:700px){header nav a.navigation-publish{height:36px;min-height:36px;font-size:12px;padding:0 10px;margin-bottom:5px}.creator-tabs{gap:0;justify-content:space-around}.creator-tabs button{min-width:52px}.profile-messages-panel{padding:16px 0}}

/* One publishing entry in the header; navigation is keyboard/touch driven. */
.immersive-mode .discovery-toolbar>#open-composer,
.immersive-mode .feed-navigation,
.immersive-mode .carousel-controls{display:none}
/* Size each item to the visible content area, rather than adding a second viewport below the header. */
body.immersive-mode main{position:fixed;inset:76px 0 0;height:calc(100dvh - 76px);margin:0;min-height:0}
.immersive-mode .discovery-viewport{height:100%;min-height:0}
.immersive-mode .discovery-item,.immersive-mode .discovery-stage,.immersive-mode .discovery-media,.immersive-mode .feed-slide>.work-art{height:100%}
.immersive-mode .feed-example{top:18px}
.immersive-mode .text-post{padding-top:50px;padding-bottom:200px}
@media(max-width:700px){body.immersive-mode main{inset:112px 0 0;height:calc(100dvh - 112px)}.immersive-mode .feed-example{top:14px}.immersive-mode .text-post{padding-top:35px;padding-bottom:200px}}
