:root {
  --ink: #19203e;
  --ivory: #fff9f5;
  --gold: #efca93;
  font: 16px/1.6 "PingFang TC","Microsoft JhengHei","Noto Sans CJK TC",system-ui,sans-serif;
  color: var(--ink);
  background: var(--ivory);
}
* { box-sizing: border-box; }
body,h1,h2,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
button { cursor: pointer; }
a:focus-visible,button:focus-visible,input:focus-visible { outline: 2px solid #ab6427; outline-offset: 4px; }
.wrap { width: min(calc(100% - 80px),1240px); margin-inline: auto; }
.header { background: var(--ink); color: var(--ivory); }
.header-inner,.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-weight: 800; font-size: 14px; letter-spacing: .06em; line-height: 1.15; }
.wordmark small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .24em; color: var(--gold); }
.mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #efca9370; color: var(--gold); font-size: 22px; }
nav { display: flex; align-items: center; gap: clamp(12px,3vw,33px); font-size: 14px; font-weight: 700; white-space: nowrap; }
.login:hover,.discover-link:hover,.footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; border-radius: 30px; padding: 9px 19px; font-size: 14px; font-weight: 800; width: fit-content; transition: transform .15s ease, background-color .15s ease; }
.pill:active { transform: scale(.97); }
.light { color: var(--ink); background: var(--gold); }
.light:hover { background: #f7ddba; }
.dark { color: var(--ivory); background: var(--ink); }
.dark:hover { background: #343d69; }
.hero { min-height: clamp(520px,68vw,690px); position: relative; isolation: isolate; background: radial-gradient(ellipse at 88% 20%,#aa7aab66,transparent 45%), radial-gradient(ellipse at 72% 90%,#c794b847,transparent 46%), linear-gradient(125deg,#19203e,#302b50 60%,#665077); color: #fff9f1; display: grid; align-items: center; }
.hero-art,.hero-art img,.hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 57% 44%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg,#10172df2 0%,#121a30ba 34%,#10152818 74%), linear-gradient(0deg,#12172f8a,transparent 28%); }
.hero-inner { padding-block: 75px 95px; }
.hero h1 { font-size: clamp(46px,6.6vw,95px); font-weight: 820; line-height: 1.12; letter-spacing: -.06em; }
.hero h1 span { color: var(--gold); }
.hero p { max-width: 340px; margin-block: 19px 23px; color: #fff5ec; }
.hero-credit { display: flex; align-items: center; justify-content: end; gap: 8px; position: absolute; inset: auto 0 22px; font-size: 13px; font-weight: 630; color: #fff5ec; }
.credit-mark { height: 7px; width: 7px; border-radius: 50%; background: var(--gold); }
.directory { padding-block: 58px 65px; scroll-margin-top: 14px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 19px; margin-bottom: 24px; }
.overline { color: #874821; font-size: 12px; letter-spacing: .17em; font-weight: 800; margin-bottom: 5px; }
h2 { font-size: clamp(29px,4.4vw,52px); line-height: 1.1; letter-spacing: -.045em; }
.search { display: flex; align-items: center; padding: 0 13px; gap: 9px; width: min(100%,340px); border: 1px solid #d6c8c3; background: white; border-radius: 29px; }
.search:focus-within { outline: 2px solid #ab6427; outline-offset: 2px; }
.search svg { width: 19px; height: 19px; flex-shrink: 0; }
.search input { min-width: 0; width: 100%; min-height: 47px; padding: 8px 0; border: 0; background: none; color: var(--ink); outline: none; }
.search input:focus-visible { outline: none; }
.creator-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.creator { display: block; text-align: left; padding: 0; border: 0; border-radius: 11px; background: transparent; color: var(--ink); overflow: hidden; }
.creator img { display: block; width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; object-position: center 31%; border-radius: 11px; }
.creator:hover .creator-name { text-decoration: underline; text-underline-offset: 4px; }
.creator-name { display: block; font-size: clamp(17px,2.5vw,23px); font-weight: 800; margin-top: 9px; }
.creator-tag { display: block; font-size: 14px; color: #645c66; }
.empty { padding: 32px 0; color: #645c66; }
.join { background: #edeaf5; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 42px; }
.join p { margin-top: 13px; max-width: 510px; }
.join .pill { flex-shrink: 0; }
.footer { background: var(--ink); color: var(--ivory); }
.footer-inner { justify-content: start; flex-wrap: wrap; padding-block: 19px; font-size: 14px; }
.footer strong { margin-right: auto; letter-spacing: .06em; }
dialog { border: 0; width: min(470px,calc(100% - 30px)); max-height: 90dvh; padding: 0; border-radius: 17px; background: var(--ivory); color: var(--ink); }
dialog::backdrop { background: #131728aa; }
.close { position: absolute; top: 11px; right: 11px; width: 41px; height: 41px; border-radius: 50%; background: var(--ivory); color: var(--ink); border: 0; font-size: 25px; line-height: 1; }
.preview-image { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; object-position: center 31%; }
.preview-body { padding: 19px; }
.preview-body h2 { font-size: 30px; }
.preview-body p { margin-block: 10px 15px; }
@media(max-width:620px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 8px; }
  .wordmark { font-size: 11px; gap: 7px; }
  .mark { width: 29px; height: 29px; font-size: 16px; }
  .wordmark small { font-size: 8px; }
  nav { gap: 10px; font-size: 14px; }
  .discover-link { display: none; }
  .header .pill { min-height: 40px; padding-inline: 11px; font-size: 13px; }
  .hero { min-height: min(670px,calc(100svh - 65px)); align-items: end; }
  .hero-art img { object-position: 57% 32%; }
  .hero::after { background: linear-gradient(0deg,#0f152bea 4%,#0f152bc7 31%,#10152819 70%); }
  .hero-inner { padding-block: 210px 68px; }
  .hero h1 { font-size: clamp(40px,11vw,58px); }
  .hero p { margin-block: 12px 16px; }
  .hero-credit { justify-content: start; bottom: 17px; font-size: 11px; }
  .directory { padding-block: 35px 42px; }
  .section-head { align-items: start; flex-direction: column; gap: 13px; }
  .creator-list { grid-template-columns: 1fr 1fr; gap: 19px 11px; }
  .join-inner { align-items: start; flex-direction: column; gap: 16px; padding-block: 33px; }
  .footer-inner { gap: 11px 19px; }
}
@media(prefers-reduced-motion:reduce) { .pill { transition: none; } }

.outline { border: 1px solid #9f96b1; color: var(--ink); }
.outline:hover { background: #fff9f5; }
.guest-feature { background: #eeebf6; padding-block: 54px; }
.feature-inner { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); align-items: center; gap: clamp(26px,6.5vw,92px); }
.feature-inner > img { display: block; width: 100%; height: auto; aspect-ratio: 1.1; object-fit: cover; object-position: center 31%; border-radius: 16px; }
.feature-rows { margin-block: 14px 20px; }
.feature-rows > div { padding-block: 10px; border-bottom: 1px solid #cfc9da; }
.feature-rows h3 { font-size: 17px; margin: 0 0 2px; }
.feature-rows p { color: #514b65; }
.feature-links,.info-links { display: flex; gap: 9px; flex-wrap: wrap; }
.discover-more { padding-block: 50px 56px; }
.discover-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.discover-grid a { display: block; min-height: 92px; padding: 17px; border: 1px solid #e2d7d2; border-radius: 12px; }
.discover-grid a:hover { background: #f4edef; }
.discover-grid strong,.discover-grid span { display: block; }
.discover-grid span { margin-top: 3px; font-size: 14px; color: #5d5768; }
.discover-grid strong { font-size: 17px; }
.join { background: #f5e9da; }
.footer-grid { display: grid; grid-template-columns: minmax(160px,.65fr) minmax(150px,.6fr) minmax(0,1fr); align-items: start; gap: 30px; padding-block: 36px 45px; }
.footer-shortcuts { display: flex; flex-wrap: wrap; gap: 6px 15px; margin-top: 15px; }
.footer-shortcuts a,.footer-group a { font-size: 14px; color: #e8e2ee; }
.footer-group { display: block; white-space: normal; }
.footer-group h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0; color: #fff9f5; }
.footer-group ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px 18px; }
.footer-group a,.footer-shortcuts a { display: inline-block; padding-block: 4px; }
.info-page { max-width: 840px; padding-block: 42px 65px; min-height: 58vh; }
.info-home { display: inline-flex; margin-bottom: 18px; color: #5d5768; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.info-head { padding-bottom: 24px; border-bottom: 1px solid #e2d7d2; }
.info-head h1 { font-size: clamp(38px,6vw,64px); line-height: 1.15; letter-spacing: -.05em; }
.info-head p { margin-top: 11px; color: #504b62; font-size: 17px; }
.info-badge { display: inline-flex; margin-top: 10px; padding: 3px 9px; border-radius: 7px; background: #efe8dd; font-size: 13px; color: #63391e; }
.info-section { padding-block: 16px; border-bottom: 1px solid #e2d7d2; }
.info-section h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: 0; }
.info-links { margin-top: 20px; }
@media(max-width:720px) {
  .feature-inner { gap: 22px; }
  .guest-feature,.discover-more { padding-block: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 15px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-group ul { gap: 5px 13px; }
}
@media(max-width:530px) {
  .feature-inner,.discover-grid { grid-template-columns: 1fr; }
  .feature-inner > img { aspect-ratio: 1.55; }
  .discover-grid { gap: 7px; }
  .discover-grid a { min-height: 0; padding: 11px 13px; }
  .info-page { padding-top: 26px; padding-bottom: 37px; }
}

.logo-lockup { position: relative; display: block; width: 145px; height: 90px; overflow: hidden; flex-shrink: 0; }
.logo-lockup img { position: absolute; display: block; width: 165px; height: 165px; max-width: none; left: -10px; top: -37px; }
.header-inner { min-height: 90px; }
@media(max-width:620px) {
  .header .logo-lockup { width: 104px; height: 65px; }
  .header .logo-lockup img { width: 120px; height: 120px; left: -8px; top: -27px; }
  .header-inner { min-height: 65px; }
}

.logo-lockup img { width: 145px; height: 145px; left: 0; top: -30px; }
@media(max-width:620px) {
  .header .logo-lockup img { width: 104px; height: 104px; left: 0; top: -22px; }
}

/* Admin-managed homepage: an empty image slot never falls back to a demo portrait. */
.feature-inner.no-image{grid-template-columns:minmax(0,1fr);max-width:960px}.feature-copy{min-width:0}.hero h1,.feature-copy h2{overflow-wrap:anywhere}.hero h1 .i18n-english{font-size:.48em;letter-spacing:-.025em;color:#f4d7e8;margin-top:.45em}.feature-copy h2 .i18n-english{font-size:.52em;letter-spacing:0}.hero-credit{white-space:normal;max-width:100%}.hero-credit .i18n-english{font-size:.9em}
@media(max-width:600px){.feature-inner.has-image{grid-template-columns:minmax(0,1fr)}.hero h1{font-size:clamp(38px,10vw,58px)}.hero-inner{padding-block:65px 80px}.hero p{max-width:100%}.hero-credit{font-size:11px}.feature-inner.no-image{gap:0}}
