/* Profile composition: identity, useful summary, then viewing and collection.
 * Interface colors come from the shared Komi theme.
 */
#profile.komi-profile-studio{
  --studio-bg:var(--komi-bg);--studio-panel:var(--komi-card);
  --studio-raised:var(--komi-panel);--studio-ink:var(--komi-ink);
  --studio-line:var(--komi-divider);--studio-muted:var(--komi-muted);--studio-scroll-thumb:#55555E;
  max-width:1240px!important;min-width:0;overflow:visible!important;color:var(--studio-ink);
}
#profile.komi-profile-studio :is(button,a,summary){cursor:pointer;-webkit-tap-highlight-color:transparent}
#profile.komi-profile-studio :is(button,a,input,textarea,summary):focus-visible{outline:2px solid var(--komi-accent)!important;outline-offset:3px!important}
#profile.komi-profile-studio button:disabled{cursor:default;opacity:.55}
#profile.komi-profile-studio :where(*){scrollbar-width:thin;scrollbar-color:var(--studio-scroll-thumb) var(--studio-panel)}
#profile.komi-profile-studio ::-webkit-scrollbar{display:block;width:7px;height:7px}
#profile.komi-profile-studio ::-webkit-scrollbar-track{background:var(--studio-panel)}
#profile.komi-profile-studio ::-webkit-scrollbar-thumb{background:var(--studio-scroll-thumb);border-radius:999px}
#profile.komi-profile-studio ::-webkit-scrollbar-thumb:hover{background:#777781}
#profile.komi-profile-studio.komi-profile-guest{
  position:relative;isolation:isolate;overflow:hidden!important;
  display:grid;justify-items:start;align-content:center;gap:12px;
  width:min(100% - 28px,760px);min-height:clamp(280px,42vh,380px);
  margin:clamp(18px,5vh,55px) auto;padding:clamp(20px,6vw,64px);
  background:var(--studio-panel);
  border:1px solid var(--studio-line);border-radius:26px;
}
.komi-profile-guest::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:none;
  mask-image:linear-gradient(115deg,transparent 42%,#000);
}
.komi-profile-guest-emblem{
  display:grid;place-items:center;width:58px;aspect-ratio:1;
  border:1px solid #ffffff30;border-radius:18px;background:#17171b;
  font:800 30px/1 Manrope,Inter,sans-serif;
}
.komi-profile-guest-label{font-size:12px;letter-spacing:.13em;color:#c5c5cc;font-weight:800}
.komi-profile-guest h1{font:800 clamp(28px,5vw,53px)/1.06 Manrope,Inter,sans-serif;max-width:17ch;letter-spacing:-.04em;margin:0}
.komi-profile-guest p{color:var(--studio-muted);max-width:45ch;font-size:16px;line-height:1.55;margin:0}
.komi-profile-guest-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:7px}
.komi-profile-guest-actions :is(a,button){
  display:inline-flex;align-items:center;justify-content:center;padding:9px 17px;min-height:44px;
  border:1px solid #ffffff38;border-radius:999px;background:var(--studio-raised);color:var(--studio-ink);text-decoration:none;font:800 14px/1.3 Manrope,Inter,sans-serif;
}
.komi-profile-guest-actions button{background:var(--komi-accent);border-color:var(--komi-accent);color:var(--komi-accent-ink);cursor:pointer}
.komi-profile-guest-actions button:hover{background:var(--komi-accent-hover)}

