<style>
    /* ============================================================
       REALM STATUS Ã¢â‚¬â€ Premium Fantasy UI with Inter font
       ============================================================ */

    /* --- Base card (Ã‘â‚¬ÃÂ°ÃÂ¼ÃÂºÃÂ¸ Ã‘Æ’ÃÂ±Ã‘â‚¬ÃÂ°ÃÂ½Ã‘â€¹) --- */
    .realm-card {
        position: relative;
        background: linear-gradient(160deg, rgba(14,19,28,.96), rgba(6,9,14,.98));
        padding: 18px 18px 14px;
        box-shadow: 
            0 12px 40px rgba(0,0,0,.5),
            inset 0 1px 0 rgba(255,255,255,.04);
        transition: all .35s cubic-bezier(.22,.68,0,1);
        cursor: default;
        overflow: hidden;
        margin-bottom: 12px;
    }

    .realm-card:last-child {
        margin-bottom: 0;
    }

    .realm-card:hover {
        transform: translateY(-3px);
        box-shadow: 
            0 20px 60px rgba(0,0,0,.55),
            inset 0 1px 0 rgba(255,255,255,.06);
    }

    /* --- Header row --- */
    .realm-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 16px;
    }

    /* Logo */
    .realm-logo {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgb(49 54 70);
        border: 1px solid rgb(157 159 166);
        padding: 4px;
        transition: all .3s;
        border-radius: 4px;
    }
    .realm-card:hover .realm-logo {
        border-color: rgba(213,173,74,.35);
        background: rgba(213,173,74,.1);
    }
    .realm-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 0 8px rgba(213,173,74,.1));
    }
    .realm-logo-fallback {
        font-family: 'Inter', sans-serif;
        font-weight: 900;
        font-size: 26px;
        color: #f2cf5b;
        text-shadow: 0 0 20px rgba(242,207,82,.3), 0 2px 4px rgba(0,0,0,.8);
        letter-spacing: -0.02em;
    }

    /* Realm name */
    .realm-name {
        flex: 1;
        min-width: 0;
        font-family: 'Inter', sans-serif;
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 0.08em;
        color: #ffffff;
        text-shadow: 0 0 20px rgba(242,207,82,.15), 0 1px 3px rgba(0,0,0,.9);
        line-height: 1.2;
        text-transform: uppercase;
    }
    .realm-name small {
        display: block;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255,255,255,.3);
        text-shadow: none;
        margin-top: 1px;
    }

    /* --- Status badge --- */
    .realm-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 2px 14px 2px 10px;
        font-family: 'Inter', sans-serif;
        font-size: 8px;
        font-weight: 400;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        border: 1px solid;
        flex-shrink: 0;
        transition: all .3s;
    }
    .realm-badge.online {
        color: #4ade80;
        border-color: rgba(74,222,128,.3);
        background: linear-gradient(135deg, rgba(74,222,128,.12), rgba(74,222,128,.04));
        box-shadow: 0 0 20px rgba(74,222,128,.05), inset 0 1px 0 rgba(74,222,128,.15);
        border-radius: 2px;
    }
    .realm-badge.offline {
        color: #f87171;
        border-color: rgba(248,113,113,.3);
        background: linear-gradient(135deg, rgba(248,113,113,.12), rgba(248,113,113,.04));
        box-shadow: 0 0 20px rgba(248,113,113,.05), inset 0 1px 0 rgba(248,113,113,.15);
    }
    .realm-badge .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        flex-shrink: 0;
        transition: all .3s;
    }
    .realm-badge.online .dot {
        background: #4ade80;
        box-shadow: 0 0 12px rgba(74,222,128,.6);
        animation: pulse-dot 2s ease-in-out infinite;
    }
    .realm-badge.offline .dot {
        background: #f87171;
        box-shadow: 0 0 10px rgba(248,113,113,.5);
    }

    @keyframes pulse-dot {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: .6; transform: scale(.85); }
    }

    /* --- Stats grid --- */
    .realm-stats {
        display: grid;
        gap: 10px;
        padding: 12px 14px;
        background: rgb(37 41 52);
        border: 1px solid rgb(157 159 166);
        margin-bottom: 12px;
        border-radius: 4px;
    }
    .realm-stat {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .realm-stat-icon {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgb(50 55 70);
        border: 1px solid rgb(155 157 164 / 69%);
        color: #9b9da4;
        transition: all .3s;
        border-radius: 4px;
    }
    .realm-card:hover .realm-stat-icon {
        border-color: rgba(213,173,74,.25);
        background: rgba(213,173,74,.1);
    }
    .realm-stat-icon svg {
        width: 14px;
        height: 14px;
    }
    .realm-stat-info {
        min-width: 0;
    }
    .realm-stat-label {
        display: block;
        font-family: 'Inter', sans-serif;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255,255,255,.3);
        line-height: 1.2;
    }
    .realm-stat-value {
        display: block;
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #e8edf2;
        text-shadow: 0 1px 3px rgba(0,0,0,.8);
        line-height: 1.3;
    }
    .realm-stat-value .muted {
        color: rgba(255,255,255,.2);
        font-weight: 400;
    }

    /* Uptime Ã¢â‚¬â€ ÃÂ½ÃÂ° ÃÂ²Ã‘ÂÃ‘Å½ Ã‘Ë†ÃÂ¸Ã‘â‚¬ÃÂ¸ÃÂ½Ã‘Æ’ */
    .realm-stat-full {
        grid-column: 1 / -1;
    }

    /* --- Address bar --- */
    .realm-address-bar {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        background: rgb(37 41 52);
        border: 1px solid rgb(155 157 164);
        font-family: 'Inter', monospace;
        font-size: 16px;
        font-weight: 500;
        color: rgb(255 255 255 / 50%);
        transition: all .3s;
        border-radius: 4px;
    }
    .realm-card:hover .realm-address-bar {
        border-color: rgba(213,173,74,.2);
        background: rgba(0,0,0,.4);
    }
    .realm-address-bar .ip {
        color: #ffffff;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-shadow: 0 0 20px rgba(201,162,39,.1);
    }
    .realm-address-bar .globe {
        color: #a7a9b0;
        opacity: .5;
        flex-shrink: 0;
    }
    .realm-address-bar .globe svg {
        width: 18px;
        height: 18px;
    }

    /* --- Copy button --- */
    .realm-copy-btn {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        padding: 4px 8px;
        background: transparent;
        border: none;
        color: rgb(85 196 120);
        cursor: pointer;
        transition: all .25s;
        display: flex;
        align-items: center;
        gap: 4px;
        font-family: 'Inter', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
    .realm-copy-btn:hover {
        color: #ffffff;
        background: rgb(82 242 138 / 8%);
        border-radius: 4px;
    }
    .realm-copy-btn svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
    .realm-copy-btn .icon-clipboard { display: block; }
    .realm-copy-btn .icon-check { display: none; }
    .realm-copy-btn.copied .icon-clipboard { display: none; }
    .realm-copy-btn.copied .icon-check { display: block; }
    .realm-copy-btn.copied {
        color: #4ade80;
        background: rgba(74,222,128,.1);
    }

    /* --- Responsive --- */
    @media (max-width: 600px) {
        .realm-card { padding: 14px; }
        .realm-header { gap: 10px; }
        .realm-logo { width: 44px; height: 44px; }
        .realm-name { font-size: 14px; }
        .realm-name small { font-size: 8px; }
        .realm-badge { font-size: 8px; padding: 4px 10px 4px 8px; }
        .realm-stats { grid-template-columns: 1fr; gap: 8px; padding: 10px 12px; }
        .realm-stat-value { font-size: 13px; }
        .realm-address-bar { font-size: 11px; padding: 6px 10px; }
        .realm-copy-btn { font-size: 7px; padding: 3px 6px; }
        .realm-copy-btn svg { width: 12px; height: 12px; }
    }

    @media (max-width: 400px) {
        .realm-badge { font-size: 7px; padding: 3px 8px 3px 6px; gap: 5px; }
        .realm-badge .dot { width: 6px; height: 6px; }
        .realm-name { font-size: 12px; }
    }