/* Vox Seas Wiki Guide · sunset-sea chart theme */
:root {
  --bg: #F4E9D2;
  --card: #FFFBF0;
  --ink: #0F2430;
  --muted: #4A6170;
  --line: #D8C7A0;
  --deep: #0B2A3A;
  --deep-2: #12394C;
  --sea: #0E5E73;
  --foam: #3FC1D8;
  --sun: #E8A24A;
  --dragon-deep: #1D6F50;
  --on-deep-muted: #A9C4CC;
  --r-epic: #8E5BD0;
  --r-myth: #D6455D;
  --head: 'Lilita One', 'Trebuchet MS', sans-serif;
  --body: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --r: 12px;
  --shadow: 0 8px 24px rgba(11, 42, 58, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body), 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--foam); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.2; color: var(--deep); margin: 0; letter-spacing: .01em; }
h2 { font-size: 28px; margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--deep); padding: 8px 16px; border-radius: var(--r); z-index: 10; }
.skip:focus { left: 8px; }
.vs-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.vs-prose { max-width: 70ch; }

/* header */
.vs-top { background: var(--deep); color: var(--bg); position: relative; padding-bottom: 12px; }
.vs-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: radial-gradient(circle at 12px 0, var(--deep) 11px, transparent 12px) 0 0 / 24px 12px repeat-x; }
.vs-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; flex-wrap: wrap; }
.vs-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bg); }
.vs-brand:hover { color: var(--sun); }
.vs-helm { width: 40px; height: 40px; flex: none; }
.vs-brand-name { font-family: var(--head); font-size: 22px; line-height: 1.1; display: block; }
.vs-brand-sub { font-size: 12px; color: var(--on-deep-muted); display: block; letter-spacing: .08em; text-transform: uppercase; }
.vs-nav { display: flex; gap: 4px 16px; flex-wrap: wrap; }
.vs-nav a { color: var(--bg); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 0; border-bottom: 2px solid transparent; }
.vs-nav a:hover { color: var(--sun); border-bottom-color: var(--sun); }

/* hero */
.vs-hero { padding: 64px 0 48px; }
.vs-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.vs-kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea); margin: 0 0 12px; }
.vs-h1 { font-size: 48px; line-height: 1.1; margin-bottom: 8px; }
.vs-h1-page { font-size: 36px; }
.vs-sub { font-family: var(--head); font-size: 22px; color: var(--sea); margin: 0 0 16px; }
.vs-lead { font-size: 18px; max-width: 60ch; }
.vs-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.vs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 24px; background: var(--sun); color: var(--deep); font-weight: 700; font-size: 16px; text-decoration: none; border-radius: var(--r); border: 2px solid var(--deep); box-shadow: 0 3px 0 var(--deep); }
.vs-btn:hover { background: var(--sun); color: var(--deep); filter: brightness(.92); }
.vs-btn.ghost { background: transparent; }
.vs-btn.ghost:hover { background: var(--card); }
.vs-frame { margin: 0; border: 4px solid var(--deep); border-radius: var(--r); background: var(--deep); box-shadow: 8px 8px 0 var(--sun); overflow: hidden; }
.vs-frame img { width: 100%; }
.vs-frame figcaption { background: var(--deep); color: var(--on-deep-muted); font-size: 12px; padding: 8px 12px; }

/* log (fact chart) */
.vs-log { background: var(--deep); color: var(--bg); border-radius: var(--r); padding: 24px; margin-top: 48px; }
.vs-log-title { font-family: var(--head); font-size: 22px; color: var(--sun); margin: 0 0 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.vs-log-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; margin: 0; }
.vs-log-cell { border-top: 1px solid var(--deep-2); padding-top: 8px; min-width: 0; }
.vs-log-grid dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-deep-muted); }
.vs-log-grid dd { margin: 0; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.vs-log-note { font-size: 12px; color: var(--on-deep-muted); margin: 16px 0 0; }

/* toc + guides */
.vs-toc { padding: 24px 24px 0; }
.vs-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.vs-toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vs-toc a { display: inline-block; padding: 4px 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 700; font-size: 14px; color: var(--deep); }
.vs-toc a:hover { background: var(--sun); border-color: var(--deep); }
.vs-guides { padding-top: 32px; }
.vs-guides-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vs-guides-list li { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--sea); border-radius: var(--r); padding: 12px 16px; }
.vs-guides-list a { font-family: var(--head); font-size: 18px; text-decoration: none; display: block; margin-bottom: 4px; }
.vs-guides-list span { font-size: 14px; color: var(--muted); display: block; }

