* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #000;
    color: #fff;
}

body {
    font-family: Arial, sans-serif;
}

/* APP */
.app {
    width: 100%;
    max-width: 480px;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 0 6px calc(6px + env(safe-area-inset-bottom));
}

/* HOME ORDER */
#home {
    display: flex;
    flex-direction: column;
}

.header { order: 1; }
.wallet-card { order: 2; }
.player-card { order: 3; }
.game-row { order: 4; }
.image-actions { order: 5; }
.social-actions { order: 6; }
.price-card { order: 7; }

/* HEADER */
.header {
    position: relative;
    padding: 2px 4px 4px;
}

.logo {
    width: 100%;
    max-width: 260px;
    margin: 18px auto 4px;
    display: block;
}

/* HEADER ICONS */
.header-rail {
    position: absolute;
    top: 3px;
    right: 4px;
    display: flex;
    gap: 6px;
    z-index: 20;
}

.header-icon {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.95);
    background: rgba(0, 0, 0, 0.92);
    color: #ffeb00;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 8px rgba(0, 229, 255, 0.75),
        inset 0 0 8px rgba(255, 43, 214, 0.35);
    cursor: pointer;
}

.header-icon:active {
    transform: scale(0.94);
}

/* WALLET - COMPACT TOP BAR */
.wallet-card {
    margin: 0 auto 2px;
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.75);
    background: rgba(0, 0, 0, 0.7);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.18);
}

.wallet-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    font-size: 11px;
    font-weight: 900;
}

.wallet-row span {
    color: #fff;
}

.wallet-row strong {
    color: #ffeb00;
    white-space: nowrap;
}

.wallet-connect-btn {
    min-height: 20px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 43, 214, 0.9);
    background: rgba(255, 43, 214, 0.16);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(255, 43, 214, 0.35);
}

.wallet-msg {
    grid-column: 1 / -1;
    min-height: 11px;
    margin-top: -1px;
    font-size: 10px;
    font-weight: 800;
    color: #00e5ff;
    text-align: center;
}

/* PLAYER */
.player-card {
    margin: 0 auto 3px;
    width: 100%;
}

.points-pill {
    margin: 0 auto 2px;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg,#ff2bd6,#7b3cff,#00e5ff);
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 900;
}

.nickname-display-card {
    text-align: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,229,255,.65);
    background: rgba(0,0,0,.55);
    font-size: 11px;
    font-weight: 900;
}

/* GRID */
.game-row,
.image-actions,
.game-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 1px;
}

/* BUTTONS */
.game-card,
.image-action,
.tile-button,
.tile-link {
    display: block;
    width: 100%;
    aspect-ratio: 350 / 200;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
    animation: boinkoDance 3.2s ease-in-out infinite;
    transform-origin: center;
}

.game-row > *:nth-child(2),
.image-actions > *:nth-child(2) {
    animation-delay: .25s;
}

.image-actions > *:nth-child(3) { animation-delay: .5s; }
.image-actions > *:nth-child(4) { animation-delay: .75s; }
.image-actions > *:nth-child(5) { animation-delay: 1s; }
.image-actions > *:nth-child(6) { animation-delay: 1.25s; }
.image-actions > *:nth-child(7) { animation-delay: 1.5s; }
.image-actions > *:nth-child(8) { animation-delay: 1.75s; }

@keyframes boinkoDance {
    0% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-3px) rotate(-0.7deg); }
    40% { transform: translateY(1px) rotate(0.7deg); }
    60% { transform: translateY(-2px) rotate(-0.5deg); }
    80% { transform: translateY(1px) rotate(0.5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.game-card img,
.image-action img,
.tile-button img,
.tile-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(0.94);
}

.game-row a:nth-child(2) img {
    transform: scale(0.85);
}

#mediaBtn img {
    transform: scale(0.91);
}

.game-card:active,
.image-action:active,
.tile-button:active,
.tile-link:active {
    animation: none;
    transform: scale(0.97);
}

/* SOCIAL */
.social-actions {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    max-width: 200px;
    margin: 6px auto 0;
}

.social-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-action img {
    height: 28px;
}

