/* 日韩动漫 / Anime Atlas — responsive editorial design */
:root {
  --ink:#20243a;
  --muted:#687087;
  --purple:#6b5be7;
  --paper:#faf9f7;
  --line:#e7e7ee;
  --shell:1180px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  color:var(--ink);
  font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  background:#fff;
  line-height:1.65
}

img {
  display:block;
  max-width:100%;
  height:auto
}

a {
  color:inherit;
  text-decoration:none
}

a:hover {
  color:var(--purple)
}

.shell {
  width:min(var(--shell),calc(100% - 48px));
  margin:auto
}

.skip {
  position:absolute;
  left:-999px;
  top:8px;
  z-index:99;
  background:#fff;
  padding:8px
}

.skip:focus {
  left:12px
}

.site-header {
  background:#fff;
  border-bottom:1px solid #eeecf2;
  position:relative;
  z-index:2
}

.header-inner {
  min-height:84px;
  display:flex;
  align-items:center;
  gap:32px;
  justify-content:space-between
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  line-height:1.1;
  font-size:21px;
  font-weight:900;
  letter-spacing:-.04em;
  white-space:nowrap
}

.brand-symbol {
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  border-radius:13px;
  background:var(--ink);
  color:#b0abff;
  font-size:26px
}

.brand-accent {
  color:var(--purple)
}

.brand small {
  display:block;
  margin-top:5px;
  font-size:9px;
  color:#9393aa;
  letter-spacing:.22em
}

.main-nav {
  display:flex;
  align-items:center;
  gap:25px
}

.main-nav a {
  font-size:13px;
  color:#4c5265;
  font-weight:650
}

.main-nav a:hover {
  color:var(--purple)
}

.header-action {
  font-size:12px;
  font-weight:800;
  border:1px solid var(--line);
  padding:10px 15px;
  border-radius:9px;
  white-space:nowrap
}

.hero {
  overflow:hidden;
  background:radial-gradient(circle at 90% 15%,#d8d9ff 0,transparent 37%),linear-gradient(123deg,#f8f6ff,#f6f6ff 50%,#e8eefb);
  padding:76px 0 65px
}

.hero-grid {
  display:grid;
  grid-template-columns:1.04fr .96fr;
  min-height:525px;
  align-items:center;
  gap:50px
}

.pill {
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size:10px;
  letter-spacing:.17em;
  font-weight:800;
  color:#4f4f91;
  border:1px solid #d8d5f3;
  background:#ffffffa8;
  padding:9px 14px;
  border-radius:40px
}

.dot {
  width:7px;
  height:7px;
  background:#8679e9;
  border-radius:50%
}

.issue {
  color:#888ba7;
  font-size:12px;
  letter-spacing:.15em;
  margin:30px 0 13px
}

.hero h1 {
  font-size:clamp(36px,4.2vw,58px);
  line-height:1.26;
  letter-spacing:-.065em;
  margin:0;
  font-weight:900
}

.hero h1 em {
  font-style:normal;
  color:#6655dd
}

.hero h1 span {
  display:inline-block;
  color:#3c466e
}

.hero-desc {
  max-width:530px;
  font-size:15px;
  color:#646b83;
  line-height:2;
  margin:24px 0 26px
}

.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.btn {
  display:inline-flex;
  gap:22px;
  align-items:center;
  border-radius:10px;
  padding:12px 21px;
  font-size:13px;
  font-weight:800
}

.btn-primary {
  background:#252841;
  color:#fff;
  box-shadow:0 10px 24px #20243a1c
}

.btn-primary:hover {
  color:#fff;
  background:#5852b8
}

.btn-outline {
  border:1px solid #bfc1d3;
  color:#3f435c
}

.btn-outline:hover {
  background:#fff
}

.hero-metrics {
  display:flex;
  gap:36px;
  margin-top:56px
}

.hero-metrics div {
  display:flex;
  flex-direction:column
}

.hero-metrics strong {
  font-size:22px;
  line-height:1.2
}

.hero-metrics span {
  font-size:11px;
  color:#8a8ea4;
  margin-top:6px
}

.hero-art {
  min-height:520px;
  position:relative
}

.image-frame {
  position:absolute;
  overflow:hidden;
  box-shadow:0 26px 45px #34376920;
  background:#dedbff
}

.image-frame img {
  width:100%;
  height:100%;
  object-fit:cover
}

.main-frame {
  width:71%;
  height:77%;
  top:10%;
  left:13%;
  border-radius:48% 48% 18px 18px;
  transform:rotate(6deg)
}

.small-frame {
  width:44%;
  height:43%;
  right:0;
  bottom:0;
  border:9px solid #fff;
  border-radius:25px;
  transform:rotate(-8deg)
}

.floating-label {
  position:absolute;
  top:9%;
  left:0;
  display:flex;
  flex-direction:column;
  background:#fff;
  padding:16px 22px;
  transform:rotate(-7deg);
  border-radius:6px;
  font-size:10px;
  letter-spacing:.15em;
  color:#9b9ab1;
  box-shadow:0 10px 30px #0001
}

.floating-label b {
  font-size:17px;
  color:#343253;
  letter-spacing:0
}

.orbit {
  position:absolute;
  width:26px;
  height:26px;
  border-radius:50%;
  border:7px solid #b6b0ff;
  right:13%;
  top:0
}

.orbit-two {
  width:13px;
  height:13px;
  border:0;
  background:#efaece;
  left:8%;
  bottom:14%
}

.intro-strip {
  border-bottom:1px solid var(--line)
}

.intro-grid {
  display:grid;
  grid-template-columns:190px 1fr auto;
  gap:25px;
  align-items:center;
  padding:23px 0
}

.intro-prefix,.kicker {
  color:#7d70dc;
  font-size:10px;
  font-weight:900;
  letter-spacing:.2em
}

.intro-grid p {
  margin:0;
  font-size:13px;
  color:#747a8c
}

.intro-grid p strong {
  color:#34384e
}

.intro-grid>a {
  font-size:12px;
  font-weight:800
}

.section {
  padding-top:85px;
  padding-bottom:85px
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:25px;
  margin-bottom:30px
}

.section-heading h2 {
  font-size:clamp(25px,3vw,38px);
  letter-spacing:-.04em;
  margin:8px 0 6px;
  line-height:1.3
}

.section-heading h2 span {
  color:#888da6;
  font-weight:500
}

.section-heading p {
  font-size:13px;
  color:#858a9b;
  margin:0
}

.heading-link {
  font-size:12px;
  font-weight:800;
  white-space:nowrap
}

.feature-layout {
  display:grid;
  grid-template-columns:1.27fr 1fr;
  gap:24px
}

.story-card {
  min-width:0
}

.story-media {
  display:block;
  overflow:hidden;
  border-radius:16px;
  position:relative;
  background:#eff0fa;
  aspect-ratio:1.38
}

.story-media img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s
}

