/* Public creator identities and portfolios. Account editing stays separate. */
.creator-profile-link{color:var(--gold);text-decoration:underline;text-decoration-color:#ffd16666;text-underline-offset:4px;text-decoration-thickness:1px}
.creator-profile-link:hover{color:#ffe5a5;text-decoration-color:currentColor}
.creator-profile-link:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:6px}
#community .creator-card-heading>.creator-profile-link{display:flex;align-items:center;gap:12px;min-width:0;min-height:44px;width:100%;text-decoration:none}
#community .creator-card-heading>.creator-profile-link::after{content:"↗";margin-left:auto;flex:none;color:var(--gold);font-size:20px}
#community .creator-card-heading>.creator-profile-link:hover .creator-name{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--gold)}
.play-creator-credit{display:inline-flex;align-items:center;gap:5px;max-width:100%;color:var(--muted);font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.play-creator-credit .creator-profile-link{color:var(--gold);font-weight:750}

/* Directory: games remain the default, with a person-first view alongside. */
.creators-page .creators-hero{min-height:0;display:block;padding:36px 40px;border-radius:26px}
.creators-page .creators-hero::before{opacity:.6}
.creators-page .creators-hero h1{font-size:clamp(36px,4.8vw,56px);line-height:1.06;margin-bottom:14px;letter-spacing:-.045em}
.creators-page .creators-hero .hero-copy>p:not(.eyebrow){max-width:650px;margin:0;font-size:16px;line-height:1.6}
.creators-page .creators-hero .hero-actions{margin-top:22px;gap:12px}
.creators-page .creator-directory{padding-top:38px;scroll-margin-top:20px}
.creators-page .creator-directory .section-heading{align-items:center;margin-bottom:20px;gap:16px 24px}
.creators-page .creator-directory .section-heading h2{font-size:clamp(27px,3.6vw,35px);line-height:1.2;letter-spacing:-.035em}
.creators-page .creator-directory .section-heading>p{margin:0;font-size:13px;line-height:1.5;max-width:350px}
.creators-page :is(.creators-view-switch,.creator-view-switch){display:inline-flex;gap:5px;padding:5px;margin:0 0 18px;border:1px solid #355469;border-radius:14px;background:#071827}
.creators-page :is(.creators-view-switch,.creator-view-switch) button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:116px;padding:9px 18px;border:1px solid transparent;border-radius:10px;background:transparent;color:#b4cad8;font:inherit;font-size:14px;font-weight:750;cursor:pointer}
.creators-page :is(.creators-view-switch,.creator-view-switch) button[aria-pressed="true"]{background:var(--mint);color:#05251f;box-shadow:0 3px 10px #0002}
.creators-page :is(.creators-view-switch,.creator-view-switch) button:not([aria-pressed="true"]):hover{background:#ffffff0a;color:var(--ink)}
.creators-page .creator-directory .discovery-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 16px;position:static;padding:16px 18px 0;margin-bottom:22px;box-shadow:0 8px 24px #0003;border-color:#355469;border-radius:20px;background:linear-gradient(130deg,#102a3eee,#0b2031ee)}
.creators-page .creators-toolbar{display:block;min-width:0}
.creators-page .creators-toolbar .search-box{height:52px;box-shadow:none}
.creators-page .creator-board-label{display:flex;align-items:center;gap:10px;min-height:48px;color:#abc3d2;font-size:12px;font-weight:700}
.creators-page .creator-board-label select{min-height:46px;max-width:180px;padding:9px 30px 9px 12px;border:1px solid #466479;border-radius:12px;background:#091c2b;color:var(--ink);font:inherit;font-size:13px;font-weight:750}
.creators-page .creator-directory .category-row{grid-column:1/-1;margin:0;padding:14px 0 16px;gap:7px}
.creators-page .creator-directory .filter-chip{min-height:40px;padding:8px 13px;font-size:13px}
.creators-page .creator-source-status{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;margin:0 0 20px;padding:14px 18px;border:1px solid #ffd1664a;border-radius:14px;background:#ffd16608}
.creators-page .creator-source-status p{margin:0;color:#e2d9bf;font-size:13px;line-height:1.5}
.creators-page .creator-source-status button{flex:none;min-height:44px;margin:-4px 0;padding:8px 0;color:var(--gold);font-size:13px;white-space:nowrap}
.creators-page .creator-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.creators-page .creator-person-card{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid #3b4e59;border-radius:20px;background:linear-gradient(145deg,#142d3d,#0d2235 72%);box-shadow:0 6px 18px #0002}
.creators-page .creator-person-card:hover{border-color:#8a815c;background:linear-gradient(145deg,#183346,#0f2639 72%)}
.creators-page .creator-person-link{display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-areas:"avatar name" "meta meta" "subjects subjects" "action action";grid-template-rows:auto auto 1fr auto;align-items:center;gap:0 13px;flex:1;min-width:0;min-height:226px;padding:24px;border-radius:inherit;color:var(--ink);font-size:19px;font-weight:800;line-height:1.35;letter-spacing:-.02em;overflow-wrap:anywhere}
.creators-page .creator-person-link>h3{grid-area:name;margin:0;font:inherit;line-height:1.35;letter-spacing:inherit;overflow-wrap:anywhere}
.creators-page .creator-person-link>.creator-monogram,.creators-page .creator-person-link>img{grid-area:avatar}
.creators-page .creator-person-link:hover{text-decoration:none}
.creators-page .creator-person-link:hover>h3{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--gold)}
.creators-page .creator-monogram{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border:1px solid #ffd16666;border-radius:17px;background:#ffd16610;color:var(--gold);font-size:18px;font-weight:850;letter-spacing:0;line-height:1;text-decoration:none}
.creators-page .creator-person-link img{display:block;width:54px;height:54px;flex:none;object-fit:cover;border-radius:17px}
.creators-page .creator-person-meta{grid-area:meta;margin:19px 0 0;color:#d2e2ec;font-size:14px;font-weight:700;letter-spacing:0;line-height:1.5}
.creators-page .creator-person-subjects{grid-area:subjects;align-self:start;margin:6px 0 20px;color:#adc3d2;font-size:13px;font-weight:500;letter-spacing:0;line-height:1.6;overflow-wrap:anywhere}
.creators-page .creator-person-action{grid-area:action;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;margin-top:0;padding-top:15px;border-top:1px solid #ffffff12;color:var(--mint);font-size:14px;font-weight:750;letter-spacing:0;text-underline-offset:4px}
.creators-page .creator-person-action:hover{text-decoration:underline}
.creators-page .creator-directory-note{margin:20px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.creators-page .empty-state-text{padding:24px;border:1px dashed #466479;border-radius:16px;color:#b7cddc;font-size:15px;line-height:1.6}
.creators-page #loadMoreBtn{display:flex;align-items:center;justify-content:center;min-height:48px;margin:26px auto 0;padding:11px 20px;border:1px solid #527187;border-radius:12px;background:#122d40;color:var(--ink);text-decoration:none;font-size:14px}
.creators-page :is(.creator-person-link,.creator-person-action,.creators-view-switch button,.creator-view-switch button,.creator-board-label select):focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.creators-page [hidden]{display:none!important}

/* A compact portfolio puts a creator's games near the top on every screen. */
.creator-profile-page main{max-width:1170px;padding-bottom:48px}
.creator-profile-page .site-header{max-width:1170px;height:78px}
.profile-header-nav{display:flex;align-items:center;gap:24px}
.profile-header-nav a{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:#bed2df;font-size:13px;font-weight:750}
.profile-header-nav .profile-create-link{min-height:42px;padding:10px 14px;border:1px solid #56d9c066;border-radius:12px;background:#56d9c009;color:var(--mint)}
.profile-header-nav a:hover{color:var(--ink)}
.profile-header-nav .profile-create-link:hover{background:#56d9c014;color:var(--mint)}
.creator-back-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin:2px 0 15px;color:#b5cad8;font-size:13px;font-weight:650;text-underline-offset:4px}
.creator-back-link>span{font-size:20px;line-height:1}
.creator-back-link:hover{color:var(--mint);text-decoration:underline}
.creator-profile{padding:30px;border:1px solid #536064;border-radius:24px;background:radial-gradient(ellipse at 0 0,#ffd16609,transparent 55%),linear-gradient(125deg,#152d3e,#0c2031);box-shadow:0 8px 24px #0002}
.creator-profile-heading{display:flex;align-items:center;gap:22px;min-width:0}
.creator-profile-avatar{position:relative;display:grid;place-items:center;flex:0 0 88px;width:88px;height:88px;overflow:hidden;border:1px solid #ffd16666;border-radius:26px;background:#ffd1660e;color:var(--gold);font-size:29px;font-weight:850;letter-spacing:-.03em}
.creator-profile-avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:var(--panel)}
.creator-profile-identity{min-width:0;flex:1}
.creator-profile .eyebrow{margin:0 0 7px;color:var(--gold);font-size:10px;letter-spacing:.17em;line-height:1.5}
.creator-profile h1{margin:0;color:var(--ink);font-size:clamp(29px,4vw,43px);line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere}
.creator-profile-summary{margin:10px 0 0;color:#b2c9d8;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.creator-profile-sharing{align-self:center;flex:none;max-width:210px}
.creator-share-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 16px;border:1px solid #5a7283;border-radius:12px;background:#ffffff05;color:#e4f1f9;font:inherit;font-size:13px;font-weight:750;cursor:pointer}
.creator-share-button svg{flex:none;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.creator-share-button:hover{background:#ffffff0b;border-color:var(--gold)}
.creator-share-status{max-width:24ch;margin:7px 0 0;color:var(--mint);font-size:12px;line-height:1.5}
.creator-share-status:empty{display:none}
.creator-profile-bio{max-width:72ch;margin:22px 0 0;padding-top:20px;border-top:1px solid #ffffff13;color:#cadce8;font-size:15px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}
.creator-share-fallback{margin-top:20px;max-width:680px;padding:14px;border:1px solid #3d5a70;border-radius:13px;background:#071827}
.creator-share-fallback label{display:block;margin-bottom:8px;color:#c7dbe7;font-size:12px;font-weight:750}
.creator-share-fallback input{width:100%;min-height:44px;padding:9px 12px;border:1px solid #4a677c;border-radius:9px;background:#102b3f;color:var(--ink);font:inherit;font-size:13px}
.creator-profile-games{padding-top:35px;scroll-margin-top:20px}
.creator-games-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 24px;margin-bottom:20px}
.creator-games-heading .eyebrow{margin:0 0 7px;font-size:10px;line-height:1.5;letter-spacing:.16em}
.creator-games-heading h2{margin:0;max-width:32ch;color:var(--ink);font-size:clamp(24px,3vw,30px);line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}
.creator-games-heading>p{flex:none;margin:0 0 2px;color:#b2c9d8;font-size:13px;line-height:1.5}
.creator-profile-game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.creator-profile-game-grid .cover-link{aspect-ratio:16/9}
.creator-profile-game-grid .game-body{padding:20px}
.creator-profile-game-grid .game-body h3{margin-top:15px;font-size:21px;line-height:1.25}
.creator-profile-game-grid .description{font-size:14px;line-height:1.55}
.creator-profile-game-grid .play-button{display:flex;align-items:center;justify-content:center;min-height:46px;font-size:14px}
.creator-games-status{margin:0 0 18px;padding:14px 17px;border:1px solid #526277;border-radius:13px;background:#101f2d;color:#d0dfeb;font-size:14px;line-height:1.6}
.creator-profile-state{max-width:760px;margin:12px auto 0;padding:42px 30px;text-align:center;border:1px solid #3b586c;border-radius:23px;background:linear-gradient(135deg,#102b40,#0b1d2e)}
.creator-state-symbol{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 20px;border:1px solid #ffd16655;border-radius:17px;background:#ffd1660b;color:var(--gold);font-size:24px}
.creator-profile-state h1{margin:0 0 12px;font-size:clamp(25px,4vw,34px);line-height:1.2;letter-spacing:-.035em}
.creator-profile-state p{max-width:52ch;margin:0 auto;color:#b5cbd9;font-size:15px;line-height:1.6}
.creator-profile-state[data-state="loading"] .creator-state-symbol{animation:creator-glow 1.6s ease-in-out infinite alternate}
.creator-profile-recovery{display:flex;justify-content:center}
.creator-retry-button,.creator-load-more{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:20px 0 0;padding:11px 20px;border:1px solid #537287;border-radius:12px;background:#142e41;color:var(--ink);font:inherit;font-size:14px;font-weight:750;cursor:pointer}
.creator-retry-button:hover,.creator-load-more:hover{background:#1c3c51;border-color:var(--mint)}
.creator-retry-button[aria-disabled="true"],.creator-load-more[aria-disabled="true"]{opacity:.7;cursor:progress}
.creator-games-empty{padding:28px;border:1px dashed #466379;border-radius:18px;background:#0c2031}
.creator-games-empty h3{margin:0 0 8px;font-size:20px;letter-spacing:-.02em}
.creator-games-empty p{max-width:62ch;margin:0;color:#abc1d0;font-size:14px;line-height:1.6}
.creator-learning-story{margin-top:30px;padding:26px 28px;border:1px solid #334e60;border-radius:20px;background:#0c2031}
.creator-learning-story .eyebrow{font-size:10px;color:var(--gold)}
.creator-learning-story h2{margin:0 0 14px;font-size:24px;line-height:1.3;letter-spacing:-.025em}
.creator-learning-story>p:last-child{max-width:76ch;margin:0;color:#c4d7e4;font-size:15px;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
.creator-profile-invitation{display:flex;align-items:center;justify-content:space-between;gap:15px 24px;margin-top:35px;padding:21px 24px;border-top:1px solid #365163;border-bottom:1px solid #365163}
.creator-profile-invitation p{max-width:55ch;margin:0;color:#abc3d4;font-size:14px;line-height:1.6}
.creator-profile-invitation a{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;flex:none;color:var(--gold);font-size:14px;font-weight:750;text-underline-offset:4px}
.creator-profile-invitation a:hover{text-decoration:underline}
.creator-noscript{padding:20px;border:1px solid #ffd16666;border-radius:14px;font-size:15px;line-height:1.6}
.creator-noscript a{color:var(--gold);text-decoration:underline}
.creator-profile-page .creator-profile-footer{max-width:1170px;gap:16px 24px;padding-top:24px;padding-bottom:28px}
.creator-profile-footer p{margin:0 auto 0 0}
.creator-profile-footer>a:last-child{display:inline-flex;align-items:center;min-height:44px;color:#b8cedc;text-decoration:underline;text-underline-offset:4px}
.creator-profile-page [hidden]{display:none!important}
.creator-profile-page :is(a,button,input):focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.creator-profile-page main:focus-visible{outline:none}
@keyframes creator-glow{from{opacity:.55}to{opacity:1}}

@media(min-width:701px) and (max-width:1000px){
  .creators-page .creator-directory-grid,.creator-profile-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .creator-profile{padding:26px}
  .creator-profile-heading{gap:18px;flex-wrap:wrap}
  .creator-profile-sharing{margin-left:106px}
}
@media(max-width:700px){
  .creators-page .site-header{min-height:70px}
  .creators-page .creators-hero{padding:25px 23px;border-radius:22px}
  .creators-page .creators-hero h1{font-size:38px}
  .creators-page .creators-hero .hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.55}
  .creators-page .creators-hero .hero-actions{margin-top:19px}
  .creators-page .creators-hero .hero-actions .button{font-size:13px;padding:11px 14px}
  .creators-page .creator-directory{padding-top:28px}
  .creators-page .creator-directory .section-heading{display:block;margin-bottom:16px}
  .creators-page .creator-directory .section-heading>p{margin-top:10px;max-width:none;text-align:left}
  .creators-page .creator-directory .section-heading h2{font-size:28px}
  .creators-page :is(.creators-view-switch,.creator-view-switch){width:100%;margin-bottom:16px}
  .creators-page :is(.creators-view-switch,.creator-view-switch) button{flex:1;min-width:0}
  .creators-page .creator-directory .discovery-panel{grid-template-columns:minmax(0,1fr);gap:11px;margin-inline:0;padding:13px 13px 0;border-radius:17px}
  .creators-page .creator-board-label{justify-content:space-between;min-height:44px;padding:0 2px}
  .creators-page .creator-board-label select{flex:1;max-width:215px;min-height:44px}
  .creators-page .creator-directory .category-row{padding-top:0;padding-bottom:13px}
  .creators-page .creator-source-status{align-items:flex-start;padding:12px 14px;gap:10px}
  .creators-page .creator-source-status p{font-size:12px}
  .creators-page .creator-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .creators-page .creator-person-card{padding:0;border-radius:17px}
  .creators-page .creator-person-link{grid-template-columns:minmax(0,1fr);grid-template-areas:"avatar" "name" "meta" "subjects" "action";grid-template-rows:auto auto auto 1fr auto;justify-items:start;gap:0;min-height:274px;padding:18px;font-size:17px}
  .creators-page .creator-person-link>h3{margin-top:12px}
  .creators-page .creator-person-action{width:100%}
  .creators-page .creator-person-meta{font-size:13px;margin-top:15px}
  .creators-page .creator-person-subjects{font-size:12px;margin-bottom:16px}
  .creators-page .creator-person-action{font-size:13px}
  .creator-profile-page .site-header{height:74px;padding:12px 16px;gap:12px}
  .profile-header-nav{gap:0}
  .profile-header-nav>a:first-child{display:none}
  .profile-header-nav .profile-create-link{min-height:42px;padding:9px 12px;font-size:12px}
  .creator-profile-page main{padding-inline:16px;padding-bottom:28px}
  .creator-back-link{margin:0 0 12px;font-size:12px}
  .creator-profile{padding:22px 20px;border-radius:20px}
  .creator-profile-heading{gap:15px;flex-wrap:wrap;align-items:center}
  .creator-profile-avatar{width:62px;height:62px;flex-basis:62px;border-radius:19px;font-size:23px}
  .creator-profile-identity{flex:1;min-width:calc(100% - 90px)}
  .creator-profile .eyebrow{font-size:9px;letter-spacing:.13em}
  .creator-profile h1{font-size:30px;line-height:1.12}
  .creator-profile-summary{font-size:12px;margin-top:8px}
  .creator-profile-sharing{max-width:none;width:100%;margin:2px 0 0}
  .creator-share-button{min-height:44px;padding:10px 13px;font-size:12px}
  .creator-share-status{max-width:none;display:inline-block;margin:0 0 0 9px;font-size:11px}
  .creator-profile-bio{margin-top:18px;padding-top:16px;font-size:14px;line-height:1.6}
  .creator-profile-games{padding-top:27px}
  .creator-games-heading{display:block;margin-bottom:17px}
  .creator-games-heading h2{max-width:none;font-size:25px}
  .creator-games-heading>p{margin:8px 0 0;font-size:12px}
  .creator-profile-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .creator-profile-game-grid .game-body{padding:16px}
  .creator-profile-game-grid .game-body h3{font-size:19px;margin-top:12px}
  .creator-profile-game-grid .description{font-size:13px}
  .creator-profile-state{margin-top:0;padding:30px 21px;border-radius:20px}
  .creator-profile-state p{font-size:14px}
  .creator-games-status{padding:13px 14px;font-size:13px}
  .creator-learning-story{margin-top:24px;padding:23px 20px}
  .creator-learning-story h2{font-size:22px}
  .creator-learning-story>p:last-child{font-size:14px;line-height:1.7}
  .creator-profile-invitation{align-items:flex-start;flex-direction:column;gap:7px;margin-top:27px;padding:18px 4px}
  .creator-profile-invitation p{font-size:13px}
  .creator-profile-page .creator-profile-footer{display:flex;flex-wrap:wrap;padding:22px 16px;gap:14px 20px;font-size:11px}
  .creator-profile-footer .brand{width:100%}
  .creator-profile-page .bottom-nav a[aria-current="location"]{color:var(--mint)}
}
@media(max-width:520px){
  .creator-profile-game-grid{grid-template-columns:minmax(0,1fr)}
  .creator-profile-game-grid .game-body{padding:18px}
  .creator-profile-game-grid .game-body h3{font-size:21px}
  .creator-profile-game-grid .description{font-size:14px}
}
@media(max-width:400px){
  .creators-page .creator-directory-grid{grid-template-columns:minmax(0,1fr)}
  .creators-page .creator-person-link{grid-template-columns:54px minmax(0,1fr);grid-template-areas:"avatar name" "meta meta" "subjects subjects" "action action";grid-template-rows:auto auto 1fr auto;align-items:center;gap:0 13px;min-height:214px;padding:20px;font-size:18px}
  .creators-page .creator-person-link>h3{margin-top:0}
  .creators-page .creator-person-card{padding:0}
  .creators-page .creators-hero{padding:23px 20px}
  .creators-page .creators-hero h1{font-size:34px}
  .creator-profile{padding:19px 17px}
  .creator-profile h1{font-size:27px}
  .creator-profile-avatar{width:56px;height:56px;flex-basis:56px;border-radius:17px;font-size:21px}
  .creator-profile-heading{gap:12px}
  .creator-share-status{display:block;margin:7px 0 0}
}
@media(prefers-reduced-motion:reduce){
  .creator-profile-state[data-state="loading"] .creator-state-symbol{animation:none}
  .creator-profile-page *, .creators-page *{scroll-behavior:auto}
}
@media(forced-colors:active){
  .creator-profile,.creator-profile-avatar,.creator-share-button,.creator-profile-state,.creator-learning-story,.creators-page .creator-person-card,.creators-page .creator-monogram{border-color:CanvasText}
  .creator-profile-link,.creator-person-action,.creator-back-link{color:LinkText}
}