/* sections */
.vs-sec { padding: 64px 0 0; }
.vs-sec-panel { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; margin-top: 64px; }
.vs-sec-deep { background: var(--deep); color: var(--bg); padding: 48px 0; margin-top: 64px; }
.vs-sec-deep h2, .vs-sec-deep h3 { color: var(--bg); }
.vs-sec-deep a { color: var(--foam); }
.vs-sec-deep .vs-entry { color: var(--sun); }
.vs-sec-panel .vs-sec-head, .vs-sec-deep .vs-sec-head { margin-bottom: 24px; }
.vs-entry { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea); margin: 0 0 8px; }
.vs-entry::before { content: "\2726"; color: var(--sun); margin-right: 8px; }
.vs-note { font-size: 14px; color: var(--muted); border-left: 4px solid var(--sun); padding-left: 12px; margin: 24px 0 0; max-width: 70ch; }
.vs-sec-deep .vs-note { color: var(--on-deep-muted); }
.vs-quote { margin: 24px 0 0; padding: 16px 24px; background: var(--card); border: 2px dashed var(--sun); border-radius: var(--r); font-family: var(--head); font-size: 22px; color: var(--deep); }
.vs-quote cite { display: block; font-family: var(--body); font-size: 14px; font-style: normal; color: var(--muted); margin-top: 8px; }
.vs-hero-in > *, .vs-two > * { min-width: 0; }
.vs-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }

/* tags */
.tag { display: inline-block; font-family: var(--body); font-size: 12px; font-weight: 700; padding: 0 8px; border-radius: var(--r); vertical-align: middle; line-height: 20px; white-space: nowrap; }
.tag-ok { background: var(--dragon-deep); color: var(--card); }
.tag-tr { background: var(--sea); color: var(--card); }
.tag-rep { background: var(--sun); color: var(--deep); }
.tag-no { background: var(--line); color: var(--ink); }

/* timeline */
.vs-timeline { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 4px solid var(--sea); }
.vs-timeline li { position: relative; padding: 0 0 24px 24px; }
.vs-timeline li::before { content: ""; position: absolute; left: -36px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); border: 4px solid var(--deep); }
.vs-timeline li:last-child { padding-bottom: 0; }
.vs-timeline li:last-child::before { background: var(--dragon-deep); }
.vs-when { font-family: var(--head); font-size: 18px; color: var(--deep); margin: 0 0 4px; }
.vs-timeline p { margin: 0 0 4px; }

/* steps */
.vs-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.vs-steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 16px 72px; }
.vs-steps li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--deep); border: 3px solid var(--deep); font-family: var(--head); font-size: 22px; display: grid; place-items: center; }
.vs-steps p { margin: 0; }

