#rt-item-database.rtidb{--o:#e67e22;--bg:#0b0d16;--p:#121625;--p2:#181d2e;--line:#30384e;--mut:#9ba5bb;color:#e9edf7;background:linear-gradient(180deg,#0b0d16,#0e1120);border:1px solid #252c40;border-radius:14px;overflow:hidden;font-family:Arial,sans-serif;line-height:1.5}#rt-item-database *{box-sizing:border-box}.rtidb-hero{padding:30px 24px 24px;background:radial-gradient(circle at 80% 0,rgba(230,126,34,.16),transparent 37%),#101424;border-bottom:1px solid #323a50}.rtidb-kicker{font:700 12px Rajdhani,Arial,sans-serif;letter-spacing:1.8px;color:var(--o)}.rtidb h2,.rtidb h3,.rtidb h4{font-family:Rajdhani,Arial,sans-serif}.rtidb h2{margin:5px 0 8px;font-size:2rem;text-transform:uppercase}.rtidb h2 span{color:var(--o)}.rtidb-hero p{max-width:850px;color:#bcc5d8;margin:0}.rtidb-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.rtidb-stats div{padding:13px;background:#0b0f1b;border:1px solid #2b344a;border-radius:9px;text-align:center}.rtidb-stats strong{display:block;color:var(--o);font-size:1.28rem}.rtidb-stats span{color:#9ca7bd;font-size:.78rem}.rtidb-notice{margin:18px 20px 0;padding:13px 15px;background:#161a2a;border-left:4px solid var(--o);border-radius:7px;color:#b9c2d4;font-size:.9rem}.rtidb-toolbar{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:10px;padding:20px}.rtidb-toolbar label{display:flex;flex-direction:column;gap:5px;color:#8f9bb3;font-size:.73rem;text-transform:uppercase;font-weight:700;letter-spacing:.45px}.rtidb input,.rtidb select{width:100%;min-height:43px;background:#0d111e;color:#edf2ff;border:1px solid #343d54;border-radius:7px;padding:9px 11px;outline:none}.rtidb input:focus,.rtidb select:focus{border-color:var(--o);box-shadow:0 0 0 2px rgba(230,126,34,.12)}.rtidb-quick{display:flex;flex-wrap:wrap;gap:7px;padding:0 20px 14px}.rtidb button{font:700 .77rem Rajdhani,Arial,sans-serif;letter-spacing:.35px;text-transform:uppercase;background:#171c2d;color:#dfe6f5;border:1px solid #364057;border-radius:6px;padding:8px 11px;cursor:pointer}.rtidb button:hover{border-color:var(--o);color:#fff}.rtidb-summary{padding:10px 20px;border-top:1px solid #232b40;border-bottom:1px solid #232b40;color:#98a4ba}.rtidb-summary strong{color:#fff}.rtidb-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 20px}.rtidb-card{background:linear-gradient(180deg,#151a2a,#101421);border:1px solid #30394e;border-radius:10px;padding:16px;min-width:0}.rtidb-cardhead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rtidb-type{font-size:.68rem;text-transform:uppercase;color:#8996ae;font-weight:700}.rtidb-card h3{font-size:1.2rem;margin:3px 0 7px;color:#fff}.rtidb-card h4{font-size:.86rem;text-transform:uppercase;color:#f0b075;margin:13px 0 7px}.rtidb-star{font-size:1.25rem!important;padding:2px 7px!important;color:#ffc45d!important}.rtidb-badge{display:inline-flex;margin:0 5px 5px 0;padding:3px 7px;border-radius:999px;font-size:.66rem;font-weight:700;text-transform:uppercase;border:1px solid #46506a;color:#c4cce0}.rtidb-badge.confirmed{border-color:#2d7d57;color:#73d7a6;background:rgba(35,120,78,.1)}.rtidb-badge.archived{border-color:#79662b;color:#e4c56b;background:rgba(146,116,28,.1)}.rtidb-badge.historical{border-color:#9a5d28;color:#f4a75c;background:rgba(154,93,40,.1)}.rtidb-badge.reference{border-color:#515b72;color:#aab4ca}.rtidb-desc{color:#b5bfd2;margin:8px 0;font-size:.88rem}.rtidb-price{margin:10px 0;padding:10px;background:#0d111d;border:1px dashed #4d422c;border-radius:6px;color:#e6c274;font-size:.83rem}.rtidb-price small{display:block;color:#9ca5b8;margin-top:3px}.rtidb-acq{list-style:none;padding:0;margin:0;display:grid;gap:8px}.rtidb-acq li{padding:10px;background:#0d111c;border:1px solid #293248;border-radius:7px}.rtidb-acq strong{color:#fff;font-size:.86rem}.rtidb-acq .loc{display:block;color:#f0a45b;font-size:.76rem;margin-top:3px}.rtidb-acq p{margin:5px 0;color:#aeb8cb;font-size:.8rem}.rtidb-acq small{color:#78849c}.rtidb-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.rtidb-links a{color:#f0a45b;text-decoration:none;border:1px solid #493924;border-radius:5px;padding:5px 8px;font-size:.75rem}.rtidb-cardactions{margin-top:10px}.rtidb-more{text-align:center;padding:0 20px 20px}.rtidb-more button{min-width:160px}.rtidb-empty{grid-column:1/-1;padding:30px;text-align:center;color:#9ba7be;border:1px dashed #394158;border-radius:10px}.rtidb-reference{margin:0 20px 18px;border:1px solid #2d3549;border-radius:8px;background:#0d111c}.rtidb-reference summary{padding:13px 15px;cursor:pointer;color:#e7edf9;font-weight:700}.rtidb-table-wrap{overflow:auto;max-height:520px}.rtidb table{width:100%;border-collapse:collapse;font-size:.78rem}.rtidb th,.rtidb td{padding:9px 10px;text-align:left;border-top:1px solid #252d40;vertical-align:top}.rtidb th{position:sticky;top:0;background:#171c2b;color:#f0a45b}.rtidb td{color:#aeb8ca}.rtidb td a{color:#e9a05c}.rtidb-footnote{padding:0 20px 20px;color:#747f95;font-size:.75rem}.rtidb select option{background:#101421}@media(max-width:900px){.rtidb-toolbar{grid-template-columns:1fr 1fr}.rtidb-results{grid-template-columns:1fr}.rtidb-stats{grid-template-columns:1fr 1fr}}@media(max-width:560px){.rtidb-hero{padding:24px 15px 18px}.rtidb h2{font-size:1.55rem}.rtidb-toolbar{grid-template-columns:1fr;padding:15px}.rtidb-notice,.rtidb-reference{margin-left:15px;margin-right:15px}.rtidb-quick,.rtidb-results,.rtidb-summary{padding-left:15px;padding-right:15px}.rtidb-stats{gap:7px}.rtidb-stats div{padding:10px 7px}.rtidb-card{padding:13px}.rtidb-table-wrap{max-height:420px}}
/* Equip / Use Troubleshooter v1.1 */
.rtidb-trouble{margin:18px 20px 6px;padding:18px;background:linear-gradient(180deg,#151a2b,#101421);border:1px solid #3a4257;border-radius:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.rtidb-trouble-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rtidb-trouble h3{margin:3px 0 5px;color:#fff;font-size:1.45rem;text-transform:uppercase}.rtidb-trouble h3 span{color:var(--o)}.rtidb-trouble-version{padding:5px 8px;border:1px solid #664623;color:#f0a45b;border-radius:999px;font-size:.68rem;text-transform:uppercase;font-weight:700}.rtidb-trouble-intro{color:#aeb8cb;margin:0 0 15px;max-width:900px}.rtidb-trouble-grid{display:grid;grid-template-columns:2fr 1.3fr 1.2fr .7fr .9fr .9fr;gap:9px}.rtidb-trouble-grid label{display:flex;flex-direction:column;gap:5px;color:#8f9bb3;font-size:.68rem;text-transform:uppercase;font-weight:700;letter-spacing:.42px}.rtidb-trouble-actions{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.rtidb .rtidb-primary{background:#e67e22;color:#111;border-color:#e67e22}.rtidb .rtidb-primary:hover{color:#111;background:#f08c37}.rtidb-trouble-result{border-top:1px solid #293248;padding-top:13px}.rtidb-trouble-empty{padding:16px;background:#0d111d;border:1px dashed #3a4359;border-radius:7px;color:#96a2b9}.rtidb-trouble-empty button{margin:3px}.rtidb-trouble-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px;background:#0d111c;border:1px solid #2d364b;border-radius:8px}.rtidb-trouble-summary h4{margin:2px 0;color:#fff;font-size:1.12rem}.rtidb-trouble-summary p{margin:0;color:#8f9bb3;font-size:.78rem}.rtidb-trouble-summary>strong{max-width:260px;text-align:right;color:#f0a45b}.rtidb-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:9px}.rtidb-check{padding:12px;background:#0e121f;border:1px solid #30394f;border-left-width:4px;border-radius:7px}.rtidb-check.blocked{border-left-color:#d65858}.rtidb-check.verify{border-left-color:#e39b43}.rtidb-check.pass{border-left-color:#3fa875}.rtidb-check.info{border-left-color:#5f7ebd}.rtidb-check>div{display:flex;align-items:center;gap:7px}.rtidb-check h5{margin:0;color:#f1f5ff;font:700 .9rem Rajdhani,Arial,sans-serif;text-transform:uppercase}.rtidb-check p{margin:7px 0;color:#aeb8ca;font-size:.82rem}.rtidb-check small{display:block;color:#728098;font-size:.7rem}.rtidb-check a{display:inline-block;margin-top:7px;color:#f0a45b;text-decoration:none;font-size:.75rem}.rtidb-check-badge{display:inline-flex;padding:2px 6px;border-radius:999px;font-size:.61rem;text-transform:uppercase;font-weight:800}.rtidb-check-badge.blocked{color:#ff9494;background:rgba(214,88,88,.13);border:1px solid #7c3e45}.rtidb-check-badge.verify{color:#ffc36f;background:rgba(227,155,67,.11);border:1px solid #765631}.rtidb-check-badge.pass{color:#79d8a7;background:rgba(63,168,117,.12);border:1px solid #326a50}.rtidb-check-badge.info{color:#9eb9f1;background:rgba(95,126,189,.11);border:1px solid #41577f}.rtidb-trouble-policy{margin-top:10px;padding:11px 13px;background:#111729;border-left:3px solid #596a8f;color:#9ca8bd;font-size:.78rem;border-radius:5px}.rtidb-trouble-rules{margin-top:12px;border-top:1px solid #293248;padding-top:10px}.rtidb-trouble-rules summary{cursor:pointer;color:#dce4f4;font-weight:700}.rtidb-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.rtidb-rule-grid article{padding:10px;background:#0d111c;border:1px solid #293147;border-radius:6px}.rtidb-rule-grid strong{display:block;color:#f0a45b;font-size:.78rem}.rtidb-rule-grid span{display:block;color:#929eb4;font-size:.74rem;margin-top:3px}.rtidb-cardactions{display:flex;flex-wrap:wrap;gap:6px}@media(max-width:1100px){.rtidb-trouble-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.rtidb-trouble{margin-left:15px;margin-right:15px;padding:14px}.rtidb-trouble-grid{grid-template-columns:1fr 1fr}.rtidb-checks,.rtidb-rule-grid{grid-template-columns:1fr}.rtidb-trouble-summary{align-items:flex-start;flex-direction:column}.rtidb-trouble-summary>strong{text-align:left;max-width:none}}@media(max-width:480px){.rtidb-trouble-grid{grid-template-columns:1fr}}


/* v1.3.0 source-aware workflow handoffs */
#rt-item-database .rtidb-workflows{margin:20px 28px 24px;padding:18px;background:#10101e;border:1px solid #303046;border-radius:8px}
#rt-item-database .rtidb-workflow-head h3{margin:2px 0 7px;color:#fff;font:700 1.35rem/1.2 Rajdhani,Arial,sans-serif}
#rt-item-database .rtidb-workflow-head p{margin:0 0 14px;color:#aeb3c1}
#rt-item-database .rtidb-workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#rt-item-database .rtidb-workflow-grid article{display:flex;flex-direction:column;gap:5px;padding:14px;background:#141425;border:1px solid #303046;border-left:3px solid #e67e22;border-radius:7px}
#rt-item-database .rtidb-workflow-grid strong{color:#fff}
#rt-item-database .rtidb-workflow-grid span{color:#9fa5b5;font-size:.82rem;line-height:1.45;flex:1}
#rt-item-database .rtidb-workflow-grid a{color:#f39a3c;text-decoration:none;font-weight:800;font-size:.82rem}
#rt-item-database .rtidb-workflow-grid a:hover,#rt-item-database .rtidb-workflow-grid a:focus{color:#fff;text-decoration:underline}
@media(max-width:820px){#rt-item-database .rtidb-workflow-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){#rt-item-database .rtidb-workflows{margin-left:15px;margin-right:15px;padding:14px}#rt-item-database .rtidb-workflow-grid{grid-template-columns:1fr}}

/* v1.4.0 Atlas foundation */
#rt-item-database .rtidb-toolbar{grid-template-columns:1.7fr repeat(4,minmax(135px,1fr))}
#rt-item-database .rtidb-cardhead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:flex-start}
#rt-item-database .rtidb-titlewrap{min-width:0}
#rt-item-database .rtidb-icon{width:46px;height:46px;object-fit:contain;image-rendering:auto;background:#090d17;border:1px solid #343d52;border-radius:7px;padding:3px}
#rt-item-database .rtidb-atlasmeta{color:#77849c;font-size:.69rem;margin-top:2px}
#rt-item-database .rtidb-badgerow{display:flex;gap:5px;flex-wrap:wrap;margin:7px 0 2px}
#rt-item-database .rtidb-origin{display:inline-flex;margin:0 0 5px;padding:3px 7px;border-radius:999px;font-size:.66rem;font-weight:800;text-transform:uppercase;border:1px solid #48516a}
#rt-item-database .rtidb-origin.base{color:#80b9ff;border-color:#315c8d;background:rgba(49,92,141,.12)}
#rt-item-database .rtidb-origin.mixed{color:#d4a9ff;border-color:#68478a;background:rgba(104,71,138,.12)}
#rt-item-database .rtidb-origin.tournament{color:#ffb56d;border-color:#81522c;background:rgba(129,82,44,.12)}
#rt-item-database .rtidb-dropbox{margin-top:10px;padding:9px;background:#0c101b;border:1px solid #29344a;border-radius:7px}
#rt-item-database .rtidb-dropbox>button{width:100%;text-align:left;background:#141b2b}
#rt-item-database .rtidb-dropresults{margin-top:8px}
#rt-item-database .rtidb-monsterchips{display:flex;flex-wrap:wrap;gap:5px}
#rt-item-database .rtidb-monsterchips>span{display:inline-flex;align-items:stretch;border:1px solid #32415b;border-radius:5px;overflow:hidden;background:#101725}
#rt-item-database .rtidb-monsterlink,#rt-item-database .rtidb-maplink{display:inline-flex;align-items:center;text-decoration:none;padding:5px 7px;font-size:.72rem}
#rt-item-database .rtidb-monsterlink{color:#cbd8ee}
#rt-item-database .rtidb-maplink{color:#f0a45b;border-left:1px solid #32415b;font-weight:800}
#rt-item-database .rtidb-loading,#rt-item-database .rtidb-mutedtext,#rt-item-database .rtidb-error{font-size:.74rem;color:#8f9bb1}
#rt-item-database .rtidb-error{color:#e48787}
@media(max-width:1100px){#rt-item-database .rtidb-toolbar{grid-template-columns:repeat(2,1fr)}#rt-item-database .rtidb-search{grid-column:1/-1}}
@media(max-width:560px){#rt-item-database .rtidb-toolbar{grid-template-columns:1fr}#rt-item-database .rtidb-search{grid-column:auto}#rt-item-database .rtidb-icon{width:40px;height:40px}}

.rtidb-cardactions .rtidb-actionlink{display:inline-flex;align-items:center;font:700 .77rem Rajdhani,Arial,sans-serif;letter-spacing:.35px;text-transform:uppercase;background:#171c2d;color:#dfe6f5;border:1px solid #364057;border-radius:6px;padding:8px 11px;text-decoration:none}.rtidb-cardactions .rtidb-actionlink:hover{border-color:var(--o);color:#fff}


/* v1.4.4 monster-source filter + input contrast + quick-search clarity */
#rt-item-database .rtidb-toolbar{grid-template-columns:minmax(260px,1.7fr) minmax(230px,1.35fr) repeat(4,minmax(130px,1fr))}
#rt-item-database .rtidb-monster-filter small{display:block;color:#6f7d96;font-size:.64rem;line-height:1.35;text-transform:none;letter-spacing:0;font-weight:400;margin-top:1px}
#rt-item-database input[type="search"],#rt-item-database input[type="text"],#rt-item-database select{color:#edf2ff!important;-webkit-text-fill-color:#edf2ff!important;caret-color:#fff!important;opacity:1!important}
#rt-item-database input::placeholder{color:#70809d!important;-webkit-text-fill-color:#70809d!important;opacity:1!important}
#rt-item-database input:-webkit-autofill,#rt-item-database input:-webkit-autofill:hover,#rt-item-database input:-webkit-autofill:focus{-webkit-text-fill-color:#edf2ff!important;-webkit-box-shadow:0 0 0 1000px #0d111e inset!important;box-shadow:0 0 0 1000px #0d111e inset!important;caret-color:#fff!important}
#rt-item-database .rtidb-monster-context{margin:0 20px 12px;padding:11px 13px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#11172a;border:1px solid #3a4661;border-left:4px solid #ad7be8;border-radius:7px;color:#cbd5e7}
#rt-item-database .rtidb-monster-context[hidden]{display:none!important}
#rt-item-database .rtidb-monster-context strong{color:#fff}
#rt-item-database .rtidb-monster-context small{display:block;color:#8f9bb3;margin-top:2px}
#rt-item-database .rtidb-monster-context-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
#rt-item-database .rtidb-monster-context-actions a,#rt-item-database .rtidb-monster-context-actions button{display:inline-flex;align-items:center;text-decoration:none;font:700 .72rem Rajdhani,Arial,sans-serif;letter-spacing:.3px;text-transform:uppercase;background:#171c2d;color:#dfe6f5;border:1px solid #364057;border-radius:6px;padding:7px 9px}
#rt-item-database .rtidb-monster-context-actions a:hover,#rt-item-database .rtidb-monster-context-actions button:hover{border-color:#ad7be8;color:#fff}
#rt-item-database .rtidb-quick-wrap{padding:0 20px 14px}
#rt-item-database .rtidb-quick-label{display:block;color:#75829a;font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.55px;margin:0 0 6px}
#rt-item-database .rtidb-quick-wrap .rtidb-quick{padding:0}
@media(max-width:1250px){#rt-item-database .rtidb-toolbar{grid-template-columns:repeat(3,1fr)}#rt-item-database .rtidb-search,#rt-item-database .rtidb-monster-filter{grid-column:span 1}}
@media(max-width:900px){#rt-item-database .rtidb-toolbar{grid-template-columns:1fr 1fr}#rt-item-database .rtidb-search,#rt-item-database .rtidb-monster-filter{grid-column:1/-1}#rt-item-database .rtidb-monster-context{align-items:flex-start;flex-direction:column}#rt-item-database .rtidb-monster-context-actions{justify-content:flex-start}}
@media(max-width:560px){#rt-item-database .rtidb-toolbar{grid-template-columns:1fr}#rt-item-database .rtidb-search,#rt-item-database .rtidb-monster-filter{grid-column:auto}#rt-item-database .rtidb-monster-context,#rt-item-database .rtidb-quick-wrap{margin-left:15px;margin-right:15px;padding-left:0;padding-right:0}#rt-item-database .rtidb-monster-context{padding:11px 12px}.rtidb-quick-wrap .rtidb-quick{padding:0!important}}


/* v1.5.0 monster loot explorer */
#rt-item-database .rtidb-monster-context{display:block;margin:0 20px 12px;padding:14px;background:linear-gradient(180deg,#151a2a,#101421);border:1px solid #3b4660;border-left:4px solid #ad7be8;border-radius:9px;color:#cbd5e7}
#rt-item-database .rtidb-monster-context[hidden]{display:none!important}
#rt-item-database .rtidb-monster-context-head{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}
#rt-item-database .rtidb-monster-icon{width:48px;height:48px;display:grid;place-items:center;background:#0b0f1b;border:1px solid #3b4660;border-radius:8px;font-size:25px}
#rt-item-database .rtidb-monster-kicker{display:block;color:#b697dc;font:800 .62rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.9px}
#rt-item-database .rtidb-monster-context-main>strong{display:block;color:#fff;font:800 1.2rem Rajdhani,Arial,sans-serif;margin:1px 0 2px}
#rt-item-database .rtidb-monster-context-main>small{display:block;color:#8f9bb3}
#rt-item-database .rtidb-monster-profile-meta{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
#rt-item-database .rtidb-monster-profile-meta span{padding:3px 6px;background:#111827;border:1px solid #334057;border-radius:999px;color:#9facbf;font-size:.65rem}
#rt-item-database .rtidb-monster-profile-meta span.is-origin{color:#8bc1ff;border-color:#315d8d}
#rt-item-database .rtidb-monster-profile-stats{display:grid;grid-template-columns:repeat(8,minmax(80px,1fr));gap:6px;margin-top:11px}
#rt-item-database .rtidb-monster-profile-stats[hidden]{display:none!important}
#rt-item-database .rtidb-monster-profile-stats div{padding:7px 8px;background:#0c111d;border:1px solid #293248;border-radius:6px}
#rt-item-database .rtidb-monster-profile-stats small{display:block;color:#77849c;font-size:.58rem;font-weight:800;text-transform:uppercase}
#rt-item-database .rtidb-monster-profile-stats strong{display:block;color:#eef3ff;font-size:.78rem;margin-top:1px}
#rt-item-database .rtidb-monster-groups-wrap{margin-top:11px;padding-top:10px;border-top:1px solid #2b3448}
#rt-item-database .rtidb-monster-groups-wrap[hidden]{display:none!important}
#rt-item-database .rtidb-monster-groups-label{display:block;color:#8a96aa;font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}
#rt-item-database .rtidb-monster-groups{display:flex;flex-wrap:wrap;gap:6px}
#rt-item-database .rtidb-monster-groups button{padding:7px 9px;background:#111827;border-color:#344059;color:#b7c2d5}
#rt-item-database .rtidb-monster-groups button.is-active{border-color:#e67e22;background:#26180d;color:#ffc17b}
#rt-item-database .rtidb-quick-label em{font-style:normal;color:#59677f;font-weight:500;text-transform:none;letter-spacing:0}
@media(max-width:1050px){#rt-item-database .rtidb-monster-profile-stats{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){#rt-item-database .rtidb-monster-context-head{grid-template-columns:1fr}#rt-item-database .rtidb-monster-icon{display:none}#rt-item-database .rtidb-monster-context-actions{justify-content:flex-start}#rt-item-database .rtidb-monster-profile-stats{grid-template-columns:repeat(2,1fr)}}


/* v1.5.1 monster-mode clarity + category icons + restore */
#rt-item-database .rtidb-monster-profile-stats{display:none!important}
#rt-item-database .rtidb-monster-groups button{display:inline-flex;align-items:center;gap:6px}
#rt-item-database .rtidb-group-icon{width:20px;height:20px;object-fit:contain;border-radius:4px;background:#0b0f19;border:1px solid #2f3a50}
#rt-item-database .rtidb-group-emoji{width:20px;height:20px;display:inline-grid;place-items:center;font-size:14px}
#rt-item-database .rtidb-quick-wrap.is-global{margin:0 20px 14px;padding:10px 12px;background:#1b140d;border:1px solid #6a4520;border-left:4px solid #e67e22;border-radius:8px}
#rt-item-database .rtidb-quick-wrap.is-global .rtidb-quick-label{color:#ffbb72}
#rt-item-database .rtidb-quick-wrap.is-global .rtidb-quick-label em{color:#c6905b}
#rt-item-database .rtidb-monster-restore{margin:0 20px 12px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#13182a;border:1px solid #51436c;border-left:4px solid #ad7be8;border-radius:7px;color:#c8d1e3;font-size:.8rem}
#rt-item-database .rtidb-monster-restore[hidden]{display:none!important}
#rt-item-database .rtidb-monster-restore button{background:#241936;border:1px solid #7455a0;color:#e6d7ff;border-radius:6px;padding:7px 10px;font:800 .72rem Rajdhani,Arial,sans-serif;text-transform:uppercase;white-space:nowrap}
#rt-item-database .rtidb-monster-restore button:hover{border-color:#ad7be8;color:#fff}
@media(max-width:700px){#rt-item-database .rtidb-monster-restore{align-items:flex-start;flex-direction:column}#rt-item-database .rtidb-quick-wrap.is-global{margin-left:15px;margin-right:15px}}

/* v1.5.2 monster-mode navigation polish */
#rt-item-database .rtidb-monster-map-note{margin:9px 0 0;padding:8px 10px;border-top:1px solid #2f3a50;color:#8f9bb3;font-size:.75rem;line-height:1.45}
#rt-item-database .rtidb-monster-context-actions a.is-spawn{border-color:#315d8d;background:#102037;color:#9fc9ff}
#rt-item-database .rtidb-monster-context-actions a.is-spawn:hover{border-color:#69a8ff;color:#fff}

/* v1.6.0 Trading Marketplace price intelligence */
#rt-item-database .rtidb-marketbox{margin:11px 0 0;padding:12px;background:#0d131c;border:1px solid #344052;border-left:3px solid #e67e22;border-radius:8px;color:#c9d2df}
#rt-item-database .rtidb-marketbox[hidden]{display:none!important}
#rt-item-database .rtidb-market-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
#rt-item-database .rtidb-market-head span{display:block;color:#d58b42;font:800 .62rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.65px}
#rt-item-database .rtidb-market-head strong{display:block;color:#fff;font-size:.95rem;margin-top:1px}
#rt-item-database .rtidb-market-head a,#rt-item-database .rtidb-market-empty a{color:#8fc9ff;text-decoration:none;font-weight:800;font-size:.72rem}
#rt-item-database .rtidb-market-head a:hover,#rt-item-database .rtidb-market-empty a:hover{text-decoration:underline}
#rt-item-database .rtidb-market-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:7px}
#rt-item-database .rtidb-market-grid>div{padding:9px 10px;background:#101827;border:1px solid #2e394c;border-radius:6px}
#rt-item-database .rtidb-market-grid small{display:block;color:#7f8ba0;font-size:.6rem;font-weight:800;text-transform:uppercase;letter-spacing:.45px}
#rt-item-database .rtidb-market-grid strong{display:block;color:#f2f6ff;font-size:.85rem;margin:2px 0}
#rt-item-database .rtidb-market-grid span{display:block;color:#8f9bb0;font-size:.68rem;line-height:1.35}
#rt-item-database .rtidb-market-note,#rt-item-database .rtidb-market-match{margin:8px 0 0;color:#7e899b;font-size:.68rem;line-height:1.45}
#rt-item-database .rtidb-market-match strong{color:#ddd4ff}
#rt-item-database .rtidb-market-empty{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px}
#rt-item-database .rtidb-market-empty strong{color:#fff}
#rt-item-database .rtidb-market-empty span{color:#8995a8;font-size:.72rem}
@media(max-width:900px){#rt-item-database .rtidb-market-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){#rt-item-database .rtidb-market-head{align-items:flex-start;flex-direction:column}#rt-item-database .rtidb-market-grid{grid-template-columns:1fr}}


/* v1.7.0 — marketplace presence + source-backed vendor routes */
.rtidb-cardactions .rtidb-market-signal,.rtidb-cardactions .rtidb-market-history{transition:border-color .16s ease,box-shadow .16s ease,color .16s ease}
.rtidb-cardactions .rtidb-market-signal.has-market,.rtidb-cardactions .rtidb-market-history.has-market{border-color:#2c8a5e!important;color:#8df0bb!important;box-shadow:0 0 0 1px rgba(50,190,120,.14),0 0 14px rgba(38,181,109,.15)}
.rtidb-cardactions .rtidb-market-signal.no-market,.rtidb-cardactions .rtidb-market-history.no-market{border-color:#70404b!important;color:#d795a2!important;box-shadow:0 0 10px rgba(179,66,87,.08)}
.rtidb-vendors{margin:10px 0;padding:10px;border:1px solid #31405a;border-left:3px solid #6baaff;border-radius:7px;background:#0f1522}
.rtidb-vendor-title{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;color:#dce8fa;font:900 .72rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em;margin-bottom:7px}.rtidb-vendor-title small{color:#728198;font:500 .68rem Arial,sans-serif;text-transform:none;letter-spacing:0}
.rtidb-vendors>div:not(.rtidb-vendor-title){display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(180px,2fr) auto;gap:7px;align-items:center;padding:7px 0;border-top:1px solid #222d40}.rtidb-vendors>div:first-of-type{border-top:0}
.rtidb-vendors>div>span{color:#82aef2;font:900 .62rem Rajdhani,Arial,sans-serif}.rtidb-vendors strong{color:#f2f5fb;font-size:.76rem}.rtidb-vendors small{color:#8995a8;font-size:.7rem;line-height:1.35}.rtidb-vendors a{color:#8fc3ff;font-size:.68rem;font-weight:800;white-space:nowrap}
.rtidb-monster-profile-meta .is-area,.rtidb-monster-meta .is-area{border-color:#3d4f5e!important;color:#9ed9c4!important}
@media(max-width:760px){.rtidb-vendors>div:not(.rtidb-vendor-title){grid-template-columns:1fr}.rtidb-vendors a{white-space:normal}}


/* v1.8.0 — saved watchlist, comparison and source recipe explorer */
#rt-item-database .rtidb-watchlist{margin:0 20px 12px;padding:12px;background:linear-gradient(180deg,#141a24,#0f141d);border:1px solid #354154;border-left:4px solid #e1ad3d;border-radius:9px}
#rt-item-database .rtidb-watchlist[hidden],#rt-item-database .rtidb-compare-panel[hidden],#rt-item-database .rtidb-recipebox[hidden]{display:none!important}
#rt-item-database .rtidb-watchlist-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
#rt-item-database .rtidb-watchlist-head span{display:block;color:#f0bd51;font:900 .68rem Rajdhani,Arial,sans-serif;letter-spacing:.7px;text-transform:uppercase}
#rt-item-database .rtidb-watchlist-head strong{display:block;color:#fff;font-size:.84rem;margin-top:1px}
#rt-item-database .rtidb-watchlist-head>div:last-child{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#rt-item-database .rtidb-watchlist-head button,#rt-item-database .rtidb-watch-item button{border:1px solid #3b4659;background:#151d2a;color:#c6d0df;border-radius:6px;padding:6px 8px;font:800 .67rem Rajdhani,Arial,sans-serif;text-transform:uppercase}
#rt-item-database .rtidb-watchlist-head button:disabled{opacity:.45;cursor:not-allowed}
#rt-item-database .rtidb-watchlist-items{display:flex;gap:7px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
#rt-item-database .rtidb-watch-item{min-width:260px;max-width:330px;display:grid;grid-template-columns:32px minmax(110px,1fr) auto auto auto;gap:7px;align-items:center;padding:8px;background:#0d131d;border:1px solid #2b3546;border-radius:7px}
#rt-item-database .rtidb-watch-item .rtidb-icon{width:32px;height:32px}
#rt-item-database .rtidb-watch-open{display:block!important;border:0!important;background:transparent!important;color:#fff!important;text-align:left;padding:0!important;text-transform:none!important;font:800 .76rem Arial,sans-serif!important;white-space:nowrap;max-width:145px;overflow:hidden;text-overflow:ellipsis}
#rt-item-database .rtidb-watch-item>div>span{display:block;color:#79869a;font-size:.61rem;white-space:nowrap;max-width:145px;overflow:hidden;text-overflow:ellipsis}
#rt-item-database .rtidb-watch-market.has-market{border-color:#2c8a5e!important;color:#8df0bb!important}#rt-item-database .rtidb-watch-market.no-market{border-color:#70404b!important;color:#d795a2!important}
#rt-item-database .rtidb-watch-compare.is-active,#rt-item-database .rtidb-compare-action.is-active{border-color:#8765bd!important;color:#e2cdff!important;background:#251a36!important}
#rt-item-database .rtidb-watch-remove{font-size:.95rem!important;color:#d99ba7!important;padding:4px 7px!important}
#rt-item-database .rtidb-watchlist-note{display:block;color:#6f7b8d;font-size:.65rem;margin-top:7px}
#rt-item-database .rtidb-compare-panel{margin:0 20px 14px;padding:13px;background:#101622;border:1px solid #3b4760;border-left:4px solid #ad7be8;border-radius:9px;scroll-margin-top:90px}
#rt-item-database .rtidb-compare-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}.rtidb-compare-head span{display:block;color:#ad7be8;font:900 .66rem Rajdhani,Arial,sans-serif;letter-spacing:.7px}.rtidb-compare-head strong{display:block;color:#fff}.rtidb-compare-head button{background:#1a2030;border:1px solid #48546a;color:#d9e1ed;border-radius:6px;padding:7px 10px}
#rt-item-database .rtidb-compare-scroll{overflow:auto}#rt-item-database .rtidb-compare-body table{width:100%;min-width:760px;border-collapse:collapse;background:#0c121c}#rt-item-database .rtidb-compare-body th,#rt-item-database .rtidb-compare-body td{padding:9px;border:1px solid #283346;vertical-align:top;text-align:left;font-size:.72rem}#rt-item-database .rtidb-compare-body tbody th{width:135px;color:#8f9bb0;background:#111827;text-transform:uppercase;font:800 .62rem Rajdhani,Arial,sans-serif}#rt-item-database .rtidb-compare-body thead th{min-width:170px;background:#151b2a;color:#fff}#rt-item-database .rtidb-compare-body thead th:first-child{min-width:135px}#rt-item-database .rtidb-compare-body thead th .rtidb-icon{width:34px;height:34px;float:left;margin-right:7px}#rt-item-database .rtidb-compare-body thead th span{display:block;padding-top:4px}#rt-item-database .rtidb-compare-body thead th button{display:block;margin-top:7px;background:#191e2a;border:1px solid #404b5f;color:#9facbf;border-radius:5px;padding:4px 7px}#rt-item-database .rtidb-compare-desc{max-height:110px;overflow:auto;line-height:1.45;color:#b9c3d3}.rtidb-compare-body .is-good{color:#86e7b1}.rtidb-compare-body .is-none{color:#c88895}.rtidb-compare-note{margin:8px 0 0;color:#748196;font-size:.67rem}
#rt-item-database .rtidb-recipe-signal{border-color:#735c2f!important;color:#ffd17d!important;background:#211a0f!important}.rtidb-recipebox{margin:11px 0 0;padding:12px;background:#0d141d;border:1px solid #3b4656;border-left:3px solid #d7a33d;border-radius:8px}.rtidb-recipe-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.rtidb-recipe-head span{display:block;color:#dba94b;font:900 .63rem Rajdhani,Arial,sans-serif;letter-spacing:.6px}.rtidb-recipe-head strong{display:block;color:#fff}.rtidb-recipe-head small{color:#7f8b9d}.rtidb-recipe-card{padding:10px;margin:7px 0;background:#101827;border:1px solid #2d394c;border-radius:7px}.rtidb-recipe-title{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;margin-bottom:7px}.rtidb-recipe-title span{color:#ffc46f;background:#241b0f;border:1px solid #5c4929;border-radius:999px;padding:3px 6px;font:800 .6rem Rajdhani,Arial,sans-serif;text-transform:uppercase}.rtidb-recipe-title strong{color:#dfe7f4;font-size:.76rem}.rtidb-recipe-title small{color:#657389;font-size:.58rem}.rtidb-recipe-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rtidb-recipe-columns>div{background:#0b111b;border:1px solid #253044;border-radius:6px;padding:8px}.rtidb-recipe-columns b{display:block;color:#91a1b8;font:800 .61rem Rajdhani,Arial,sans-serif;text-transform:uppercase;margin-bottom:4px}.rtidb-recipe-columns p{margin:0;color:#c8d0dc;font-size:.7rem;line-height:1.5}.rtidb-recipe-links{display:flex;gap:5px;flex-wrap:wrap;align-items:center;margin-top:7px}.rtidb-recipe-links>span{color:#6f7d91;font-size:.62rem}.rtidb-recipe-links a{padding:3px 6px;border:1px solid #34425a;border-radius:999px;color:#8fc9ff;text-decoration:none;font-size:.63rem}.rtidb-recipe-note,.rtidb-recipe-more{color:#748195;font-size:.66rem;margin:8px 0 0}.rtidb-recipe-empty{color:#8d99aa;font-size:.72rem}
@media(max-width:760px){#rt-item-database .rtidb-watchlist,#rt-item-database .rtidb-compare-panel{margin-left:15px;margin-right:15px}.rtidb-watchlist-head,.rtidb-recipe-head{align-items:flex-start!important;flex-direction:column}.rtidb-recipe-columns{grid-template-columns:1fr}.rtidb-recipe-title{grid-template-columns:1fr}.rtidb-watch-item{min-width:245px!important;grid-template-columns:30px minmax(100px,1fr) auto auto!important}.rtidb-watch-remove{grid-column:4}.rtidb-watch-market{display:none!important}}


/* v1.8.1 — fixed right-side Watchlist + Compare drawers */
#rt-item-database .rtidb-side-launchers{position:fixed;right:10px;top:42%;z-index:10020;display:flex;flex-direction:column;gap:6px;transform:translateY(-50%)}
#rt-item-database .rtidb-side-launch{display:grid;grid-template-columns:18px auto 22px;gap:6px;align-items:center;min-width:112px;padding:7px 8px;border:1px solid #36445b;border-right:0;border-radius:8px 0 0 8px;background:rgba(12,17,28,.96);color:#cbd5e5;box-shadow:0 8px 24px rgba(0,0,0,.3);font:800 .65rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.03em;cursor:pointer}
#rt-item-database .rtidb-side-launch:hover,#rt-item-database .rtidb-side-launch.is-active{border-color:#ad7be8;background:#181426;color:#fff}
#rt-item-database .rtidb-side-launch:first-child:hover,#rt-item-database .rtidb-side-launch:first-child.is-active{border-color:#dba94b;background:#211a0f}
#rt-item-database .rtidb-side-launch-icon{font-size:.9rem;text-align:center}.rtidb-side-launch b{min-width:20px;padding:2px 5px;border-radius:999px;background:#222d41;color:#fff;text-align:center;font-size:.62rem}
#rt-item-database .rtidb-side-drawer{position:fixed!important;right:8px;top:92px!important;bottom:22px!important;width:min(520px,calc(100vw - 150px));max-height:none!important;margin:0!important;padding:12px!important;z-index:10019;background:linear-gradient(180deg,#111827 0%,#0c121c 100%)!important;border:1px solid #3b4760!important;border-left:4px solid #ad7be8!important;border-radius:10px 0 0 10px!important;box-shadow:-16px 20px 50px rgba(0,0,0,.48);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;animation:rtidbDrawerIn .18s ease-out}
#rt-item-database .rtidb-watchlist.rtidb-side-drawer{border-left-color:#e1ad3d!important}
@keyframes rtidbDrawerIn{from{transform:translateX(24px);opacity:.35}to{transform:translateX(0);opacity:1}}
#rt-item-database .rtidb-side-drawer[hidden]{display:none!important}
#rt-item-database .rtidb-side-close{width:30px;height:30px;padding:0!important;display:inline-grid!important;place-items:center;font-size:1.15rem!important;line-height:1;border-radius:7px!important}
#rt-item-database .rtidb-watchlist-head{position:sticky;top:-12px;z-index:3;padding:10px 0 9px;background:linear-gradient(180deg,#111827 78%,rgba(17,24,39,0));align-items:flex-start}
#rt-item-database .rtidb-watchlist-head>div:last-child{max-width:280px}
#rt-item-database .rtidb-watchlist-items{display:grid;grid-template-columns:1fr;gap:7px;overflow:visible;padding:0}
#rt-item-database .rtidb-watch-item{min-width:0;max-width:none;width:100%;grid-template-columns:34px minmax(110px,1fr) auto auto auto}
#rt-item-database .rtidb-watch-open,#rt-item-database .rtidb-watch-item>div>span{max-width:210px}
#rt-item-database .rtidb-compare-panel{scroll-margin-top:0}
#rt-item-database .rtidb-compare-head{position:sticky;top:-12px;z-index:3;padding:10px 0 9px;background:linear-gradient(180deg,#111827 78%,rgba(17,24,39,0));align-items:flex-start}
#rt-item-database .rtidb-compare-scroll{overflow:auto;max-width:100%;border:1px solid #273248;border-radius:7px}
#rt-item-database .rtidb-compare-body table{width:max-content;min-width:100%;max-width:none}
#rt-item-database .rtidb-compare-body thead th{min-width:150px}
#rt-item-database .rtidb-compare-body thead th:first-child,#rt-item-database .rtidb-compare-body tbody th{position:sticky;left:0;z-index:2;min-width:110px;width:110px}
#rt-item-database .rtidb-compare-body thead th:first-child{z-index:4}
#rt-item-database .rtidb-compare-wait{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:12px;border:1px solid #334056;background:#0c131f;border-radius:8px}
#rt-item-database .rtidb-compare-wait .rtidb-icon{width:42px;height:42px}.rtidb-compare-wait strong{display:block;color:#fff}.rtidb-compare-wait span{display:block;color:#8d99ab;font-size:.7rem;margin:3px 0 7px}.rtidb-compare-wait button{border:1px solid #3e4a60;background:#171d2a;color:#cbd5e5;border-radius:6px;padding:5px 7px;font:800 .64rem Rajdhani,Arial,sans-serif;text-transform:uppercase}
#rt-item-database .rtidb-side-empty{display:flex;flex-direction:column;gap:3px;padding:18px 12px;border:1px dashed #344156;border-radius:8px;background:#0b111b;text-align:center}.rtidb-side-empty strong{color:#fff}.rtidb-side-empty span{color:#7f8ba0;font-size:.72rem}
@media(max-width:900px){#rt-item-database .rtidb-side-launchers{right:0}#rt-item-database .rtidb-side-launch{min-width:48px;grid-template-columns:18px 20px;padding:7px 5px}#rt-item-database .rtidb-side-launch>span:nth-child(2){display:none}#rt-item-database .rtidb-side-drawer{right:0;width:min(520px,calc(100vw - 54px));top:76px!important;bottom:12px!important;border-radius:10px 0 0 10px!important}}
@media(max-width:600px){#rt-item-database .rtidb-side-drawer{width:calc(100vw - 44px);top:64px!important;bottom:6px!important;padding:10px!important}#rt-item-database .rtidb-watchlist-head>div:last-child{max-width:none;justify-content:flex-start}#rt-item-database .rtidb-watch-item{grid-template-columns:32px minmax(100px,1fr) auto auto!important}.rtidb-watch-market{display:none!important}.rtidb-watch-remove{grid-column:auto!important}#rt-item-database .rtidb-compare-body thead th{min-width:132px}#rt-item-database .rtidb-compare-body thead th:first-child,#rt-item-database .rtidb-compare-body tbody th{min-width:94px;width:94px}}

/* v1.8.2 — unified Watchlist/Compare control + persistent vertical comparison */
#rt-item-database .rtidb-side-launchers{
  right:10px;
  top:42%;
  gap:0!important;
  padding:0!important;
  overflow:hidden;
  border:1px solid #36445b;
  border-right:0;
  border-radius:9px 0 0 9px;
  background:rgba(12,17,28,.97);
  box-shadow:0 8px 24px rgba(0,0,0,.30);
}
#rt-item-database .rtidb-side-launch{
  min-width:116px;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
#rt-item-database .rtidb-side-launch + .rtidb-side-launch{border-top:1px solid #36445b!important}
#rt-item-database .rtidb-side-launch:hover,#rt-item-database .rtidb-side-launch.is-active{background:#181426!important;color:#fff}
#rt-item-database .rtidb-side-launch:first-child:hover,#rt-item-database .rtidb-side-launch:first-child.is-active{background:#211a0f!important}
#rt-item-database .rtidb-side-launch:first-child.is-active{box-shadow:inset 3px 0 0 #e1ad3d!important}
#rt-item-database .rtidb-side-launch:last-child.is-active{box-shadow:inset 3px 0 0 #ad7be8!important}

#rt-item-database .rtidb-side-drawer{
  width:min(430px,calc(100vw - 150px))!important;
  padding:11px!important;
}
#rt-item-database .rtidb-watchlist-head>div:last-child{max-width:230px}
#rt-item-database .rtidb-watch-item{grid-template-columns:32px minmax(105px,1fr) auto auto auto!important;gap:6px}
#rt-item-database .rtidb-watch-open,#rt-item-database .rtidb-watch-item>div>span{max-width:165px}

/* Keep the star compact even when theme/plugin button rules are aggressive. */
#rt-item-database .rtidb-cardhead .rtidb-star{
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0!important;
  margin:0!important;
  display:inline-grid!important;
  place-items:center!important;
  align-self:start!important;
  flex:0 0 32px!important;
  font-size:1.2rem!important;
  line-height:1!important;
}

/* Vertical compare: each selected item stays visible below the previous one. */
#rt-item-database .rtidb-compare-body{min-width:0}
#rt-item-database .rtidb-compare-prompt{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-bottom:9px;
  padding:9px 10px;
  background:#171422;
  border:1px solid #4a3c62;
  border-left:3px solid #ad7be8;
  border-radius:7px;
}
#rt-item-database .rtidb-compare-prompt.is-ready{background:#111a19;border-color:#315547;border-left-color:#58d991}
#rt-item-database .rtidb-compare-prompt strong{color:#fff;font-size:.78rem}
#rt-item-database .rtidb-compare-prompt span{color:#8e9aaf;font-size:.68rem;line-height:1.4}
#rt-item-database .rtidb-compare-stack{display:grid;grid-template-columns:1fr;gap:9px}
#rt-item-database .rtidb-compare-card{
  min-width:0;
  padding:10px;
  background:#0c131f;
  border:1px solid #303c51;
  border-radius:8px;
}
#rt-item-database .rtidb-compare-card:first-child{border-color:#5a4778;box-shadow:inset 3px 0 0 #ad7be8}
#rt-item-database .rtidb-compare-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-bottom:8px}
#rt-item-database .rtidb-compare-card-title{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:center;min-width:0}
#rt-item-database .rtidb-compare-card-title .rtidb-icon{width:38px;height:38px}
#rt-item-database .rtidb-compare-card-title>div{min-width:0}
#rt-item-database .rtidb-compare-card-title span{display:block;color:#ad7be8;font:900 .6rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.55px}
#rt-item-database .rtidb-compare-card-title strong{display:block;color:#fff;font-size:.82rem;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
#rt-item-database .rtidb-compare-card-title small{display:block;color:#738197;font-size:.61rem;margin-top:2px}
#rt-item-database .rtidb-compare-remove{width:28px!important;min-width:28px!important;height:28px!important;padding:0!important;display:grid!important;place-items:center!important;color:#d99ba7!important;font-size:1rem!important;line-height:1!important}
#rt-item-database .rtidb-compare-fields{display:grid;grid-template-columns:1fr 1fr;gap:5px}
#rt-item-database .rtidb-compare-field{min-width:0;padding:6px 7px;background:#101827;border:1px solid #263246;border-radius:6px}
#rt-item-database .rtidb-compare-field span{display:block;color:#728096;font:800 .56rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.35px}
#rt-item-database .rtidb-compare-field strong{display:block;color:#d9e2f0;font-size:.68rem;line-height:1.35;margin-top:1px;overflow-wrap:anywhere}
#rt-item-database .rtidb-compare-field.is-stat{border-color:#39415c;background:#121629}
#rt-item-database .rtidb-compare-field.is-stat strong{color:#e7dbff}
#rt-item-database .rtidb-compare-body .is-good{color:#86e7b1!important}
#rt-item-database .rtidb-compare-body .is-none{color:#c88895!important}
#rt-item-database .rtidb-compare-description{margin-top:7px;border-top:1px solid #263146;padding-top:6px}
#rt-item-database .rtidb-compare-description summary{cursor:pointer;color:#94a2b8;font-size:.64rem;font-weight:800}
#rt-item-database .rtidb-compare-description p{margin:6px 0 0;color:#aab5c6;font-size:.67rem;line-height:1.45;max-height:105px;overflow:auto}

@media(max-width:900px){
  #rt-item-database .rtidb-side-launchers{right:0}
  #rt-item-database .rtidb-side-launch{min-width:50px!important;grid-template-columns:18px 20px!important;padding:7px 5px!important}
  #rt-item-database .rtidb-side-drawer{width:min(430px,calc(100vw - 54px))!important}
}
@media(max-width:600px){
  #rt-item-database .rtidb-side-drawer{width:calc(100vw - 44px)!important}
  #rt-item-database .rtidb-compare-fields{grid-template-columns:1fr}
  #rt-item-database .rtidb-watch-item{grid-template-columns:30px minmax(92px,1fr) auto auto!important}
  #rt-item-database .rtidb-watch-market{display:none!important}
}


/* v1.8.3 — readable responsive database + reliable watchlist navigation */
#rt-item-database.rtidb{width:min(100%,1280px);max-width:1280px;margin:18px auto;font-size:16px;line-height:1.58;overflow:hidden}
#rt-item-database .rtidb-hero p{font-size:.98rem}
#rt-item-database .rtidb-toolbar{grid-template-columns:minmax(240px,1.65fr) minmax(220px,1.35fr) repeat(5,minmax(120px,1fr));gap:10px}
#rt-item-database .rtidb-toolbar label{font-size:.78rem}
#rt-item-database .rtidb-toolbar label small{color:#71809a;font-size:.72rem;text-transform:none;letter-spacing:0;line-height:1.35}
#rt-item-database input,#rt-item-database select{font-size:.94rem;min-height:46px}
#rt-item-database .rtidb button{font-size:.82rem;min-height:36px}
#rt-item-database .rtidb-cardhead{display:grid;grid-template-columns:48px minmax(0,1fr) 36px;gap:12px;align-items:start}
#rt-item-database .rtidb-titlewrap{min-width:0}
#rt-item-database .rtidb-icon{display:grid;place-items:center;flex:none}
#rt-item-database .rtidb-icon-placeholder{color:#60708a;font:900 1.25rem Rajdhani,Arial,sans-serif;background:linear-gradient(145deg,#0a0f1a,#151b2a)}
#rt-item-database .rtidb-type{font-size:.76rem}
#rt-item-database .rtidb-card h3{font-size:1.28rem;line-height:1.25;overflow-wrap:anywhere}
#rt-item-database .rtidb-card h4{font-size:.94rem}
#rt-item-database .rtidb-desc{font-size:.95rem;line-height:1.55}
#rt-item-database .rtidb-badge{font-size:.71rem}
#rt-item-database .rtidb-acq strong{font-size:.94rem}
#rt-item-database .rtidb-acq .loc{font-size:.84rem}
#rt-item-database .rtidb-acq p{font-size:.88rem;line-height:1.5}
#rt-item-database .rtidb-acq small{font-size:.77rem}
#rt-item-database .rtidb-links a,#rt-item-database .rtidb-cardactions a{font-size:.82rem}
#rt-item-database .rtidb-reference summary{font-size:.94rem}
#rt-item-database .rtidb table{font-size:.86rem}
#rt-item-database .rtidb-reference-open{font-weight:800;text-decoration:none}
#rt-item-database .rtidb-reference-open:hover{text-decoration:underline;color:#ffc17a}
#rt-item-database .rtidb-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#rt-item-database .rtidb-card{padding:17px}
#rt-item-database .rtidb-card.rtidb-focus-pulse{animation:rtidbFocusPulse 1.5s ease;border-color:#58d991;box-shadow:0 0 0 2px rgba(88,217,145,.16),0 0 28px rgba(88,217,145,.09)}
@keyframes rtidbFocusPulse{0%{box-shadow:0 0 0 0 rgba(88,217,145,.42)}45%{box-shadow:0 0 0 7px rgba(88,217,145,.08)}100%{box-shadow:0 0 0 0 rgba(88,217,145,0)}}
#rt-item-database .rtidb-cardhead .rtidb-star{grid-column:3!important;grid-row:1!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;justify-self:end!important;align-self:start!important;padding:0!important}
#rt-item-database .rtidb-side-launchers{right:0!important;min-width:138px;border:1px solid #3b4d63!important;border-right:0!important}
#rt-item-database .rtidb-side-launch{min-width:138px!important;grid-template-columns:22px minmax(68px,1fr) 24px!important;padding:10px 9px!important;font-size:.84rem!important}
#rt-item-database #rtidb-watch-toggle{background:#10241b!important;color:#9aebbb!important;box-shadow:inset 4px 0 0 #58d991!important}
#rt-item-database #rtidb-watch-toggle:hover,#rt-item-database #rtidb-watch-toggle.is-active{background:#153326!important;color:#d8ffe6!important}
#rt-item-database #rtidb-watch-toggle b{background:#204a38!important;color:#baf5d1!important}
#rt-item-database #rtidb-compare-toggle{background:#181426!important;color:#d4b8ff!important}
#rt-item-database #rtidb-compare-toggle:hover,#rt-item-database #rtidb-compare-toggle.is-active{background:#241a35!important;color:#f0e4ff!important}
#rt-item-database .rtidb-side-drawer{width:min(460px,calc(100vw - 165px))!important;font-size:.93rem}
#rt-item-database .rtidb-watch-open{font-size:.88rem!important;line-height:1.3}
#rt-item-database .rtidb-watch-item>div>span{font-size:.72rem!important}
#rt-item-database .rtidb-compare-card-title strong{font-size:.9rem}
#rt-item-database .rtidb-compare-field span{font-size:.62rem}
#rt-item-database .rtidb-compare-field strong{font-size:.76rem}
#rt-item-database .rtidb-compare-description p{font-size:.75rem}
@media(max-width:1180px){#rt-item-database .rtidb-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}#rt-item-database .rtidb-search,#rt-item-database .rtidb-monster-filter{grid-column:span 3}#rt-item-database .rtidb-results{grid-template-columns:1fr}}
@media(max-width:760px){#rt-item-database.rtidb{margin:10px auto;border-radius:10px}#rt-item-database .rtidb-toolbar{grid-template-columns:1fr!important;padding:14px}#rt-item-database .rtidb-search,#rt-item-database .rtidb-monster-filter{grid-column:auto!important}#rt-item-database .rtidb-results{padding:14px;gap:11px}#rt-item-database .rtidb-card{padding:14px}#rt-item-database .rtidb-cardhead{grid-template-columns:42px minmax(0,1fr) 36px;gap:9px}#rt-item-database .rtidb-icon{width:42px;height:42px}#rt-item-database .rtidb-side-launchers{top:auto!important;right:8px!important;bottom:8px!important;display:flex!important;min-width:0;border:1px solid #3b4d63!important;border-radius:9px!important;z-index:10002}#rt-item-database .rtidb-side-launch{min-width:54px!important;width:auto!important;grid-template-columns:20px 22px!important;padding:9px 8px!important}#rt-item-database .rtidb-side-launch>span:nth-child(2){display:none!important}#rt-item-database .rtidb-side-launch + .rtidb-side-launch{border-top:0!important;border-left:1px solid #36445b!important}#rt-item-database .rtidb-side-drawer{width:calc(100vw - 16px)!important;right:8px!important;left:8px!important;top:62px!important;bottom:66px!important;border-radius:10px!important}#rt-item-database .rtidb-watch-item{grid-template-columns:32px minmax(0,1fr) auto auto!important}#rt-item-database .rtidb-watch-open,#rt-item-database .rtidb-watch-item>div>span{max-width:none!important}#rt-item-database .rtidb-table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}}


/* v1.9.0 — semantic same-type comparison */
#rt-item-database .rtidb-compare-alert{margin:0 0 9px;padding:9px 10px;border:1px solid #7b4a53;border-left:3px solid #dc6f7f;border-radius:7px;background:#241318;color:#efbdc5;font-size:.76rem;line-height:1.45}
#rt-item-database .rtidb-compare-head-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}
#rt-item-database .rtidb-compare-main{min-height:28px!important;padding:5px 7px!important;border-color:#315d4b!important;background:#102019!important;color:#8fe2b3!important;font-size:.62rem!important}
#rt-item-database .rtidb-compare-main:hover{border-color:#58d991!important;color:#d9ffea!important}
#rt-item-database .rtidb-delta{display:block;margin-top:3px;font-style:normal;font-size:.65rem;font-weight:900;letter-spacing:.1px}
#rt-item-database .rtidb-delta.is-up{color:#72dda2}
#rt-item-database .rtidb-delta.is-down{color:#e48291}
#rt-item-database .rtidb-delta.is-even{color:#929fb3}
#rt-item-database .rtidb-compare-incompatible{margin:0 0 7px;padding:8px 9px;border:1px dashed #744d55;border-radius:6px;background:#1e1318}
#rt-item-database .rtidb-compare-incompatible strong{display:block;color:#f0a6b1;font-size:.72rem}
#rt-item-database .rtidb-compare-incompatible span{display:block;color:#a88d94;font-size:.66rem;line-height:1.4;margin-top:2px}
#rt-item-database .rtidb-compare-field strong{word-break:normal;overflow-wrap:anywhere}


/* v1.9.1 — unified saved/compare drawer + linked monster hover */
#rt-item-database .rtidb-unified-side-panel{width:min(500px,calc(100vw - 165px))!important;padding:0!important;overflow:auto!important;background:linear-gradient(180deg,#101823,#0b111a)!important;border-left-color:#58d991!important}
#rt-item-database .rtidb-unified-watch,#rt-item-database .rtidb-unified-compare{position:relative!important;inset:auto!important;width:auto!important;max-height:none!important;margin:0!important;padding:14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#rt-item-database .rtidb-unified-watch{border-bottom:0!important}
#rt-item-database .rtidb-unified-divider{height:1px;margin:0 14px;background:linear-gradient(90deg,#2e7d59,#594276,#263247)}
#rt-item-database .rtidb-unified-compare{padding-top:15px!important}
#rt-item-database .rtidb-unified-watch.is-focus{background:linear-gradient(180deg,rgba(38,83,62,.16),transparent)!important}
#rt-item-database .rtidb-unified-compare.is-focus{background:linear-gradient(180deg,rgba(70,48,97,.16),transparent)!important}
#rt-item-database .rtidb-unified-side-panel .rtidb-watchlist-head,#rt-item-database .rtidb-unified-side-panel .rtidb-compare-head{position:static!important;top:auto!important;background:transparent!important;padding:0 0 10px!important}
#rt-item-database .rtidb-panel-bottom-close{width:100%;margin-top:10px;min-height:36px;border:1px solid #3a465b;border-radius:7px;background:#151d29;color:#c8d3e3;font:900 .72rem Rajdhani,Arial,sans-serif;text-transform:uppercase;cursor:pointer}
#rt-item-database .rtidb-panel-bottom-close:hover{border-color:#ad7be8;color:#fff}
#rt-item-database .rtidb-monster-hover{position:fixed;z-index:11050;padding:11px 12px;background:#0b111c;border:1px solid #465675;border-left:3px solid #6baaff;border-radius:8px;box-shadow:0 12px 34px rgba(0,0,0,.46);pointer-events:none;color:#dbe5f4;font:13px/1.45 Arial,sans-serif}
#rt-item-database .rtidb-monster-hover strong{display:block;color:#fff;font:900 16px Rajdhani,Arial,sans-serif}.rtidb-monster-hover>span{display:block;color:#8fb8ec;margin:1px 0 6px}.rtidb-monster-hover div{color:#b8c4d6}.rtidb-monster-hover b{color:#e7b84e}.rtidb-monster-hover small{display:block;color:#78889f;margin-top:5px}
@media(max-width:900px){#rt-item-database .rtidb-unified-side-panel{width:min(500px,calc(100vw - 54px))!important}}
@media(max-width:760px){#rt-item-database .rtidb-unified-side-panel{width:calc(100vw - 16px)!important;right:8px!important;left:8px!important;top:62px!important;bottom:66px!important}#rt-item-database .rtidb-monster-hover{display:none!important}}


/* v1.9.2 — compact reference item hover + handoff reliability */
#rt-item-database .rtidb-reference-open{font-weight:800;text-decoration:none;text-underline-offset:2px}
#rt-item-database .rtidb-reference-open:hover{color:#ffb665;text-decoration:underline}
.rtidb-item-hover{position:fixed;z-index:11050;padding:13px 14px;background:#0b111c;border:1px solid #465675;border-left:3px solid #e67e22;border-radius:9px;box-shadow:0 14px 38px rgba(0,0,0,.5);pointer-events:none;color:#dbe5f4;font:13px/1.48 Arial,sans-serif}
.rtidb-item-hover-head{display:flex;align-items:center;gap:10px}.rtidb-item-hover-head .rtidb-icon{width:42px!important;height:42px!important;min-width:42px!important;object-fit:contain;border-radius:6px}
.rtidb-item-hover-head strong{display:block;color:#fff;font:900 17px/1.15 Rajdhani,Arial,sans-serif}.rtidb-item-hover-head span{display:block;margin-top:2px;color:#8fa0ba;font-size:11px}
.rtidb-item-hover-badges{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 7px}.rtidb-item-hover p{margin:0 0 7px;color:#bec9d9}.rtidb-item-hover small{display:block;color:#8190a8}.rtidb-item-hover em{display:block;margin-top:6px;color:#e7b84e;font-style:normal;font-size:11px;font-weight:800}
@media(max-width:760px){.rtidb-item-hover{display:none!important}}


/* v1.9.4 — synchronized compact reference, exact recipes and aligned actions */
#rt-item-database .rtidb-reference-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid #252d40;background:#101522;color:#8f9bb1;font-size:.74rem}
#rt-item-database .rtidb-reference-tools strong{color:#fff;font-size:.9rem}
#rt-item-database .rtidb-reference-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
#rt-item-database .rtidb-reference-actions button{padding:7px 9px;font-size:.68rem;min-height:34px}
#rt-item-database .rtidb-reference-actions .rtidb-reference-clear{border-color:#786020;color:#ffd272;background:#211a0e}
#rt-item-database .rtidb-reference-empty{text-align:center;color:#8290a7;padding:18px!important}
#rt-item-database .rtidb-cardactions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;align-items:stretch}
#rt-item-database .rtidb-cardactions>button,#rt-item-database .rtidb-cardactions>.rtidb-actionlink{width:100%;min-width:0;min-height:40px;display:flex!important;align-items:center;justify-content:center;text-align:center;line-height:1.15;padding:8px 7px!important}
#rt-item-database .rtidb-recipebox[hidden]{display:none!important}
@media(max-width:980px){#rt-item-database .rtidb-cardactions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#rt-item-database .rtidb-reference-tools{align-items:flex-start;flex-direction:column}#rt-item-database .rtidb-reference-actions{justify-content:flex-start;width:100%}#rt-item-database .rtidb-reference-actions button{flex:1 1 140px}}
@media(max-width:460px){#rt-item-database .rtidb-cardactions{grid-template-columns:1fr}}


/* v1.9.5 — compact closed item cards + always-visible quick research actions */
#rt-item-database .rtidb-card{padding:14px 15px!important;transition:border-color .18s ease,background .18s ease}
#rt-item-database .rtidb-card.is-collapsed{background:linear-gradient(180deg,#151a2a,#111522)}
#rt-item-database .rtidb-card.is-expanded{border-color:#43516c;background:linear-gradient(180deg,#171d2f,#101421)}
#rt-item-database .rtidb-cardhead{align-items:center!important}
#rt-item-database .rtidb-card h3{margin-bottom:3px!important}
#rt-item-database .rtidb-cardquick{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(105px,.8fr) minmax(130px,1fr);gap:7px;margin-top:10px;padding-top:9px;border-top:1px solid #293249}
#rt-item-database .rtidb-cardquick>button,#rt-item-database .rtidb-cardquick>.rtidb-actionlink{min-height:36px;width:100%;display:flex!important;align-items:center;justify-content:center;padding:7px 9px!important;text-align:center;border-radius:6px;text-decoration:none;font:900 .71rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.25px}
#rt-item-database .rtidb-details-toggle{border-color:#3e526f!important;background:#121c2d!important;color:#a9cbf3!important}
#rt-item-database .rtidb-details-toggle:hover,#rt-item-database .rtidb-card.is-expanded .rtidb-details-toggle{border-color:#6baaff!important;color:#e6f2ff!important;background:#16243a!important}
#rt-item-database .rtidb-details-toggle span{margin-left:5px;font-size:.8rem}
#rt-item-database .rtidb-cardquick .rtidb-market-signal.has-market{border-color:#316448!important;background:#10231a!important;color:#8ee0b5!important}
#rt-item-database .rtidb-cardquick .rtidb-market-history.has-market{border:1px solid #6a4c7f!important;background:#1b1424!important;color:#d6b3f4!important}
#rt-item-database .rtidb-cardquick .rtidb-market-history.no-market{border:1px solid #3a4257!important;background:#141827!important;color:#8f9bb1!important}
#rt-item-database .rtidb-cardquick-secondary{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr)}
#rt-item-database .rtidb-drop-quick{border-color:#59437b!important;background:#181326!important;color:#cbb2f0!important}
#rt-item-database .rtidb-drop-quick:hover{border-color:#ad7be8!important;color:#fff!important}
#rt-item-database .rtidb-card-inlinebox{margin-top:8px!important}
#rt-item-database .rtidb-cardbody{margin-top:10px;padding-top:11px;border-top:1px solid #2d374d}
#rt-item-database .rtidb-cardbody[hidden]{display:none!important}
#rt-item-database .rtidb-cardbody .rtidb-badgerow{margin-bottom:4px}
#rt-item-database .rtidb-cardactions{margin-top:11px!important}
#rt-item-database .rtidb-dropresults:empty{display:none}
@media(max-width:700px){#rt-item-database .rtidb-cardquick{grid-template-columns:1fr 1fr}#rt-item-database .rtidb-cardquick-secondary{grid-column:1/-1}}
@media(max-width:470px){#rt-item-database .rtidb-cardquick{grid-template-columns:1fr}#rt-item-database .rtidb-cardquick-secondary{grid-column:auto}}

/* v1.10.0 — category browser, separated NPC routes, grouped monster sources and community drop reports */
#rt-item-database .rtidb-category-browser{margin:0 20px 12px;padding:12px 14px;background:linear-gradient(180deg,#101725,#0d131f);border:1px solid #313d52;border-left:4px solid #e67e22;border-radius:9px}
#rt-item-database .rtidb-category-browser-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
#rt-item-database .rtidb-category-browser-head span{display:block;color:#fff;font:900 .82rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.45px}
#rt-item-database .rtidb-category-browser-head small{display:block;color:#7f8da3;font-size:.68rem;margin-top:2px}
#rt-item-database .rtidb-category-browser-head button{min-height:32px;padding:6px 10px;border:1px solid #66552c;border-radius:6px;background:#1c180e;color:#ffd375;font:900 .65rem Rajdhani,Arial,sans-serif;text-transform:uppercase;white-space:nowrap}
#rt-item-database .rtidb-category-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
#rt-item-database .rtidb-category-chips button{min-width:0;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:42px;padding:7px 9px;border:1px solid #344158;border-radius:7px;background:#121927;color:#b9c6d8;text-align:left;cursor:pointer}
#rt-item-database .rtidb-category-chips button:hover,#rt-item-database .rtidb-category-chips button.is-active{border-color:#e67e22;background:#21180f;color:#fff}
#rt-item-database .rtidb-category-chips button>span{font-size:1rem;text-align:center}
#rt-item-database .rtidb-category-chips button>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:900 .69rem Rajdhani,Arial,sans-serif;text-transform:uppercase}
#rt-item-database .rtidb-category-chips button>b{min-width:24px;padding:2px 5px;border-radius:999px;background:#253149;color:#dbe8fb;text-align:center;font-size:.61rem}
#rt-item-database .rtidb-head-actions{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;gap:6px;justify-self:end;align-self:start}
#rt-item-database .rtidb-head-actions .rtidb-star{position:static!important;grid-column:auto!important;grid-row:auto!important;margin:0!important}
#rt-item-database .rtidb-shop-cart{width:36px;min-width:36px;height:36px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border:1px solid #72552a;border-radius:7px;background:#21170d;color:#ffc36c!important;text-decoration:none!important;font-size:.88rem;line-height:1}
#rt-item-database .rtidb-shop-cart span{font:900 .48rem Rajdhani,Arial,sans-serif;text-transform:uppercase;margin-top:2px}
#rt-item-database .rtidb-shop-cart:hover{border-color:#e67e22!important;background:#2b1c0d;color:#fff!important}
#rt-item-database .rtidb-vendors{margin-top:12px}
#rt-item-database .rtidb-vendor-row{display:grid;grid-template-columns:92px minmax(150px,1fr) minmax(150px,1.3fr) auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid #222d40}
#rt-item-database .rtidb-vendor-row>span{color:#82aef2;font:900 .62rem Rajdhani,Arial,sans-serif}
#rt-item-database .rtidb-vendor-row strong{color:#f4f6fb;font-size:.78rem}
#rt-item-database .rtidb-vendor-row small{color:#8995a8;font-size:.69rem;line-height:1.35}
#rt-item-database .rtidb-vendor-row a{color:#8fc3ff;font-size:.69rem;font-weight:800;white-space:nowrap}
#rt-item-database .rtidb-vendor-more{margin-top:6px;border-top:1px solid #222d40;padding-top:6px}
#rt-item-database .rtidb-vendor-more summary{cursor:pointer;color:#f0b25b;font:900 .68rem Rajdhani,Arial,sans-serif;text-transform:uppercase}
#rt-item-database .rtidb-vendor-more-list{margin-top:4px}
#rt-item-database .rtidb-drop-source-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:4px 0 9px;padding:7px 9px;background:#111827;border:1px solid #2d394d;border-radius:6px}
#rt-item-database .rtidb-drop-source-head strong{color:#fff;font:900 .76rem Rajdhani,Arial,sans-serif;text-transform:uppercase}
#rt-item-database .rtidb-drop-source-head span{color:#7f8ca1;font-size:.66rem;text-align:right}
#rt-item-database .rtidb-monster-source-groups{display:grid;gap:7px}
#rt-item-database .rtidb-monster-source-group{padding:9px 10px;background:#0e1521;border:1px solid #2f3b4f;border-radius:7px}
#rt-item-database .rtidb-monster-source-main{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:7px;align-items:center}
#rt-item-database .rtidb-monster-source-num{color:#e7b84e;font:900 .72rem Rajdhani,Arial,sans-serif}
#rt-item-database .rtidb-monster-source-main strong{color:#fff;font-size:.8rem}
#rt-item-database .rtidb-monster-source-main small{display:block;color:#8290a5;font-size:.63rem;margin-top:1px}
#rt-item-database .rtidb-monster-source-main .rtidb-maplink{padding:5px 8px;border:1px solid #634b2c;border-radius:5px;background:#1f170d;color:#ffb968!important;font:900 .62rem Rajdhani,Arial,sans-serif;text-transform:uppercase;text-decoration:none}
#rt-item-database .rtidb-monster-source-areas{margin:7px 0 0 31px;display:flex;flex-wrap:wrap;gap:5px 8px;color:#92a1b6;font-size:.65rem}
#rt-item-database .rtidb-monster-source-areas>span{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid #29374a;border-radius:5px;background:#101a28}
#rt-item-database .rtidb-monster-source-areas b{color:#bcd0e8}
#rt-item-database .rtidb-monster-source-areas a{color:#6fb5ff!important;font-weight:800}
#rt-item-database .rtidb-monster-source-areas details{width:100%}
#rt-item-database .rtidb-monster-source-areas details summary{cursor:pointer;color:#c8a4eb;font-weight:800}
#rt-item-database .rtidb-monster-source-more{margin-top:7px}
#rt-item-database .rtidb-monster-source-more>summary{cursor:pointer;padding:7px 9px;border:1px solid #3b4057;border-radius:6px;background:#141625;color:#d1b7ec;font:900 .68rem Rajdhani,Arial,sans-serif;text-transform:uppercase}
#rt-item-database .rtidb-monster-source-more[open]>summary{margin-bottom:7px}
#rt-item-database .rtidb-drop-vote{margin:7px 0 0 31px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#rt-item-database .rtidb-drop-vote button{min-height:28px;padding:4px 8px;border:1px solid #385242;border-radius:5px;background:#102019;color:#8ee2b0;font:900 .66rem Rajdhani,Arial,sans-serif}
#rt-item-database .rtidb-drop-vote button[data-drop-vote="-1"]{border-color:#5e4249;background:#211317;color:#dda0ab}
#rt-item-database .rtidb-drop-vote.is-loading{opacity:.6;pointer-events:none}
#rt-item-database .rtidb-drop-vote [data-drop-vote-status]{font-size:.62rem;color:#7d8a9e}
#rt-item-database .rtidb-drop-vote [data-drop-vote-status].is-confirmed{color:#65d89a;font-weight:900}
#rt-item-database .rtidb-drop-vote [data-drop-vote-status].is-supported{color:#9fd8b9;font-weight:800}
#rt-item-database .rtidb-drop-vote [data-drop-vote-status].is-mixed{color:#d9a477}
#rt-item-database .rtidb-drop-community-summary{margin-top:9px;padding:7px 9px;border-left:3px solid #4a6c5b;background:#101923;color:#8fa0b6;font-size:.67rem}
#rt-item-database .rtidb-drop-community-summary strong{color:#79dfa5}
#rt-item-database .rtidb-drop-vote-note{display:block;margin-top:7px;color:#66758b!important;font-size:.62rem!important;line-height:1.45}
#rt-item-database .rtidb-drop-vote-note b{color:#d9e2ee}
@media(max-width:1100px){#rt-item-database .rtidb-category-chips{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#rt-item-database .rtidb-category-browser{margin:0 14px 10px}#rt-item-database .rtidb-category-browser-head{align-items:flex-start;flex-direction:column}#rt-item-database .rtidb-category-chips{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}#rt-item-database .rtidb-category-chips button{min-width:180px}#rt-item-database .rtidb-vendor-row{grid-template-columns:1fr;gap:3px}#rt-item-database .rtidb-vendor-row a{white-space:normal}#rt-item-database .rtidb-drop-source-head{align-items:flex-start;flex-direction:column}#rt-item-database .rtidb-drop-source-head span{text-align:left}#rt-item-database .rtidb-monster-source-areas,#rt-item-database .rtidb-drop-vote{margin-left:0}}
#rt-item-database .rtidb-drop-quick.is-community-confirmed{border-color:#2f865b!important;background:#10251a!important;color:#86e4af!important}
#rt-item-database .rtidb-drop-quick.is-community-supported{border-color:#456d59!important;background:#132019!important;color:#a8d9bc!important}


/* v1.11.0 — compact reference drill-search, source-stat compare, sticky research navigation */
#rt-item-database .rtidb-toolbar{position:sticky;top:84px;z-index:85;box-shadow:0 12px 24px rgba(4,8,16,.28);backdrop-filter:blur(9px)}
#rt-item-database .rtidb-reference-tools{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:end;gap:10px}
#rt-item-database .rtidb-reference-countline{align-self:center;white-space:nowrap}
#rt-item-database .rtidb-reference-search{display:grid;gap:4px;min-width:0}
#rt-item-database .rtidb-reference-search span{color:#8e9bb1;font:900 .62rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.35px}
#rt-item-database .rtidb-reference-search input{width:100%;min-height:36px;border:1px solid #3a465d;border-radius:6px;background:#0d1421;color:#edf3ff;padding:7px 10px;font-size:.8rem;outline:none}
#rt-item-database .rtidb-reference-search input:focus{border-color:#6baaff;box-shadow:0 0 0 2px rgba(107,170,255,.12)}
#rt-item-database .rtidb-reference table th:nth-child(2),#rt-item-database .rtidb-reference table td:nth-child(2){width:58px;text-align:center;white-space:nowrap}
#rt-item-database .rtidb-head-actions{min-width:88px;align-items:stretch!important}
#rt-item-database .rtidb-head-primary{display:grid;grid-template-columns:36px 44px;gap:6px;justify-content:end}
#rt-item-database .rtidb-head-compare{width:44px;height:36px;border:1px solid #5b4676;border-radius:7px;background:#181426;color:#d5b5ff;font:900 .82rem Rajdhani,Arial,sans-serif;cursor:pointer}
#rt-item-database .rtidb-head-compare:hover,#rt-item-database .rtidb-head-compare.is-active{border-color:#ad7be8;background:#281b38;color:#fff}
#rt-item-database .rtidb-shop-cart{width:86px!important;min-width:86px!important;height:34px!important;flex-direction:row!important;gap:6px!important;font-size:.9rem!important}
#rt-item-database .rtidb-shop-cart span{font-size:.6rem!important;margin:0!important}
#rt-item-database .rtidb-icon-placeholder{display:flex!important;align-items:center;justify-content:center;font-size:1.35rem;background:linear-gradient(145deg,#151e2d,#0c111a)!important;color:#d4def0!important;border:1px solid #3a465d!important}
#rt-item-database .rtidb-source-stats{margin:10px 0;padding:10px;border:1px solid #2f3d53;border-radius:7px;background:#0e1522}
#rt-item-database .rtidb-source-stats-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:#fff;font:900 .72rem Rajdhani,Arial,sans-serif;text-transform:uppercase}
#rt-item-database .rtidb-source-stats-title small{color:#718098;font:400 .63rem Arial,sans-serif;text-transform:none}
#rt-item-database .rtidb-source-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:7px}
#rt-item-database .rtidb-source-stats-grid span{padding:6px 8px;border:1px solid #27354a;border-radius:5px;background:#111a29}
#rt-item-database .rtidb-source-stats-grid small{display:block;color:#8290a8;font-size:.58rem;text-transform:uppercase}
#rt-item-database .rtidb-source-stats-grid strong{display:block;color:#f3f6fb;font-size:.78rem;margin-top:1px}
#rt-item-database .rtidb-delta{display:block;margin-top:2px;font-size:.61rem;line-height:1.2}
#rt-item-database .rtidb-unified-side-panel{width:min(440px,calc(100vw - 185px))!important;top:112px!important;bottom:92px!important;max-height:min(620px,calc(100vh - 204px))!important}
#rt-item-database .rtidb-side-launchers{top:142px!important;transform:none!important;right:8px!important}
#rt-item-database .rtidb-compare-card{padding:9px!important}
#rt-item-database .rtidb-compare-fields{gap:5px!important}
#rt-item-database .rtidb-compare-field{padding:6px 7px!important}
#rt-item-database .rtidb-desktop-rail{display:none;position:fixed;top:160px;z-index:74;width:112px;padding:6px;border:1px solid #2e3a4f;border-radius:8px;background:rgba(11,17,27,.94);box-shadow:0 14px 28px rgba(0,0,0,.28)}
#rt-item-database .rtidb-desktop-rail-left{left:10px}#rt-item-database .rtidb-desktop-rail-right{right:10px}
#rt-item-database .rtidb-desktop-rail a,#rt-item-database .rtidb-desktop-rail button{display:block;width:100%;padding:7px 8px;margin:2px 0;border:0;border-radius:5px;background:transparent;color:#aebad0;text-align:left;text-decoration:none;font:800 .65rem Rajdhani,Arial,sans-serif;cursor:pointer}
#rt-item-database .rtidb-desktop-rail a:hover,#rt-item-database .rtidb-desktop-rail button:hover{background:#162237;color:#fff}
@media(min-width:1540px){#rt-item-database .rtidb-desktop-rail{display:block}}
@media(max-width:980px){#rt-item-database .rtidb-toolbar{position:static;box-shadow:none;backdrop-filter:none}#rt-item-database .rtidb-reference-tools{grid-template-columns:1fr}#rt-item-database .rtidb-reference-actions{justify-content:flex-start}#rt-item-database .rtidb-source-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#rt-item-database .rtidb-side-launchers{top:auto!important;transform:none!important}#rt-item-database .rtidb-unified-side-panel{top:62px!important;bottom:66px!important;max-height:none!important}}
@media(max-width:520px){#rt-item-database .rtidb-source-stats-grid{grid-template-columns:1fr 1fr}#rt-item-database .rtidb-head-actions{min-width:80px}#rt-item-database .rtidb-shop-cart{width:80px!important;min-width:80px!important}}

#rt-item-database .rtidb-cardhead{grid-template-columns:48px minmax(0,1fr) 88px!important}
@media(max-width:760px){#rt-item-database .rtidb-cardhead{grid-template-columns:42px minmax(0,1fr) 80px!important}}

#rt-item-database .rtidb-delta.is-missing{color:#738197!important;font-style:normal}


/* v1.11.1 — larger fast-access rails + less intrusive compare/watch panel */
#rt-item-database.rtidb{width:min(100%,1240px)!important;max-width:1240px!important}
#rt-item-database .rtidb-toolbar{backdrop-filter:none!important;background:#0f1521!important}
#rt-item-database .rtidb-desktop-rail{width:174px!important;top:138px!important;padding:10px!important;border-color:#3c4961!important;background:#0b111b!important;box-shadow:0 12px 26px rgba(0,0,0,.32)!important}
#rt-item-database .rtidb-desktop-rail-left{left:12px!important}#rt-item-database .rtidb-desktop-rail-right{right:12px!important}
#rt-item-database .rtidb-rail-title{padding:2px 7px 7px;color:#e7b84e;font:900 .78rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #28354a;margin-bottom:7px}
#rt-item-database .rtidb-rail-search{display:grid;gap:4px;margin:0 0 8px;padding:6px;border:1px solid #2a3850;border-radius:7px;background:#0f1724}
#rt-item-database .rtidb-rail-search span{color:#8290a8;font:800 .62rem Rajdhani,Arial,sans-serif;text-transform:uppercase}
#rt-item-database .rtidb-rail-search input{width:100%;min-height:36px!important;padding:7px 8px!important;border:1px solid #3a4964!important;border-radius:6px!important;background:#0a101a!important;color:#fff!important;font-size:.8rem!important}
#rt-item-database .rtidb-desktop-rail a,#rt-item-database .rtidb-desktop-rail button{padding:9px 10px!important;margin:3px 0!important;font-size:.78rem!important;line-height:1.2!important}
#rt-item-database .rtidb-desktop-rail .rtidb-rail-clear{margin-top:7px!important;border:1px solid #8b4938!important;background:#271510!important;color:#ffb19a!important}
#rt-item-database .rtidb-side-launchers{top:auto!important;bottom:30vh!important;right:10px!important;transform:none!important}
#rt-item-database .rtidb-unified-side-panel{width:min(390px,calc(100vw - 190px))!important;top:auto!important;bottom:14vh!important;max-height:58vh!important;padding:10px!important}
#rt-item-database .rtidb-watchlist-head{gap:6px!important}.rtidb-watchlist-head button{min-height:30px!important}
#rt-item-database .rtidb-compare-card{padding:8px!important}.rtidb-compare-card-title strong{font-size:.84rem!important}.rtidb-compare-field{padding:5px 6px!important}
@media(min-width:1500px){#rt-item-database .rtidb-desktop-rail{display:block!important}}
@media(max-width:1499px){#rt-item-database .rtidb-desktop-rail{display:none!important}}
@media(max-width:980px){#rt-item-database .rtidb-unified-side-panel{width:calc(100vw - 16px)!important;max-height:none!important;bottom:66px!important}}
@media(prefers-reduced-motion:reduce){#rt-item-database *{scroll-behavior:auto!important;transition:none!important}}


/* v1.12.0 — deduplicated boss-card overlays, richer rails, in-card hover and unobstructed compare */
#rt-item-database.rtidb{max-width:1160px!important;width:min(100%,1160px)!important}
#rt-item-database .rtidb-desktop-rail{width:220px!important;top:112px!important;max-height:calc(100vh - 132px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#rt-item-database .rtidb-desktop-rail-left{left:12px!important}
#rt-item-database .rtidb-desktop-rail-right{right:12px!important}
#rt-item-database .rtidb-rail-subtitle{margin:10px 5px 5px;padding-top:8px;border-top:1px solid #26344a;color:#8090a8;font:900 .64rem Rajdhani,Arial,sans-serif;text-transform:uppercase;letter-spacing:.05em}
#rt-item-database .rtidb-rail-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:7px 0}
#rt-item-database .rtidb-rail-card-actions button{padding:7px 5px!important;font-size:.64rem!important;text-align:center!important;border:1px solid #34425b!important;background:#111a29!important}
#rt-item-database .rtidb-rail-categories{display:grid;gap:4px}
#rt-item-database .rtidb-rail-categories button{display:grid!important;grid-template-columns:20px minmax(0,1fr) auto;gap:6px;align-items:center;padding:6px 7px!important;margin:0!important;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;color:#aebad0!important;text-align:left!important}
#rt-item-database .rtidb-rail-categories button:hover{border-color:#384a67!important;background:#142033!important;color:#fff!important}
#rt-item-database .rtidb-rail-categories button span{font-size:.8rem;text-align:center}
#rt-item-database .rtidb-rail-categories button strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 .65rem Rajdhani,Arial,sans-serif}
#rt-item-database .rtidb-rail-categories button b{min-width:28px;padding:2px 5px;border-radius:999px;background:#22314a;color:#d9e8ff;text-align:center;font-size:.58rem}
#rt-item-database .rtidb-desktop-rail .rtidb-rail-clear-saved{border:1px solid #6d486f!important;background:#211523!important;color:#e5b6ee!important}
#rt-item-database .rtidb-titlewrap{cursor:help}
#rt-item-database .rtidb-unified-side-panel{right:160px!important;width:min(380px,calc(100vw - 390px))!important;max-height:56vh!important}
#rt-item-database .rtidb-side-launchers{right:10px!important;bottom:30vh!important}
#rt-item-database .rtidb-head-actions{min-width:96px!important}
#rt-item-database .rtidb-shop-cart{width:96px!important;min-width:96px!important}
@media(min-width:1660px){#rt-item-database .rtidb-desktop-rail{display:block!important}}
@media(max-width:1659px){#rt-item-database .rtidb-desktop-rail{display:none!important}#rt-item-database.rtidb{max-width:1240px!important;width:min(100%,1240px)!important}}
@media(max-width:980px){#rt-item-database .rtidb-unified-side-panel{right:8px!important;width:calc(100vw - 16px)!important}}
