.bones-quests-page .block{margin-bottom:15px}.bq-subtitle{font-size:12px;color:#9ca3af;margin-top:4px}.bq-hero-badge{padding:8px 12px;border-radius:10px;background:rgba(59,130,246,.15);color:#bfdbfe;font-weight:700;white-space:nowrap}.bq-tabs{display:flex;gap:8px;flex-wrap:wrap}.bq-tabs button{border:0;border-radius:10px;padding:9px 12px;background:rgba(255,255,255,.06);color:#d1d5db;font-weight:700;cursor:pointer}.bq-tabs button.active,.bq-tabs button:hover{background:rgba(59,130,246,.28);color:#fff}.bq-tabs span{opacity:.75;margin-left:3px}.bq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bq-list .block{grid-column:1/-1}.bq-card{display:flex;gap:12px;padding:14px;border-radius:14px;background:rgba(17,24,39,.72);border:1px solid rgba(255,255,255,.08);min-width:0}.bq-card-icon{width:48px;min-width:48px;height:48px;border-radius:12px;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;overflow:hidden}.bq-card-icon img{max-width:34px;max-height:34px}.bq-card-body{width:100%;min-width:0}.bq-card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.bq-title{font-weight:800;color:#fff;font-size:15px;line-height:1.25}.bq-meta{font-size:11px;color:#93a4b8;margin-top:3px}.bq-desc{color:#d1d5db;margin:9px 0;font-size:13px;line-height:1.35}.bq-progress-text{font-size:12px;color:#cbd5e1;margin-bottom:5px}.bq-progress{height:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.bq-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#22c55e)}.bq-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}.bq-reward{color:#facc15;font-size:13px}.bq-status{padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.bq-status-process{background:rgba(59,130,246,.15);color:#93c5fd}.bq-status-done{background:rgba(34,197,94,.15);color:#86efac}.bq-status-claimed{background:rgba(148,163,184,.15);color:#cbd5e1}.bq-result{margin-top:10px;font-size:13px}.bq-result .alert{padding:8px 10px;margin:0}.right_block_sticky{position:sticky;top:15px}@media(max-width:1200px){.bq-list{grid-template-columns:1fr}}@media(max-width:600px){.bq-card{flex-direction:column}.bq-card-top,.bq-bottom{flex-direction:column;align-items:flex-start}.bq-hero-badge{display:none}}

.bq-tabs-row{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.bq-wallet-panel{margin-left:auto;min-width:210px;display:flex;flex-direction:column;align-items:stretch;gap:8px}.bq-wallet-balance{padding:10px 13px;border-radius:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#e5e7eb;font-weight:800;text-align:center;white-space:nowrap}.bq-wallet-balance b{color:#facc15}.bq-exchange-btn{border:0;border-radius:10px;padding:9px 12px;background:rgba(59,130,246,.28);color:#fff;font-weight:800;cursor:pointer}.bq-exchange-btn:hover{background:rgba(59,130,246,.42)}.bq-modal{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.65);z-index:9999;display:none;align-items:center;justify-content:center;padding:15px}.bq-modal.is-open{display:flex!important}.bq-modal[style*="display: none"],.bq-modal[style*="display:none"]{display:none!important}.bq-modal-box{position:relative;width:100%;max-width:420px;border-radius:16px;background:#111827;border:1px solid rgba(255,255,255,.12);padding:22px;color:#e5e7eb;box-shadow:0 15px 45px rgba(0,0,0,.35)}.bq-modal-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer}.bq-modal-title{font-size:18px;font-weight:900;color:#fff;margin-bottom:10px}.bq-modal-text{font-size:14px;line-height:1.45;color:#cbd5e1}@media(max-width:900px){.bq-tabs-row{flex-direction:column}.bq-wallet-panel{width:100%;margin-left:0}.bq-wallet-balance{text-align:left}}

.bq-exchange-modal{max-width:520px}.bq-exchange-rate{border-radius:14px;background:linear-gradient(135deg,rgba(250,204,21,.18),rgba(59,130,246,.14));border:1px solid rgba(250,204,21,.22);padding:14px;margin:12px 0 14px;color:#e5e7eb}.bq-exchange-rate div{font-size:12px;color:#cbd5e1;margin-bottom:4px}.bq-exchange-rate b{display:block;font-size:22px;color:#fff}.bq-exchange-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.bq-exchange-grid>div{border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);padding:12px}.bq-exchange-grid span{display:block;font-size:12px;color:#94a3b8;margin-bottom:4px}.bq-exchange-grid b{font-size:20px;color:#facc15}.bq-exchange-grid small{display:block;color:#cbd5e1}.bq-exchange-input-row{display:flex;gap:8px;margin:12px 0 7px}.bq-exchange-input-row input{flex:1;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);border-radius:10px;color:#fff;padding:10px 12px;outline:none}.bq-exchange-input-row button,.bq-exchange-actions button{border:0;border-radius:10px;background:rgba(34,197,94,.25);color:#fff;font-weight:800;padding:10px 12px;cursor:pointer}.bq-exchange-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:12px}.bq-exchange-actions button{background:rgba(59,130,246,.28)}.bq-exchange-actions button:hover,.bq-exchange-input-row button:hover{filter:brightness(1.15)}.bq-exchange-hint{font-size:12px;color:#94a3b8;line-height:1.35}.bq-exchange-result{margin-top:12px}.bq-exchange-result .alert{margin:0;padding:9px 11px}@media(max-width:520px){.bq-exchange-grid,.bq-exchange-actions{grid-template-columns:1fr}.bq-exchange-input-row{flex-direction:column}}


.bq-exchange-history{
    margin-top:16px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.08);
}
.bq-exchange-history-title{
    font-weight:700;
    margin-bottom:10px;
    color:#fff;
}
.bq-exchange-history-empty{
    color:#8f98aa;
    font-size:13px;
}
.bq-exchange-history-item{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:9px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
    color:#dfe7f5;
}
.bq-exchange-history-item:last-child{
    border-bottom:0;
}
.bq-exchange-history-item small{
    color:#8f98aa;
    white-space:nowrap;
}

.bq-rules-btn{border:0;cursor:pointer}.bq-rules-btn:hover{background:rgba(59,130,246,.28);color:#fff}.bq-rules-modal{max-width:560px}.bq-rules-intro{border-radius:14px;background:linear-gradient(135deg,rgba(59,130,246,.18),rgba(34,197,94,.10));border:1px solid rgba(59,130,246,.22);padding:14px;color:#dbeafe;line-height:1.45;margin:10px 0 14px}.bq-rules-list{display:flex;flex-direction:column;gap:10px}.bq-rules-item{border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);padding:12px}.bq-rules-item b{display:block;color:#fff;margin-bottom:5px}.bq-rules-item span{display:block;color:#cbd5e1;line-height:1.4}.bq-rules-warning{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.28)}.bq-rules-warning b{color:#fecaca}.bq-rules-footer{margin-top:14px;color:#facc15;font-weight:800;line-height:1.4}


/* BONES quests UI tweaks: bigger red rules button and green received button */
.bq-rules-btn{
    padding:13px 24px !important;
    border-radius:12px !important;
    background:linear-gradient(135deg,#dc2626,#991b1b) !important;
    color:#fff !important;
    box-shadow:0 0 18px rgba(220,38,38,.28) !important;
    font-size:14px !important;
    font-weight:900 !important;
}
.bq-rules-btn:hover{
    background:linear-gradient(135deg,#ef4444,#b91c1c) !important;
    color:#fff !important;
    box-shadow:0 0 24px rgba(239,68,68,.42) !important;
}
.bq-btn-claimed,
.bq-btn-claimed[disabled]{
    background:linear-gradient(135deg,#22c55e,#16a34a) !important;
    border-color:#16a34a !important;
    color:#fff !important;
    opacity:1 !important;
    cursor:default !important;
    box-shadow:0 0 16px rgba(34,197,94,.22) !important;
}


/* Admin statistics and completed quests log */
.bq-admin-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.bq-admin-stat-card{border-radius:14px;background:rgba(17,24,39,.72);border:1px solid rgba(255,255,255,.08);padding:16px;text-align:center}.bq-admin-stat-card span{display:block;color:#94a3b8;font-size:13px;margin-bottom:6px}.bq-admin-stat-card b{display:block;color:#fff;font-size:28px;line-height:1}.bq-admin-last-title{font-weight:900;color:#fff;margin:6px 0 12px;font-size:16px}.bq-admin-last-table td{vertical-align:middle!important}.bq-admin-last-table small{color:#8f98aa}.bq-admin-last-table a{color:#93c5fd}.bq-admin-last-table a:hover{color:#fff}@media(max-width:800px){.bq-admin-stats-grid{grid-template-columns:1fr}.bq-admin-stat-card{text-align:left}}