/* races */
.vs-races { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.vs-race { background: var(--bg); border: 2px solid var(--deep); border-radius: var(--r); padding: 16px; min-width: 0; }
.vs-race h3 { font-size: 22px; color: var(--sea); }
.vs-race p { margin: 0; font-size: 14px; }

/* fruits */
.vs-rarity { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: 0 0 24px; padding: 0; }
.vs-tier { background: var(--card); border: 1px solid var(--line); border-top: 8px solid var(--c); border-radius: var(--r); padding: 12px 16px 16px; min-width: 0; }
.vs-tier h3 { font-size: 18px; color: var(--deep); }
.vs-tier ul { list-style: none; margin: 0; padding: 0; }
.vs-tier li { font-weight: 700; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.vs-tier li:last-child { border-bottom: 0; }
.vs-t-common { --c: var(--muted); } .vs-t-rare { --c: var(--sea); } .vs-t-epic { --c: var(--r-epic); } .vs-t-legendary { --c: var(--sun); } .vs-t-mythical { --c: var(--r-myth); }

/* map chart */
.vs-route { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-island { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 16px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--deep-2); }
.vs-island-name { font-weight: 700; min-width: 0; }
.vs-island-name small { display: block; font-weight: 400; font-size: 12px; color: var(--on-deep-muted); }
.vs-track { position: relative; height: 16px; border-radius: var(--r); background: var(--deep-2); }
.vs-track i { position: absolute; top: 0; bottom: 0; left: var(--from); width: var(--span); min-width: 12px; border-radius: var(--r); background: var(--sun); }
.vs-island.hub .vs-track i { left: 0; width: 100%; background: var(--foam); }
.vs-gauge { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 16px; font-size: 12px; color: var(--on-deep-muted); margin-bottom: 8px; }
.vs-gauge div { display: flex; justify-content: space-between; }

/* gear grid */
.vs-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.vs-cell { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.vs-cell h3 { color: var(--sea); }
.vs-cell p { margin: 0; font-size: 14px; }
.vs-cell p + p { margin-top: 8px; }
.vs-fig-side { margin: 0; border: 3px solid var(--deep); border-radius: var(--r); overflow: hidden; background: var(--deep); }
.vs-fig-side figcaption { color: var(--on-deep-muted); font-size: 12px; padding: 8px 12px; }

/* codes */
.vs-tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.vs-ticket { background: var(--card); border: 2px dashed var(--sea); border-radius: var(--r); padding: 16px; min-width: 0; }
.vs-code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 22px; font-weight: 700; color: var(--deep); background: var(--bg); border-radius: var(--r); padding: 4px 12px; display: inline-block; overflow-wrap: anywhere; }
.vs-ticket p { margin: 8px 0 0; font-size: 14px; }

/* faq / sources / related */
.vs-faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.vs-faq summary { cursor: pointer; padding: 12px 16px; font-weight: 700; min-height: 48px; display: flex; align-items: center; color: var(--deep); }
.vs-faq details[open] summary { border-bottom: 1px solid var(--line); }
.vs-faq details p { margin: 0; padding: 12px 16px; }
.vs-sources ul { padding-left: 24px; margin: 0 0 16px; }
.vs-sources li { margin-bottom: 8px; }

/* ad */
.vs-ad { margin: 48px auto 0; max-width: 336px; text-align: center; }
.vs-ad-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.vs-ad-box { min-height: 250px; display: flex; justify-content: center; align-items: center; }

/* inner page */
.vs-page { padding: 32px 24px 64px; }
.vs-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.vs-crumbs a { color: var(--sea); }
.vs-article { max-width: 760px; }
.vs-answer { background: var(--deep); color: var(--bg); border-radius: var(--r); padding: 16px 24px; margin: 24px 0; border-left: 8px solid var(--sun); }
.vs-answer-label { font-family: var(--head); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin: 0 0 4px; }
.vs-answer p:last-child { margin: 0; font-size: 18px; }
.vs-answer a { color: var(--foam); }
.vs-fig { margin: 24px 0; border: 3px solid var(--deep); border-radius: var(--r); overflow: hidden; background: var(--deep); }
.vs-fig figcaption { color: var(--on-deep-muted); font-size: 12px; padding: 8px 12px; }
.vs-body h2 { margin-top: 48px; }
.vs-body h3 { margin-top: 24px; color: var(--sea); }
.vs-body ul, .vs-body ol { padding-left: 24px; margin: 0 0 16px; }
.vs-body li { margin-bottom: 4px; }
.vs-body table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; margin: 0 0 24px; font-size: 14px; }
.vs-body th, .vs-body td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs-body th { background: var(--deep); color: var(--bg); font-weight: 700; white-space: nowrap; }
.vs-body tr:nth-child(even) td { background: var(--card); }
.vs-body code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-weight: 700; overflow-wrap: anywhere; }
.vs-body blockquote { margin: 0 0 16px; padding: 8px 16px; border-left: 4px solid var(--sun); background: var(--card); }
.vs-page-faq { margin-top: 48px; }
.vs-related { margin-top: 48px; padding: 16px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.vs-related ul { margin: 0; padding-left: 24px; }
.vs-lost { text-align: left; padding-top: 64px; padding-bottom: 64px; }
.vs-foot { background: var(--deep); color: var(--bg); margin-top: 64px; padding: 32px 0; }
.vs-foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.vs-foot-name { font-family: var(--head); font-size: 22px; margin: 0 0 8px; }
.vs-small { font-size: 12px; color: var(--on-deep-muted); max-width: 60ch; margin: 0 0 8px; }
.vs-foot-links { display: flex; gap: 8px 16px; flex-wrap: wrap; align-content: flex-start; }
.vs-foot-links a { color: var(--bg); font-weight: 700; font-size: 14px; }
.vs-foot-links a:hover { color: var(--sun); }
.vs-copy { margin-top: 16px; }

@media (max-width: 900px) {
  .vs-races, .vs-rarity { grid-template-columns: repeat(2, 1fr); }
  .vs-log-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-hero-in, .vs-two { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .vs-wrap { padding: 0 16px; }
  .vs-hero { padding: 32px 0 32px; }
  .vs-h1 { font-size: 36px; }
  .vs-h1-page { font-size: 28px; }
  h2 { font-size: 22px; }
  .vs-lead { font-size: 16px; }
  .vs-races, .vs-rarity, .vs-grid2 { grid-template-columns: 1fr; }
  .vs-island, .vs-gauge { grid-template-columns: 1fr; gap: 4px; }
  .vs-gauge > span { display: none; }
  .vs-btn { width: 100%; }
  .vs-sec { padding-top: 48px; }
  .vs-sec-panel, .vs-sec-deep { margin-top: 48px; padding: 32px 0; }
  .vs-frame { box-shadow: 4px 4px 0 var(--sun); }
  .vs-page { padding: 24px 16px 48px; }
  .vs-toc { padding: 24px 16px 0; }
  .vs-steps li { padding-left: 64px; }
}


