/* Creator pages (/creators/<slug>/): the current glass design.
   Loaded only on creator pages (tools/stamp_chrome.py render_head). The page
   markup comes from the shared app's renderCreator(); this lays it out as a
   glass hero with the logo, then the creator's skills beside two side cards
   (how to use the skills, who owns them). Tokens are edge-sky.css's. */

.creator-page{--cr-radius:22px;display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:auto auto auto auto 1fr;column-gap:28px;row-gap:22px;align-items:start;padding-top:28px!important;padding-bottom:72px!important;min-height:0!important}
.creator-page>.page-cloud{display:none!important}
/* The cloud's page-coloured scrim goes with it: on the sky it is a hard-edged
   white (dark: navy) box behind the hero, cut at the content column. */
.creator-page.skill-page>.breadcrumb:before{content:none!important}
.creator-page>.breadcrumb{grid-column:1/-1;margin:0!important}
.creator-page>.breadcrumb a{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--sky-muted)}
.creator-page>.breadcrumb a:hover{color:var(--sky-ink)}

/* Hero: one glass card, logo tile, name, description, meta chips, website button. */
.creator-page>.creator-hero{grid-column:1/-1;display:flex!important;align-items:center!important;justify-content:space-between;gap:32px;margin:0!important;padding:34px 36px!important;min-height:0!important;border-radius:var(--cr-radius);background:var(--sky-glass);border:1px solid var(--sky-glass-line);box-shadow:var(--sky-glass-shadow);-webkit-backdrop-filter:var(--sky-filter);backdrop-filter:var(--sky-filter)}
.creator-hero .skill-heading{display:grid!important;grid-template-columns:88px minmax(0,1fr);column-gap:24px;row-gap:6px;align-items:center;max-width:820px}
.creator-hero .creator-logo{grid-row:1/span 3;align-self:start;width:88px;height:88px;margin:0!important;display:grid;place-items:center;border-radius:22px;background:var(--sky-glass-float);border:1px solid var(--sky-glass-line);box-shadow:0 10px 24px -14px rgba(21,76,255,.35)}
.creator-hero .creator-logo .creator-marks,.creator-hero .creator-logo .creator-mark{width:60px!important;height:60px!important;padding:0!important;display:grid;place-items:center;border-radius:16px;overflow:hidden}
.creator-hero .creator-logo svg,.creator-hero .creator-logo img{width:60px!important;height:60px!important;display:block}
.creator-hero h1{margin:0!important;font-size:clamp(40px,4.6vw,60px)!important;line-height:1.02!important;letter-spacing:-.035em;color:var(--sky-ink)}
.creator-hero .outcome{margin:4px 0 0!important;max-width:62ch;font-size:17px!important;line-height:1.5!important;color:var(--sky-muted)!important}
.creator-hero .hero-meta{grid-column:2;margin:10px 0 0!important;gap:8px!important;font-size:13px!important}
.creator-hero .hero-meta>span[aria-hidden]{display:none}
.creator-hero .hero-meta>a,.creator-hero .hero-meta>.creator-skill-count{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:99px;background:var(--sky-chip);border:1px solid var(--sky-glass-line);color:var(--sky-ink)!important}
.creator-hero .hero-meta>a:hover{border-color:var(--sky-blue)}
.creator-hero .hero-meta strong{font-weight:560}
.creator-hero .skill-main-actions{flex:none;margin:0!important}
.creator-hero .skill-main-actions .btn{height:44px;padding:0 18px;border-radius:12px}

/* Main column: the skills. Side column: how to use them, then who owns them. */
.creator-page>.skill-details{margin:0!important;padding:0!important;border:0!important}
.creator-page>.skill-details:before,.creator-page>.skill-details:after,.creator-page>.skill-details h2:after{display:none!important}
.creator-page>.skill-details h2{margin:0 0 14px!important;padding:0!important;border:0!important;font-size:20px!important;letter-spacing:-.015em;color:var(--sky-ink)}
.creator-page>.creator-skills-section{grid-column:1;grid-row:3/span 3}
.creator-page>.creator-install-section{grid-column:2;grid-row:3}
.creator-page>.creator-owner-section{grid-column:2;grid-row:4}
.creator-skills-section .home-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:18px!important;margin:0!important;padding:0!important}
.creator-skills-section .home-grid>.skill-card{margin:0!important}
/* Exactly two clamped lines (14px x 1.5). The shared min-height:52px is taller
   than that, so the clip showed the top of a third line under them. */
