:root {
  color-scheme: light;
  --night: #131c2f;
  --night-2: #1c2941;
  --ink: #1a2840;
  --muted: #53637a;
  --line: #dce4ee;
  --paper: #f1f4f8;
  --white: #fff;
  --indigo: #2f4f82;
  --gold: #f2c882;
  --radius: 12px;
  font-family: 'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.5; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #547dc0;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.wrap { width: min(1216px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { 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 { position: fixed; top: 8px; left: 8px; z-index: 9; transform: translateY(-160%); padding: 9px 16px; background: var(--white); border-radius: 8px; }
.skip-link:focus { transform: none; }

.topbar { background: #111a2c; color: #f3f6fc; border-bottom: 1px solid #34415a; }
.topbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 65px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; justify-self: start; white-space: nowrap; font-weight: 800; letter-spacing: .075em; text-decoration: none; }
.mark { display: inline-grid; width: 22px; height: 22px; place-items: center; transform: rotate(45deg); border: 1px solid #c99656; background: #403647; border-radius: 4px; }
.mark::after { content: ''; width: 8px; height: 8px; border-radius: 1px; background: var(--gold); box-shadow: 0 0 13px #ffca7c8f; }
.navigation { display: flex; align-items: stretch; gap: 30px; min-height: 65px; }
.navigation a { display: grid; place-items: center; white-space: nowrap; text-decoration: none; font-size: .9rem; font-weight: 700; color: #b1bfd6; position: relative; }
.navigation a:hover, .navigation a[aria-current="page"] { color: #fff; }
.navigation a[aria-current="page"]::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold); border-radius: 2px; }
.version { justify-self: end; color: #ebd3aa; background: #252a3c; border: 1px solid #555064; border-radius: 20px; font-size: .8rem; font-weight: 750; letter-spacing: .02em; padding: 5px 11px; }

.hero {
  position: relative; overflow: hidden; color: #f8f9ff; background:
    radial-gradient(ellipse at 76% 56%, #314b71 0, #1e2c46 38%, transparent 68%),
    linear-gradient(107deg, #111c34 6%, #1d2a46 100%);
  border-bottom: 1px solid #344967;
}
.hero::after { position: absolute; inset: 0; content: ''; background: repeating-linear-gradient(0deg, transparent 0 39px, #c5d4fb08 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, #c5d4fb08 39px 40px); mask-image: linear-gradient(90deg, transparent, black 65%); pointer-events: none; }
.hero-inner { min-height: 326px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; position: relative; }
.hero-content { position: relative; z-index: 2; padding-block: 45px 43px; }
.hero h1 { font-size: clamp(2.3rem, 4.25vw, 3.8rem); line-height: 1.12; letter-spacing: -.056em; margin: 0; font-weight: 850; white-space: nowrap; }
.hero-brand { color: #ffe0a8; }
.hero-title { white-space: nowrap; }
.hero-stats { color: #bacbe5; margin: 13px 0 24px; font-size: .97rem; }
.searchbox { position: relative; display: flex; max-width: 528px; align-items: center; color: var(--ink); background: #fff; border: 1px solid #e2eaf7; border-radius: 12px; box-shadow: 0 10px 30px #0c13275c; }
.searchbox:focus-within { outline: 3px solid #87a5dc; outline-offset: 3px; }
.search-icon { position: relative; width: 17px; height: 17px; border: 2px solid #547097; border-radius: 50%; flex: 0 0 auto; margin-left: 18px; }
.search-icon::after { content: ''; position: absolute; right: -5px; bottom: -3px; height: 2px; width: 7px; border-radius: 1px; background: #547097; transform: rotate(47deg); }
.searchbox input { border: 0; outline: 0; width: 100%; min-width: 0; color: var(--ink); background: transparent; padding: 15px 14px 15px 17px; }
.searchbox input:focus-visible { outline: 0; }
.searchbox input::placeholder { color: #5a6b84; }
.searchbox input::-webkit-search-cancel-button { display: none; }
.searchbox button { background: transparent; color: #4d617c; border: 0; border-radius: 6px; margin-right: 12px; font-size: 1.52rem; line-height: 1; width: 34px; height: 34px; }
.searchbox button:hover { background: #edf2f9; }
.searchbox kbd { color: #5b6c85; background: #f0f3f8; border: 1px solid #d8e1ec; border-radius: 5px; font: .85rem/1.65 ui-monospace, monospace; padding: 0 7px; margin-right: 14px; }
.examples { display: flex; gap: 8px; margin-top: 13px; }
.examples button { color: #e2ecff; background: #263853; border: 1px solid #516481; border-radius: 20px; padding: 5px 11px; font-size: .85rem; }
.examples button:hover { background: #354c6e; border-color: #8ca5c7; }

.hero-art { height: 100%; min-height: 300px; position: relative; z-index: 1; pointer-events: none; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; inset: 15% 5% 8%; z-index: -2; background: radial-gradient(ellipse, #6789b54d, #4f6ea92a 38%, transparent 68%); }
.orbit { position: absolute; inset: 50% auto auto 50%; border: 1px solid #a4b6d536; border-radius: 50%; transform: translate(-50%, -49%) rotate(-12deg); z-index: -1; }
.orbit-outer { width: 82%; height: 72%; }
.orbit-inner { width: 74%; height: 64%; border-style: dashed; border-color: #a4b6d552; }
.orbit-core { width: 62%; height: 52%; border-color: #8ba8e236; }
.rune { position: absolute; display: block; width: 8px; height: 8px; border: 1px solid #efc479a3; background: #514d62; border-radius: 2px; transform: rotate(45deg); box-shadow: 0 0 11px #f0bf7666; }
.rune-a { top: 21%; left: 18%; }
.rune-b { top: 23%; right: 18%; width: 5px; height: 5px; }
.rune-c { bottom: 20%; left: 26%; width: 6px; height: 6px; }
.rune-d { bottom: 20%; right: 21%; }
.hero-monster { position: absolute; height: auto; object-fit: contain; image-rendering: pixelated; }
.hero-monster-center { width: 55%; top: 50%; left: 50%; transform: translate(-50%, -48%); filter: drop-shadow(0 12px 10px #050d1aaf) drop-shadow(0 0 27px #9fbfff60); z-index: 3; }
.hero-monster-left { width: 31%; left: 5%; top: 45%; transform: translateY(-39%); opacity: .84; filter: drop-shadow(0 5px 8px #100821c0) drop-shadow(0 0 18px #fe774f36); }
.hero-monster-right { width: 31%; right: 3%; top: 50%; transform: translateY(-37%); opacity: .94; filter: drop-shadow(0 7px 7px #040a18a0) drop-shadow(0 0 20px #4289d357); }

.catalog { padding-block: 34px 24px; scroll-margin-top: 16px; min-height: 420px; }
.zone-guide { margin-bottom: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.zone-guide > summary { padding: 11px 15px; cursor: pointer; color: #28466f; font-weight: 780; }
.zone-guide > summary::marker { color: #597aa8; }
.zone-guide-body { padding: 0 15px 14px; }
.zone-guide-body > p { margin: 0; color: var(--muted); font-size: .9rem; }
.zone-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 11px; }
.zone-card { padding: 10px 13px; background: #f3f6fb; border: 1px solid #e1e9f4; border-radius: 9px; }
.zone-card-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 10px; }
.zone-card h3, .zone-card dl, .zone-card dd { margin: 0; }
.zone-card h3 { color: #1d3963; font-size: 1.06rem; }
.zone-card-heading button { padding: 4px 8px; color: #2e4f7f; background: #fff; border: 1px solid #d4e1f1; border-radius: 6px; font-size: .82rem; font-weight: 700; }
.zone-card-heading button:hover { background: #e7eef8; }
.zone-card dl { display: grid; gap: 4px; margin-top: 7px; font-size: .9rem; }
.zone-card dl > div { display: grid; grid-template-columns: 2.7rem 1fr; gap: 4px; }
.zone-card dt { color: var(--muted); font-weight: 700; }
.zone-card dd { color: #253c5d; }
.catalog-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.catalog h2 { margin: 0; font-size: 1.65rem; font-weight: 820; letter-spacing: -.045em; }
#result-count { margin: 0; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.chips, .selects { display: flex; flex-wrap: wrap; gap: 7px; }
.chips button, .select-wrap select { min-height: 40px; color: #3c4f69; background: var(--white); border: 1px solid #d9e2ed; border-radius: 9px; font-size: .9rem; font-weight: 700; }
.chips button { padding: 7px 15px; }
.chips button[aria-pressed="true"] { background: #293e65; color: #fff; border-color: #293e65; }
.chips button:not([aria-pressed="true"]):hover, .select-wrap select:hover { border-color: #899fbe; }
.select-wrap { display: inline-flex; position: relative; }
.select-wrap::after { content: ''; width: 7px; height: 7px; border: solid #536b8e; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); position: absolute; right: 14px; top: 15px; pointer-events: none; }
.select-wrap select { appearance: none; padding: 6px 32px 6px 12px; cursor: pointer; }

.item-columns, .item-row { display: grid; grid-template-columns: minmax(168px, 1.08fr) minmax(78px, .28fr) minmax(350px, 1.58fr); column-gap: 18px; }
.item-columns { padding: 9px 19px; color: #465b77; font-size: .86rem; font-weight: 750; }
.item-columns > :nth-child(2) { text-align: right; }
.results { display: grid; gap: 8px; }
.item-row { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 18px; min-height: 94px; box-shadow: 0 1px 2px #192f4e06; }
.item-row:hover { border-color: #bacbe1; }
.item-main { min-width: 0; }
.item-identity, .item-detail-heading { display: flex; align-items: center; gap: 12px; }
.item-name-block { min-width: 0; }
.item-icon { display: block; width: 43px; height: 43px; flex: 0 0 43px; object-fit: contain; image-rendering: pixelated; background: #eaf0f8; border: 1px solid #dce6f2; border-radius: 8px; padding: 5px; }
.item-name, .monster-name { display: inline-block; text-decoration: none; color: #203c69; font-size: 1.12rem; font-weight: 800; overflow-wrap: anywhere; line-height: 1.35; }
.item-name:hover, .monster-name:hover { color: #3764ac; text-decoration: underline; }
.item-category { display: inline-flex; margin-left: 8px; margin-bottom: 2px; vertical-align: middle; padding: 2px 7px; background: #edf2fb; color: #32527e; border-radius: 5px; font-size: .75rem; font-weight: 740; white-space: nowrap; }
.item-effect { margin: 5px 0 0; color: var(--muted); font-size: .91rem; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { white-space: nowrap; margin: 0; text-align: right; font-size: .93rem; font-variant-numeric: tabular-nums; color: #72501d; font-weight: 800; }
.price[aria-label="상점 가격 없음"] { color: #627188; font-weight: 500; }
.source-list { display: flex; flex-wrap: wrap; align-items: stretch; gap: 7px; min-width: 0; }
.source-tile { display: inline-flex; align-items: center; flex: 0 1 auto; inline-size: max-content; min-inline-size: min(108px, 100%); max-inline-size: 100%; min-height: 60px; gap: 7px; border: 1px solid #e3eaf2; border-radius: 8px; background: #f6f8fb; padding: 5px 7px; text-decoration: none; color: #233b5d; }
.source-tile:hover { background: #eaf0f9; border-color: #a2b7d6; }
.portrait { width: 43px; height: 43px; min-width: 0; flex: 0 0 43px; object-fit: contain; image-rendering: pixelated; }
.source-label { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; font-size: .81rem; line-height: 1.25; font-weight: 770; overflow-wrap: anywhere; }
.source-location { font-variant-numeric: tabular-nums; }
.source-small { color: #546781; font-size: .75rem; font-weight: 550; }
.more-sources { align-self: center; display: inline-grid; place-items: center; white-space: nowrap; min-width: 37px; min-height: 36px; padding: 4px 7px; color: #2a4a7a; background: #edf2fa; border: 1px solid #dbe6f4; border-radius: 8px; text-decoration: none; font-size: .83rem; font-weight: 750; }
.more-sources:hover { background: #dae6f6; }
.no-source { color: #627188; font-size: .86rem; margin: 0; }
.route-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.route-tag { color: #405676; background: #edf2fa; border: 1px solid #dce7f5; border-radius: 7px; padding: 4px 9px; font-weight: 700; font-size: .82rem; }
.recipe-link { align-self: center; text-decoration: none; }
.recipe-link:hover { background: #dde8f8; }

.results.monster-results { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.monster-card { display: block; overflow: hidden; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.monster-card:hover { border-color: #8aa5c9; box-shadow: 0 3px 10px #1c345518; }
.monster-visual { height: 138px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 45%, #344966, #1a2940 72%); overflow: hidden; }
.monster-visual img { width: 72%; height: 112px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 7px 5px #03081485); }
.monster-meta { padding: 13px 14px 15px; }
.monster-meta .monster-name { font-size: 1.02rem; }
.monster-meta p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.monster-meta small { display: block; color: #516280; margin-top: 6px; font-size: .77rem; font-variant-numeric: tabular-nums; }
.empty button { min-height: 37px; padding: 6px 12px; color: #304d78; background: var(--white); border: 1px solid #d3dfed; border-radius: 8px; font-weight: 740; }
.empty button:hover { background: #e7eef8; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.empty h3 { font-size: 1.12rem; margin: 0 0 7px; }
.empty p { color: var(--muted); margin: 0 0 18px; }
.footer { border-top: 1px solid #d7e0ec; padding-block: 20px 36px; color: #556781; font-size: .86rem; }
.footer p { margin: 0 0 7px; }
.footer details p { max-width: 650px; margin: 7px 0 0; }
.footer summary { cursor: pointer; width: max-content; color: #3a557b; font-weight: 650; }

.detail { border: 1px solid #bdcbe1; border-radius: 17px; padding: 0; background: #fff; color: var(--ink); width: min(720px, calc(100% - 32px)); max-height: min(84vh, 860px); box-shadow: 0 20px 100px #101b3270; }
.detail::backdrop { background: #121b30a6; backdrop-filter: blur(3px); }
body:has(.detail[open]) { overflow: hidden; }
.detail-bar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; padding: 11px 18px 11px 24px; background: #172740; color: #f0d5a4; z-index: 2; font-size: .9rem; font-weight: 750; }
.detail-bar button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: #fff; background: #304560; border: 1px solid #526989; border-radius: 8px; font-size: 1.45rem; line-height: 1; }
.detail-bar button:hover { background: #426084; }
.detail-content { padding: 22px 24px 27px; }
.detail-content h2 { margin: 0; color: #19365f; font-size: clamp(1.45rem, 4.6vw, 2.1rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
.item-detail-heading .item-icon { width: 51px; height: 51px; flex-basis: 51px; }
.detail-content h3 { margin: 22px 0 10px; font-size: 1.05rem; }
.detail-content .detail-effect { margin: 7px 0 9px; color: #394d6b; }
.detail-content .detail-summary { color: var(--muted); font-size: .92rem; margin: 7px 0 0; }
.item-growth { color: #315683; font-size: .82rem; font-weight: 700; }
.equipment-section { margin-top: 18px; padding: 13px; background: #f7f9fc; border: 1px solid #dce7f5; border-radius: 10px; }
.equipment-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 10px; }
.equipment-header h3 { margin: 0; }
.equipment-count { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.equipment-count input { width: 7rem; min-height: 34px; padding: 4px 8px; color: var(--ink); background: #fff; border: 1px solid #b9cbe1; border-radius: 6px; }
.equipment-comparison { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.equipment-value { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 9px 10px; color: var(--muted); background: #fff; border-radius: 7px; font-size: .83rem; overflow-wrap: anywhere; }
.equipment-value strong { color: #19365f; font-size: 1.22rem; font-variant-numeric: tabular-nums; }
.equipment-value:last-child { background: #e9eff8; }
.equipment-error { grid-column: 1 / -1; margin: 0; color: #90322d; font-size: .9rem; }
.detail-rows { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.detail-row { display: flex; gap: 11px; align-items: center; min-height: 65px; background: #f7f9fc; border: 1px solid #e5ebf3; border-radius: 9px; padding: 8px 10px; }
.detail-row .portrait { display: block; }
.detail-row a { color: #284d83; font-weight: 780; text-decoration: none; }
.detail-row a:hover { text-decoration: underline; }
.detail-drop-info { flex: 1 1 auto; min-width: 0; }
.detail-drop-info > a, .drop-row-heading a { display: inline-block; overflow-wrap: anywhere; }
.drop-row-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; }
.drop-kind { color: var(--muted); font-size: .8rem; }
.drop-places { display: grid; gap: 5px; margin-top: 6px; }
.drop-place-group, .drop-place-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.drop-place-chips { min-width: 0; }
.detail-badge, .drop-place { border-radius: 5px; padding: 2px 7px; color: #36547f; font-size: .8rem; }
.detail-badge { background: #e9eff8; white-space: nowrap; }
.drop-place { background: #fff; border: 1px solid #dce7f5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.drop-places-more, .drop-conditions { min-width: 0; font-size: .8rem; color: #4a6589; }
.drop-places-more summary, .drop-conditions summary { width: max-content; max-width: 100%; cursor: pointer; }
.drop-places-more[open] { flex-basis: 100%; }
.drop-places-more[open] > .drop-place-chips { margin-top: 5px; }
.drop-conditions ul { margin: 4px 0 0; padding-left: 19px; }
.recipe-card { margin-top: 12px; border: 1px solid #dce7f5; border-radius: 10px; overflow: hidden; }
.recipe-header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 9px 12px; background: #edf3fb; }
.recipe-header h4 { margin: 0; color: #294c7a; font-size: .95rem; }
.recipe-chance { color: #315683; font-weight: 750; font-size: .9rem; }
.recipe-materials { list-style: none; padding: 0; margin: 0; }
.recipe-material { display: grid; grid-template-columns: 33px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 11px; }
.recipe-material + .recipe-material { border-top: 1px solid #e7edf6; }
.recipe-material .item-icon { width: 33px; height: 33px; padding: 3px; }
.recipe-material a { color: #284d83; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.recipe-material a:hover { text-decoration: underline; }
.material-quantity { color: var(--muted); white-space: nowrap; font-size: .9rem; }
.detail-monster { display: grid; grid-template-columns: 126px 1fr; gap: 18px; align-items: center; }
.detail-monster .monster-visual { height: 117px; border-radius: 12px; }
.detail-monster .monster-visual img { height: 95px; width: 90%; }

@media (max-width: 1030px) {
  .source-tile { gap: 4px; padding-inline: 5px; }
  .portrait { width: 37px; height: 37px; flex-basis: 37px; }
  .item-columns, .item-row { grid-template-columns: minmax(168px, 1fr) minmax(70px, .31fr) minmax(310px, 1.42fr); gap: 12px; }
  .results.monster-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  .hero-inner { grid-template-columns: 1.3fr .8fr; min-height: 285px; }
  .hero-content { padding-block: 35px; }
  .hero-art { min-height: 235px; width: 128%; margin-left: -19%; }
  .hero h1 { white-space: normal; }
  .catalog { padding-top: 26px; }
  .item-columns { display: none; }
  .item-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px 13px; }
  .source-list { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .topbar-inner { grid-template-columns: auto 1fr; min-height: 55px; gap: 10px; }
  .wordmark { font-size: .9rem; gap: 8px; }
  .mark { width: 16px; height: 16px; }
  .mark::after { width: 6px; height: 6px; }
  .navigation { gap: 12px; min-height: 55px; justify-self: end; }
  .navigation a { font-size: .84rem; }
  .version { display: none; }
  .hero-inner { display: block; min-height: auto; }
  .hero-content { padding-block: 34px 24px; }
  .hero h1 { max-width: 78%; font-size: clamp(2rem, 8vw, 2.65rem); }
  .hero-title { display: block; }
  .hero-art { position: absolute; min-height: 0; width: 181px; height: 150px; top: 4px; right: -36px; margin: 0; opacity: .6; }
  .hero-monster-center { width: 69%; }
  .hero-monster-left, .hero-monster-right { display: none; }
  .hero-stats { font-size: .87rem; margin: 9px 0 19px; }
  .searchbox input { padding-block: 13px; }
  .searchbox kbd { display: none; }
  .catalog-heading h2 { font-size: 1.42rem; }
  .zone-cards { grid-template-columns: 1fr; }
  .chips button { padding-inline: 11px; }
  .filterbar { gap: 8px; margin-bottom: 12px; }
  .source-tile { min-inline-size: min(82px, 100%); min-height: 53px; }
  .item-identity { gap: 9px; }
  .item-icon { width: 36px; height: 36px; flex-basis: 36px; padding: 3px; }
  .source-label { white-space: normal; font-size: .76rem; }
  .source-small { font-size: .72rem; }
  .portrait { width: 31px; height: 31px; flex-basis: 31px; }
  .more-sources { min-width: 33px; padding-inline: 4px; }
  .results.monster-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .monster-visual { height: 105px; }
  .monster-visual img { height: 83px; }
  .monster-meta { padding: 9px 10px 12px; }
  .detail-content { padding: 17px 14px 21px; }
  .equipment-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipment-value:last-child { grid-column: 1 / -1; }
  .detail-bar { padding-left: 14px; }
  .detail-monster { grid-template-columns: 95px 1fr; gap: 12px; }
  .detail-monster .monster-visual { height: 90px; }
  .detail-monster .monster-visual img { height: 75px; }
}
@media (max-width: 375px) { .source-tile .portrait { width: 25px; height: 25px; flex-basis: 25px; } }