/* PRICE */
.price-card {
    text-align: center;
    margin-top: 2px;
}

.price-title {
    font-size: 13px;
    font-weight: 900;
}

.home-price-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    line-height: 1.1;
}

#boinkoPrice {
    font-size: 13px;
    font-weight: 900;
}

#boinkoChange {
    font-size: 12px;
    font-weight: 900;
}

.price-change.up { color: #00e676; }
.price-change.down { color: #ff5252; }

/* SETTINGS */
.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.8);
    padding: 12px;
}

.settings-panel.show {
    display: flex;
}

.settings-box {
    width: 100%;
    max-width: 420px;
    background: #0a0a0a;
    border: 1px solid rgba(0,229,255,0.35);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 0 18px rgba(0,229,255,0.25);
}

.settings-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.settings-top strong {
    font-size: 18px;
}

#settingsCloseBtn {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.settings-section {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}

.settings-label {
    color: rgba(255,255,255,0.65);
}

.settings-value {
    color: #ffeb00;
    font-weight: 800;
}

.danger-btn {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,80,80,0.4);
    background: rgba(255,80,80,0.1);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

/* CHAT */
.chat-box {
    max-height: 40dvh;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px;
    border-radius: 16px;
}

/* INTRO SCREEN */
.intro-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    overflow: hidden;
    opacity: 1;
    transition: opacity .28s ease;
}

.intro-screen[hidden] {
    display: none;
}

.intro-screen.hide {
    opacity: 0;
    pointer-events: none;
}

.route-splash-screen {
    transition: opacity 0.22s ease;
}

