/* Anti Radio Guestbook — guestbook.css v1.1.2 */

/* ══ BUBBLE ══ */
.arg-bubble {
    position: absolute;
    max-width: 130px;
    background: rgba(12,14,22,0.82);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px 8px 8px 2px;
    padding: 5px 8px;
    pointer-events: all;
    transform: translate(-50%, -100%);
    opacity: 0;
    transition: opacity .28s ease, transform .28s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    z-index: 200;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
    cursor: default;
}
.arg-bubble-in  { opacity:1; transform:translate(-50%, calc(-100% - 5px)); }
.arg-bubble-out { opacity:0 !important; transform:translate(-50%, calc(-100% - 9px)) !important; transition:opacity .4s ease, transform .4s ease !important; }

.arg-bubble-name {
    font-size: 9px; font-weight: 700; color: #ff2e88;
    display: block; margin-bottom: 1px;
}
.arg-bubble-text {
    font-size: 11px; color: rgba(255,255,255,0.82);
    line-height: 1.35; word-break: break-word; display: block;
}

/* Actions — hover-da görünür */
.arg-bubble-actions {
    margin-top: 5px;
    opacity: 0;
    transition: opacity .15s ease;
}
.arg-bubble:hover .arg-bubble-actions { opacity: 1; }

.arg-reply-btn {
    background: none; border: none;
    color: rgba(255,255,255,0.35); font-size: 10px;
    cursor: pointer; padding: 0; font-family: inherit;
    transition: color .15s;
}
.arg-reply-btn:hover { color: rgba(255,255,255,0.75); }

.arg-replies-list { margin-top: 5px; display: flex; flex-direction: column; gap: 3px; }
.arg-reply {
    font-size: 10.5px; color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.04);
    border-radius: 5px; padding: 3px 7px; line-height: 1.35;
}
.arg-reply strong { color: rgba(255,255,255,0.82); }

/* ══ TOAST ══ */
.arg-toast {
    position: fixed;
    bottom: 20px; left: 50%;
    transform: translateX(-50%) translateY(14px);
    background: rgba(12,14,22,0.92);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 7px 16px;
    font-size: 11.5px; color: rgba(255,255,255,0.78);
    white-space: nowrap; z-index: 9999;
    opacity: 0; transition: opacity .25s ease, transform .25s ease;
    box-shadow: 0 3px 16px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    pointer-events: none; font-family: inherit;
}
.arg-toast-in  { opacity:1; transform:translateX(-50%) translateY(0); }
.arg-toast-out { opacity:0; transform:translateX(-50%) translateY(-8px); }
.arg-toast strong { color: #ff2e88; }

/* ══ BADGE ══ */
.arg-hint-badge {
    position: absolute; bottom: 12px; right: 12px;
    display: flex; align-items: center; gap: 8px;
    background: rgba(12,14,22,0.88);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px; padding: 6px 13px;
    font-size: 11.5px; font-weight: 600;
    color: rgba(255,255,255,0.72);
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.22);
    pointer-events: all; user-select: none;
    z-index: 150; opacity: 0; transform: translateY(6px);
    transition: opacity .28s ease, transform .28s ease;
    backdrop-filter: blur(8px); font-family: inherit;
}
.arg-badge-in { opacity:1; transform:translateY(0); }
.arg-badge-divider { color: rgba(255,255,255,0.15); font-size: 10px; }
#arg-badge-write { cursor: pointer; transition: color .15s; }
#arg-badge-write:hover { color: #ff2e88; }
#arg-badge-hist  { cursor: pointer; transition: color .15s; }
#arg-badge-hist:hover  { color: #ff2e88; }
#arg-hist-badge {
    display: inline-block; background: #ff2e88; color: #fff;
    border-radius: 9px; padding: 0 5px; font-size: 9px;
    min-width: 13px; text-align: center; line-height: 14px;
}

/* ══ POPUP ══ */
.arg-popup {
    position: absolute; right: 12px; bottom: 46px;
    width: 230px;
    background: rgba(12,14,22,0.97);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 13px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.45);
    z-index: 300; animation: arg-in .18s ease;
    backdrop-filter: blur(14px); font-family: inherit;
}
.arg-reply-popup { bottom: 46px; }
@keyframes arg-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

