/* Scoped to the magic-doll article; existing navigation and icon layout are unchanged. */
.doll-guide { color: #4a3524; --doll-line: #ae8e5b; --doll-ink: #4a3524; }
.doll-guide *, .doll-guide *::before, .doll-guide *::after { box-sizing: border-box; }
.doll-guide h3, .doll-guide h4, .doll-guide p, .doll-guide ul, .doll-guide ol, .doll-guide figure { margin: 0; }
.doll-guide ul, .doll-guide ol { padding: 0; }
.doll-guide h4 { font-size: 16px; color: #392819; line-height: 1.5; }
.doll-guide p { line-height: 1.8; }
.doll-guide img { max-width: 100%; }
.doll-intro {
  padding: 28px 30px 0;
  border: 1px solid #957447;
  background: radial-gradient(ellipse at top right, #9866323b, transparent 60%), linear-gradient(130deg, #30251c, #493324);
  box-shadow: inset 0 0 0 4px #d3ab6330;
  color: #e3cfac;
}
.doll-kicker { color: #d7b46e; font-size: 12px; letter-spacing: .15em; }
.doll-guide .doll-lead { margin: 12px 0; color: #f4e5c7; font: 500 28px/1.6 "Noto Serif KR", Batang, serif; }
.doll-guide .doll-lead strong { color: #f4d591; font-weight: 700; }
.doll-facts { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; padding: 16px 0; border-top: 1px solid #cfaa6559; font-size: 13px; }
.doll-facts b { color: #f5dfb3; }
.doll-guide .doll-section { margin-top: 36px; }
.doll-guide .doll-section-title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 0 0 11px; border-bottom: 1px solid #aa8453; color: #573c23; font: 700 20px/1.5 "Noto Serif KR", Batang, serif; }
.doll-section-title > span { color: #9c773e; font: 400 27px/1 Georgia, serif; }
.doll-guide .doll-location { border: 1px solid var(--doll-line); padding: 7px; background: #352b20; }
.doll-location > img { display: block; width: 100%; height: auto; }
.doll-guide figcaption { padding: 10px 6px 4px; text-align: center; font-size: 12px; line-height: 1.6; }
.doll-location figcaption { color: #e0ccac; }
.doll-shops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--doll-line); border-top: 0; background: #f5e7c975; }
.doll-shop { display: flex; gap: 12px; padding: 20px 16px; }
.doll-shop + .doll-shop { border-left: 1px solid #b69b6d77; }
.doll-icon { display: inline-block; width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; flex: 0 0 40px; }
.doll-shop > .doll-icon { background: #2c251f; border: 1px solid #8c6b3a; width: 48px; height: 48px; padding: 3px; flex-basis: 48px; }
.doll-small-label { display: block; color: #7a5a34; font-size: 12px; margin-bottom: 7px; }
.doll-price { display: block; color: #744021; font: 700 24px/1.6 Georgia, serif; margin: 7px 0; }
.doll-price small { font: 400 12px/1.6 sans-serif; color: #735d40; white-space: nowrap; }
.doll-shop p { font-size: 13px; }
.doll-tutorial { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(0, 1.4fr); gap: 26px; align-items: start; }
.doll-window { max-width: 260px; width: 100%; margin-inline: auto !important; }
.doll-window > img { display: block; width: 100%; height: auto; }
.doll-window figcaption { color: #7b6447; }
.doll-steps { list-style: none; }
.doll-steps > li { display: flex; gap: 12px; margin: 0 0 20px; }
.doll-step-number { display: flex; flex: 0 0 28px; height: 28px; align-items: center; justify-content: center; background: #60462c; border: 1px solid #987241; color: #f8e6b9; font: 17px Georgia, serif; }
.doll-steps p { margin-top: 5px; font-size: 13px; }
.doll-recipes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.doll-recipe { padding: 20px; background: #f7eacd8c; border: 1px solid var(--doll-line); box-shadow: inset 0 0 0 3px #ac8b4c13; }
.doll-recipe > h4 { min-height: 48px; font-size: 15px; }
.doll-chance { padding: 10px 0; color: #795739; font-size: 13px; border-bottom: 1px solid #b49b6b66; }
.doll-chance > strong { font: 700 38px Georgia, serif; color: #73441f; margin-left: 8px; }
.doll-chance small { font-size: 20px; }
.doll-recipe p { padding: 12px 0; font-size: 14px; }
.doll-recipe p > b { margin-right: 8px; color: #5d3d21; }
.doll-recipe > small { color: #7b6243; font-size: 12px; }
.doll-gems { margin-top: 14px; padding: 16px; border: 1px solid #b69b6d77; background: #e1cba436; }
.doll-gems > p { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.doll-gems > ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.doll-gems li { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; text-align: center; }
.doll-gems .doll-icon { background: #352b22; border: 1px solid #97784b; }
.doll-gems b { display: block; }
.doll-guide .doll-note { margin-top: 14px; padding: 12px 16px; border-left: 3px solid #9d7843; background: #9a763016; color: #6e5638; font-size: 13px; }
.doll-summon, .doll-spartoi { display: flex; align-items: start; gap: 16px; padding: 20px; background: #f6e8c96b; border: 1px solid var(--doll-line); }
.doll-summon p, .doll-spartoi p { margin-top: 7px; font-size: 13px; }
.doll-portrait { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex: 0 0 58px; background: radial-gradient(#66503a, #261f19); border: 1px solid #9f7d44; box-shadow: inset 0 0 0 3px #b3975d22; }
.doll-portrait .doll-icon { width: 48px; height: 48px; flex-basis: 48px; }
.doll-guide .doll-section-desc { margin: -5px 0 18px; font-size: 13px; color: #735b3c; }
.doll-tier { margin-top: 20px; border: 1px solid var(--doll-line); }
.doll-tier-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 15px 20px; background: linear-gradient(110deg, #483727, #30251d); border-bottom: 2px solid #b99456; }
.doll-tier-head > div > span { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .08em; color: #bca580; }
.doll-tier-head h3 { font: 700 18px/1.5 "Noto Serif KR", Batang, serif; color: #e7d0a9; }
.doll-tier-2 .doll-tier-head h3 { color: #edd69a; }
.doll-tier-3 .doll-tier-head h3 { color: #a9d5df; }
.doll-tier-head p { font-size: 12px; color: #d5c3a8; }
.doll-guide .doll-catalogue { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); list-style: none; padding: 0 16px; background: #f4e3bd44; }
.doll-entry { display: flex; gap: 13px; align-items: start; min-width: 0; padding: 20px 10px; border-bottom: 1px solid #a6874f55; }
.doll-entry:nth-last-child(-n+2) { border-bottom: 0; }
.doll-entry-text { min-width: 0; }
.doll-entry h4 { margin: 0 0 6px; font-size: 15px; word-break: keep-all; overflow-wrap: anywhere; }
.doll-guide .doll-options { list-style: none; padding: 0; font-size: 13px; line-height: 1.8; color: #725230; }
.doll-guide .doll-checks { padding-left: 20px; margin-top: 16px; font-size: 13px; line-height: 1.9; }
.doll-checks > li { padding: 5px 0; }
@media (max-width: 700px) {
  .doll-intro { padding: 22px 20px 0; }
  .doll-guide .doll-lead { font-size: 24px; }
  .doll-guide .doll-section-title { font-size: 18px; }
  .doll-shops, .doll-tutorial, .doll-recipes, .doll-guide .doll-catalogue { grid-template-columns: 1fr; }
  .doll-shop + .doll-shop { border-left: 0; border-top: 1px solid #b69b6d77; }
  .doll-recipe > h4 { min-height: 0; }
  .doll-window { max-width: 240px; }
  .doll-entry:nth-last-child(2) { border-bottom: 1px solid #a6874f55; }
  .doll-gems > ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .doll-summon, .doll-spartoi { padding: 16px 12px; gap: 12px; }
  .doll-tier-head { padding: 15px; }
}