.creator-skills-section .skill-card .card-description{min-height:0!important;height:3em!important}
.creator-skills-section .home-grid{border:0!important;box-shadow:none!important}
.creator-skills-section .home-grid:before,.creator-skills-section .home-grid:after{display:none!important}

.creator-page>.creator-install-section,.creator-page>.creator-owner-section{padding:22px!important;border-radius:var(--cr-radius)!important;overflow:hidden;background:var(--sky-glass)!important;border:1px solid var(--sky-glass-line)!important;box-shadow:var(--sky-glass-shadow)!important;-webkit-backdrop-filter:var(--sky-filter);backdrop-filter:var(--sky-filter)}
.creator-install-section h2,.creator-owner-section h2{font-size:16px!important;margin-bottom:12px!important}
.creator-install-section .edge-install{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;max-width:none!important}
.creator-install-section .edge-install-text{margin:0 0 12px!important;padding:12px 14px!important;border-radius:12px!important;background:var(--sky-glass-float)!important;border:1px solid var(--sky-glass-line)!important;font-size:12.5px!important;line-height:1.55!important;white-space:pre-wrap!important;color:var(--sky-ink)!important}
.creator-install-section .btn{width:100%;justify-content:center;height:42px;border-radius:12px}
.creator-install-section .edge-install-note{margin:10px 0 0!important;font-size:12.5px!important;color:var(--sky-muted)!important;text-align:center}

.creator-owner{display:grid!important;grid-template-columns:52px minmax(0,1fr);gap:4px 14px!important;align-items:center;padding:0!important;border:0!important}
.creator-owner .creator-avatar{grid-row:1;width:52px!important;height:52px!important;border-radius:50%;overflow:hidden}
.creator-owner .creator-avatar img{width:52px;height:52px;object-fit:cover}
.creator-owner-copy h3{margin:0!important;font-size:16px!important;color:var(--sky-ink)}
.creator-owner-copy p{margin:2px 0 0!important;font-size:13px!important;color:var(--sky-muted)!important}
.creator-owner-links{grid-column:1/-1;display:flex!important;flex-wrap:wrap;gap:8px!important;margin:14px 0 0!important;justify-content:flex-start!important}
.creator-owner-links .text-link{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:99px;background:var(--sky-chip);border:1px solid var(--sky-glass-line);font-size:13px;color:var(--sky-ink)!important;text-decoration:none!important}
.creator-owner-links .text-link:hover{border-color:var(--sky-blue)}
.creator-owner-links .text-link svg{width:14px;height:14px}

@media (max-width:980px){
  .creator-page{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:18px}
  .creator-page>.creator-skills-section,.creator-page>.creator-install-section,.creator-page>.creator-owner-section{grid-column:1;grid-row:auto}
  .creator-page>.creator-install-section{order:3}.creator-page>.creator-skills-section{order:4}.creator-page>.creator-owner-section{order:5}
}
@media (max-width:640px){
  .creator-page{padding-top:16px!important}
  .creator-page>.creator-hero{flex-direction:column;align-items:stretch!important;gap:20px;padding:22px 20px!important}
  .creator-hero .skill-heading{grid-template-columns:60px minmax(0,1fr);column-gap:16px}
  .creator-hero .creator-logo{grid-row:1;width:60px;height:60px;border-radius:16px}
  .creator-hero .creator-logo .creator-marks,.creator-hero .creator-logo .creator-mark,.creator-hero .creator-logo svg,.creator-hero .creator-logo img{width:42px!important;height:42px!important}
  .creator-hero h1{font-size:36px!important}
  .creator-hero .outcome,.creator-hero .hero-meta{grid-column:1/-1}
  .creator-hero .outcome{font-size:15.5px!important}
  .creator-hero .skill-main-actions .btn{width:100%;justify-content:center}
  .creator-skills-section .home-grid{grid-template-columns:minmax(0,1fr)!important}
}