.arg-popup h4 {
    margin: 0 0 9px; font-size: 11px; font-weight: 700;
    color: rgba(255,255,255,0.82); letter-spacing: .2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.arg-reply-quote {
    font-size: 10.5px; color: rgba(255,255,255,0.35);
    border-left: 2px solid #ff2e88; padding-left: 7px;
    margin: 0 0 9px; line-height: 1.4;
}
.arg-popup input, .arg-popup textarea {
    width: 100%; box-sizing: border-box;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 7px; color: #fff; font-size: 12px;
    padding: 7px 9px; margin-bottom: 6px;
    outline: none; resize: none;
    font-family: inherit; transition: border-color .15s;
}
.arg-popup input:focus, .arg-popup textarea:focus { border-color: rgba(255,255,255,0.22); }
.arg-popup input::placeholder, .arg-popup textarea::placeholder { color: rgba(255,255,255,0.22); }
.arg-char-count {
    display: block; font-size: 9.5px;
    color: rgba(255,255,255,0.22); text-align: right; margin: -3px 0 8px;
}
.arg-char-count.arg-warn { color: #e8112d; }
.arg-popup-actions { display: flex; gap: 7px; }
.arg-btn {
    flex: 1; padding: 7px 0; border: none; border-radius: 7px;
    font-size: 11.5px; font-weight: 600; cursor: pointer;
    transition: opacity .15s; font-family: inherit;
}
.arg-btn:hover { opacity: .85; }
.arg-btn-submit { background: #ff2e88; color: #fff; }
.arg-btn-cancel { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.58); }

/* ══ HISTORY ══ */
.arg-history-panel {
    position: absolute; right: 12px; bottom: 46px;
    width: 250px; max-height: 320px;
    background: rgba(12,14,22,0.97);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; display: flex; flex-direction: column;
    z-index: 250; box-shadow: 0 6px 24px rgba(0,0,0,0.4);
    backdrop-filter: blur(14px); overflow: hidden;
    opacity: 0; transform: translateY(8px) scale(.98);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    font-family: inherit;
}
.arg-history-panel.arg-history-open { opacity:1; transform:translateY(0) scale(1); pointer-events:all; }
.arg-history-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 13px; font-size: 11px; font-weight: 700;
    color: rgba(255,255,255,0.78);
    border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
}
.arg-history-close {
    background: none; border: none; color: rgba(255,255,255,0.32);
    font-size: 14px; cursor: pointer; padding: 0 2px; line-height: 1;
}
.arg-history-close:hover { color: rgba(255,255,255,0.7); }
.arg-history-list { overflow-y: auto; flex: 1; padding: 4px 0; }
.arg-history-list::-webkit-scrollbar { width: 2px; }
.arg-history-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
.arg-hist-item {
    padding: 7px 12px; cursor: pointer; transition: background .15s;
}
.arg-hist-item:hover { background: rgba(255,255,255,0.03); }
.arg-hist-name { font-size: 10px; font-weight: 700; color: #ff2e88; display: block; }
.arg-hist-loc  { font-size: 9.5px; color: rgba(255,255,255,0.28); display: block; margin-bottom: 2px; }
.arg-hist-msg  { font-size: 11px; color: rgba(255,255,255,0.68); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arg-hist-time { font-size: 9px; color: rgba(255,255,255,0.2); margin-top: 2px; display: block; }

.arg-play-hint {
    pointer-events: none !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: rgba(255,255,255,0.45) !important;
    font-weight: 500 !important;
}
.arg-play-hint span { color: rgba(255,255,255,0.45); }
@keyframes arg-zoom-flash {
    0%   { opacity:.6; transform:scale(1); }
    100% { opacity:0;  transform:scale(4); }
}

/* ══ MOBILE ══ */
@media (max-width:480px) {
    .arg-bubble    { max-width:155px; }
    .arg-popup     { right:8px; bottom:44px; width:calc(100vw - 16px); }
    .arg-history-panel { right:8px; bottom:44px; width:calc(100vw - 16px); }
    .arg-hint-badge{ right:8px; bottom:8px; font-size:11px; padding:5px 11px; }
    .arg-toast     { font-size:11px; max-width:88vw; white-space:normal; text-align:center; }
}
