:root {
  color-scheme: light;
  --paper: #f7f7f3;
  --ink: #20221f;
  --muted: #555951;
  --line: #d9dcd3;
  --orange: #ff702e;
  --burnt: #b13c0b;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.2rem; }
body { min-width: 0; margin: 0; font-size: 1rem; line-height: 1.5; }
button, select { font: inherit; }
button, summary, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button, select { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible,
[tabindex="0"]:focus-visible { outline: 3px solid #bb4b17; outline-offset: 4px; }
::selection { background: #ffd6bf; color: #231f1b; }
.shell { width: min(77rem, calc(100% - clamp(2.25rem, 9vw, 9rem))); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: absolute; z-index: 8; top: .5rem; left: .5rem; padding: .75rem 1rem; background: white; }
.masthead { border-bottom: 1px solid var(--line); }
.mast-inner, .main-nav, .wordmark { display: flex; align-items: center; }
.mast-inner { min-height: 4.35rem; justify-content: space-between; gap: 2rem; }
.wordmark {
  text-decoration: none; gap: .62rem; font-size: 1.48rem; letter-spacing: -.073em;
  font-weight: 780; line-height: 1; white-space: nowrap;
}
.name-light { font-weight: 440; letter-spacing: -.07em; }
.brand-mark {
  width: 2.08rem; height: 2.08rem; border-radius: .55rem; display: grid; place-items: center;
  background: var(--orange); color: #241d18; font-size: 1.46rem;
}
.brand-mark .i { font-size: 1.2em; }
.main-nav { align-self: stretch; gap: clamp(1rem, 2.7vw, 2.4rem); }
.main-nav a {
  display: flex; align-items: center; align-self: stretch; position: relative; text-decoration: none;
  font-weight: 550; color: #5e625a; font-size: .94rem; line-height: 1.1;
}
.main-nav a::after {
  content: ""; position: absolute; height: 2px; background: var(--orange); bottom: .87rem;
  left: 0; right: 0; transform: scaleX(0); transition: transform .15s;
}
.main-nav a:hover, .main-nav a.nav-active { color: #21221f; }
.main-nav .nav-active::after, .main-nav a:hover::after { transform: scaleX(1); }
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 23.1rem;
  display: flex; align-items: center; margin-top: 1.65rem; border-radius: .9rem;
  background-color: #171817; color: #faf9f5;
}
.hero-grid {
  position: absolute; z-index: -2; inset: 0;
  background-image: linear-gradient(90deg, rgba(235,236,211,.04) 1px, transparent 1px), linear-gradient(rgba(235,236,211,.04) 1px, transparent 1px);
  background-size: 2.65rem 2.65rem;
  mask-image: linear-gradient(105deg, #0008, black 48%, #0005);
}
.hero-art {
  z-index: -1; position: absolute; right: 0; top: 0; height: 100%; width: 54%; background: #111110;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 100%);
}
.hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: 69% center; display: block; }
.hero-content { position: relative; padding: 2.25rem clamp(1.7rem, 3.7vw, 3.15rem) 2.45rem; width: 55%; }
.edition {
  display: flex; align-items: center; gap: .68rem; color: #efeee6; font: 600 .775rem/1.2 var(--mono);
  text-transform: uppercase; letter-spacing: .085em;
}
.edition-rule { display: inline-block; height: 2px; width: 1.55rem; background: var(--orange); }
.edition .slash { color: #898b7f; }
.edition time { color: #cbcdc3; font-weight: 400; }
h1, h2, p, dl, dd { margin: 0; }
.hero h1 {
  font-size: clamp(3.6rem, 5.75vw, 5.18rem); line-height: .99; letter-spacing: -.074em;
  font-weight: 750; margin: 1rem 0 .98rem; color: #faf9f4;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-content > p { max-width: 29rem; font-size: 1.025rem; line-height: 1.5; color: #dedfd6; }
.hero-action, .compare-action, .project-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .53rem;
  text-decoration: none; font-weight: 650; border-radius: .43rem;
}
.hero-action { margin-top: 1.35rem; min-height: 2.55rem; padding: .54rem 1.1rem; color: #281d18; background: var(--orange); font-size: .935rem; }
.hero-action:hover { background: #ff8c52; }
.hero-action:focus-visible { outline-color: white; }
.hero-action .i { font-size: 1.16rem; }
.cross { position: absolute; width: .65rem; height: .65rem; display: block; opacity: .55; pointer-events: none; }
.cross::before, .cross::after { content: ""; background: #babcb1; position: absolute; }
.cross::before { left: 0; top: 50%; width: 100%; height: 1px; }
.cross::after { top: 0; left: 50%; height: 100%; width: 1px; }
.cross-tl { left: .85rem; top: .85rem; }
.cross-br { right: .9rem; bottom: .85rem; }
.index-area {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(16rem, 28.2%); align-items: start;
  gap: clamp(1.35rem, 2.7vw, 2.5rem); margin: 2.2rem 0 3.35rem;
}
.ranking, .compare-box, .method-box { scroll-margin-top: 1.2rem; }
.ranking-heading { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 2.8rem; }
.ranking-heading h2 {
  font-size: clamp(2rem, 2.8vw, 2.65rem); line-height: 1.08; letter-spacing: -.065em; font-weight: 750;
}
.heading-dot { color: #dc5619; }
.result-count {
  flex: none; color: #5c6057; font: 500 .8rem/1.3 var(--mono); letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: .5rem;
}
.result-count::before { content: ""; width: 1.15rem; height: 1px; background: #9b9f93; }
.short-tab-label { display: none; }
.profile-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.08rem; }
.profile-tabs button {
  display: inline-flex; justify-content: center; align-items: center; gap: .45rem; background: #fff;
  border: 1px solid #cfd3c9; border-radius: 2rem; padding: .5rem .89rem; min-height: 2.35rem;
  font-size: .9rem; font-weight: 550; line-height: 1.2; cursor: pointer; color: #3c403a;
}
.profile-tabs button:hover { border-color: #898f82; background: #f4f5f0; }
.profile-tabs button[aria-selected="true"] { background: #262923; color: white; border-color: #262923; }
.profile-tabs button[aria-selected="true"] .i { color: #ff9a62; }
.profile-tabs .i { font-size: 1.1rem; }
.rank-list { display: grid; gap: .62rem; margin: 0; padding: 0; list-style: none; }
.rank-row {
  background: #fff; border: 1px solid var(--line); border-radius: .72rem;
  transition: border-color .15s, box-shadow .15s; overflow: clip;
}
.rank-row:hover { border-color: #a9ad9f; box-shadow: 0 2px 5px #25291f06; }
.rank-row.is-first { border-color: #e8ad89; background: linear-gradient(100deg, #fff8f2 0%, #fffefa 34%, #fff 90%); }
.rank-row.is-first:hover { border-color: #c77341; }
.product-details > summary {
  display: grid; grid-template-columns: 2.5rem 3.65rem minmax(0, 1fr) 1.65rem; gap: 1rem;
  align-items: center; cursor: pointer; padding: 1.12rem 1.15rem; list-style: none;
}
summary::-webkit-details-marker { display: none; }
.product-details > summary:focus-visible { outline-offset: -4px; border-radius: .65rem; }
.position {
  font: 500 1.35rem/1 var(--mono); letter-spacing: -.09em; color: #64695f;
  text-align: center; font-variant-numeric: tabular-nums;
}
.is-first .position { color: #b0440d; }
.emblem {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 3.65rem; height: 3.65rem;
  border-radius: .8rem; overflow: hidden; position: relative; isolation: isolate;
  color: white; font-size: 2.1rem; border: 1px solid #00000012;
  box-shadow: inset 0 1px 0 #ffffff36;
}
.emblem > .i { font-size: 1em; filter: drop-shadow(0 1px 1px #0002); }
.emblem::before {
  content: ""; z-index: -1; position: absolute; inset: 0; opacity: .48;
  background-image: repeating-linear-gradient(125deg, transparent 0 7px, #ffffff15 7px 8px, transparent 8px 13px);
}
.emblem-risu { background: radial-gradient(at 0 0,#ba99f5,transparent 80%), linear-gradient(150deg,#8150c8,#51348a); }
.emblem-soul { background: radial-gradient(at 5% 0%,#99c1ff,transparent 88%), linear-gradient(145deg,#407cce,#284987); }
.emblem-kobold { background: radial-gradient(at 0 0,#97c8a9,transparent 85%), linear-gradient(145deg,#538268,#2a4e43); }
.emblem-waifu { background: radial-gradient(at 0 0,#ffacb5,transparent 82%), linear-gradient(145deg,#db6681,#933c61); }
.emblem-tavern { background: radial-gradient(at 0 0,#efd788,transparent 83%), linear-gradient(145deg,#b17c39,#77502b); }
.emblem-hammer { background: linear-gradient(145deg,#c78555,#804b34); }
.emblem-voxta { background: linear-gradient(145deg,#a483cd,#654b91); }
.emblem-localwaifu { background: linear-gradient(145deg,#8bafaa,#456d69); }
.emblem-waifuai { background: linear-gradient(145deg,#7c96c7,#405576); }
.product-copy { min-width: 0; display: block; }
.product-title { display: block; font-size: 1.25rem; line-height: 1.22; font-weight: 700; letter-spacing: -.04em; }
.reason { display: block; margin-top: .23rem; font-size: 1rem; line-height: 1.44; color: #51554d; }
.tags { display: flex; flex-wrap: wrap; gap: .37rem; margin-top: .52rem; }
.tags > span {
  font: 500 .75rem/1.2 var(--mono); color: #4c5147; letter-spacing: -.02em;
  padding: .21rem .42rem; border-radius: .23rem; background: #f0f2ec;
}
.tags .route-label { display: inline-flex; gap: .25rem; align-items: center; }
.tags .route-label .i { font-size: .86rem; }
.is-first .tags > span { background: #f3ece2; color: #63523d; }
.disclose {
  width: 1.6rem; height: 1.6rem; display: grid; place-items: center; color: #666c60;
  background: #fafbf8; border: 1px solid #e0e3d9; border-radius: 50%; font-size: .85rem;
}
.disclose .i, .method-chevron { transition: transform .18s; }
.product-details[open] .disclose .i, .method-box[open] .method-chevron { transform: rotate(180deg); }
.row-detail { padding: 0 1.25rem 1.18rem; }
.row-detail dl { display: grid; grid-template-columns: minmax(7rem, .6fr) minmax(0, 1.45fr); gap: 1rem; border-top: 1px solid var(--line); padding-top: .85rem; }
.row-detail dt, .select-group > label, .dialog-kicker {
  display: block; font: 600 .76rem/1.4 var(--mono); color: #666b60;
  text-transform: uppercase; letter-spacing: .055em;
}
.row-detail dd { margin-top: .25rem; font-size: .97rem; line-height: 1.45; }
.detail-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: 1rem; }
.project-link { font-size: .91rem; padding: .4rem .62rem; line-height: 1.35; border: 1px solid #ccd1c6; }
.project-link:hover { border-color: #a85a31; background: #fff4eb; }
.sources { display: flex; flex-wrap: wrap; gap: .25rem .65rem; align-self: center; align-items: center; color: #5c6156; font-size: .84rem; }
.sources > span { font-family: var(--mono); }
.sources a, .page-foot a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
.sources a:hover, .page-foot a:hover { color: var(--burnt); }
.side { min-width: 0; display: grid; gap: .72rem; }
.compare-box { overflow: hidden; border: 1px solid #d6d8ce; border-radius: .8rem; background: #fff; }
.compare-top { position: relative; padding: 1.45rem 1.35rem 1.02rem; background: #f3f2e9; border-bottom: 1px solid #dddfd3; }
.compare-illustration { display: block; position: relative; width: 4.8rem; height: 2.55rem; margin: 0 0 .72rem; }
.window { position: absolute; border: 1.5px solid #2e3629; border-radius: 3px; width: 2.72rem; height: 1.73rem; display: grid; align-content: center; gap: 2px; }
.w-back { top: 0; left: .05rem; transform: rotate(-9deg); background: #fbfaf3; box-shadow: 1px 1px 0 #404637; }
.w-back::before { position: absolute; content: ""; top: .28rem; left: 0; right: 0; border-top: 1px solid #4b5045; }
.w-front { top: .52rem; left: 1.4rem; transform: rotate(7deg); background: #ff9865; box-shadow: 1.4px 1.4px 0 #404637; padding: .26rem .32rem .1rem; }
.w-front::before { position: absolute; content: ""; top: .27rem; left: 0; right: 0; border-top: 1px solid #6e492c; }
.w-front b { display: block; height: 1.5px; width: 55%; background: #493b2d; }
.w-front b:nth-child(2) { width: 78%; }
.w-front b:nth-child(3) { width: 38%; }
.compare-top h2, .dialog-head h2 { line-height: 1.13; font-weight: 720; letter-spacing: -.052em; }
.compare-top h2 { font-size: 1.55rem; }
.compare-top p { margin-top: .48rem; font-size: 1rem; line-height: 1.45; color: #555a50; }
.compare-form { padding: 1.12rem 1.35rem 1.3rem; display: grid; gap: .78rem; }
.select-group > label { margin-bottom: .28rem; }
.select-wrap { position: relative; }
.select-wrap select {
  cursor: pointer; appearance: none; -webkit-appearance: none; border: 1px solid #cfd3c8;
  border-radius: .42rem; background: #fff; display: block; width: 100%; height: 2.63rem;
  font-size: .97rem; padding: 0 1.95rem 0 2.57rem; font-weight: 550; color: #30342d;
}
.select-wrap select:hover { border-color: #818979; }
.select-mark, .select-chevron { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.select-mark { left: .6rem; display: inline-flex; }
.select-chevron { right: .62rem; font-size: 1.04rem; color: #505749; }
.emblem.tiny { width: 1.42rem; height: 1.42rem; border-radius: .33rem; font-size: .98rem; }
.emblem.tiny::before { display: none; }
.compare-action { cursor: pointer; width: 100%; border: none; background: #272b24; color: #fff; min-height: 2.65rem; font-size: .96rem; margin-top: .12rem; }
.compare-action:hover { background: #424b3b; }
.compare-action .i { font-size: 1.13rem; color: #f2f2e9; }
.method-box { background: #f1f2ec; border: 1px solid #d8dcce; border-radius: .55rem; }
.method-box summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .55rem;
  padding: .85rem .92rem; list-style: none; font-size: .91rem; font-weight: 600; cursor: pointer;
}
.method-icon { color: #666c59; font-size: 1.1rem; }
.method-chevron { font-size: .97rem; color: #666c59; }
.method-content { padding: 0 1rem 1.1rem; color: #454a40; font-size: .96rem; line-height: 1.52; }
.method-content dl { display: grid; gap: .65rem; margin: .85rem 0; }
.method-content dt { font-weight: 700; }
.method-content .own-project { padding-top: .72rem; border-top: 1px solid #d5d9c9; }
.own-project strong { display: block; }
.page-foot { border-top: 1px solid var(--line); }
.foot-inner { min-height: 4.65rem; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.foot-title { display: inline-flex; align-items: center; gap: .42rem; font-weight: 690; letter-spacing: -.045em; }
.foot-title .i { color: #b34b1f; font-size: 1.22rem; }
.page-foot a { color: #606459; font-size: .89rem; }
dialog { border: 1px solid #d4d7ce; border-radius: .9rem; padding: 0; background: var(--paper); color: var(--ink); width: min(52rem, calc(100% - 2rem)); max-width: none; max-height: 90dvh; box-shadow: 0 1.5rem 7rem #161b1840; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #171b17a6; backdrop-filter: blur(3px); }
body.dialog-open { overflow: hidden; }
.dialog-head { flex: none; padding: 1.3rem 1.5rem 1.05rem; display: flex; align-items: center; justify-content: space-between; }
.dialog-kicker { color: var(--burnt); }
.dialog-head h2 { margin-top: .22rem; font-size: 2rem; }
.icon-button { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid #d5d8cc; border-radius: 50%; font-size: 1rem; background: white; cursor: pointer; }
.icon-button:hover { background: #f5eadd; }
.comparison-scroll { overflow-y: auto; overscroll-behavior: contain; }
.comparison-scroll:focus-visible { outline-offset: -3px; }
.compare-table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; background: #fff; font-size: .98rem; line-height: 1.43; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: .78rem .92rem; border-top: 1px solid #dee1d7; }
.compare-table thead th { position: sticky; top: 0; background: #eceee5; vertical-align: middle; z-index: 1; box-shadow: 0 1px #d8dbcf; }
.compare-table th:first-child { width: 22%; padding-left: 1.5rem; }
.compare-table th[scope="row"], .field-heading { font-size: .88rem; color: #53594d; }
.compare-product > span:last-child { font-size: .98rem; letter-spacing: -.025em; }
.emblem.mini { width: 1.7rem; height: 1.7rem; border-radius: .38rem; font-size: 1.12rem; vertical-align: middle; margin-right: .38rem; }
.compare-table td + td { border-left: 1px solid #edf0e7; }
.compare-sources .sources { align-items: flex-start; flex-direction: column; }
@media (min-width: 1550px) { .hero { margin-top: 2rem; } .index-area { margin-top: 2.65rem; } }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 3rem); }
  .hero { min-height: 21.5rem; }
  .hero-content { width: 56%; padding-inline: 2rem; }
  .hero-art { width: 52%; }
  .index-area { grid-template-columns: minmax(0, 1fr) 16rem; gap: 1.15rem; }
  .product-details > summary { grid-template-columns: 1.8rem 2.9rem minmax(0, 1fr) 1.45rem; gap: .72rem; padding: 1rem .82rem; }
  .emblem { width: 2.9rem; height: 2.9rem; border-radius: .65rem; font-size: 1.8rem; }
  .compare-top, .compare-form { padding-inline: 1rem; }
  .profile-tabs { gap: .35rem; }
  .profile-tabs button { padding-inline: .65rem; }
}
@media (max-width: 780px) {
  .index-area { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin-bottom: 2rem; }
  .side { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: start; }
  .compare-top, .compare-form { padding-inline: 1.2rem; }
  .hero { min-height: 20.7rem; }
  .hero-content { width: 57%; padding-block: 1.9rem; }
  .hero-art { width: 49%; }
  .hero-art img { object-fit: contain; }
  .hero h1 { font-size: clamp(3.15rem, 7.5vw, 3.8rem); }
  .product-details > summary { grid-template-columns: 2.1rem 3.2rem minmax(0, 1fr) 1.6rem; gap: .9rem; }
  .emblem { width: 3.2rem; height: 3.2rem; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 1.65rem); }
  .mast-inner { min-height: 3.65rem; gap: .5rem; }
  .wordmark { font-size: 1.24rem; gap: .35rem; }
  .brand-mark { width: 1.75rem; height: 1.75rem; border-radius: .46rem; font-size: 1.25rem; }
  .main-nav { gap: .88rem; }
  .main-nav a { font-size: .81rem; }
  .main-nav a::after { bottom: .65rem; }
  .main-nav a[href="#methodik"] { display: none; }
  .hero { margin-top: .8rem; display: block; min-height: 0; border-radius: .67rem; }
  .hero-content { width: 100%; padding: 1.65rem 1.35rem 0; }
  .hero h1 { font-size: clamp(3.3rem, 12.8vw, 4.15rem); margin: .78rem 0 .7rem; line-height: .96; }
  .hero-content > p { max-width: 26rem; font-size: 1rem; line-height: 1.45; }
  .edition { gap: .45rem; font-size: .75rem; letter-spacing: .045em; }
  .edition-rule { width: .94rem; }
  .hero-action { min-height: 2.5rem; margin-top: .85rem; }
  .hero-art { position: relative; width: 100%; height: clamp(9.8rem, 36vw, 12rem); margin-top: -.2rem; z-index: -1; background: none; mask-image: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; }
  .hero-art { order: 2; }
  .hero-content { order: 1; }
  .hero-art img { position: absolute; right: 2%; bottom: 0; width: auto; max-width: 97%; height: 100%; object-fit: contain; mask-image: linear-gradient(90deg, transparent, black 13%, black 93%, transparent), linear-gradient(0deg, transparent, black 10%, black 94%, transparent); mask-composite: intersect; }
  .cross-tl { display: none; }
  .index-area { margin-top: 1.45rem; gap: 1.15rem; }
  .ranking-heading { min-height: auto; }
  .ranking-heading h2 { font-size: 1.94rem; }
  .result-count { font-size: .75rem; }
  .profile-tabs { margin: .78rem 0 .8rem; gap: .35rem; }
  .profile-tabs button { padding: .48rem .58rem; gap: .27rem; font-size: .84rem; min-height: 2.4rem; }
  .profile-tabs .i { font-size: 1rem; }
  .product-details > summary {
    grid-template-columns: 1.5rem 2.38rem minmax(0,1fr) 1.35rem; column-gap: .55rem; row-gap: 0; align-items: start; padding: .88rem .66rem;
  }
  .position { grid-column: 1; grid-row: 1; align-self: center; font-size: 1.02rem; line-height: 1; }
  .emblem { width: 2.38rem; height: 2.38rem; border-radius: .54rem; font-size: 1.45rem; }
  .product-copy { display: contents; }
  .product-details > summary > .emblem { grid-column: 2; grid-row: 1; }
  .product-title { grid-column: 3; grid-row: 1; align-self: center; font-size: 1.1rem; }
  .reason { grid-column: 2 / -1; grid-row: 2; margin-top: .5rem; font-size: 1rem; line-height: 1.4; }
  .tags { grid-column: 2 / -1; grid-row: 3; gap: .3rem; margin-top: .44rem; }
  .tags > span { font-size: .75rem; }
  .disclose { grid-column: 4; grid-row: 1; align-self: center; width: 1.34rem; height: 1.34rem; }
  .row-detail { padding-inline: .9rem; }
  .row-detail dl { grid-template-columns: 1fr; gap: .55rem; }
  .side { grid-template-columns: 1fr; }
  .compare-top { padding: 1.15rem; }
  .compare-illustration { float: right; margin: .1rem 0 .2rem .6rem; }
  .compare-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7rem; padding: .9rem 1.1rem 1.1rem; }
  .compare-action { grid-column: 1 / -1; }
  .select-wrap select { padding-left: 2.3rem; padding-right: 1.3rem; font-size: .9rem; }
  .select-chevron { right: .2rem; }
  .foot-inner { min-height: 3.65rem; gap: .55rem; flex-wrap: wrap; padding-block: .6rem; }
  .page-foot a { font-size: .82rem; }
  dialog { width: calc(100% - .8rem); max-height: 95dvh; border-radius: .68rem; }
  .dialog-head { padding: .88rem 1rem; }
  .dialog-head h2 { font-size: 1.56rem; }
  .compare-table thead, .compare-table tbody { display: block; }
  .compare-table thead { position: sticky; top: 0; z-index: 2; }
  .compare-table tr { display: grid; grid-template-columns: repeat(2,minmax(0, 1fr)); }
  .compare-table thead th { position: static; display: flex; align-items: center; font-size: .9rem; padding: .65rem .7rem; }
  .compare-table .field-heading { display: none; }
  .compare-table tbody th:first-child { width: auto; grid-column: 1/-1; padding: .47rem .7rem .05rem; border-top: 1px solid #dce0d4; font-family: var(--mono); font-size: .76rem; }
  .compare-table tbody td { padding: .28rem .7rem .65rem; border-top: 0; font-size: .95rem; overflow-wrap: anywhere; }
  .compare-product > span:last-child { font-size: .88rem; }
}
@media (max-width: 450px) {
  .profile-tabs { display: grid; grid-template-columns: auto auto auto; }
  .full-tab-label { display: none; }
  .short-tab-label { display: inline; }
  .profile-tabs button { white-space: nowrap; }
}
@media (max-width: 385px) {
  .main-nav a[href="#topliste"] { display: none; }
  .edition { white-space: nowrap; }
  .edition-name, .edition .slash { display: none; }
  .ranking-heading { gap: .4rem; }
  .ranking-heading h2 { font-size: 1.8rem; white-space: nowrap; }
  .result-count::before { display: none; }
  .hero h1 { font-size: clamp(2.65rem, 12.7vw, 3.15rem); }
  .profile-tabs { gap: .23rem; }
  .profile-tabs button { padding-inline: .5rem; font-size: .8125rem; }
  .profile-tabs .i { display: none; }
  .main-nav { gap: .64rem; }
  .compare-form { grid-template-columns: 1fr; }
  .hero-content { padding-inline: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
@media print {
  .masthead, .hero-art, .hero-action, .profile-tabs, .side, .page-foot, .disclose { display: none; }
  .shell { width: 100%; }
  .hero { min-height: 0; background: none; color: #000; margin: 0; }
  .hero-content { width: 100%; padding: 0; }
  .hero h1, .hero h1 em, .hero-content > p, .edition, .edition time { color: #000; }
  .index-area { display: block; margin-top: 1rem; }
  .rank-row { break-inside: avoid; }
}

.mast-inner { position: relative; }
.mast-inner .main-nav { margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: .1rem; flex: none; padding: .17rem; border: 1px solid #d8ddcf; background: #ebece5; border-radius: .46rem; }
.lang-switch a { padding: .31rem .5rem; font: 600 .78rem/1.1 var(--mono); text-decoration: none; color: #50584c; border-radius: .29rem; }
.lang-switch a[aria-current="true"] { background: #33382e; color: #fff; }
.lang-switch a:hover { text-decoration: underline; }
.legal-area { margin-block: .4rem 1.4rem; }
.legal-box { border-top: 1px solid #d4d8cc; padding: .85rem .05rem 0; color: #4a5145; }
.legal-box summary { width: max-content; cursor: pointer; font-weight: 650; }
.legal-box address { font-style: normal; margin-top: .65rem; line-height: 1.52; }
@media (max-width: 710px) {
  .mast-inner { flex-wrap: wrap; column-gap: .45rem; row-gap: .16rem; padding-block: .55rem; }
  .mast-inner .wordmark { order: 0; }
  .mast-inner .lang-switch { order: 1; margin-left: auto; }
  .mast-inner .main-nav { order: 2; width: 100%; justify-content: flex-start; gap: 1.1rem; margin-left: 0; padding-top: .25rem; }
  .mast-inner .main-nav a { min-height: 1.7rem; }
  .mast-inner .main-nav a::after { bottom: -.15rem; }
}
@media (max-width: 660px) {
  .view-tabs { display: flex; flex-wrap: wrap; }
  .view-tabs button { flex: 1 1 auto; }
}