/* Natural height keeps long names, bios and purchased cosmetics readable. */
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  height:auto!important;min-height:300px!important;max-height:none!important;gap:12px!important;
  padding:24px 24px 20px!important;border-radius:24px!important;text-align:center!important;
  border:1px solid var(--studio-line)!important;box-shadow:none!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card::before{display:none!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card::after{
  background:linear-gradient(180deg,rgba(9,9,11,.22),rgba(9,9,11,.78) 65%,#09090B),
    radial-gradient(ellipse at center,rgba(9,9,11,.36),rgba(9,9,11,.08) 76%)!important;
  background-size:100% 100%!important;animation:none!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-cover::before{animation:none;opacity:.1}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-avatar-frame{align-self:center!important;flex:0 0 88px!important;width:88px!important;height:88px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-avatar-inner{width:88px;height:88px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-info-grid{
  flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:820px!important;gap:7px!important;text-align:center!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono :is(.profile-name-row,.profile-badges-row,.profile-hero-actions){justify-content:center!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-name-row{gap:8px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-name-row h2{
  max-width:100%;margin:0!important;text-align:center!important;overflow-wrap:anywhere;
  font-family:Inter,Manrope,sans-serif!important;font-size:clamp(30px,3vw,38px)!important;line-height:1.15!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-bio{margin:0!important;max-width:58ch;text-align:center!important;font-size:14px!important;line-height:1.5;display:block;overflow:visible;white-space:normal;-webkit-line-clamp:unset}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-bio[hidden]{display:none}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-badges-row{gap:6px 10px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-badge-item{border:0!important;background:transparent!important;padding:2px 0!important;font-size:12px;line-height:1.45}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-badge-item.profile-wallet-chip{
  min-height:32px;padding:5px 10px!important;border:1px solid var(--studio-line)!important;background:var(--studio-panel)!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-badge-item.profile-wallet-chip:hover{background:var(--studio-raised)!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools{
  position:relative!important;inset:auto!important;z-index:2;max-width:100%;display:flex;flex-wrap:wrap;justify-content:center!important;gap:7px!important;margin:0;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools .profile-glass{
  min-height:44px;padding:10px 16px!important;font:750 14px/1.25 Manrope,Inter,sans-serif!important;
  background:rgba(22,22,26,.88)!important;border:1px solid #FFFFFF26!important;
  box-shadow:none!important;backdrop-filter:none;-webkit-backdrop-filter:none;text-decoration:none;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools .profile-glass:hover{background:var(--studio-raised)!important;border-color:#FFFFFF5C!important;transform:translateY(-1px)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools .profile-glass:active{transform:scale(.97)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools .profile-glass-edit{background:var(--komi-accent)!important;color:var(--komi-accent-ink)!important;border-color:var(--komi-accent)!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools .profile-glass-edit:hover{background:#E8E8EC!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-actions:not(:has(button)){display:none!important}
#profile.komi-profile-studio.komi-profile-premium-mono .komi-profile-music{margin:2px auto 0!important;padding:4px 13px 4px 5px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .komi-profile-music-btn{flex-basis:44px;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .komi-profile-music-label{font-size:12px}
#profile.komi-profile-studio.komi-profile-premium-mono .komi-profile-music-title{font-size:14px}

/* One summary replaces repeated large numerical cards. */
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary{
  display:grid;grid-template-columns:minmax(260px,1.7fr) repeat(4,minmax(0,1fr));align-items:stretch;gap:0;
  margin:12px 0 0;padding:10px;background:var(--studio-panel);border:1px solid var(--studio-line);border-radius:18px;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary .profile-xp-capsule.komi-level-progress{
  align-self:center;min-width:0!important;max-width:none!important;width:auto!important;margin:0!important;padding:12px 16px!important;gap:11px;
  background:transparent!important;border:0!important;border-radius:0;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary .profile-xp-level{font-size:13px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary .profile-xp-level strong{font-size:20px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary .profile-xp-bar>span{font-size:12px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary .profile-xp-multiplier{font-size:12px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item{
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:70px;width:100%;padding:10px!important;
  border:0!important;border-left:1px solid var(--studio-line)!important;border-radius:0!important;
  background:transparent!important;color:var(--studio-ink);text-align:center;box-shadow:none!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono button.profile-summary-item:hover{background:#FFFFFF07!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item strong{font-size:26px;line-height:1.05;font-weight:800;font-variant-numeric:tabular-nums;color:var(--studio-ink)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item strong.is-missing{color:var(--studio-muted)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item span{font-size:13px;line-height:1.35;color:var(--studio-muted)}

/* Only primary tabs scroll, so the native More disclosure never clips its popup. */
#profile.komi-profile-studio.komi-profile-premium-mono .profile-navigation-shell{
  position:relative;z-index:30;display:flex;align-items:stretch;justify-content:center;width:max-content;max-width:100%;min-width:0;
  margin:18px auto 20px;padding:5px;gap:4px;background:var(--studio-panel);border:1px solid var(--studio-line);border-radius:18px;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-premium-tabs.komi-profile-tabs{
  position:static!important;z-index:auto;display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:auto!important;flex:0 1 auto;min-width:0;max-width:100%!important;margin:0!important;padding:0!important;gap:3px!important;
  background:transparent!important;border:0!important;border-radius:12px!important;box-shadow:none!important;
  backdrop-filter:none;-webkit-backdrop-filter:none;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;
  scrollbar-width:thin;scrollbar-color:var(--studio-scroll-thumb) var(--studio-panel);
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-premium-tabs::before{display:none!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-premium-tabs::-webkit-scrollbar{display:block;height:4px}
#profile.komi-profile-studio.komi-profile-premium-mono :is(.profile-premium-tabs,.profile-more-menu) .komi-profile-tab,
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more>summary{
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;margin:0;padding:10px 16px!important;
  border:0!important;border-radius:12px!important;background:transparent!important;color:#BDBDC5!important;box-shadow:none!important;
  font:750 14px/1.3 Manrope,Inter,sans-serif!important;text-decoration:none;white-space:nowrap!important;
  transition:background .18s,color .18s,transform .15s var(--ease-press,ease);
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-premium-tabs .komi-profile-tab{flex:0 0 auto;scroll-margin-inline:5px}
#profile.komi-profile-studio.komi-profile-premium-mono :is(.profile-premium-tabs,.profile-more-menu) .komi-profile-tab.active,
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more>summary.active{background:var(--komi-accent)!important;color:var(--komi-accent-ink)!important}
#profile.komi-profile-studio.komi-profile-premium-mono :is(.profile-premium-tabs,.profile-more-menu) .komi-profile-tab:not(.active):hover,
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more>summary:not(.active):hover{background:var(--studio-raised)!important;color:var(--studio-ink)!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-navigation-shell :is(button,summary):focus-visible{outline-offset:-3px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-tab-counter{height:21px;min-width:21px;padding:2px 5px;border-radius:6px;font-size:12px;font-weight:700}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more{position:relative;flex:none;min-width:0}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more>summary{list-style:none;height:100%}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more>summary::-webkit-details-marker{display:none}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more>summary svg{width:15px;height:15px;flex:none;transition:transform .18s}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more[open]>summary svg{transform:rotate(180deg)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more-menu{
  position:absolute;z-index:35;right:0;top:calc(100% + 10px);width:230px;max-width:calc(100vw - 36px);
  display:grid;gap:4px;padding:7px;background:var(--studio-panel);border:1px solid #FFFFFF2C;border-radius:16px;box-shadow:0 18px 45px #0008;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-more-menu .komi-profile-tab{width:100%;justify-content:space-between}
#profile.komi-profile-studio.komi-profile-premium-mono .komi-profile-panel{min-width:0;scroll-margin-top:16px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-settings-box{scroll-margin-block-start:72px;margin:14px auto!important}

/* Static panels stay still; only controls and title cards respond to hover. */
#profile.komi-profile-studio.komi-profile-premium-mono .profile-bento{display:grid!important;grid-template-columns:minmax(0,1.85fr) minmax(290px,1fr)!important;gap:16px!important}
#profile.komi-profile-studio.komi-profile-premium-mono :is(.profile-bento-main,.profile-bento-side){gap:16px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-widget{
  padding:20px!important;border-radius:20px!important;background:#131316!important;border:1px solid var(--studio-line)!important;box-shadow:none!important;transform:none!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-widget:hover{border-color:var(--studio-line)!important;box-shadow:none!important;transform:none!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-widget-heading{gap:10px;margin-bottom:14px!important;flex-wrap:wrap}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-widget h3{font:800 18px/1.35 Inter,Manrope,sans-serif!important;letter-spacing:-.025em}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-caption{font-size:12px;line-height:1.4;white-space:normal;color:var(--studio-muted)!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-empty{font-size:14px;line-height:1.55;margin:0;padding:8px 0;color:var(--studio-muted)}
#profile.komi-profile-studio.komi-profile-premium-mono :is(.profile-text-button,.profile-shop-link){min-height:44px;font-size:14px;line-height:1.4}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-text-button{padding:7px 0!important;text-decoration:none!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-shop-link{margin-top:10px;padding:10px 0 0}
#profile.komi-profile-studio.komi-profile-premium-mono :is(.profile-text-button,.profile-shop-link):hover{text-decoration:underline!important;text-underline-offset:4px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-collection-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;margin:0 0 14px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-collection-tools :is(button,a){min-height:44px;font-size:14px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-collection-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-collection-heading .profile-collection-tools{margin:0}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-collection-search{position:relative;min-width:0}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-collection-search input{padding-right:50px!important;font-size:16px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-search-clear{
  position:absolute;right:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;
  width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;
  border:0!important;border-radius:50%!important;background:transparent!important;color:var(--studio-ink)!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-search-clear:hover{background:var(--studio-raised)!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-search-clear svg{width:18px;height:18px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-grid{gap:10px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-card{gap:13px;padding:10px!important;border-radius:14px!important;min-height:94px;background:var(--studio-bg)!important;border-color:#FFFFFF0C!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-card:hover{background:var(--studio-panel)!important;border-color:#FFFFFF38!important;transform:translateY(-1px)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-image{flex:0 0 100px!important;width:100px!important;height:72px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-info{gap:4px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-info strong{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;font-size:14px;font-weight:750;line-height:1.4;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-info small{font-size:12px;line-height:1.4}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-progress{height:3px;margin:4px 0}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-action{
  flex:0 0 auto;display:inline-flex;width:auto;height:auto;min-height:38px;max-width:112px;align-items:center;justify-content:center;
  padding:9px 13px;border-radius:999px;background:var(--komi-accent)!important;color:var(--komi-accent-ink)!important;font:800 12px/1.3 Manrope,Inter,sans-serif;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-play{display:none}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-history-full .profile-watch-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-distribution{height:6px;margin:3px 0 17px!important;gap:3px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut{
  display:grid;justify-items:start;align-content:start;gap:7px;min-width:0;min-height:108px;padding:12px 10px!important;
  border:1px solid #FFFFFF13!important;border-radius:12px!important;background:var(--studio-bg)!important;color:var(--studio-ink)!important;text-align:left;
  transition:background .18s,border-color .18s,transform .18s var(--ease-spring,ease);
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut:hover{background:var(--studio-panel)!important;border-color:#FFFFFF46!important;transform:translateY(-2px)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut:active{transform:scale(.98)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut span{font:650 14px/1.3 Inter,sans-serif;overflow-wrap:anywhere}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut strong{font:800 25px/1.1 Inter,sans-serif;font-variant-numeric:tabular-nums}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut small{font:500 12px/1.3 Inter,sans-serif;color:var(--studio-muted)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-info-tooltip{font-size:13px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-favorites-widget .profile-favorites,
#profile.komi-profile-studio.komi-profile-premium-mono .profile-favorites-widget[data-premium-slots="6"] .profile-favorites{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr))!important;align-items:start;gap:12px;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-favorites a{width:100%;max-width:155px;text-decoration:none}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-favorites :is(img,.profile-favorite-missing){display:block;object-fit:cover;aspect-ratio:2/3;border-radius:12px!important;box-shadow:none}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-favorites strong{display:block;overflow:visible;white-space:normal;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-favorite-add{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;max-width:155px;min-height:120px;aspect-ratio:2/3;padding:12px!important;
  border-radius:12px!important;background:transparent!important;border:1px dashed #FFFFFF2B!important;color:var(--studio-muted);text-align:center;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-favorite-add>span{font-size:29px;line-height:1;font-weight:400}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-favorite-add>small{font:700 13px/1.4 Inter,sans-serif;color:var(--studio-muted)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-premium-slots-badge{font-size:12px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-activity-shortcut p{font-size:14px;line-height:1.5;color:var(--studio-muted);margin:0}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-activity-shortcut .profile-widget-heading{margin-bottom:8px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-achievement-widget:not(.profile-achievements-full) .profile-achievements{grid-template-columns:minmax(0,1fr);gap:8px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-achievement-widget:not(.profile-achievements-full) .profile-achievement{
  display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;text-align:left;min-height:56px;padding:10px!important;gap:9px;background:var(--studio-bg)!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-achievement-widget:not(.profile-achievements-full) .profile-achievement.is-earned{background:var(--studio-panel)!important;border-color:#FFFFFF20!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-achievement-widget:not(.profile-achievements-full) .profile-achievement small{grid-column:2;grid-row:1;text-align:left;font-size:13px;line-height:1.4}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-achievement-widget:not(.profile-achievements-full) .profile-achievement-progress{grid-column:3;grid-row:1;font-size:12px!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-achievement-widget:not(.profile-achievements-full) .profile-achievement-icon{grid-column:1;grid-row:1;font-size:22px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-achievements-full .profile-achievements{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-achievements-full .profile-achievement small{font-size:14px;line-height:1.4}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-friends-mini button{padding:8px!important;min-height:54px;background:transparent!important}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-friends-mini button>span:last-child{min-width:0}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-friends-mini strong{font-size:14px;line-height:1.4;display:block;overflow-wrap:anywhere}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-friends-mini small{font-size:12px;line-height:1.4}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-genre{min-height:44px;padding:9px 12px;font-size:13px;line-height:1.4}
#profile.komi-profile-studio.komi-profile-premium-mono .komi-profile-anime-section .profile-stats-grid{margin:0 0 13px}

@media(max-width:1000px){
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary{grid-template-columns:minmax(220px,1.7fr) repeat(4,minmax(0,1fr));padding:7px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary .profile-xp-capsule.komi-level-progress{padding:12px 10px!important;gap:8px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-bento{grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr)!important;gap:12px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-widget{padding:17px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-action{max-width:92px;padding:8px 10px;font-size:11px}
}
@media(max-width:860px){
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-bento{grid-template-columns:minmax(0,1fr)!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-bento-side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary .profile-xp-capsule.komi-level-progress{grid-column:1/-1;max-width:520px!important;width:100%!important;justify-self:center;margin:0 auto 6px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item:nth-child(2){border-left:0!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-history-full .profile-watch-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:620px){
  #profile.komi-profile-studio.komi-profile-premium-mono{padding-bottom:28px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card{min-height:0!important;padding:22px 14px 18px!important;gap:10px!important;border-radius:20px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-avatar-frame{flex-basis:80px!important;width:80px!important;height:80px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-avatar-inner{width:80px;height:80px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-name-row h2{font-size:30px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-bio{font-size:14px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools{gap:6px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools .profile-glass{padding:9px 12px!important;font-size:13px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:16px;padding:8px;margin-top:10px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary .profile-xp-capsule.komi-level-progress{padding:9px 6px 14px!important;margin:0!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item{min-height:68px;padding:10px!important;border-top:1px solid var(--studio-line)!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item:nth-child(even){border-left:0!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item strong{font-size:24px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item span{font-size:13px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-navigation-shell{width:100%;margin:13px auto 16px;padding:4px;gap:2px;border-radius:16px;justify-content:flex-start}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-premium-tabs.komi-profile-tabs{flex:1 1 auto}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-premium-tabs .komi-profile-tab,
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-more>summary{padding:10px 12px!important;font-size:13px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-bento-side{display:flex!important;flex-direction:column;gap:12px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-widget{padding:15px!important;border-radius:18px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-widget h3{font-size:17px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-widget-heading{gap:7px;margin-bottom:10px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-card{gap:10px;align-items:center;padding:8px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-image{flex-basis:76px!important;width:76px!important;height:82px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-info strong{font-size:14px;line-height:1.4}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-action{display:none}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-timestamp{color:#E2E2E8}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut{grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:68px;padding:11px 12px!important;gap:4px 7px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut span{font-size:13px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut strong{grid-column:2;grid-row:1/3;font-size:24px;align-self:center}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut small{grid-column:1}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-favorites-widget .profile-favorites,
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-favorites-widget[data-premium-slots="6"] .profile-favorites{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-favorite-add{padding:8px!important;min-height:110px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-favorite-add>small{font-size:12px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-stat-card{min-height:54px}
}
@media(max-width:380px){
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools .profile-glass{padding-inline:10px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-image{flex-basis:66px!important;width:66px!important;height:78px!important}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-watch-card{gap:8px}
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-list-shortcut{padding-inline:9px!important}
}
@media(prefers-reduced-motion:reduce){
  #profile.komi-profile-studio :is(.profile-enter,.komi-profile-tab,.profile-more>summary,.profile-list-shortcut,.profile-watch-card,.profile-glass,.profile-favorite-add,.profile-achievement,.komi-profile-guest-actions button){animation:none!important;transition:none!important;transform:none!important}
  #profile.komi-profile-studio .profile-more>summary svg{transition:none!important}
}
@media(forced-colors:active){
  #profile.komi-profile-studio :where(*){scrollbar-color:auto}
  #profile.komi-profile-studio .profile-more-menu{border-color:ButtonText}
  #profile.komi-profile-studio :is(.komi-profile-tab.active,.profile-more>summary.active){outline:1px solid ButtonText}
}

/* Profile overview: a compact monochrome shelf, not five large dashboard tiles. */
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library {
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px;align-items:stretch;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library > .profile-widget {
  min-width:0;min-height:0;padding:clamp(14px,1.6vw,21px)!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library .profile-widget-heading {
  flex-wrap:wrap;column-gap:12px;row-gap:4px;margin-bottom:10px!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library .profile-distribution {
  height:5px;margin:2px 0 9px!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library .profile-list-shortcuts {
  display:grid;grid-template-columns:minmax(0,1fr)!important;gap:2px;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library .profile-list-shortcut {
  grid-template-columns:8px minmax(0,1fr) auto 3.2em;
  align-items:center;justify-items:stretch;align-content:center;gap:7px;min-height:39px;
  padding:7px 8px!important;border-color:transparent!important;border-radius:8px!important;background:transparent!important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library .profile-list-shortcut:hover {
  background:var(--studio-panel)!important;border-color:#ffffff20!important;transform:none;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-list-marker {
  width:7px;height:7px;background:var(--profile-segment,#888);border-radius:2px;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library .profile-list-shortcut strong {
  font-size:14px;text-align:right;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library .profile-list-shortcut small {
  text-align:right;font-variant-numeric:tabular-nums;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-genre-hint {
  margin:0 0 9px;color:var(--studio-muted);font-size:12px;line-height:1.45;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-genres {
  display:grid;grid-template-columns:minmax(0,1fr);gap:4px;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-genres .profile-genre {
  display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;min-height:40px;gap:5px 12px;
  padding:7px 8px;text-align:left;border-radius:8px;min-width:0;background:transparent;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-genre-name {min-width:0;overflow-wrap:anywhere;}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-genres strong {color:var(--studio-ink);font-variant-numeric:tabular-nums;}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-genres i {
  grid-column:1/-1;display:block;height:3px;border-radius:999px;
  background:linear-gradient(to right,#b6b6be var(--profile-genre-meter),#333338 var(--profile-genre-meter));
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-genres .profile-empty {
  padding:11px 0;text-align:left;font-size:13px;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-metrics {margin:0;display:grid;gap:0;}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-metrics > div {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;
  border-bottom:1px solid #ffffff13;padding:9px 0;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-metrics dt {font-size:13px;color:var(--studio-muted);line-height:1.4;}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-metrics dt small {font-size:10px;color:inherit;white-space:nowrap;}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-metrics dd {
  margin:0;color:var(--studio-ink);font-weight:800;font-variant-numeric:tabular-nums;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-activity-state:empty {display:none;}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-activity-state:not(:empty) {padding-top:7px;font-size:12px;}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library :is(.profile-list-shortcut,.profile-genre):focus-visible {
  outline:2px solid #fff;outline-offset:-2px;
}
@media(max-width:1050px) {
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:767px) {
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-library :is(.profile-list-shortcut,.profile-genre){min-height:44px;}
}

#profile [data-profile-week-retry][hidden] {display:none!important;}

/* Profile navigation: every section visible, desktop column and mobile tabs. */
#profile.komi-profile-studio .profile-section-layout{display:flex;flex-direction:column;gap:16px;margin-top:18px;min-width:0}
#profile.komi-profile-studio .profile-section-layout .profile-navigation-shell{margin:0;width:100%;box-sizing:border-box}
#profile.komi-profile-studio .profile-navigation-title{display:none}
#profile.komi-profile-studio .profile-xp-remaining{display:block;font-size:11px;line-height:1.35;color:var(--studio-muted);white-space:normal}
#profile.komi-profile-studio .profile-time-note{font-size:10px;color:var(--studio-muted);line-height:1.2}
#profile.komi-profile-studio .profile-summary-item strong.is-missing{font-size:14px;line-height:1.3}
#profile.komi-profile-studio .profile-stat-retry{font-size:12px;color:inherit;background:transparent;border:0;text-decoration:underline;padding:4px}
#profile.komi-profile-studio .profile-stat-retry[hidden]{display:none}
#profile.komi-profile-studio .profile-preview-notice{padding:12px 16px;margin-bottom:12px;border:1px solid var(--studio-line);border-radius:12px;background:var(--studio-panel);font-size:13px}
#profile.komi-profile-studio .profile-name-row,#profile.komi-profile-studio .profile-badges-row{text-shadow:0 2px 8px #000,0 1px 3px #000}
body:has(#profile.komi-profile-studio) #sideFriendsBtn .komi-hub-community-label,body:has(#profile.komi-profile-studio) #sideFriendsBtn .online-counter{display:none!important}
body:has(#profile.komi-profile-studio) #sideFriendsBtn{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:14px!important;justify-content:center!important}
@media(min-width:1100px){
 #profile.komi-profile-studio .profile-section-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:start}
 #profile.komi-profile-studio .profile-section-layout .profile-navigation-shell{grid-column:2;grid-row:1;position:sticky;top:82px;display:flex;flex-direction:column;align-items:stretch;padding:9px;z-index:5}
 #profile.komi-profile-studio .profile-navigation-title{display:block;font-size:12px;color:var(--studio-muted);padding:8px;margin:0}
 #profile.komi-profile-studio .profile-section-layout .komi-profile-panel{grid-column:1;grid-row:1}
 #profile.komi-profile-studio .profile-navigation-shell .profile-premium-tabs{display:flex!important;flex-direction:column;align-items:stretch!important;overflow:visible!important}
 #profile.komi-profile-studio .profile-navigation-shell .komi-profile-tab{justify-content:space-between!important;width:100%;padding-inline:10px!important}
 #profile.komi-profile-studio .profile-section-layout .profile-bento{grid-template-columns:minmax(0,1fr)!important}
 #profile.komi-profile-studio .profile-section-layout .profile-bento-side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){#profile.komi-profile-studio .profile-section-layout{gap:12px;margin-top:12px}#profile.komi-profile-studio .profile-section-layout .profile-premium-tabs{flex-wrap:wrap;overflow:visible!important}#profile.komi-profile-studio .profile-section-layout .komi-profile-tab{flex:1 1 auto;min-height:44px}}

/* Keep the activity widget beside the overview on roomy screens, and prevent narrow columns. */
#profile.komi-profile-studio .profile-preview-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
#profile.komi-profile-studio .profile-preview-summary{margin-top:12px;font-size:14px;color:var(--studio-muted)}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item strong.is-missing{font-size:14px;line-height:1.3}
#profile.komi-profile-studio .profile-stat-retry[hidden]{display:none!important}
@media(min-width:1100px){
 #profile.komi-profile-studio .profile-section-layout .profile-navigation-shell{z-index:5}
 #profile.komi-profile-studio .profile-section-layout .profile-bento-main{min-width:0;container-type:inline-size}
 @container(max-width:580px){#profile.komi-profile-studio .profile-section-layout .profile-overview-library{grid-template-columns:minmax(0,1fr)}}
}
@media(min-width:1320px){
 #profile.komi-profile-studio .profile-section-layout .profile-bento{grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr)!important}
 #profile.komi-profile-studio .profile-section-layout .profile-bento-side{display:flex!important;flex-direction:column;min-width:0}
}
@media(max-width:1099px){#profile.komi-profile-studio .profile-section-layout .profile-premium-tabs{flex-wrap:wrap;overflow:visible!important;justify-content:flex-start!important}}

/* Opt-in collectible display, scoped to the profile. */
.kcs-showcase[hidden]{display:none!important}
.kcs-showcase{margin:16px 0;padding:17px;border-radius:15px;background:linear-gradient(125deg,#251921,#17151a 66%);border:1px solid #b78b9c55;color:#f5edf2;min-width:0}
.kcs-showcase h3,.kcs-showcase p,.kcs-editor h3,.kcs-editor p{margin:0}
.kcs-head{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.kcs-head h3{font-size:clamp(17px,3vw,24px);letter-spacing:-.035em}
.kcs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.kcs-tile{display:grid;align-items:end;position:relative;min-width:0;overflow:hidden;aspect-ratio:3/4;border:1px solid var(--kcs-tier,#837381);border-radius:9px;background:radial-gradient(ellipse at 50% 35%,#63354b,#17151a 76%)}
.kcs-rare{--kcs-tier:#7cb9e8}.kcs-epic{--kcs-tier:#b696e8}.kcs-legendary{--kcs-tier:#e0bd80}
.kcs-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center 0}
.kcs-card-text{position:relative;z-index:1;display:grid;gap:4px;padding:22px 6px 8px;background:linear-gradient(transparent,#111015ed 68%);font-size:clamp(10px,2vw,14px);overflow-wrap:anywhere}
.kcs-card-text small{font-size:clamp(9px,1.6vw,11px);color:#e1cad7}
.kcs-button{border:1px solid #fff4;border-radius:9px;min-height:42px;padding:7px 11px;background:#302432;color:#fff5fa;font:700 12px Inter,system-ui,sans-serif;cursor:pointer}
.kcs-button:hover:not(:disabled){background:#473144}
.kcs-button:disabled{opacity:.55;cursor:default}
.kcs-button:focus-visible,.kcs-choice input:focus-visible{outline:2px solid #fff;outline-offset:3px}
.kcs-muted,.kcs-feedback{font-size:13px;color:#e0cbd8;line-height:1.4}
.kcs-feedback:not(:empty){margin-top:8px}
.kcs-editor{position:fixed;inset:0;width:min(580px,calc(100% - 24px));max-height:calc(100dvh - 28px);margin:auto;padding:16px;background:#1a151f;border:1px solid #ad788f;color:#faf0f6;border-radius:15px;overflow:auto;overscroll-behavior:contain}
.kcs-editor::backdrop{background:#07050bd4}
.kcs-edit-body{display:grid;gap:6px;margin-top:12px}
.kcs-fieldset{display:grid;gap:3px;border:1px solid #e5bbcc35;border-radius:8px;margin:0 0 6px;padding:7px 9px;min-width:0}
.kcs-fieldset legend{padding:0 4px;font-weight:800;color:#ffb9d1}
.kcs-choice{display:flex;align-items:center;min-height:43px;gap:9px;padding:4px;cursor:pointer}
.kcs-choice input{height:17px;width:17px;accent-color:#e1a3bf}
.kcs-choice:has(input:disabled){opacity:.57;cursor:default}
.kcs-editor .kcs-save{background:#fff1f8;color:#201521;margin-top:9px;width:100%}
.kcs-editor .kcs-save:hover:not(:disabled){background:#e8cfdf}
.kcs-showcase,.kcs-editor{font-family:Inter,Manrope,system-ui,sans-serif}

/* Optional collection backgrounds never replace a saved custom banner. */
.kcs-wallpaper[hidden]{display:none!important}
.kcs-wallpaper{margin:12px 0;padding:15px;border:1px solid #bb8ba454;border-radius:14px;background:#1c161e;color:#f7e7ef}
.kcs-wallpaper h3{font-size:18px;margin:0 0 7px}
.kcs-wallpaper label{display:block;font-size:12px;color:#e8d3e0;margin-bottom:5px}
.kcs-wallpaper-field{display:flex;gap:8px;flex-wrap:wrap}
.kcs-wallpaper-field select{min-height:44px;flex:1;min-width:145px;color:#f6e6ef;background:#211922;border:1px solid #f3beda55;border-radius:8px;padding:7px}
.profile-cover[data-kcs-wallpaper]>img{visibility:hidden}
.profile-cover[data-kcs-wallpaper]{background-color:#18141d!important}
.profile-cover[data-kcs-wallpaper=ghoul]{background-image:radial-gradient(circle at 72% 29%,#c45568 0 9%,#6e2b4870 9.3% 12%,transparent 14%),linear-gradient(170deg,#49152e,#160d1a 65%)}
.profile-cover[data-kcs-wallpaper=jujutsu]{background-image:repeating-linear-gradient(138deg,transparent 0 38px,#ad96d430 39px 40px,transparent 41px 82px),radial-gradient(ellipse at 66% 16%,#7955a0,#1d1429 65%)}
.profile-cover[data-kcs-wallpaper=frieren]{background-image:repeating-radial-gradient(ellipse at 65% 30%,#be996b50 0 1px,transparent 2px 27px),linear-gradient(145deg,#604728,#261d19 70%)}
.profile-cover[data-kcs-wallpaper=alchemist]{background-image:repeating-linear-gradient(90deg,transparent 0 29px,#77aabd43 30px 31px),repeating-linear-gradient(0deg,transparent 0 29px,#77aabd38 30px 31px),radial-gradient(circle at 72% 29%,#244e67,#102331 68%)}
.profile-cover[data-kcs-wallpaper=ghoul]{background-image:url("/assets/collection/deluxe-wallpapers/ghoul.svg")}
.profile-cover[data-kcs-wallpaper=jujutsu]{background-image:url("/assets/collection/deluxe-wallpapers/jujutsu.svg")}
.profile-cover[data-kcs-wallpaper=frieren]{background-image:url("/assets/collection/deluxe-wallpapers/frieren.svg")}
.profile-cover[data-kcs-wallpaper=alchemist]{background-image:url("/assets/collection/deluxe-wallpapers/alchemist.svg")}
.profile-cover[data-kcs-wallpaper]{background-position:center;background-size:cover}
.profile-cover[data-kcs-wallpaper=demon]{background-image:url("/assets/collection/deluxe-wallpapers/demon.svg")}
.profile-cover[data-kcs-wallpaper=aot]{background-image:url("/assets/collection/deluxe-wallpapers/aot.svg")}
.profile-cover[data-kcs-wallpaper=naruto]{background-image:url("/assets/collection/deluxe-wallpapers/naruto.svg")}
.profile-cover[data-kcs-wallpaper=bleach]{background-image:url("/assets/collection/deluxe-wallpapers/bleach.svg")}
.profile-cover[data-kcs-wallpaper=onepiece]{background-image:url("/assets/collection/deluxe-wallpapers/onepiece.svg")}
.profile-cover[data-kcs-wallpaper=chainsaw]{background-image:url("/assets/collection/deluxe-wallpapers/chainsaw.svg")}
.profile-cover[data-kcs-wallpaper=hunter]{background-image:url("/assets/collection/deluxe-wallpapers/hunter.svg")}

.profile-cover[data-kcs-wallpaper=deathnote]{background-image:url("/assets/collection/deluxe-wallpapers/deathnote.webp")}
.profile-cover[data-kcs-wallpaper=heroacademia]{background-image:url("/assets/collection/deluxe-wallpapers/heroacademia.webp")}
.profile-cover[data-kcs-wallpaper=sololeveling]{background-image:url("/assets/collection/deluxe-wallpapers/sololeveling.webp")}

/* Put identity and controls on graphite beneath the selected artwork. */
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card {
  --profile-gutter: clamp(12px, 2vw, 24px);
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, max-content) !important;
  grid-template-areas: "cover cover cover" "avatar identity tools" ". details details";
  justify-content: stretch !important;
  align-items: start !important;
  justify-items: stretch !important;
  gap: 12px clamp(12px, 2vw, 24px) !important;
  min-height: 0 !important;
  padding: 0 var(--profile-gutter) 16px !important;
  background: var(--studio-panel) !important;
  border: 0 !important;
  border-radius: 14px !important;
  overflow: visible !important;
  box-shadow: none !important;
  text-align: start !important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card::before,
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card::after {
  content: none !important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card .profile-cover {
  grid-area: cover;
  position: relative !important;
  inset: auto !important;
  z-index: 0;
  height: clamp(130px, 16vw, 220px) !important;
  width: calc(100% + 2 * var(--profile-gutter)) !important;
  max-width: none !important;
  justify-self: stretch;
  margin-inline: calc(-1 * var(--profile-gutter));
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-cover :is(img, video) {
  filter: none !important;
  opacity: 1;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-cover:not([class*="komi-store-"])::before { content: none; }
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card .profile-avatar-frame {
  grid-area: avatar;
  align-self: start !important;
  justify-self: start;
  margin: -38px 0 0 !important;
  position: relative;
  inset: auto !important;
  transform: none;
  z-index: 2;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card .profile-avatar-inner {
  width: 100%;
  height: 100%;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-info-grid {
  grid-area: 2 / 2 / 3 / 3 !important;
  justify-self: stretch;
  width: auto !important;
  align-items: start !important;
  justify-content: start !important;
  max-width: none !important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-name-row {
  justify-content: start !important;
  flex-wrap: wrap;
  gap: 5px 9px !important;
  text-shadow: none;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-name-row h2 {
  font-size: clamp(1.375rem, 2.55vw, 2.35rem) !important;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: start !important;
  max-width: 100%;
  text-shadow: none;
}
body.komi-media-hub #mainContainer:has(> #profile.komi-profile-premium-mono) { padding-block-start: 16px !important; }
#profile.komi-profile-studio.komi-profile-premium-mono .profile-name-row :is(.profile-title-badge, .komi-premium-badge) {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-name-row .komi-premium-badge { font-size: .65rem !important; }
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools {
  grid-area: tools;
  max-width: 26rem;
  justify-content: end !important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools .profile-glass {
  min-height: 44px;
  padding: 6px 11px !important;
  font-size: .85rem !important;
  line-height: 1.25;
  white-space: normal;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-identity-details {
  grid-area: details;
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-identity-details :is(.profile-bio, .profile-badges-row) {
  text-align: start !important;
  justify-content: start !important;
  text-shadow: none;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-identity-details .profile-hero-actions:empty { display: none; }
#profile.komi-profile-studio.komi-profile-premium-mono .profile-identity-details .komi-profile-music { margin: 0 !important; }
#profile.komi-profile-studio.komi-profile-premium-mono > .profile-navigation-shell {
  width: 100%;
  margin: 14px 0 0;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--studio-line);
  border-radius: 0;
  background: transparent;
}
#profile.komi-profile-studio.komi-profile-premium-mono > .profile-navigation-shell .profile-premium-tabs {
  width: 100% !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: start !important;
  overflow: visible !important;
}
#profile.komi-profile-studio.komi-profile-premium-mono > .profile-navigation-shell .komi-profile-tab {
  width: auto;
  padding-inline: 10px !important;
  font-size: .875rem;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-navigation-title { display: none; }
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary {
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(0, 1fr));
  margin-block: 8px 0;
  padding: 3px;
  border: 0;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-summary-item {
  min-height: 58px;
  overflow-wrap: anywhere;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-section-layout {
  display: block;
  margin-top: 16px;
}
#profile.komi-profile-studio .profile-showcases {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 12px;
}
#profile.komi-profile-studio .profile-showcases:has([data-komi-shop-showcase]:not([hidden])) .profile-favorites-widget:not(:has(.profile-favorites a:nth-child(4))) {
  display: none;
}
#profile.komi-profile-studio.komi-profile-premium-mono :is(.profile-favorites-widget, .profile-overview-bento .profile-widget, .profile-showcases .kcs-showcase, [data-kpe-medals]) {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--studio-line) !important;
  border-radius: 0 !important;
  padding-inline: 0 !important;
  box-shadow: none !important;
}
#profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-bento {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) !important;
}
@media (max-width: 860px) {
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-header-card {
    grid-template-columns: 80px minmax(0, 1fr) !important;
    grid-template-areas: "cover cover" "avatar identity" "tools tools" "details details";
  }
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-hero-tools {
    justify-content: start !important;
    max-width: none;
  }
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #profile.komi-profile-studio.komi-profile-premium-mono .profile-overview-bento {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
