/* Shinobi v5.3 — contrast and navigation polish only. No business logic changes. */
body{--polish-text:#263b35;--polish-soft:#fff9eb}
body[data-theme=akatsuki]{--polish-text:#ffeef2;--polish-soft:#2b1a26}
body[data-theme=chibi]{--polish-text:#63304e;--polish-soft:#fff0f7}
body[data-theme=hokage]{--polish-text:#55371e;--polish-soft:#fff0d1}
/* Four distinct, easy-to-recognize tabs. */
body .quick-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;padding:9px!important;overflow:visible!important;align-items:stretch!important}
body .quick-tabs a{min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:14px 3px!important;border:1.5px solid #ffffff70!important;border-radius:15px!important;color:#fff!important;font-weight:800!important;letter-spacing:.01em!important;text-shadow:0 1px 3px #0008!important;box-shadow:inset 0 2px 3px #ffffff55,inset 0 -4px 8px #0003,0 3px 6px #0004!important;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease!important}
body .quick-tabs a:nth-child(1){background:linear-gradient(145deg,#ffb041,#ec6514)!important}
body .quick-tabs a:nth-child(2){background:linear-gradient(145deg,#32b4d2,#1465b1)!important}
body .quick-tabs a:nth-child(3){background:linear-gradient(145deg,#b48af5,#6742a8)!important}
body .quick-tabs a:nth-child(4){background:linear-gradient(145deg,#36cba0,#147a5b)!important}
body .quick-tabs a.selected{transform:translateY(-2px)!important;border:2px solid #fff3c2!important;filter:saturate(1.25) brightness(1.12)!important;box-shadow:inset 0 2px 4px #ffffff85,0 0 0 2px #e8bd68,0 0 17px #ffe2a5a0,0 5px 8px #0005!important}
body .quick-tabs a:focus-visible{outline:3px solid #fff!important;outline-offset:3px}
body .quick-tabs a:active{transform:scale(.97)!important}
/* The faded calculation footnote becomes a clear, readable information strip. */
body .result-panel > p.hint:last-child{color:#384b42!important;font-size:14px!important;line-height:1.65!important;font-weight:650!important;background:linear-gradient(115deg,#fffaf0,#e7f7ec)!important;border:1px solid #d7bd7e!important;border-left:5px solid #e18c25!important;border-radius:13px!important;padding:13px 15px!important;margin-top:16px!important;box-shadow:0 3px 9px #73592a14!important;opacity:1!important}
body[data-theme=akatsuki] .result-panel > p.hint:last-child{background:linear-gradient(115deg,#31242c,#4b2c3b)!important;color:#fff0f2!important;border-color:#a86175!important;border-left-color:#ff6584!important}
/* Enrich flat admin surfaces while keeping white inputs and cards readable. */
body .panel.workspace,body .panel.admin-panel,body .panel.admin,body .panel:not(.result-panel){background-blend-mode:normal!important}
body[data-theme=leaf] .panel:not(.result-panel){background-color:#b5f0d5!important;background-image:radial-gradient(ellipse at 90% 0%,#ffe5a6cc,transparent 42%),radial-gradient(ellipse at 5% 65%,#63c9a366,transparent 46%),url('./art/wallpaper-leaf.svg')!important;background-size:auto,auto,600px 760px!important}
body[data-theme=hokage] .panel:not(.result-panel){background-color:#ffe0a1!important;background-image:radial-gradient(ellipse at 88% 5%,#ffab4e99,transparent 40%),radial-gradient(ellipse at 0% 75%,#f7ce7399,transparent 48%),url('./art/wallpaper-hokage.svg')!important;background-size:auto,auto,600px 760px!important}
body[data-theme=chibi] .panel:not(.result-panel){background-color:#ffd6e9!important;background-image:radial-gradient(ellipse at 95% 4%,#fba3c7cc,transparent 40%),radial-gradient(ellipse at 0% 85%,#fff0ab99,transparent 50%),url('./art/wallpaper-chibi.svg')!important;background-size:auto,auto,600px 760px!important}
body[data-theme=akatsuki] .panel:not(.result-panel){background-color:#321e2b!important;background-image:radial-gradient(ellipse at 95% 5%,#a8274c88,transparent 44%),radial-gradient(ellipse at 0% 80%,#692c4966,transparent 50%),url('./art/wallpaper-akatsuki.svg')!important;background-size:auto,auto,600px 760px!important}
body .panel:not(.result-panel) h2,body .panel:not(.result-panel) h3{font-weight:850!important;text-shadow:0 1px 0 #ffffff40}
body .panel:not(.result-panel) .hint{opacity:1!important;line-height:1.6!important}
body[data-theme=leaf] .panel:not(.result-panel) .hint{color:#386455!important}
body[data-theme=hokage] .panel:not(.result-panel) .hint{color:#755234!important}
body[data-theme=chibi] .panel:not(.result-panel) .hint{color:#814b69!important}
body .panel:not(.result-panel) .admin-tools,body .panel:not(.result-panel) .staff-card{box-shadow:0 5px 14px #49371e18!important}
@media(max-width:440px){body .quick-tabs{gap:5px!important;padding:7px!important}body .quick-tabs a{font-size:12px!important;padding:13px 2px!important;border-radius:12px!important}body .result-panel > p.hint:last-child{font-size:13px!important}}
@media(prefers-reduced-motion:reduce){body .quick-tabs a{transition:none!important}}