.story-media:hover img {
  transform:scale(1.055)
}

.story-arrow {
  position:absolute;
  right:14px;
  top:14px;
  background:#fff;
  border-radius:50%;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  font-weight:800
}

.story-info {
  padding-top:17px
}

.eyebrow {
  font-size:10px;
  color:#8d80da;
  letter-spacing:.05em;
  font-weight:800
}

.story-info h3 {
  font-size:17px;
  margin:6px 0 7px;
  line-height:1.45
}

.story-info p {
  font-size:12px;
  color:#85899a;
  margin:0;
  line-height:1.8
}

.text-link {
  display:inline-block;
  margin-top:11px;
  font-weight:800;
  color:#5146b9;
  font-size:11px
}

.feature-card .story-media {
  aspect-ratio:1.25
}

.feature-card .story-info h3 {
  font-size:24px
}

.feature-side {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}

.feature-side .story-media {
  aspect-ratio:.85
}

.feature-side .story-info h3 {
  font-size:15px
}

.feature-side .story-info p {
  font-size:11px
}

.section-soft {
  background:#f7f6fc
}

.category-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px
}

.category-card {
  position:relative;
  min-height:234px;
  padding:26px 23px;
  border-radius:17px;
  background:#e6e2ff;
  overflow:hidden;
  transition:transform .25s
}

.category-card:hover {
  transform:translateY(-4px)
}

.category-japan {
  background:#e5e1ff
}

.category-korea {
  background:#e1f2f1
}

.category-fantasy {
  background:#fcebdc
}

.category-daily {
  background:#f8e6ed
}

.category-icon {
  font-size:29px;
  color:#584cc6
}

.category-korea .category-icon {
  color:#2c898b
}

.category-fantasy .category-icon {
  color:#b6753d
}

.category-daily .category-icon {
  color:#c4789a
}

.category-number {
  display:block;
  font-size:9px;
  letter-spacing:.16em;
  margin-top:14px;
  color:#7e8096
}

