.pn-box:has(.re-book){max-width:1120px;width:calc(100% - 24px)}
.re-book,.re-stage{color:#e6e6f5}.re-hero{position:relative;overflow:hidden;border:1px solid #b6a7d650;border-radius:18px;padding:32px;background:linear-gradient(90deg,#151324e8,#13152daa 65%,#15152560),url('../assets/bg/restoration.jpg') center/cover;min-height:210px}
.re-hero>small,.re-stage>small{color:#d8bc80;letter-spacing:.18em;font-size:10px}.re-hero h2{font-family:var(--mincho);font-size:clamp(22px,3vw,33px);letter-spacing:.06em;margin:16px 0 10px}.re-hero p{font-size:13px;color:#ded7ee}.re-progress{display:flex;gap:8px;flex-direction:column;max-width:340px;margin-top:22px;font-size:12px}.re-progress progress{width:100%;height:5px;accent-color:#bcacd9}.re-progress small{color:#d0c6da;font-size:11px}
.re-tabs{display:flex;gap:8px;padding:18px 0}.re-tabs button,.re-stage button[data-re-back]{border:1px solid #bab0d540;border-radius:10px;padding:12px 18px;background:#171826;color:#c7bfd5}.re-tabs button[aria-pressed=true]{border-color:#d8bd83;background:linear-gradient(135deg,#69523c50,#75669450);color:#fff3d8}.re-next{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid #dccba440;border-radius:14px;background:linear-gradient(120deg,#30283b,#1a1b31)}.re-next small{color:#e5ce9b}.re-next h3{margin:8px 0;font-size:19px;font-family:var(--mincho)}.re-next p{font-size:12px;color:#c3bace;margin:0}.re-next button{min-width:155px}
.re-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0;padding:10px 0;background:radial-gradient(ellipse at 50% 50%,#8c76a81c,transparent 70%)}.re-place{display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;min-height:145px;border:1px solid #b1a7d42c;border-radius:16px;background:linear-gradient(160deg,#23233c,#131323);padding:14px;color:#bcb6cd}.re-place i{display:grid;place-items:center;width:36px;height:36px;border:1px solid #a398ba60;transform:rotate(45deg);border-radius:6px;font-size:18px;font-style:normal;color:#cfbd8d}.re-place small{font-size:10px;margin-top:5px}.re-place b{font-size:14px}.re-place span{font-size:11px}.re-place.restored{border-color:#89c3b36c;background:linear-gradient(150deg,#203531,#151a28)}.re-place.restored i{color:#a4e1c6}.re-place.next{border-color:#efd191;background:linear-gradient(150deg,#403144,#202037);box-shadow:0 0 20px #c3a98412}.re-place.locked{opacity:.55}
.re-duo{display:grid;grid-template-columns:1fr 1fr;gap:15px}.re-duo>div{display:flex;gap:15px;align-items:center;padding:14px;border:1px solid #ab9cca40;border-radius:14px;background:#181b2d}.re-duo img{width:56px;height:84px;object-fit:contain}.re-duo span{display:flex;flex-direction:column;gap:8px}.re-duo b{font-size:14px}.re-duo small{font-size:11px;color:#c6bdd4}.re-note{color:#c2b8d0;font-size:12px;line-height:1.9;margin:14px 0}.re-contracts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.re-contract{display:flex;align-items:center;text-align:left;gap:12px;border:1px solid #b5a2d338;background:#1b1c30;border-radius:14px;padding:16px;color:#ded9eb;min-width:0}.re-contract:disabled{opacity:.5}.re-contract>i{font-style:normal;color:#d7ba81;font-size:24px}.re-contract>span:not(.inventory-art){display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.re-contract small{font-size:10px;color:#c4b5d0}.re-contract b{font-size:15px}.re-contract em{font-size:11px;font-style:normal;color:#d8c393}.re-contract strong{font-size:20px;color:#dcc28d}.re-contract.legend{background:linear-gradient(150deg,#362c3d,#171c30);border-color:#d1ae6055}.re-contract .inventory-art{flex:0 0 62px;width:62px;height:62px}.re-stage h2{font-family:var(--mincho);font-size:24px;margin:12px 0}.re-stage>p{font-size:13px;line-height:1.9;color:#c9c0d9}.re-difficulties{display:flex;gap:10px;margin:22px 0}.re-difficulties button{display:flex;flex:1;flex-direction:column;gap:8px;background:#23243b;border:1px solid #c0aed63a;color:#cfc9e2;border-radius:12px;padding:14px}.re-difficulties button[aria-pressed=true]{border-color:#d4b977;background:#3d3247;color:#fff0c9}.re-difficulties span{font-size:11px}.re-rule{background:#9290c011;border-left:2px solid #b9a8d0;padding:12px}.re-reward{display:flex;gap:18px;padding:20px;background:linear-gradient(120deg,#42324455,#9f79471c);border:1px solid #dbb67855;border-radius:16px}.re-reward .inventory-art{flex:0 0 76px;width:76px;height:76px}.re-reward small{color:#d1b779;font-size:11px}.re-reward b{display:block;margin:9px 0;font-size:18px}.re-reward p{font-size:12px;color:#cbc1d6;margin:0 0 6px}.re-stage button[data-re-back]{margin-top:12px}
#wmTop [data-w=restoration]{color:#f5ddaa;border-color:#e8c88966}.battle-companion{border:1px solid #bcabd65c!important;background:linear-gradient(135deg,#30273f,#1a2234)!important}.battle-companion small{font-size:10px!important}.battle-companion .skill-face{width:30px;height:44px}.battle-companion img{object-fit:contain}
@media(max-width:700px){.re-hero{padding:22px 17px;min-height:195px}.re-tabs{gap:6px}.re-tabs button{flex:1;padding:12px 5px;font-size:11px}.re-next{align-items:stretch;flex-direction:column;gap:15px;padding:16px}.re-next h3{font-size:17px}.re-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.re-place{min-height:136px;padding:12px 5px}.re-place b{font-size:12px}.re-contracts{grid-template-columns:1fr}.re-duo{grid-template-columns:1fr}.re-contract{padding:12px}.re-difficulties{gap:6px}.re-difficulties button{padding:12px 5px}.re-stage h2{font-size:21px}.re-reward{padding:14px;gap:12px}.re-reward .inventory-art{flex-basis:60px;width:60px;height:60px}}

.re-tabs button,.re-next button,.re-stage button{min-height:44px}.re-contract{min-height:90px}
#cmdMenu.renoir:not(.sheet) .cm-desc{height:96px;max-height:96px;overflow-y:auto}
