
.wtrh-quiz,.wtrh-host,.wtrh-coin,.wtrh-wall-shortcode,.wtrh-admin-direct,.wtrh-redeem-list,.wtrh-redeem-single,.wtrh-redeem-logs-shortcode{
    --red:#d8003a;
    --red2:#680018;
    --line:rgba(255,0,70,.45);
    --glow:rgba(255,0,80,.26);
    --card:rgba(22,4,10,.94);
    --text:#fff;
    font-family:inherit;
    color:var(--text);
    box-sizing:border-box;
}
.wtrh-quiz *,.wtrh-host *,.wtrh-coin *,.wtrh-wall-shortcode *,.wtrh-admin-direct *,.wtrh-redeem-list *,.wtrh-redeem-single *,.wtrh-redeem-logs-shortcode *{box-sizing:border-box}

.wtrh-template-neon{--red:#ff174d;--red2:#77001e;--line:rgba(255,23,77,.7);--glow:rgba(255,23,77,.35);--card:rgba(28,0,8,.96)}
.wtrh-template-gold{--red:#d79b26;--red2:#5a3200;--line:rgba(255,190,70,.7);--glow:rgba(255,190,70,.28);--card:rgba(28,18,2,.96)}
.wtrh-template-blue{--red:#008cff;--red2:#002d70;--line:rgba(0,150,255,.65);--glow:rgba(0,150,255,.30);--card:rgba(2,10,25,.96)}
.wtrh-template-purple{--red:#9f45ff;--red2:#35105f;--line:rgba(170,80,255,.68);--glow:rgba(170,80,255,.30);--card:rgba(18,5,30,.96)}
.wtrh-template-green{--red:#00d985;--red2:#005738;--line:rgba(0,225,140,.66);--glow:rgba(0,225,140,.26);--card:rgba(2,24,15,.96)}
.wtrh-template-orange{--red:#ff8618;--red2:#783300;--line:rgba(255,135,25,.70);--glow:rgba(255,135,25,.30);--card:rgba(30,13,0,.96)}
.wtrh-template-glass{--red:rgba(255,255,255,.28);--red2:rgba(255,255,255,.08);--line:rgba(255,255,255,.30);--glow:rgba(255,255,255,.18);--card:rgba(255,255,255,.08)}
.wtrh-template-carbon{--red:#333;--red2:#050505;--line:rgba(255,255,255,.18);--glow:rgba(255,255,255,.08);--card:rgba(8,8,8,.96)}
.wtrh-template-minimal{--red:#5b0018;--red2:#090909;--line:rgba(255,255,255,.14);--glow:transparent;--card:rgba(8,8,10,.92)}

.wtrh-main,.wtrh-host-open,.wtrh-wall-main{
    width:100%;
    min-height:46px;
    border:1px solid var(--line);
    border-radius:999px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 34%),
        linear-gradient(180deg,var(--red),var(--red2));
    color:#fff;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 0 26px var(--glow), inset 0 1px 0 rgba(255,255,255,.16), 0 14px 34px rgba(0,0,0,.40);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-decoration:none;
}
.wtrh-main i{
    width:10px;height:10px;border-radius:50%;background:#666;display:inline-block;
}
.wtrh-active .wtrh-main i{background:#00ff83;box-shadow:0 0 15px #00ff83}
.wtrh-main small{opacity:.86;border-left:1px solid rgba(255,255,255,.22);padding-left:10px}
.wtrh-host-open small{opacity:.82}

.wtrh-panel,.wtrh-host-panel,.wtrh-wall-panel,.wtrh-wall-mini,.wtrh-admin-direct,.wtrh-coin{
    margin:12px 0;
    padding:18px;
    border-radius:22px;
    border:1px solid var(--line);
    background:
        radial-gradient(circle at 16% 0%, rgba(255,255,255,.11), transparent 32%),
        linear-gradient(180deg,var(--card),rgba(4,1,3,.98));
    box-shadow:0 0 30px var(--glow), 0 18px 44px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.12);
}
.wtrh-panel h3{margin:0 0 12px;text-align:center;font-size:22px}

.wtrh-panel-actions{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:10px!important;
    margin:0 0 14px!important;
}
.wtrh-buy-inline,.wtrh-buy-profile,.wtrh-wall-inline{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:max-content!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,var(--red),var(--red2))!important;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:900!important;
    padding:8px 16px!important;
    font-size:13px!important;
    box-shadow:0 10px 24px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.16)!important;
    cursor:pointer!important;
}

.wtrh-q{
    padding:14px;
    margin:12px 0;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(0,0,0,.34);
}
.wtrh-q h4{margin:0 0 12px;color:#fff}
.wtrh-a{
    display:block;width:100%;text-align:center;margin:8px 0;padding:11px 12px;
    border-radius:14px;border:1px solid var(--line);
    background:linear-gradient(180deg,rgba(130,0,35,.74),rgba(25,0,8,.86));
    color:#fff;cursor:pointer;font-weight:900;
}
.wtrh-a small{opacity:.9;margin-left:7px}
.wtrh-a.is-correct{background:linear-gradient(180deg,rgba(0,160,85,.75),rgba(0,55,30,.88));border-color:rgba(0,255,140,.62)}
.wtrh-a.is-wrong{background:linear-gradient(180deg,rgba(170,0,35,.75),rgba(55,0,15,.9));border-color:rgba(255,40,70,.62)}
.wtrh-result{padding:11px 13px;border-radius:14px;background:rgba(255,255,255,.08);font-weight:900;color:#fff}

.wtrh-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}
.wtrh-head strong{font-size:22px}
.wtrh-head p{margin:6px 0 0;opacity:.84;font-size:13px;line-height:1.35}
.wtrh-head button,.wtrh-form button,.wtrh-settings button,.wtrh-host-actions button,.wtrh-danger{
    border:0;border-radius:999px;padding:10px 18px;color:#fff;
    background:linear-gradient(180deg,var(--red),var(--red2));
    font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.32);
}

.wtrh-form label,.wtrh-settings label{display:block;font-weight:900;margin:9px 0 5px}
.wtrh-form input,.wtrh-settings input,.wtrh-settings textarea,.wtrh-settings select{
    width:100%;border-radius:13px;border:1px solid var(--line);
    background:rgba(0,0,0,.45);color:#fff;padding:10px 12px;
}
.wtrh-answers,.wtrh-settings{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
.wtrh-answers>div{
    padding:12px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);
}
.wtrh-radio{display:flex!important;align-items:center;gap:8px}
.wtrh-radio input,.wtrh-settings input[type="checkbox"]{width:auto!important;min-width:18px!important;height:18px!important;accent-color:var(--red)}

.wtrh-host-row{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    margin:8px 0;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);
}
.wtrh-host-row.is-active{border-color:rgba(0,255,140,.55)!important;box-shadow:0 0 18px rgba(0,255,140,.18)!important}
.wtrh-host-row span em{
    display:inline-flex;margin-left:8px;padding:3px 8px;border-radius:999px;background:rgba(0,255,140,.16);color:#54ffad;font-style:normal;font-size:12px;font-weight:900;
}
.wtrh-host-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}
.wtrh-host-actions button[disabled]{opacity:.65;cursor:not-allowed}

.wtrh-switch-label{display:flex!important;align-items:center!important;gap:8px!important}
.wtrh-switch-label strong{
    display:inline-flex;align-items:center;justify-content:center;min-width:96px;padding:3px 10px;border-radius:999px;
    background:linear-gradient(180deg,var(--red),var(--red2));color:#fff;font-weight:900;
}

.wtrh-coin{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;min-height:118px!important;
}
.wtrh-coin-left{display:flex!important;flex-direction:column!important;gap:4px!important}
.wtrh-coin-left strong{font-size:46px!important;line-height:1!important;color:#fff!important;text-shadow:0 0 18px var(--glow)!important}
.wtrh-coin-left span{font-size:18px!important;font-weight:900!important;letter-spacing:.03em!important}
.wtrh-coin-left small,.wtrh-coin-right em{display:block!important;opacity:.82!important;font-style:normal!important;color:#fff!important}
.wtrh-coin-right{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:8px!important}

.wtrh-wall-shortcode{max-width:900px;margin:14px auto;text-align:center}
.wtrh-wall-main{max-width:420px;margin:0 auto}
.wtrh-win{
    display:flex;align-items:center;gap:12px;margin:8px 0;padding:10px 12px;
    border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.30);text-align:left;
}
.wtrh-win img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--line);box-shadow:0 0 12px var(--glow)}
.wtrh-win-main{flex:1;min-width:0}
.wtrh-win-main strong{display:block;color:#fff;font-size:15px}
.wtrh-win-main span{display:block;color:#fff;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wtrh-win-main small{display:block;color:#fff;opacity:.72}
.wtrh-win button{
    border:0;border-radius:999px;padding:7px 12px;background:linear-gradient(180deg,var(--red),var(--red2));color:#fff;font-weight:900;cursor:pointer;
}

.wtrh-admin-direct{
    color:#111;background:linear-gradient(180deg,#fff,#f6f6f8);border:1px solid #dcdcde;box-shadow:0 8px 28px rgba(0,0,0,.08);
}
.wtrh-admin-direct h2{margin-top:0}
.wtrh-admin-direct .wtrh-settings{color:#111;background:transparent;box-shadow:none;border:0}
.wtrh-admin-direct .wtrh-settings input,
.wtrh-admin-direct .wtrh-settings textarea,
.wtrh-admin-direct .wtrh-settings select{background:#fff!important;color:#111!important;border:1px solid #b8b8b8!important}
.wtrh-admin-direct .wtrh-settings button,.wtrh-admin-direct .wtrh-danger{background:linear-gradient(180deg,#b40032,#5e0018);color:#fff}
.wtrh-admin-direct .wtrh-switch-label strong{background:linear-gradient(180deg,#b40032,#5e0018)}

@media(max-width:782px){
    .wtrh-answers,.wtrh-settings{grid-template-columns:1fr}
    .wtrh-head,.wtrh-coin{flex-direction:column;align-items:stretch!important}
    .wtrh-coin-right{align-items:flex-start!important}
    .wtrh-host-row{flex-direction:column;align-items:stretch}
    .wtrh-host-actions{justify-content:flex-start}
    .wtrh-host-open{flex-direction:column;border-radius:22px;padding:12px}
}


/* WebTom RadioHy Kvíz 0.1.6 – saját 3D válaszértesítés, nincs natív OK ablak */
.wtrh-toast-wrap{
    position:fixed!important;
    left:50%!important;
    top:22%!important;
    transform:translateX(-50%)!important;
    z-index:999999!important;
    width:min(440px,calc(100vw - 28px))!important;
    pointer-events:none!important;
}
.wtrh-toast{
    opacity:0!important;
    transform:translateY(18px) scale(.96)!important;
    transition:opacity .32s ease, transform .32s ease, filter .32s ease!important;
    margin:0 auto 12px!important;
    padding:16px 18px!important;
    border-radius:22px!important;
    color:#fff!important;
    text-align:center!important;
    border:1px solid rgba(255,255,255,.18)!important;
    background:
        radial-gradient(circle at 18% 0%, rgba(255,255,255,.20), transparent 35%),
        linear-gradient(180deg,rgba(120,0,32,.96),rgba(10,0,5,.98))!important;
    box-shadow:0 22px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.22), 0 0 30px rgba(255,0,80,.35)!important;
    font-weight:900!important;
}
.wtrh-toast.is-ok{
    border-color:rgba(0,255,140,.45)!important;
    box-shadow:0 22px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.22), 0 0 34px rgba(0,255,140,.28)!important;
}
.wtrh-toast.is-bad{
    border-color:rgba(255,60,80,.55)!important;
}
.wtrh-toast strong{
    display:block!important;
    font-size:20px!important;
    margin-bottom:5px!important;
    text-shadow:0 2px 12px rgba(0,0,0,.55)!important;
}
.wtrh-toast span{
    display:block!important;
    font-size:14px!important;
    opacity:.95!important;
}
.wtrh-toast.is-show{
    opacity:1!important;
    transform:translateY(0) scale(1)!important;
}
.wtrh-toast.is-hide{
    opacity:0!important;
    transform:translateY(-12px) scale(.98)!important;
    filter:blur(2px)!important;
}


/* WebTom RadioHy Kvíz + Hy Coin 0.1.7 – coin admin, napi ajándék, beváltási tételek */
.wtrh-user-coin-admin,
.wtrh-redeem-admin-form,
.wtrh-redeem-list,
.wtrh-redeem-single,
.wtrh-redeem-logs-shortcode{
    max-width:980px;
    margin:14px auto;
}

.wtrh-user-coin-admin input,
.wtrh-redeem-admin-form input,
.wtrh-redeem-admin-form textarea{
    width:100%;
    border-radius:14px;
    border:1px solid var(--line);
    background:rgba(0,0,0,.42);
    color:#fff;
    padding:10px 12px;
}

.wtrh-admin-direct .wtrh-user-coin-admin input,
.wtrh-admin-direct .wtrh-redeem-admin-form input,
.wtrh-admin-direct .wtrh-redeem-admin-form textarea{
    background:#fff!important;
    color:#111!important;
    border:1px solid #b8b8b8!important;
}

.wtrh-user-coin-admin > button,
.wtrh-redeem-admin-form button,
.wtrh-daily-gift{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:999px;
    padding:10px 18px;
    margin-top:8px;
    background:linear-gradient(180deg,var(--red),var(--red2));
    color:#fff;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 10px 24px rgba(0,0,0,.32);
}

.wtrh-user-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin:10px 0;
    padding:12px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(0,0,0,.30);
}
.wtrh-admin-direct .wtrh-user-row{
    color:#fff;
    background:linear-gradient(180deg,rgba(90,0,25,.88),rgba(8,0,4,.96));
}
.wtrh-user-row img{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid var(--line);
}
.wtrh-user-row div{
    flex:1;
    min-width:0;
}
.wtrh-user-row strong,
.wtrh-user-row small,
.wtrh-user-row span{
    display:block;
}
.wtrh-user-row input{
    max-width:120px;
}
.wtrh-user-row button{
    border:0;
    border-radius:999px;
    padding:9px 14px;
    background:linear-gradient(180deg,var(--red),var(--red2));
    color:#fff;
    font-weight:900;
    cursor:pointer;
}

.wtrh-redeem-admin-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.wtrh-redeem-admin-form label{
    display:block;
    font-weight:900;
}
.wtrh-redeem-admin-form button{
    grid-column:1 / -1;
    justify-self:center;
}

.wtrh-redeem-list,
.wtrh-redeem-single,
.wtrh-redeem-logs-shortcode{
    padding:18px;
    border-radius:24px;
    border:1px solid var(--line);
    background:
        radial-gradient(circle at 14% 0%,rgba(255,255,255,.12),transparent 32%),
        linear-gradient(180deg,var(--card),rgba(4,1,3,.98));
    box-shadow:0 0 30px var(--glow),0 18px 44px rgba(0,0,0,.42);
    color:#fff;
    text-align:center;
}
.wtrh-redeem-list h3{
    margin:0 0 8px;
    font-size:26px;
}
.wtrh-redeem-balance{
    margin:0 0 14px;
    font-weight:900;
    opacity:.9;
}

.wtrh-redeem-card{
    display:flex;
    align-items:center;
    gap:14px;
    margin:10px 0;
    padding:12px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(0,0,0,.34);
    text-align:left;
}
.wtrh-redeem-card img,
.wtrh-redeem-noimg{
    width:76px;
    height:76px;
    border-radius:18px;
    object-fit:cover;
    flex:0 0 76px;
    border:1px solid var(--line);
    box-shadow:0 0 18px var(--glow);
}
.wtrh-redeem-noimg{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    background:linear-gradient(180deg,var(--red),var(--red2));
}
.wtrh-redeem-card-main{
    flex:1;
    min-width:0;
}
.wtrh-redeem-card-main strong{
    display:block;
    font-size:18px;
    color:#fff;
}
.wtrh-redeem-card-main span{
    display:inline-flex;
    margin:5px 0;
    padding:4px 10px;
    border-radius:999px;
    background:linear-gradient(180deg,var(--red),var(--red2));
    font-weight:900;
}
.wtrh-redeem-card-main p{
    margin:5px 0;
    opacity:.88;
}
.wtrh-redeem-card-main small{
    display:block;
    opacity:.72;
    word-break:break-word;
}
.wtrh-redeem-actions{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.wtrh-redeem-actions button,
.wtrh-redeem-log button{
    border:0;
    border-radius:999px;
    padding:9px 14px;
    background:linear-gradient(180deg,var(--red),var(--red2));
    color:#fff;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(0,0,0,.28);
}

.wtrh-redeem-log{
    display:flex;
    align-items:center;
    gap:12px;
    margin:8px 0;
    padding:10px 12px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(0,0,0,.30);
    text-align:left;
}
.wtrh-redeem-log img{
    width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid var(--line);
}
.wtrh-redeem-log-main{
    flex:1;
}
.wtrh-redeem-log-main strong,
.wtrh-redeem-log-main span,
.wtrh-redeem-log-main small{
    display:block;
}
.wtrh-redeem-login{
    max-width:620px;
    margin:18px auto;
    padding:18px;
    border-radius:20px;
    background:linear-gradient(180deg,rgba(100,0,25,.88),rgba(8,0,4,.96));
    color:#fff;
    text-align:center;
    font-weight:900;
    border:1px solid rgba(255,0,70,.45);
}

@media(max-width:782px){
    .wtrh-redeem-admin-form{
        grid-template-columns:1fr;
    }
    .wtrh-user-row,
    .wtrh-redeem-card,
    .wtrh-redeem-log{
        flex-direction:column;
        align-items:stretch;
        text-align:center;
    }
    .wtrh-redeem-card img,
    .wtrh-redeem-noimg{
        margin:0 auto;
    }
    .wtrh-redeem-actions{
        flex-direction:row;
        justify-content:center;
        flex-wrap:wrap;
    }
}

.wtrh-redeem-shortbtn{max-width:980px;margin:14px auto;text-align:center}.wtrh-redeem-go{display:inline-flex;align-items:center;justify-content:center}


/* v0.1.9 finomítás: profil gombok egy sorban + beváltási toast gomb */
.wtrh-coin-action-row{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    flex-wrap:wrap;
    margin:8px 0 6px;
}
.wtrh-coin-right{
    text-align:left;
}
.wtrh-redeem-top-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin:4px 0 12px;
}
.wtrh-redeem-shortbtn{
    max-width:980px;
    margin:14px auto;
    text-align:center;
}
.wtrh-redeem-go{
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.wtrh-toast .wtrh-toast-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:12px;
    padding:9px 16px;
    border-radius:999px;
    background:linear-gradient(180deg,var(--red,#c9003d),var(--red2,#7a001e));
    color:#fff!important;
    font-weight:900;
    text-decoration:none!important;
    box-shadow:0 10px 24px rgba(0,0,0,.35),0 0 18px rgba(255,0,90,.25);
}