.category-card h3 {
  font-size:22px;
  margin:12px 0 5px
}

.category-card p {
  font-size:12px;
  color:#656b7a;
  line-height:1.6;
  max-width:205px;
  margin:0
}

.category-go {
  display:block;
  margin-top:18px;
  font-weight:800;
  font-size:11px
}

.story-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:35px 24px
}

.guide-section {
  background:#1d2340;
  color:#fff
}

.guide-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px
}

.guide-grid h2 {
  font-size:clamp(28px,4vw,47px);
  line-height:1.35;
  margin:12px 0
}

.guide-grid h2 em {
  font-style:normal;
  color:#c3bcff
}

.guide-grid>div>p {
  font-size:13px;
  line-height:2;
  color:#b9c0db;
  max-width:450px
}

.btn-outline.light {
  color:#fff;
  border-color:#777f9f;
  margin-top:15px
}

.guide-steps article {
  display:flex;
  gap:22px;
  border-bottom:1px solid #414962;
  padding:18px 0
}

.guide-steps article>span {
  font-weight:800;
  color:#b4aafc;
  font-size:24px
}

.guide-steps h3 {
  font-size:17px;
  margin:0
}

.guide-steps p {
  font-size:12px;
  color:#aab2cb;
  margin:5px 0 0
}

.faq-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px 22px
}

.faq details {
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 20px
}

.faq summary {
  cursor:pointer;
  font-size:14px;
  font-weight:800
}

.faq details p {
  font-size:13px;
  color:#6f7586;
  line-height:1.9
}

.site-footer {
  background:#f5f5fa;
  border-top:1px solid var(--line)
}

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:60px;
  padding:54px 0 42px
}

.footer-brand {
  font-size:19px
}

.footer-grid p {
  font-size:12px;
  line-height:2;
  color:#888b9e;
  max-width:355px
}

.footer-grid>div:not(:first-child) {
  display:flex;
  flex-direction:column;
  gap:9px
}

.footer-grid strong {
  font-size:13px;
  margin-bottom:5px
}

.footer-grid a:not(.brand),.footer-grid span:not(.brand-symbol):not(.brand-accent) {
  font-size:12px;
  color:#777b90
}

.footer-bottom {
  display:flex;
  justify-content:space-between;
  border-top:1px solid #e2e2eb;
  padding:20px 0;
  font-size:11px;
  color:#9195a5
}

