:root {
  color-scheme:dark;
  --bg:#101113;
  --panel:#191a1e;
  --border:#2c2d32;
  --text:#f4f3ed;
  --muted:#a3a4ad;
  --accent:#d9f578;
  --accent-rgb:217,245,120;
  font-family:Inter,"Helvetica Neue","Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;
  font-synthesis:none;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}
button,input,a {
  -webkit-tap-highlight-color:transparent;
}
button,input {
  font:inherit;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:default;
}
button {
  color:inherit;
}
a {
  color:inherit;
  text-decoration:none;
}
button:focus-visible,a:focus-visible,input:focus-visible+span {
  outline:3px solid var(--accent);
  outline-offset:5px;
}
button[hidden] {
  display:none!important;
}
#app:focus {
  outline:none;
}
.site-shell {
  max-width:1320px;
  margin:auto;
  padding:0 48px;
}
.site-header {
  height:100px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:21px;
  font-weight:900;
  letter-spacing:-.8px;
}
.brand-light {
  font-weight:400;
  margin-left:-4px;
}
.brand-icon {
  position:relative;
  font-size:31px;
  margin-right:7px;
  color:var(--accent);
  line-height:1;
}
.brand-icon span {
  position:absolute;
  font-size:17px;
  right:-6px;
  top:-4px;
  color:var(--text);
}
.beta {
  font-size:9px;
  letter-spacing:1.2px;
  font-weight:500;
  border:1px solid #42443a;
  padding:3px 7px;
  border-radius:3px;
  margin-left:12px;
  color:var(--accent);
}
.header-note {
  font-size:11px;
  letter-spacing:1.5px;
  color:var(--muted);
}
.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  min-height:440px;
  position:relative;
  padding:55px 0 48px;
  overflow:hidden;
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2.2px;
  margin:0 0 20px;
  color:var(--accent);
}
.live-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  margin-right:7px;
  vertical-align:2px;
  box-shadow:0 0 12px #d9f54a55;
}
.hero h1 {
  font-size:clamp(44px,5.2vw,72px);
  letter-spacing:2px;
  line-height:1.25;
  margin:0 0 20px;
  font-weight:900;
}
.hero h1>span {
  color:var(--accent);
}
.hero-description {
  font-size:13px;
  color:var(--muted);
  line-height:2;
}
.hero-stats {
  display:flex;
  gap:24px;
  align-items:center;
  margin-top:30px;
  font-size:9px;
  font-weight:700;
  letter-spacing:1px;
}
.hero-stats>span {
  display:flex;
  align-items:baseline;
  gap:8px;
}
.hero-stats strong {
  font-size:26px;
  letter-spacing:-1px;
}
.hero-stats .free-label {
  font-size:10px;
  color:var(--muted);
  font-weight:400;
  letter-spacing:0;
  border-left:1px solid var(--border);
  padding-left:24px;
}
.hero-art {
  position:relative;
  height:330px;
  display:grid;
  place-items:center;
  background:radial-gradient(ellipse,#a7c54a12,transparent 68%);
}
.art-q {
  font-size:260px;
  font-family:Arial Black,Arial,sans-serif;
  font-weight:900;
  line-height:1;
  transform:rotate(-14deg);
  color:var(--accent);
  text-shadow:7px 7px 0 #101113,9px 9px 0 #657339;
  position:relative;
}
.orbit {
  position:absolute;
  width:350px;
  height:260px;
  border:1px solid #d9f57825;
  border-radius:50%;
  transform:rotate(-25deg);
}
.orbit-two {
  width:310px;
  height:310px;
  transform:rotate(20deg);
  border-style:dashed;
  border-color:#d9f5781c;
}
.art-cross {
  position:absolute;
  font-size:66px;
  right:12%;
  top:6%;
  color:var(--accent);
  transform:rotate(15deg);
}
.art-label {
  position:absolute;
  left:5%;
  bottom:18%;
  font-size:11px;
  line-height:1.4;
  letter-spacing:2px;
  font-weight:800;
  transform:rotate(-90deg);
}
.art-coordinate {
  position:absolute;
  bottom:5%;
  right:12%;
  font-size:8px;
  letter-spacing:2px;
  color:#757c61;
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  margin:0 0 24px;
}
.section-heading .eyebrow {
  margin-bottom:7px;
  font-size:9px;
  color:var(--muted);
}
h2 {
  font-size:22px;
  letter-spacing:.5px;
  margin:0;
}
.muted-count {
  font:400 12px Arial,sans-serif;
  color:#737680;
  margin-left:16px;
}
.section-hint {
  font-size:11px;
  color:var(--muted);
}
.section-hint>span {
  font-size:22px;
  margin-left:10px;
}
.cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.work-card {
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  background:var(--panel);
  transition:transform .2s,border-color .2s;
}
.work-card:hover {
  transform:translateY(-4px);
  border-color:rgba(var(--accent-rgb),.6);
}
.hunter {
  --accent:#b9ed70;
  --accent-rgb:185,237,112;
}
.bleach {
  --accent:#fbad78;
  --accent-rgb:251,173,120;
}
.pirate {
  --accent:#82c8f3;
  --accent-rgb:130,200,243;
}
.curse {
  --accent:#b6a3f8;
  --accent-rgb:182,163,248;
}
.slayer {
  --accent:#6ad5bf;
  --accent-rgb:106,213,191;
}
.card-art {
  height:180px;
  position:relative;
  overflow:hidden;
  background-color:rgba(var(--accent-rgb),.035);
  background-image:linear-gradient(135deg,transparent 49.6%,rgba(var(--accent-rgb),.08) 50%,transparent 50.4%),repeating-linear-gradient(0deg,transparent 0 29px,rgba(var(--accent-rgb),.035) 30px);
  border-bottom:1px solid var(--border);
}
.card-art:after {
  content:'';
  position:absolute;
  width:155px;
  height:155px;
  border:1px solid rgba(var(--accent-rgb),.2);
  border-radius:50%;
  right:24px;
  top:40px;
  transform:rotate(-25deg) scaleX(1.5);
}
.card-index,.card-genre {
  position:absolute;
  top:14px;
  font-size:8px;
  letter-spacing:1.2px;
  color:var(--accent);
  z-index:1;
}
.card-index {
  left:20px;
}
.card-genre {
  right:18px;
  font-size:9px;
  letter-spacing:.5px;
  color:var(--muted);
}
.card-motif {
  position:absolute;
  color:rgba(var(--accent-rgb),.2);
  font-size:146px;
  line-height:1;
  font-weight:900;
  right:30px;
  top:35px;
  font-family:Georgia,"Yu Mincho",serif;
  transform:rotate(-12deg);
}
.hunter .card-motif {
  font-family:Arial,sans-serif;
  font-size:220px;
  top:-25px;
  right:30px;
  color:rgba(var(--accent-rgb),.23);
}
.card-english {
  position:absolute;
  bottom:23px;
  left:20px;
  font-size:23px;
  font-weight:900;
  letter-spacing:-.5px;
  line-height:1.2;
  max-width:80%;
  z-index:1;
  text-shadow:0 2px 10px #0008;
}
.hunter .card-english {
  font-size:22px;
}
.curse .card-english,.slayer .card-english {
  font-size:19px;
}
.card-art-line {
  position:absolute;
  height:3px;
  width:27px;
  background:var(--accent);
  left:20px;
  bottom:13px;
}
.card-content {
  padding:22px 20px 20px;
}
.card-title-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}
h3 {
  margin:0;
  font-size:18px;
}
.card-title-row h3 {
  font-size:17px;
  letter-spacing:-.4px;
}
.count-badge {
  flex-shrink:0;
  color:var(--accent);
  border:1px solid rgba(var(--accent-rgb),.2);
  background:rgba(var(--accent-rgb),.06);
  font-size:10px;
  padding:2px 7px;
  border-radius:4px;
}
.card-subtitle {
  font-size:11px;
  margin:11px 0 5px;
}
.card-scope {
  font-size:10px;
  color:var(--muted);
  margin:0;
  min-height:3.4em;
}
.card-best {
  border-top:1px solid var(--border);
  margin-top:16px;
  padding:14px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:5px;
  font-size:10px;
  color:var(--muted);
}
.card-best strong {
  font-weight:500;
  font-size:11px;
  color:var(--text);
}
.card-best small {
  font-size:9px;
}
.card-start {
  display:flex;
  justify-content:space-between;
  width:100%;
  padding:11px 14px;
  min-height:46px;
  color:var(--accent);
  background:rgba(var(--accent-rgb),.07);
  border:1px solid rgba(var(--accent-rgb),.25);
  border-radius:6px;
  font-size:12px;
  font-weight:700;
  transition:background .2s;
}
.card-start:hover {
  background:rgba(var(--accent-rgb),.17);
}
.card-start>span {
  font-size:18px;
  line-height:1;
}
.card-start:disabled {
  opacity:.4;
}
.bottom-note {
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:center;
  padding:48px 0 40px;
}
.bottom-note>span {
  font-size:28px;
  color:var(--accent);
}
.bottom-note p {
  font-size:12px;
  margin:0;
}
.bottom-note small {
  font-size:10px;
  color:var(--muted);
}
footer {
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:28px 0;
  font-size:9px;
  color:var(--muted);
}
footer>span {
  letter-spacing:1.5px;
  white-space:nowrap;
}
.footer-cross {
  color:var(--accent);
  padding:0 7px;
}
footer p {
  margin:0;
  font-size:9px;
}
.play-shell {
  max-width:760px;
  margin:0 auto;
  padding:28px 0 60px;
  min-height:calc(100vh - 185px);
}
.back {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  background:none;
  border:0;
  color:var(--muted);
  font-size:12px;
  padding:5px 0;
  margin-bottom:24px;
}
.back:hover {
  color:var(--text);
}
.setup-header,.result-header {
  margin:8px 0 30px;
}
.setup-header h1 {
  font-size:32px;
  margin:0 0 10px;
  line-height:1.4;
}
.setup-header .eyebrow,.result-header .eyebrow {
  margin-bottom:10px;
}
.scope-note,.result-header>p:last-child {
  color:var(--muted);
  font-size:12px;
}
.panel {
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:12px;
  padding:32px;
}
fieldset {
  padding:0;
  margin:0 0 30px;
  border:0;
  min-width:0;
}
legend {
  font-size:11px;
  color:var(--accent);
  font-weight:700;
  margin-bottom:16px;
  letter-spacing:1px;
}
legend>span {
  font-size:15px;
  color:var(--text);
  margin-left:12px;
  letter-spacing:0;
}
.option-grid {
  display:grid;
  gap:10px;
}
.difficulty-options {
  grid-template-columns:repeat(4,1fr);
}
.count-options {
  grid-template-columns:repeat(3,1fr);
}
.radio-option {
  position:relative;
  cursor:pointer;
}
.radio-option input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
}
.radio-option>span {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid #42434b;
  border-radius:7px;
  padding:14px 5px;
  font-size:14px;
  min-height:70px;
  transition:all .15s;
}
.radio-option small {
  font-size:10px;
  color:var(--muted);
  font-weight:400;
}
.radio-option input:checked+span {
  border-color:var(--accent);
  background:rgba(var(--accent-rgb),.08);
  color:var(--accent);
}
.radio-option:hover>span {
  border-color:var(--accent);
}
.count-options .radio-option>span {
  flex-direction:row;
  gap:4px;
  font-size:23px;
}
.setup-note {
  font-size:11px;
  color:var(--muted);
}
.primary,.secondary {
  border:1px solid transparent;
  border-radius:7px;
  min-height:50px;
  padding:13px 22px;
  font-weight:700;
  font-size:14px;
}
.primary {
  background:var(--accent);
  color:#101113;
}
.primary:hover {
  filter:brightness(1.08);
}
.secondary {
  background:none;
  border-color:#555660;
  color:var(--text);
}
.secondary:hover {
  background:#ffffff08;
}
.wide {
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.storage-note {
  font-size:11px;
  color:var(--muted);
  text-align:center;
  margin:18px 0 0;
}
.quiz-heading {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:24px;
  font-size:15px;
  font-weight:700;
}
.difficulty-badge {
  font-size:10px;
  border:1px solid rgba(var(--accent-rgb),.3);
  background:rgba(var(--accent-rgb),.07);
  color:var(--accent);
  border-radius:4px;
  padding:3px 10px;
  white-space:nowrap;
}
.progress-meta {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:11px;
  color:var(--muted);
  margin-bottom:10px;
}
.progress-meta strong {
  color:var(--accent);
  font-size:18px;
  margin-left:6px;
}
progress {
  display:block;
  width:100%;
  height:4px;
  appearance:none;
  border:0;
  background:#303137;
  border-radius:2px;
  overflow:hidden;
  margin-bottom:30px;
}
progress::-webkit-progress-bar {
  background:#303137;
}
progress::-webkit-progress-value {
  background:var(--accent);
}
progress::-moz-progress-bar {
  background:var(--accent);
}
.question-text {
  font-size:22px;
  line-height:1.75;
  margin:0 0 30px;
  overflow-wrap:anywhere;
}
.answers {
  display:grid;
  gap:12px;
}
.answer {
  display:flex;
  align-items:center;
  gap:14px;
  text-align:left;
  background:#141519;
  border:1px solid #41424b;
  border-radius:8px;
  padding:15px;
  min-height:62px;
  width:100%;
  font-size:14px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.answer-letter {
  display:grid;
  place-items:center;
  border:1px solid #41424b;
  color:var(--muted);
  border-radius:4px;
  width:28px;
  height:28px;
  flex-shrink:0;
  font:12px Arial,sans-serif;
}
.answer:not(:disabled):hover {
  border-color:var(--accent);
  background:rgba(var(--accent-rgb),.06);
}
.answer-mark {
  margin-left:auto;
  white-space:nowrap;
  font-size:11px;
}
.answer.is-correct {
  border-color:#70d9a3;
  background:#70d9a312;
  color:#9ee6be;
}
.answer.is-wrong {
  border-color:#ef9297;
  background:#ef929710;
  color:#f2a9ad;
}
.answer:disabled:not(.is-correct):not(.is-wrong) {
  color:#aaaab5;
}
.feedback {
  border-top:1px solid var(--border);
  margin-top:25px;
  padding-top:22px;
  font-size:13px;
}
.feedback h2 {
  font-size:17px;
  margin-bottom:8px;
}
.correct h2,.correct-text {
  color:#9ee6be;
}
.wrong h2,.wrong-text {
  color:#f2a9ad;
}
.feedback p {
  margin:8px 0;
}
.correct-answer {
  font-weight:700;
}
.next-button {
  margin-top:24px;
}
.result-header {
  text-align:center;
}
.result-header h1 {
  font-size:28px;
  margin:0 0 12px;
}
.result-panel {
  text-align:center;
}
.result-label {
  font-size:10px;
  letter-spacing:2px;
  color:var(--muted);
  margin:0;
}
.score {
  display:flex;
  justify-content:center;
  align-items:baseline;
  gap:12px;
}
.score strong {
  font-size:88px;
  line-height:1.5;
  color:var(--accent);
  letter-spacing:-4px;
}
.score>span {
  font-size:20px;
  color:var(--muted);
}
.accuracy {
  margin:0;
}
.accuracy strong {
  margin-left:8px;
  font-size:25px;
}
.new-record {
  display:inline-block;
  font-size:11px;
  color:var(--accent);
  background:rgba(var(--accent-rgb),.07);
  border:1px solid rgba(var(--accent-rgb),.2);
  padding:5px 14px;
  border-radius:30px;
}
.result-actions {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:28px;
}
.review {
  margin-top:44px;
}
.review h2 {
  font-size:19px;
}
.review-item {
  margin-bottom:16px;
}
.review-item .eyebrow {
  margin-bottom:10px;
}
.review-item h3 {
  font-size:17px;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.review-item dl {
  display:grid;
  grid-template-columns:90px 1fr;
  font-size:13px;
  gap:8px 12px;
  margin:20px 0;
}
.review-item dt {
  color:var(--muted);
}
.review-item dd {
  margin:0;
  overflow-wrap:anywhere;
}
.review-explanation {
  border-top:1px solid var(--border);
  padding-top:16px;
  margin:0;
  font-size:13px;
  color:#c9c9d1;
}
.perfect {
  text-align:center;
}
.perfect>span {
  font-size:36px;
  color:var(--accent);
}
.perfect p {
  font-size:13px;
  color:var(--muted);
}
.notice {
  padding:15px 18px;
  border:1px solid #b99a59;
  border-radius:6px;
  color:#f0cf91;
  font-size:12px;
  margin-bottom:20px;
}
.notice button {
  background:none;
  border:0;
  text-decoration:underline;
  color:inherit;
  padding:12px;
  min-height:44px;
}
.loading {
  min-height:65vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.loading h1 {
  font-size:22px;
}
.loading p {
  color:var(--muted);
}
#setup-error {
  color:#f2a9ad;
  font-size:12px;
}
@media(min-width:1100px) {
  .cards>.work-card:nth-child(4),.cards>.work-card:nth-child(5) {
    grid-column:auto;
  }
  .collection {
    padding-top:16px;
  }
}
@media(max-width:1000px) {
  .site-shell {
    padding:0 30px;
  }
  .cards {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .hero-art {
    transform:scale(.85);
    transform-origin:center;
  }
  .hero-stats {
    gap:16px;
  }
  .hero-stats .free-label {
    display:none;
  }
  .card-scope {
    min-height:3.4em;
  }
  footer {
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .hero {
    min-height:410px;
  }
  .header-note {
    font-size:10px;
  }
}
@media(max-width:600px) {
  .site-shell {
    padding:0 20px;
  }
  .site-header {
    height:76px;
  }
  .brand {
    font-size:19px;
  }
  .brand-icon {
    font-size:28px;
  }
  .beta {
    font-size:7px;
    margin-left:5px;
    padding:3px 5px;
  }
  .header-note {
    display:none;
  }
  .hero {
    padding:40px 0 32px;
    min-height:360px;
    grid-template-columns:1fr;
  }
  .hero h1 {
    font-size:48px;
    position:relative;
    z-index:1;
  }
  .hero>.hero-art {
    position:absolute;
    right:-80px;
    top:35px;
    opacity:.22;
    transform:scale(.7);
    width:300px;
    z-index:-0;
    pointer-events:none;
  }
  .hero>div:first-child {
    position:relative;
    z-index:1;
  }
  .hero-description {
    font-size:11px;
  }
  .hero-stats {
    margin-top:22px;
  }
  .hero-stats strong {
    font-size:24px;
  }
  .eyebrow {
    font-size:8px;
    margin-bottom:18px;
  }
  .section-heading {
    margin-bottom:18px;
  }
  .section-heading h2 {
    font-size:20px;
  }
  .section-hint {
    display:none;
  }
  .cards {
    grid-template-columns:1fr;
    gap:20px;
  }
  .card-art {
    height:160px;
  }
  .card-motif {
    top:22px;
    right:42px;
  }
  .card-content {
    padding:20px;
  }
  .card-scope {
    min-height:0;
    font-size:11px;
  }
  .card-title-row h3 {
    font-size:20px;
  }
  .card-subtitle {
    font-size:12px;
  }
  .card-best {
    font-size:11px;
    padding:16px 0;
  }
  .card-start {
    font-size:13px;
    min-height:48px;
  }
  .bottom-note {
    padding:32px 0;
  }
  .bottom-note p {
    font-size:11px;
  }
  .bottom-note small {
    font-size:9px;
  }
  footer {
    padding:22px 0;
  }
  .play-shell {
    padding:20px 0 40px;
  }
  .back {
    margin-bottom:18px;
  }
  .panel {
    padding:22px 18px;
  }
  .setup-header h1 {
    font-size:26px;
  }
  .difficulty-options {
    grid-template-columns:repeat(2,1fr);
  }
  .radio-option>span {
    font-size:14px;
    min-height:66px;
  }
  .count-options .radio-option>span {
    font-size:22px;
  }
  .question-text {
    font-size:19px;
    margin-bottom:24px;
  }
  .answer {
    padding:13px 10px;
    gap:10px;
    font-size:13px;
  }
  .answer-letter {
    width:24px;
    height:24px;
  }
  .answer-mark {
    font-size:10px;
  }
  .result-header h1 {
    font-size:23px;
  }
  .result-actions {
    flex-direction:column;
  }
  .result-actions>button {
    width:100%;
  }
  .review-item dl {
    grid-template-columns:76px 1fr;
    font-size:12px;
    gap:10px;
  }
  .review-item h3 {
    font-size:15px;
  }
  .review h2 {
    font-size:17px;
  }
  .score strong {
    font-size:76px;
  }
  .progress-meta {
    font-size:10px;
  }
  .quiz-heading {
    font-size:13px;
  }
  .scope-note {
    font-size:11px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
