@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:ROND,wght@60,500..700&family=Noto+Sans+TC:wght@500..700&display=swap');

body:not(.creator-open) { background: #0c0f11; color: #f1f3f3; font: 500 16px/1.6 'Google Sans Flex', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; font-optical-sizing: auto; color-scheme: dark; overflow-x: visible; }
body:not(.creator-open) * { letter-spacing: 0; }
body:not(.creator-open) ::selection { background: #83ccec; color: #0c0f11; }
body:not(.creator-open) { scrollbar-color: #69737a #0c0f11; }
body:not(.creator-open) :is(.creator-only, .bg-gradient, #modalBack), body.creator-open .home-only { display: none; }
body:not(.creator-open) .main-content { width: min(100%, 1160px); padding: 48px 40px 32px; }
#accountSky { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.home-only, #homeView { position: relative; }
#accountSky.home-only { position: fixed; }
.shop-header { width: min(100%, 1160px); min-height: 96px; margin-inline: auto; padding-inline: 40px; display: flex; align-items: center; gap: 32px; }
.shop-header::after { content: ''; position: absolute; height: 1px; background: #303639; left: 40px; right: 40px; bottom: 0; }
.shop-header a { color: inherit; text-decoration: none; }
.shop-wordmark { font-size: 28px; font-weight: 650; line-height: 1; }
.shop-header-links { display: flex; gap: 28px; margin-left: auto; color: #acb5ba; font-size: 14px; }
.shop-header-links a, #loginLink { display: inline-flex; align-items: center; min-height: 44px; }
.shop-header-links a:hover { color: #f1f3f3; text-decoration: underline; text-underline-offset: 5px; }
.shop-account { display: flex; align-items: center; min-width: 0; }
#loginLink { font-size: 14px; gap: 12px; }
#loginLink[hidden], .shop-icon-btn[hidden] { display: none; }
.shop-header img, #homeView button img, #homeView a .card-arrow { filter: brightness(0) invert(.85); }
.shop-skip { position: fixed; left: 16px; top: 12px; z-index: 2100; background: #e1edf2; color: #182024; padding: 12px 20px; transform: translateY(-180%); }
.shop-skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body:not(.creator-open) #homeView { animation: none; }
.shop-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: center; gap: 48px; padding-bottom: 40px; }
#shopTitle { width: fit-content; max-width: 100%; font-size: 40px; line-height: 1.3; font-weight: 650; margin: 0; }
.shop-intro p { color: #acb5ba; font-size: 15px; margin: 16px 0 0; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  #shopTitle { color: transparent; background: linear-gradient(110deg, #dce6e9 42%, #fff 49%, #dce6e9 56%); background-size: 260% 100%; background-position: 100% 0; background-clip: text; -webkit-background-clip: text; animation: shop-light 18s ease-in-out infinite paused; }
  .auth-workspace[data-motion-visible='true'] #shopTitle { animation-play-state: running; }
  [data-sky-visibility='hidden'] #shopTitle { animation-play-state: paused; }
}
@keyframes shop-light { 0%, 15% { background-position: 100% 0; } 45%, 100% { background-position: 0 0; } }
.shop-search { display: flex; align-items: center; min-width: 0; min-height: 52px; border: 1px solid #495258; border-radius: 6px; padding: 4px; background: #101416; transition: border-color 180ms ease-out, box-shadow 260ms ease-out; }
.shop-search:focus-within { border-color: #aeb9be; box-shadow: 0 0 18px rgb(226 235 239 / 10%), 0 0 38px rgb(226 235 239 / 5%); }
.shop-search input { width: 100%; min-width: 0; flex: 1; border: 0; border-radius: 0; background: transparent; color: #f1f3f3; font: inherit; font-size: 14px; padding: 10px 12px; caret-color: #e2ebef; }
.shop-search input::-webkit-search-cancel-button { display: none; }
.shop-search input::placeholder { color: #acb5ba; opacity: 1; }
html body .shop-search input:focus { box-shadow: none; }
html body .shop-search input:focus-visible { outline: none; box-shadow: none; }
.shop-icon-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; color: #f1f3f3; background: transparent; cursor: pointer; }
.shop-icon-btn:hover { background: rgb(255 255 255 / 6%); }
.search-submit { background: #232a2e; }
.shop-directory { border-top: 1px solid #303639; padding-top: 28px; }
.directory-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.directory-heading h2 { font-size: 20px; font-weight: 600; margin: 0; }
#resultSummary { font-size: 13px; color: #acb5ba; margin: 0; }
#creatorGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; min-height: 240px; align-items: start; }
#creatorGrid .creator-card { display: block; border: 0; border-radius: 0; color: inherit; background: transparent; text-decoration: none; transform: none; box-shadow: none; }
#creatorGrid .c-banner { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; background: #1a2023; object-fit: cover; display: block; }
#creatorGrid .c-banner.cover-missing { display: grid; place-items: center; }
#creatorGrid .cover-missing img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
#creatorGrid .c-body { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 12px; padding: 18px 0 24px; border-bottom: 1px solid #303639; align-items: start; }
#creatorGrid .c-avatar { position: static; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #1a2023; object-fit: cover; }
#creatorGrid .c-name { font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0; color: #f1f3f3; overflow-wrap: anywhere; }
#creatorGrid .c-slug { color: #acb5ba; font-size: 12px; margin: 4px 0 0; overflow-wrap: anywhere; }
#creatorGrid .c-bio { color: #acb5ba; font-size: 14px; line-height: 1.7; margin: 14px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-arrow { margin-top: 7px; transition: transform 220ms ease-out; }
#creatorGrid .creator-card:hover .c-name { color: #c9e3ef; }
#creatorGrid .creator-card:focus-visible .card-arrow, #creatorGrid .creator-card:active .card-arrow { transform: translateX(3px); }
#creatorGrid .loading-state, #creatorGrid .list-state { grid-column: 1 / -1; color: #acb5ba; padding: 64px 0; text-align: left; }
#creatorGrid .list-state p { margin: 0 0 16px; line-height: 1.8; }
#creatorGrid .list-state h3 { margin: 0 0 12px; font-size: 20px; color: #f1f3f3; }
#creatorGrid .list-state button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; width: auto; padding: 9px 16px; border: 1px solid #495258; border-radius: 4px; color: #f1f3f3; background: #1a2023; font: inherit; font-size: 14px; cursor: pointer; }
.shop-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid #303639; color: #acb5ba; font-size: 12px; margin-top: 48px; padding-top: 20px; }
.shop-footer nav { display: flex; gap: 24px; }
.shop-footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; text-underline-offset: 5px; }
.shop-footer a:hover { color: #f1f3f3; text-decoration: underline; }
@media (hover: hover) and (pointer: fine) { #creatorGrid .creator-card:hover .card-arrow, #loginLink:hover img { transform: translateX(3px); } }
#loginLink img { transition: transform 220ms ease-out; }
@media (max-width: 840px) {
  .shop-header-links { gap: 20px; font-size: 13px; }
  .shop-intro { grid-template-columns: 1fr; gap: 28px; }
  #creatorGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 600px) {
  body:not(.creator-open) .main-content { padding: 32px 24px 24px; }
  .shop-header { min-height: 88px; padding-inline: 24px; gap: 16px; justify-content: space-between; }
  .shop-header::after { left: 24px; right: 24px; }
  .shop-wordmark { font-size: 26px; }
  .shop-header-links { display: none; }
  #shopTitle { font-size: 32px; }
  .shop-intro { padding-bottom: 32px; gap: 24px; }
  #creatorGrid { grid-template-columns: 1fr; gap: 28px; }
  #creatorGrid .c-banner { aspect-ratio: 16 / 9; }
  .shop-footer { margin-top: 32px; }
}
@media (max-width: 360px) {
  body:not(.creator-open) .main-content { padding-inline: 20px; }
  .shop-header { padding-inline: 20px; }
  .shop-header::after { left: 20px; right: 20px; }
}
@media (forced-colors: active) {
  #shopTitle { color: CanvasText; background: none; animation: none; }
  .shop-search { border-color: CanvasText; }
  html body .shop-search input:focus-visible { outline: 2px solid Highlight; outline-offset: -2px; }
}