.page-hero {
  background:linear-gradient(125deg,#f2f0ff,#f5f9fe);
  padding:55px 0 65px
}

.breadcrumb {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:30px;
  color:#7b8193;
  font-size:12px
}

.page-hero h1 {
  font-size:clamp(34px,5vw,62px);
  margin:12px 0;
  line-height:1.3
}

.title-dot {
  color:#7666ea
}

.page-hero p {
  max-width:700px;
  font-size:15px;
  line-height:1.9;
  color:#697187
}

.related-panel {
  background:#f7f6fc;
  border-radius:15px;
  padding:26px;
  margin-top:60px
}

.related-panel h2 {
  font-size:20px;
  margin:0 0 15px
}

.chip-list {
  display:flex;
  flex-wrap:wrap;
  gap:10px
}

.chip-list a {
  padding:9px 16px;
  background:#fff;
  border-radius:30px;
  font-size:13px
}

.article-top {
  background:#f7f6fc;
  padding:43px 0 55px
}

.article-shell {
  max-width:900px
}

.article-top h1 {
  font-size:clamp(30px,4vw,51px);
  line-height:1.3;
  margin:16px 0
}

.article-deck {
  font-size:17px;
  color:#697187;
  max-width:740px
}

.article-meta {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  color:#9498aa;
  font-size:12px
}

.article-layout {
  display:grid;
  grid-template-columns:minmax(0,780px) 250px;
  gap:55px;
  padding-top:55px;
  padding-bottom:45px;
  align-items:start
}

.article-body {
  min-width:0;
  font-size:15px;
  line-height:2.12;
  color:#4a5162
}

.article-body p {
  margin:17px 0
}

.article-body .lead {
  color:#343d53;
  font-size:17px
}

.article-body h2 {
  font-size:23px;
  color:#252943;
  line-height:1.5;
  margin:40px 0 12px;
  padding-left:15px;
  border-left:4px solid #8b80e8
}

.article-figure {
  margin:0 0 28px
}

.article-figure img {
  width:100%;
  max-height:610px;
  object-fit:cover;
  border-radius:18px;
  aspect-ratio:1.55
}

.article-figure figcaption {
  text-align:center;
  font-size:11px;
  color:#9ca0b0;
  margin-top:10px
}

.aside-panel {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:13px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:25px;
  margin-bottom:20px
}

.aside-panel h2 {
  font-size:18px;
  margin:0
}

.aside-panel a {
  font-size:12px;
  color:#6f7587
}

.aside-panel a:hover {
  color:var(--purple)
}

.article-note {
  border-left:3px solid #9b8cf2;
  background:#f6f4ff;
  padding:15px 23px;
  margin-top:40px
}

.article-note strong {
  font-size:14px
}

.article-note p {
  font-size:12px;
  margin:4px 0;
  color:#676c80
}

.related {
  padding-top:30px
}

.about-copy {
  max-width:900px
}

.about-copy h2 {
  font-size:24px;
  margin:24px 0 10px
}

.about-copy p {
  line-height:2.15;
  color:#61697b
}

.about-copy a {
  color:#675bd0;
  text-decoration:underline
}

@media(max-width:1060px) {
  .main-nav {
    gap:13px
  }
  .header-action {
    display:none
  }
  .hero-grid {
    gap:15px
  }
  .intro-grid {
    grid-template-columns:160px 1fr
  }
  .intro-grid>a {
    display:none
  }
  .guide-grid {
    gap:50px
  }
}

@media(max-width:760px) {
  .shell {
    width:min(100% - 30px,580px)
  }
  .header-inner {
    min-height:70px;
    display:block;
    padding:12px 0
  }
  .brand {
    font-size:18px
  }
  .brand-symbol {
    width:33px;
    height:33px
  }
  .main-nav {
    display:flex;
    gap:19px;
    overflow-x:auto;
    padding:12px 0 3px;
    scrollbar-width:none
  }
  .main-nav a {
    white-space:nowrap;
    font-size:12px
  }
  .hero {
    padding:45px 0 35px
  }
  .hero-grid {
    grid-template-columns:1fr
  }
  .hero h1 {
    font-size:39px
  }
  .hero-desc {
    font-size:13px
  }
  .hero-art {
    min-height:365px;
    margin-top:12px
  }
  .main-frame {
    width:66%;
    height:83%;
    left:15%
  }
  .small-frame {
    width:40%;
    height:42%;
    right:3%
  }
  .floating-label {
    top:14%;
    left:0
  }
  .hero-metrics {
    margin-top:31px;
    gap:24px
  }
  .intro-grid {
    grid-template-columns:1fr;
    padding:20px 0;
    gap:7px
  }
  .section {
    padding-top:50px;
    padding-bottom:50px
  }
  .section-heading {
    align-items:start
  }
  .section-heading h2 {
    font-size:26px
  }
  .heading-link {
    display:none
  }
  .feature-layout {
    grid-template-columns:1fr
  }
  .feature-side {
    gap:15px
  }
  .category-grid {
    grid-template-columns:repeat(2,1fr);
    gap:12px
  }
  .category-card {
    min-height:205px;
    padding:18px
  }
  .category-card h3 {
    font-size:18px
  }
  .story-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:25px 13px
  }
  .story-media {
    aspect-ratio:1
  }
  .story-info h3 {
    font-size:14px
  }
  .story-info p {
    font-size:11px
  }
  .guide-grid {
    grid-template-columns:1fr;
    gap:20px
  }
  .faq-grid {
    grid-template-columns:1fr
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:25px
  }
  .footer-grid>div:first-child {
    grid-column:1/-1
  }
  .footer-bottom {
    gap:15px;
    flex-wrap:wrap
  }
  .article-layout {
    grid-template-columns:1fr;
    gap:20px;
    padding-top:30px
  }
  .article-sidebar {
    display:none
  }
  .article-top {
    padding:35px 0
  }
  .article-top h1 {
    font-size:30px
  }
  .article-body h2 {
    font-size:20px
  }
  .article-body {
    font-size:14px
  }
}

@media(max-width:400px) {
  .hero h1 {
    font-size:34px
  }
  .hero-art {
    min-height:300px
  }
  .hero-metrics {
    gap:17px
  }
  .hero-metrics strong {
    font-size:19px
  }
  .feature-side {
    grid-template-columns:1fr 1fr
  }
  .feature-side .story-info p {
    display:none
  }
  .story-grid {
    gap:21px 12px
  }
  .category-card p {
    font-size:11px
  }
  .footer-grid {
    grid-template-columns:1fr 1fr
  }
}
