.guide-shell{max-width:1160px;margin:auto;padding:45px 28px 90px;min-height:80vh}.guide-heading{padding:25px 0 36px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#0c171cf2,#0c171c88),url('/konoha-sunset-20260929.webp') center 60%/cover}.guide-heading h1{font-size:clamp(34px,5vw,58px);margin:10px 0 18px;line-height:1.08;max-width:850px}.guide-heading p{max-width:760px}.guide-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.guide-tabs a{padding:9px 23px;border:1px solid #526569;border-radius:4px}.guide-tabs a[aria-current=page]{background:#ed973f;color:#18252a;border-color:#ed973f;font-weight:bold}.filter-row{display:flex;gap:16px;flex-wrap:wrap;align-items:end}.filter-row label{display:grid;gap:4px;flex:1;min-width:160px;font-size:12px;color:#c6d1d1}.filter-row input,.filter-row select{width:100%;padding:12px;background:#142830;color:#f2eee3;border:1px solid #526569;border-radius:4px;min-height:46px}.technique-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.scroll-card{border:1px solid #354b51;background:#14252bd9;border-radius:6px;padding:24px;position:relative;overflow-wrap:anywhere}.scroll-card h2{font-size:24px;letter-spacing:-.4px;margin:6px 0 14px}.scroll-card h3{font-size:18px;margin-bottom:8px}.scroll-card p{color:#c3cfd0}.scroll-card .eyebrow{color:#eeb56b;margin:0}.scroll-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:15px 0;margin:15px 0;border-block:1px solid #354b51}.scroll-card dt{font-size:10px;color:#b0c2c4;text-transform:uppercase;letter-spacing:1px}.scroll-card dd{margin:0;font-weight:bold}.instruction{border-left:3px solid #eeb56b;padding-left:14px}.guide-note{border-left:3px solid #79aca9;background:#142b31;padding:17px 20px;margin:20px 0;color:#cfdddd}.chapter-list{display:grid;gap:14px}.chapter-list details{background:#14252b;border:1px solid #354b51;border-radius:5px;padding:0 22px}.chapter-list summary{cursor:pointer;padding:20px 0;color:#f0d3ac;font-weight:bold;list-style-position:inside}.chapter-list details>div{padding-bottom:20px}.chapter-list li{padding:6px 0}.profile-summary{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.profile-summary span{border:1px solid #526569;border-radius:4px;padding:9px 17px}.equipment-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.equipment-grid article{padding:15px;min-height:135px;background:#142830;border:1px solid #526569;border-radius:5px}.equipment-grid h3{font-size:12px;color:#eeb56b;margin:0 0 12px}.equipment-grid strong{font-size:15px}.equipment-grid p{font-size:12px;color:#a6b4b5}.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:35px}.history-list{padding:0;list-style:none}.history-list li{border-bottom:1px solid #354b51;padding:14px 0}.history-list time,.history-list small{display:block;color:#a6b4b5}.history-list a,#ranking-body a{color:#f1be7f;text-decoration:underline;text-underline-offset:4px}.pager{display:flex;gap:12px;align-items:center;margin-top:20px}.wide{grid-column:1/-1}.empty{padding:30px;border:1px dashed #526569}.topbar{height:auto;min-height:76px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.topbar nav{flex-wrap:wrap;gap:18px}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f6c98c;outline-offset:4px}@media(max-width:760px){.guide-shell{padding:20px 18px 60px}.technique-grid,.history-grid{grid-template-columns:1fr}.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{gap:12px;padding:15px 18px}.topbar nav{display:flex;order:3;width:100%;font-size:12px}.scroll-card{padding:20px}.guide-tabs a{padding:8px 16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.game-sprite,.jutsu-icon,.guide-item-art,.boss-art,.inspected-item{image-rendering:pixelated;object-fit:contain}.pet-stages{display:flex;align-items:end;justify-content:space-around;padding:12px 0 24px;border-bottom:1px solid #354b51;margin-bottom:24px;background:radial-gradient(ellipse at bottom,#47797145,transparent 70%)}.pet-stages figure{margin:0;text-align:center;flex:1}.pet-stages img{width:112px;height:112px;max-width:100%}.pet-stages figcaption{font-size:12px;color:#a8bcba;margin-top:8px}.jutsu-icon{width:64px;height:64px;float:right;margin:0 0 12px 16px;border:1px solid #9b7950;border-radius:5px}.guide-item-art{float:right;width:72px;height:72px;margin:0 0 16px 16px}.boss-art{float:right;width:128px;height:128px;margin:0 0 16px 16px}.loadout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(220px,1fr);border:1px solid #526569;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#203d42,#101d24);margin:24px 0 10px}.inventory-panel{padding:24px;text-align:center;background:radial-gradient(ellipse at center,#50736b3d,transparent 70%)}.inventory-panel h2{font-size:20px;margin-top:0}.inventory-board{position:relative;width:234px;height:312px;margin:24px auto}.inventory-slot{position:absolute;width:72px;height:72px;padding:4px;border:2px solid #697778;border-right-color:#263236;border-bottom-color:#263236;border-radius:3px;background:linear-gradient(135deg,#263137,#465457);box-shadow:inset 0 0 9px #080e13;cursor:pointer}.inventory-slot img{width:100%;height:100%;image-rendering:pixelated;object-fit:contain}.inventory-slot:hover,.inventory-slot.selected,.inventory-slot:focus-visible{border-color:#e9b569;background:#4f5c50}.inventory-slot.empty-slot img{opacity:.48}.slot-1{left:81px;top:0}.slot-2{left:0;top:30px}.slot-3{left:162px;top:30px}.slot-4{left:81px;top:78px}.slot-5{left:162px;top:108px}.slot-6{left:0;top:108px}.slot-7{left:81px;top:156px}.slot-8{left:81px;top:234px}.slot-9{left:0;top:186px}.slot-10{left:162px;top:186px}.item-inspector{padding:36px;border-left:1px solid #526569;background:#0c171c70;align-content:center;overflow-wrap:anywhere}.item-inspector h3{font-size:24px;color:#f1d5a9}.item-inspector p{font-size:14px;color:#b9cccb}.inspected-item{width:96px;height:96px;display:block;margin:20px 0}.item-inspector .eyebrow{color:#efb66d;font-size:12px}.chapter-list summary{display:flex;align-items:center;gap:18px}.chapter-icon{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}@media(max-width:620px){.loadout{grid-template-columns:1fr}.item-inspector{border-left:0;border-top:1px solid #526569;padding:22px;min-height:170px}.inspected-item{float:left;margin:0 24px 12px 0;width:72px;height:72px}.pet-stages img{height:96px}.boss-art{width:96px;height:96px}}

.saga-cast{display:flex;gap:20px;flex-wrap:wrap;border-bottom:1px solid #354b51;padding:12px 0 20px}.saga-cast figure{margin:0;text-align:center}.saga-cast img{width:96px;height:96px}.saga-cast figcaption{font-size:12px;color:#adc7c2}.chapter-list summary::after{content:"+";margin-left:auto;font-size:22px}.chapter-list details[open] summary::after{content:"−"}

.serpent-hunt{margin-top:3rem}.serpent-hunt h2{color:#f1ca89}
.serpent-loot-scroll{width:100%;overflow-x:auto;margin-top:22px;border:1px solid #354b51;border-radius:6px;overscroll-behavior-inline:contain}
.serpent-loot{width:100%;min-width:760px;table-layout:fixed;border-collapse:collapse;background:rgba(7,23,29,.82);font-size:.9rem}
.serpent-loot th,.serpent-loot td{text-align:left;vertical-align:middle;padding:14px 16px;overflow-wrap:normal;word-break:normal;white-space:normal}
.serpent-loot th{color:#f1ca89;font-size:12px;border-bottom:1px solid #bd97566b}
.serpent-loot td{border-bottom:1px solid #66838b38}
.serpent-loot th:nth-child(1){width:30%}.serpent-loot th:nth-child(2){width:8%}.serpent-loot th:nth-child(3){width:46%}.serpent-loot th:nth-child(4){width:16%}
.serpent-loot td:first-child{min-width:0}.serpent-loot td:nth-child(2),.serpent-loot th:nth-child(2){text-align:center;white-space:nowrap}
.serpent-loot td:last-child,.serpent-loot th:last-child{text-align:right;white-space:nowrap}
.serpent-item{display:flex;align-items:center;gap:12px}.serpent-item>span{min-width:0;overflow-wrap:normal;word-break:normal;line-height:1.45}
.serpent-loot .guide-item-art{float:none;display:block;flex:0 0 40px;width:40px;height:40px;object-fit:contain;margin:0;image-rendering:pixelated}

/* Current campaign, using the existing parchment and gold palette. */
.saga-arc{margin:30px 0 42px}.saga-arc>h2{font-size:clamp(22px,3vw,30px);margin:0 0 8px}.saga-arc>.field-hint{margin-top:0}.chapter-number{flex:0 0 42px;text-align:center;font-size:20px;color:#f1c887;border-right:1px solid #526569;padding-right:14px;font-variant-numeric:tabular-nums}.chapter-name{flex:1;overflow-wrap:anywhere}.chapter-list summary::after{content:"+";color:#efb66d;font-size:24px;margin-left:auto}.chapter-list details[open]>summary::after{content:"−"}.chapter-body{padding:4px 20px 20px}.chapter-body .chapter-reward{color:#f1d5a9;font-weight:600}.chapter-body li{margin:8px 0}.chapter-body h3{font-size:17px}.saga-cast:empty{display:none}@media(max-width:620px){.chapter-list summary{gap:10px;font-size:15px}.chapter-number{flex-basis:34px;font-size:18px;padding-right:10px}.chapter-body{padding:0 12px 16px}}

/* Ningame ages keep their original 22/34/45-pixel growth at a crisp 2x scale. */
.pet-stages.ningame-stages figure{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;height:126px}
.pet-stages.ningame-stages img{flex:0 0 auto;max-width:none;object-fit:contain;image-rendering:pixelated}
.pet-stages.ningame-stages img[src$="2903.png"]{width:44px;height:40px}
.pet-stages.ningame-stages img[src$="2904.png"]{width:68px;height:62px}
.pet-stages.ningame-stages img[src$="2905.png"]{width:90px;height:82px}

/* All seven PET previews: small Baby, medium Adolescent, large Adult. */
.pet-stages.pet-growth-stages{align-items:end;min-height:132px}
.pet-stages.pet-growth-stages figure{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;height:126px}
.pet-stages.pet-growth-stages figure>img.game-sprite{width:auto;max-width:100%;object-fit:contain;image-rendering:pixelated;flex:0 0 auto}
.pet-stages.pet-growth-stages figure.pet-age-0>img.game-sprite{height:40px}
.pet-stages.pet-growth-stages figure.pet-age-1>img.game-sprite{height:62px}
.pet-stages.pet-growth-stages figure.pet-age-2>img.game-sprite{height:82px}
@media(max-width:460px){.pet-stages.pet-growth-stages{min-height:102px}.pet-stages.pet-growth-stages figure{height:98px}.pet-stages.pet-growth-stages figure.pet-age-0>img.game-sprite{height:28px}.pet-stages.pet-growth-stages figure.pet-age-1>img.game-sprite{height:43px}.pet-stages.pet-growth-stages figure.pet-age-2>img.game-sprite{height:58px}}

/* Boss portraits retain the existing guild sprite style. */
.boss-catalog .scroll-card{display:flow-root}.boss-catalog .scroll-card dl{clear:both;grid-template-columns:repeat(auto-fit,minmax(86px,1fr))}.boss-catalog .scroll-card .button{margin:8px 8px 0 0;max-width:100%;white-space:normal}.boss-catalog .boss-art{max-width:40%}.boss-catalog .scroll-card:target{outline:2px solid #eeb56b;outline-offset:4px}

/* Story journal icons: fixed footprint and the same illustrations as the game. */
.chapter-list .chapter-icon{width:48px;height:48px;flex:0 0 48px;object-fit:cover;image-rendering:auto;border-radius:8px;border:1px solid #58716a;background:#182c33}.chapter-list .chapter-name{min-width:0;overflow-wrap:anywhere}.chapter-list .chapter-number{flex-shrink:0}@media(max-width:620px){.chapter-list summary{gap:12px}.chapter-list .chapter-icon{width:44px;height:44px;flex-basis:44px}}