.intro-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.intro-enter {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 900;
    border: 0;
    background: linear-gradient(135deg,#ff2bd6,#7b3cff,#00e5ff);
    color: #fff;
}

/* SMALL HEIGHT */
@media (max-height: 720px) {
    .logo {
        max-width: 238px;
        margin-top: 14px;
    }

    .header-icon {
        width: 29px;
        height: 29px;
        font-size: 14px;
    }

    .game-row,
    .image-actions {
        gap: 2px;
    }

    .wallet-card {
        padding: 2px 6px;
    }

    .points-pill,
    .nickname-display-card {
        padding-top: 2px;
        padding-bottom: 2px;
    }
}
.return-app-btn {
    display: block;
    margin: 10px auto;
    text-align: center;
    padding: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg,#ff2bd6,#00e5ff);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    max-width: 220px;
}

.return-app-btn[hidden] {
    display: none;
}

.top-status-card {
    order: 2;
    width: 100%;
    margin: 0 auto 4px;
}

.top-status-row {
    display: flex;
    justify-content: center;
}

.sub-header {
    display: grid;
    grid-template-columns: 72px 1fr 42px;
    align-items: center;
    gap: 8px;
    padding: 12px 4px 8px;
}

.sub-header h1 {
    margin: 0;
    text-align: center;
    font-size: 22px;
}

.back-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.settings-page {
    padding: 0 8px 16px;
}

.settings-card {
    margin: 10px 0;
    padding: 13px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background:
        radial-gradient(circle at top left, rgba(255,43,214,0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(0,229,255,0.12), transparent 34%),
        rgba(255,255,255,0.03);
}

.settings-card h2 {
    margin: 0 0 10px;
    font-size: 17px;
    color: #00e5ff;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}

.settings-row:first-of-type {
    border-top: 0;
}

.settings-row span,
.settings-note {
    color: rgba(255,255,255,0.68);
}

.settings-row strong {
    color: #ffeb00;
    font-size: 13px;
    text-align: right;
    overflow-wrap: anywhere;
}

.settings-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 10px;
}

.settings-form.account-form {
    grid-template-columns: 1fr;
}

.settings-form input {
    width: 100%;
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0,229,255,0.38);
    background: rgba(0,0,0,0.58);
    color: #fff;
    padding: 0 12px;
    font-weight: 800;
}

.settings-form button,
.settings-main-btn {
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg,#ff2bd6,#7b3cff,#00e5ff);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.settings-main-btn {
    width: 100%;
    margin-top: 8px;
}

.settings-main-btn.account-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.settings-action-stack {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.settings-action-stack[hidden] {
    display: none;
}

.settings-subblock {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.settings-subtitle {
    color: #ffeb00;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.settings-small-link {
    display: block;
    margin-top: 8px;
    color: #00e5ff;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.nickname-msg {
    min-height: 16px;
    margin-top: 8px;
    color: #00e5ff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.settings-note {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
}

.danger-soft {
    border-color: rgba(255,235,0,0.18);
}

.leaderboard-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.leaderboard-tab {
    border: 1px solid rgba(255,43,214,0.45);
    background: rgba(255,43,214,0.08);
    color: #fff;
    border-radius: 999px;
    padding: 10px;
    font-weight: 900;
    cursor: pointer;
}

.leaderboard-tab.active {
    background: linear-gradient(135deg,#ff2bd6,#7b3cff,#00e5ff);
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-row,
.my-rank-main {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
}

.leaderboard-row.is-me {
    border-color: rgba(255,235,0,0.5);
}

.leaderboard-rank,
.rank-badge {
    text-align: center;
    font-weight: 900;
    color: #00e5ff;
}

.rank-name {
    font-size: 13px;
    font-weight: 900;
}

.rank-sub {
    margin-top: 3px;
    font-size: 11px;
    color: rgba(255,255,255,0.58);
}

.leaderboard-points,
.wallet-mini {
    color: #ffeb00;
    font-weight: 900;
    font-size: 12px;
    white-space: nowrap;
}

.wallet-mini.verified {
    color: #00ff88;
}

.empty-board {
    padding: 12px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}

.game-score-board {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.game-score-section {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 10px;
}

.game-score-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.game-score-title strong {
    color: #ffeb00;
    font-size: 14px;
}

.game-score-title a {
    color: #00e5ff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.help-panel {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.84);
    padding: 68px 10px 12px;
}

.help-panel[hidden] {
    display: none;
}

.help-panel-inner {
    width: 100%;
    max-width: 460px;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    margin: 0 auto;
    padding: 12px;
    background: #050505;
    border: 1px solid rgba(0,229,255,0.22);
    border-radius: 18px;
    box-shadow: 0 0 18px rgba(0,229,255,0.18);
}

.help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.help-header strong {
    font-size: 16px;
    color: #00e5ff;
}

.help-close {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 999px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.help-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.help-item {
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.045);
}

.help-item strong {
    display: block;
    color: #ffeb00;
    font-size: 13px;
    margin-bottom: 5px;
}

.help-item span {
    display: block;
    color: rgba(255,255,255,0.74);
    font-size: 12px;
    line-height: 1.35;
}

.help-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.help-action-btn {
    display: block;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: #ff2bd6;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.help-action-btn.secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.guest-account-panel {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.78);
    padding: 18px;
}

.guest-account-panel[hidden] {
    display: none;
}

.guest-account-inner {
    width: 100%;
    max-width: 420px;
    padding: 16px;
    border: 1px solid rgba(0,229,255,0.34);
    border-radius: 18px;
    background:
        radial-gradient(circle at 15% 0%, rgba(255,43,214,0.22), transparent 34%),
        radial-gradient(circle at 85% 12%, rgba(0,229,255,0.2), transparent 36%),
        rgba(8,8,18,0.96);
    box-shadow: 0 0 34px rgba(0,229,255,0.18);
}

.guest-account-copy {
    margin: 12px 0 4px;
    color: #d8f8ff;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.guest-dismiss-btn {
    font-family: inherit;
    cursor: pointer;
}

.challenge-hero {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: 12px;
}

.challenge-hero img {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.challenge-hero h2,
.challenge-notice h2 {
    margin: 0 0 5px;
    color: #00e5ff;
    font-size: 18px;
}

.challenge-hero p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    line-height: 1.35;
}

.challenge-list-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.challenge-list-title h2 {
    margin: 0;
}

.challenge-refresh-btn {
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 7px 10px;
    font-weight: 900;
}

.challenge-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.challenge-card {
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.045);
}

.challenge-card.completed {
    border-color: rgba(50,255,140,0.34);
    background: rgba(50,255,140,0.07);
}

.challenge-card.pending {
    border-color: rgba(255,235,0,0.34);
    background: rgba(255,235,0,0.06);
}

.challenge-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.challenge-card h3 {
    margin: 4px 0 0;
    font-size: 16px;
    color: #fff;
}

.challenge-card p {
    margin: 8px 0;
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    line-height: 1.35;
}

.challenge-status {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.08);
    color: #d8f8ff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.challenge-status.completed {
    background: rgba(50,255,140,0.18);
    color: #75ffad;
}

.challenge-status.pending {
    background: rgba(255,235,0,0.18);
    color: #ffeb00;
}

.challenge-points {
    color: #ffeb00;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.challenge-meta,
.challenge-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.challenge-meta span {
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 999px;
    padding: 4px 8px;
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.challenge-proof-form {
    display: grid;
    gap: 8px;
    margin: 10px 0;
}

.challenge-proof-form input,
.challenge-proof-form textarea {
    width: 100%;
    border: 1px solid rgba(0,229,255,0.28);
    border-radius: 12px;
    background: rgba(0,0,0,0.54);
    color: #fff;
    padding: 10px;
    font: inherit;
    font-size: 13px;
}

.challenge-proof-form textarea {
    min-height: 72px;
    resize: vertical;
}

.challenge-action {
    flex: 1;
    min-width: 120px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg,#ff2bd6,#7b3cff,#00e5ff);
    color: #fff;
    padding: 10px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.challenge-action.secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.challenge-action:disabled {
    opacity: 0.62;
}

.share-link-box {
    margin: 10px 0;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(0,229,255,0.28);
    background: rgba(0,0,0,0.52);
    color: #ffeb00;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.settings-main-btn.secondary-share {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.share-big-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg,#ff2bd6,#7b3cff,#00e5ff);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.raid-page {
    padding-bottom: 18px;
}

.raid-hero {
    text-align: center;
}

.raid-quick-actions,
.raid-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.raid-card {
    display: grid;
    gap: 10px;
}

.raid-guide {
    display: grid;
    gap: 8px;
}

.raid-guide-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.raid-guide-top h2 {
    margin: 0;
}

.raid-guide-top .hodl-btn {
    width: auto;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
}

.raid-loading {
    padding: 10px;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.raid-topline,
.raid-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.raid-topline {
    color: rgba(255,255,255,0.68);
    font-size: 12px;
    font-weight: 800;
}

.raid-badge {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    color: #000;
    background: #00e5ff;
    font-size: 11px;
    font-weight: 900;
}

.raid-badge.raid {
    background: linear-gradient(135deg,#ffeb00,#ff2bd6);
}

.raid-author strong,
.raid-author span {
    display: block;
}

.raid-author span {
    color: rgba(255,255,255,0.62);
    font-size: 12px;
    font-weight: 800;
}

.raid-target-text {
    margin: 0;
    padding: 12px;
    border-left: 3px solid #00e5ff;
    border-radius: 12px;
    background: rgba(0,0,0,0.25);
    font-size: 15px;
    line-height: 1.45;
}

.raid-original-link {
    min-height: 42px;
    font-size: 13px;
}

.raid-replies {
    display: grid;
    gap: 8px;
}

.raid-reply-option {
    min-height: 46px;
    padding: 10px;
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,0.055);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
}

.raid-reply-option.selected {
    color: #000;
    background: #00e5ff;
}

.raid-reply-draft {
    width: 100%;
    min-height: 96px;
    resize: vertical;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    color: #fff;
    background: rgba(0,0,0,0.25);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.raid-claim-btn {
    margin-top: 0;
    background: linear-gradient(135deg,#ffeb00,#ff2bd6,#00e5ff);
}

.raid-claim-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.raid-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.raid-skip-btn {
    margin-top: 0;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    background: rgba(255,255,255,0.12);
    box-shadow: none;
}

.wallet-restore-code {
    display: block;
    margin-top: 6px;
    padding: 7px;
    border-radius: 10px;
    background: rgba(0,0,0,0.55);
    color: #ffeb00;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
