html {
            font-size: clamp(4px, min(calc(100vw / 175), calc(100vh / 80)), 12px);
        }

        body {
            background-color: #050505;
            color: white;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            touch-action: pan-x pan-y;
        }

        #main-navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 6.5rem;
            background: rgba(10, 10, 10, 0.6);
            border-bottom: 0.1rem solid rgba(212, 175, 55, 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 4rem;
            box-sizing: border-box;
            z-index: 2000;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        }

        .logo {
            font-size: 2.4rem;
            font-weight: 800;
            color: #d4af37;
            letter-spacing: 0.2rem;
            text-shadow: 0 0 1rem rgba(212, 175, 55, 0.5);
        }

        .nav-actions {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

        #user-profile-nav {
            display: none;
            align-items: center;
            gap: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 0.5rem 1.5rem;
            border-radius: 3rem;
            border: 0.1rem solid rgba(212, 175, 55, 0.3);
            box-shadow: 0 0 1rem rgba(0,0,0,0.5);
            transition: border-color 0.3s;
        }
        #user-profile-nav:hover {
            border-color: rgba(212, 175, 55, 0.8);
        }

        .nav-avatar {
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 50%;
            border: 0.2rem solid #d4af37;
            cursor: pointer;
        }

        .nav-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            cursor: pointer;
        }

        .nav-username {
            font-size: 1.4rem;
            font-weight: bold;
            color: #ecf0f1;
            text-decoration: none;
        }

        .nav-chips {
            font-size: 1.2rem;
            color: #f1c40f;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: bold;
        }

        .chip-glow {
            animation: goldGlow 1s ease-out;
        }

        @keyframes goldGlow {
            0% {
                text-shadow: 0 0 2rem #f1c40f, 0 0 4rem #f1c40f;
                transform: scale(1.2);
            }

            100% {
                text-shadow: none;
                transform: scale(1);
            }
        }

        .btn-gold-outline {
            background: rgba(0, 0, 0, 0.6);
            border: 0.1rem solid #d4af37;
            color: #d4af37;
            padding: 0.6rem 1.5rem;
            border-radius: 2rem;
            cursor: pointer;
            transition: 0.3s;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .btn-gold-outline:hover {
            background: #d4af37;
            color: black;
            box-shadow: 0 0 1rem rgba(212, 175, 55, 0.5);
        }


        /* ── NAV GUEST BUTTONS ── */
        .nav-btn-outline {
            background: transparent;
            border: 0.15rem solid #d4af37;
            color: #d4af37;
            padding: 0.55rem 1.8rem;
            border-radius: 2rem;
            cursor: pointer;
            font-weight: 700;
            font-size: 1.25rem;
            letter-spacing: 0.05rem;
            transition: all 0.25s ease;
        }
        .nav-btn-outline:hover {
            background: rgba(212,175,55,0.12);
            box-shadow: 0 0 1rem rgba(212,175,55,0.4);
        }
        .nav-btn-gold {
            background: linear-gradient(135deg, #f3e5ab, #d4af37);
            color: #111;
            border: none;
            padding: 0.55rem 1.8rem;
            border-radius: 2rem;
            cursor: pointer;
            font-weight: 800;
            font-size: 1.25rem;
            letter-spacing: 0.05rem;
            transition: all 0.25s ease;
            box-shadow: 0 0.2rem 0.8rem rgba(212,175,55,0.4);
        }
        .nav-btn-gold:hover {
            background: linear-gradient(135deg, #d4af37, #aa8529);
            box-shadow: 0 0.3rem 1.2rem rgba(212,175,55,0.6);
        }

        /* ── NAV ICON BUTTONS ── */
        .nav-icon-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.1rem;
            background: rgba(212,175,55,0.08);
            border: 0.1rem solid rgba(212,175,55,0.25);
            color: #d4af37;
            padding: 0.4rem 1rem;
            border-radius: 1rem;
            cursor: pointer;
            transition: all 0.25s ease;
            min-width: 5.5rem;
        }
        .nav-icon-btn:hover {
            background: rgba(212,175,55,0.2);
            border-color: #d4af37;
            box-shadow: 0 0 0.8rem rgba(212,175,55,0.3);
        }
        .nav-icon-btn-icon { font-size: 1.6rem; line-height: 1; }
        .nav-icon-btn-label { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04rem; text-transform: uppercase; }

        /* ── NAV DIVIDER ── */
        .nav-divider {
            width: 0.1rem;
            height: 3.5rem;
            background: rgba(212,175,55,0.25);
            margin: 0 0.5rem;
        }

        /* ── NAV PROFILE PILL ── */
        .nav-profile-pill {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: rgba(212,175,55,0.06);
            border: 0.1rem solid rgba(212,175,55,0.2);
            padding: 0.4rem 1.4rem 0.4rem 0.6rem;
            border-radius: 3rem;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .nav-profile-pill:hover {
            background: rgba(212,175,55,0.15);
            border-color: #d4af37;
        }

        /* ── NAV LOGOUT BUTTON ── */
        .nav-logout-btn {
            background: rgba(255,255,255,0.05);
            border: 0.1rem solid rgba(255,255,255,0.15);
            color: #aaa;
            width: 3.6rem;
            height: 3.6rem;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
        }
        .nav-logout-btn:hover {
            background: rgba(231,76,60,0.15);
            border-color: rgba(231,76,60,0.5);
            color: #e74c3c;
        }

        /* ── YAZBOZ BUTTON ── */
        .btn-yazboz {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            background: rgba(212,175,55,0.1);
            border: 0.1rem solid rgba(212,175,55,0.4);
            color: #d4af37;
            padding: 0.5rem 1.4rem;
            border-radius: 1rem;
            cursor: pointer;
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: 0.04rem;
            transition: all 0.25s ease;
        }
        .btn-yazboz:hover {
            background: rgba(212,175,55,0.25);
            border-color: #d4af37;
            box-shadow: 0 0 0.8rem rgba(212,175,55,0.3);
        }
        .yazboz-icon { font-size: 1.4rem; }

        /* ── MASADAN AYRIL BUTTON ── */
        .btn-ayril {
            background: rgba(255,255,255,0.04);
            border: 0.1rem solid rgba(255,255,255,0.15);
            color: #888;
            padding: 0.5rem 1.4rem;
            border-radius: 1rem;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: 600;
            transition: all 0.25s ease;
        }
        .btn-ayril:hover {
            background: rgba(180,60,50,0.15);
            border-color: rgba(220,80,70,0.4);
            color: #e88;
        }

        /* ── DJ BUTTONS ── */
        .dj-btn-ekle {
            background: linear-gradient(135deg, #f3e5ab, #d4af37);
            color: #111;
            border: none;
            padding: 0.7rem 1.4rem;
            border-radius: 0.8rem;
            cursor: pointer;
            font-weight: 800;
            font-size: 1.2rem;
            white-space: nowrap;
            transition: all 0.2s ease;
            box-shadow: 0 0.2rem 0.6rem rgba(212,175,55,0.3);
            flex-shrink: 0;
        }
        .dj-btn-ekle:hover {
            background: linear-gradient(135deg, #d4af37, #aa8529);
            box-shadow: 0 0.2rem 0.8rem rgba(212,175,55,0.5);
        }
        .dj-btn-atla {
            background: rgba(255,255,255,0.06);
            border: 0.1rem solid rgba(255,255,255,0.15);
            color: #888;
            width: 3.2rem;
            height: 3.2rem;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            flex-shrink: 0;
            padding: 0;
        }
        .dj-btn-atla:hover {
            background: rgba(212,175,55,0.15);
            border-color: rgba(212,175,55,0.5);
            color: #d4af37;
        }

        .glass-modal {
            background: rgba(20, 22, 25, 0.7);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 2rem;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
            padding: 3rem;
            color: #ecf0f1;
            width: 45rem;
            max-width: 90vw;
            animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
        }

        @keyframes modalPop {
            0% {
                transform: scale(0.8);
                opacity: 0;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .profile-header {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2rem;
            text-align: left;
        }

        .profile-avatar {
            width: 8rem;
            height: 8rem;
            border-radius: 50%;
            border: 3px solid #d4af37;
        }

        .profile-stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .stat-box {
            background: rgba(0, 0, 0, 0.4);
            padding: 1.5rem;
            border-radius: 1rem;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .stat-val {
            font-size: 2rem;
            color: #d4af37;
            font-weight: bold;
        }

        .stat-label {
            font-size: 1.1rem;
            color: #aaa;
            text-transform: uppercase;
        }

        .progress-bar-bg {
            width: 100%;
            height: 0.8rem;
            background: #333;
            border-radius: 0.4rem;
            overflow: hidden;
            margin-top: 0.5rem;
        }

        .progress-bar-fill {
            height: 100%;
            background: #2ecc71;
            width: 0%;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .win-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(46, 204, 113, 0.15);
            box-shadow: inset 0 0 20rem #2ecc71;
            z-index: 5000;
            animation: flashGreen 3s ease-out forwards;
            pointer-events: none;
            display: none;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .loss-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(231, 76, 60, 0.15);
            box-shadow: inset 0 0 20rem #e74c3c;
            z-index: 5000;
            animation: flashRed 3s ease-out forwards;
            pointer-events: none;
            display: none;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .anim-text {
            font-size: 6rem;
            font-weight: 900;
            color: white;
            text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.8);
            animation: slideUpFade 3s forwards;
        }

        @keyframes flashGreen {
            0% {
                opacity: 1;
                transform: scale(1.05);
            }

            100% {
                opacity: 0;
                transform: scale(1);
            }
        }

        @keyframes flashRed {
            0% {
                opacity: 1;
                background: rgba(231, 76, 60, 0.4);
            }

            100% {
                opacity: 0;
                background: transparent;
            }
        }

        @keyframes slideUpFade {
            0% {
                transform: translateY(5rem);
                opacity: 0;
            }

            20% {
                transform: translateY(0);
                opacity: 1;
            }

            80% {
                transform: translateY(0);
                opacity: 1;
            }

            100% {
                transform: translateY(-5rem);
                opacity: 0;
            }
        }

        #toast-container {
            position: fixed;
            top: 7rem;
            right: 2rem;
            z-index: 99999;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            pointer-events: none;
        }

        .toast {
            background: rgba(10, 10, 10, 0.95);
            border-left: 0.4rem solid #d4af37;
            color: #ecf0f1;
            padding: 1.2rem 2rem;
            border-radius: 0.4rem;
            box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.8);
            font-size: 1.4rem;
            min-width: 25rem;
            animation: slideIn 0.3s forwards, fadeOut 0.5s 3.5s forwards;
            font-weight: bold;
        }

        .toast.error {
            border-left-color: #e74c3c;
        }

        .toast.info {
            border-left-color: #3498db;
        }

        .toast.success {
            border-left-color: #2ecc71;
        }

        @keyframes slideIn {
            from {
                transform: translateX(120%);
            }

            to {
                transform: translateX(0);
            }
        }

        @keyframes fadeOut {
            to {
                opacity: 0;
                transform: translateX(120%);
            }
        }

        #dondur-uyari {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: #000;
            z-index: 9999;
            color: #d4af37;
            justify-content: center;
            align-items: center;
            font-size: 2.4rem;
            text-align: center;
            flex-direction: column;
        }

        .rotate-icon {
            font-size: 5rem;
            margin-bottom: 2rem;
            animation: rotatePhone 2s infinite;
        }

        @keyframes rotatePhone {
            0% {
                transform: rotate(0deg);
            }

            50% {
                transform: rotate(-90deg);
            }

            100% {
                transform: rotate(-90deg);
            }
        }

        @media screen and (max-width: 768px) and (orientation: portrait) {
            #dondur-uyari {
                display: flex;
            }

            #oyun-wrapper,
            #hub-ekrani,
            #bitis-ekrani,
            #auth-modal,
            #modal-quests,
            #modal-profile,
            #modal-password {
                display: none !important;
            }
        }

        .tam-ekran {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .kutu {
            background: rgba(20, 22, 25, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 4rem;
            border-radius: 2rem;
            text-align: center;
            border: 0.1rem solid rgba(212, 175, 55, 0.4);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 2rem rgba(212, 175, 55, 0.15);
            width: 40rem;
            max-width: 90vw;
            color: #ecf0f1;
        }

        .kutu h1,
        .kutu h2 {
            margin-top: 0;
            color: #d4af37;
            font-weight: 300;
            letter-spacing: 0.2rem;
            text-shadow: 0 0 1rem rgba(212, 175, 55, 0.4);
        }

        .kutu input,
        .kutu select {
            width: 80%;
            padding: 1.2rem 1.5rem;
            font-size: 1.4rem;
            border-radius: 1rem;
            border: 0.1rem solid rgba(255, 255, 255, 0.15);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            margin-bottom: 2rem;
            outline: none;
            text-align: center;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .kutu select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background: rgba(0, 0, 0, 0.6) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 1.5rem center;
            background-size: 1.5rem;
            cursor: pointer;
        }

        .kutu select option {
            background: #111;
            color: white;
            padding: 1rem;
        }

        .custom-select-wrapper {
            position: relative;
            display: inline-block;
            width: 80%;
            margin-bottom: 2rem;
            text-align: left;
        }

        .custom-select-selected {
            width: 100%;
            padding: 1.2rem 1.5rem;
            font-size: 1.4rem;
            border-radius: 1rem;
            border: 0.1rem solid rgba(255, 255, 255, 0.15);
            background: rgba(0, 0, 0, 0.6) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 1.5rem center;
            background-size: 1.5rem;
            color: white;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            box-sizing: border-box;
            user-select: none;
        }

        .custom-select-selected:hover {
            border-color: #d4af37;
            box-shadow: 0 0 1rem rgba(212, 175, 55, 0.3);
            background-color: rgba(0, 0, 0, 0.8);
        }

        .custom-select-options {
            position: absolute;
            top: 105%;
            left: 0;
            right: 0;
            background: #050505;
            border: 0.1rem solid rgba(212, 175, 55, 0.5);
            border-radius: 0.8rem;
            z-index: 9999;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.8);
            display: none;
        }

        .custom-select-option {
            padding: 1.2rem 1.5rem;
            color: #ecf0f1;
            cursor: pointer;
            font-size: 1.4rem;
            transition: all 0.2s;
            font-weight: 500;
        }

        .custom-select-option:hover {
            background: rgba(212, 175, 55, 0.2);
            color: #d4af37;
            padding-left: 2rem;
        }

        .kutu input:focus,
        .kutu select:focus {
            border-color: #d4af37;
            box-shadow: 0 0 1rem rgba(212, 175, 55, 0.3);
            background: rgba(0, 0, 0, 0.8);
        }

        .masalar-baslik {
            color: #d4af37;
            font-size: 2.8rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.3rem;
            margin-bottom: 2rem;
            margin-top: 0;
            text-shadow: 0 0 1.5rem rgba(212, 175, 55, 0.5);
        }

        #oda-listesi {
            margin-top: 2rem;
            text-align: left;
            max-height: 30rem;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .oda-satiri {
            background: rgba(20, 20, 20, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: 1rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 0.4rem solid #d4af37;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            border-right: 1px solid rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .oda-satiri:hover {
            transform: translateX(5px);
            box-shadow: 0 0 1.5rem rgba(212, 175, 55, 0.15);
        }

        .btn-gold {
            background: linear-gradient(135deg, #d4af37, #aa8529);
            color: #111;
            border: none;
            padding: 1.2rem 2.4rem;
            font-size: 1.4rem;
            font-weight: 800;
            border-radius: 1rem;
            cursor: pointer;
            box-shadow: 0 0.4rem 1.5rem rgba(212, 175, 55, 0.4);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.1rem;
        }

        .btn-gold:hover {
            transform: translateY(-2px);
            box-shadow: 0 0.6rem 2rem rgba(212, 175, 55, 0.6);
            background: linear-gradient(135deg, #e5c354, #c29b35);
        }

        .btn-gold:disabled {
            background: #555;
            color: #888;
            cursor: not-allowed;
            box-shadow: none;
        }

        .btn-kirmizi {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            border: none;
            padding: 1rem 2rem;
            font-size: 1.3rem;
            font-weight: bold;
            border-radius: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 0.4rem 1rem rgba(231, 76, 60, 0.4);
            text-transform: uppercase;
        }

        .btn-kirmizi:hover {
            transform: translateY(-2px);
            box-shadow: 0 0.6rem 1.5rem rgba(231, 76, 60, 0.6);
            background: linear-gradient(135deg, #f15a4a, #d14233);
        }

        .auth-input-group {
            position: relative;
            width: 100%;
            margin-bottom: 1.5rem;
        }

        .auth-input-group input {
            width: 100%;
            padding: 1.2rem 1.5rem;
            background: #111;
            border: 0.1rem solid #333;
            border-radius: 0.8rem;
            color: white;
            font-size: 1.4rem;
            box-sizing: border-box;
            transition: 0.3s;
        }

        .auth-input-group input:focus {
            border-color: #d4af37;
            outline: none;
            box-shadow: 0 0 1rem rgba(212, 175, 55, 0.2);
        }

        .auth-links {
            display: flex;
            justify-content: space-between;
            font-size: 1.2rem;
            color: #888;
            margin-bottom: 2rem;
            width: 100%;
        }

        .auth-links a {
            color: #d4af37;
            cursor: pointer;
            text-decoration: none;
            transition: 0.2s;
        }

        .auth-links a:hover {
            color: #f1c40f;
            text-decoration: underline;
        }

        .google-btn-container {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            color: #666;
            margin: 2rem 0;
            width: 100%;
            font-size: 1.2rem;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            border-bottom: 0.1rem solid #333;
        }

        .koltuk-map {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .koltuk {
            background: #0a0a0a;
            border: 0.2rem dashed #444;
            padding: 2rem;
            border-radius: 1rem;
            cursor: pointer;
            font-weight: bold;
            color: #aaa;
            transition: 0.3s;
            position: relative;
            overflow: hidden;
        }

        .koltuk:hover {
            border-color: #d4af37;
            color: #d4af37;
        }

        .koltuk.dolu {
            background: #222;
            border-style: solid;
            border-color: #d4af37;
            color: white;
            cursor: default;
        }

        .koltuk.dolu-teamA {
            border-color: #3498db;
        }

        .koltuk.dolu-teamB {
            border-color: #e74c3c;
        }

        #oyun-wrapper {
            display: none;
            justify-content: center;
            align-items: center;
            width: 100vw;
            height: 100vh;
            gap: 2rem;
            box-sizing: border-box;
            overflow: hidden;
            flex-direction: row;
            padding: 2rem;
            margin-top: 6rem;
        }

        #masa-container {
            width: 135rem;
            height: 75rem;
            background: radial-gradient(circle at center, #2a2c30 0%, #0d0d0f 100%);
            position: relative;
            border-radius: 4rem;
            box-shadow: inset 0 0 8rem rgba(0, 0, 0, 0.9), 0 2rem 5rem rgba(0, 0, 0, 0.8);
            border: 1.2rem solid #1a1a1a;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex-shrink: 0;
            transition: border-color 0.4s, box-shadow 0.4s;
        }

        #masa-container::before {
            content: '';
            position: absolute;
            top: 1rem;
            left: 1rem;
            right: 1rem;
            bottom: 1rem;
            border: 0.1rem solid rgba(255, 255, 255, 0.05);
            border-radius: 3rem;
            pointer-events: none;
        }

        @keyframes siraBendeGlow {
            0% { box-shadow: inset 0 0 8rem rgba(0, 0, 0, 0.9), 0 0 2rem rgba(46, 204, 113, 0.4); }
            50% { box-shadow: inset 0 0 8rem rgba(0, 0, 0, 0.9), 0 0 6rem rgba(46, 204, 113, 0.9); }
            100% { box-shadow: inset 0 0 8rem rgba(0, 0, 0, 0.9), 0 0 2rem rgba(46, 204, 113, 0.4); }
        }
        .sira-bende-border {
            border-color: #2ecc71 !important;
            animation: siraBendeGlow 2s infinite !important;
        }

        #sag-panel {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            width: 32rem;
            height: 75rem;
            flex-shrink: 0;
        }

        #chat-container {
            width: 100%;
            flex: 1;
            background: radial-gradient(circle at top, #2a2c30 0%, #0d0d0f 100%);
            border: 0.6rem solid #1a1a1a;
            border-radius: 3rem;
            display: flex;
            flex-direction: column;
            position: relative;
            box-shadow: inset 0 0 4rem rgba(0, 0, 0, 0.9), 0 2rem 5rem rgba(0, 0, 0, 0.8);
            overflow: hidden;
            box-sizing: border-box;
        }

        #chat-header {
            background: rgba(0, 0, 0, 0.5);
            padding: 1rem;
            text-align: center;
            font-size: 1.4rem;
            font-weight: bold;
            color: #d4af37;
            border-bottom: 0.1rem solid rgba(255, 255, 255, 0.05);
            letter-spacing: 0.2rem;
            text-transform: uppercase;
        }

        #chat-mesajlar {
            flex: 1;
            padding: 1rem 2.5rem;
            overflow-y: auto;
            font-size: 1.3rem;
            color: #ecf0f1;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            word-wrap: break-word;
        }

        .system-msg {
            color: #f1c40f;
            font-style: italic;
            font-size: 1.2rem;
        }

        #chat-input-alan {
            display: flex;
            padding: 1rem 2rem;
            background: rgba(0, 0, 0, 0.5);
            border-top: 0.1rem solid rgba(255, 255, 255, 0.05);
        }

        #chat-input {
            flex: 1;
            background: rgba(0, 0, 0, 0.6);
            border: 0.1rem solid #444;
            padding: 1rem 1.5rem;
            color: white;
            outline: none;
            font-size: 1.3rem;
            border-radius: 2.5rem 0 0 2.5rem;
            transition: 0.2s;
        }

        #btn-chat-gonder {
            background: linear-gradient(to bottom, #f3e5ab, #d4af37);
            color: black;
            border: none;
            padding: 0 1.5rem;
            font-weight: bold;
            cursor: pointer;
            font-size: 1.3rem;
            border-radius: 0 2.5rem 2.5rem 0;
        }

        #dj-container {
            width: 100%;
            background: #111;
            border: 0.4rem solid #1a1a1a;
            border-radius: 2rem;
            padding: 1.5rem;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            box-shadow: inset 0 0 2rem #000;
        }

        .dj-baslik {
            font-size: 1.2rem;
            color: #888;
            text-transform: uppercase;
            font-weight: bold;
            margin-bottom: -0.5rem;
            display: flex;
            justify-content: space-between;
        }

        #dj-suan-calan {
            color: #d4af37;
            font-weight: bold;
            font-size: 1.4rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .dj-alt {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        #dj-input {
            flex: 1;
            background: #0a0a0a;
            border: 0.1rem solid #333;
            padding: 0.8rem 1.2rem;
            color: white;
            border-radius: 1.5rem;
            font-size: 1.2rem;
            outline: none;
        }

        #btn-dj-ekle {
            background: #34495e;
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 1.5rem;
            cursor: pointer;
            font-weight: bold;
            font-size: 1.2rem;
        }

        #btn-dj-ekle:hover {
            background: #415b76;
        }

        #btn-dj-atla {
            background: #e74c3c;
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 1.5rem;
            cursor: pointer;
            font-weight: bold;
            font-size: 1.2rem;
        }

        #btn-dj-atla:hover {
            background: #c0392b;
        }

        .dj-ses-kontrol {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.4rem;
            color: #888;
        }

        #dj-ses {
            width: 5rem;
            accent-color: #d4af37;
        }

        .oyuncu-etiket {
            position: absolute;
            background: rgba(0, 0, 0, 0.8);
            border: 0.2rem solid #d4af37;
            padding: 0.6rem 1.5rem;
            border-radius: 1.2rem;
            font-size: 1.3rem;
            font-weight: bold;
            color: #ecf0f1;
            text-align: center;
            z-index: 150;
            transition: 0.3s;
            min-width: 8rem;
        }

        .oyuncu-etiket.aktif-sira-isim {
            border: 0.3rem solid transparent;
            background-clip: padding-box;
            box-shadow: 0 0 2rem rgba(46, 204, 113, 0.8);
            border-color: #2ecc71;
        }

        #etiket-top {
            top: 2rem;
            left: 50%;
            transform: translateX(-50%);
        }

        #etiket-left {
            top: 50%;
            left: 2rem;
            transform: translateY(-50%);
        }

        #etiket-right {
            top: 50%;
            right: 2rem;
            transform: translateY(-50%);
        }

        /* MASA ÇÖP (DİSKART) ALANLARI HİZALAMASI (DİKDÖRTGEN YAPISI) */
        .rakip-cop {
            position: absolute;
            width: 5rem;
            height: 7.2rem;
            background: rgba(0, 0, 0, 0.5);
            border: 0.2rem solid #333;
            border-radius: 0.6rem;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: inset 0 0 1rem #000;
            z-index: 10;
            cursor: pointer;
        }

        .rakip-cop.yandan-alinabilir {
            border-color: #2ecc71;
            box-shadow: 0 0 1.5rem rgba(46, 204, 113, 0.4);
        }

        #alan-cop-top {
            top: 6rem;
            left: 16rem;
        }

        #alan-cop-right {
            top: 6rem;
            right: 6rem;
        }

        #cop-bottom {
            bottom: 6rem;
            right: 6rem;
        }

        #cop-left {
            bottom: 6rem;
            left: 16rem;
        }

        /* ORTA DESTE ÇEKME VE GÖSTERGE ALANI HİZALAMASI */
        #orta-cekme-alani {
            display: flex;
            gap: 3rem;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.5rem;
            z-index: 50;
        }

        #masa-ortasi {
            position: absolute;
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            height: 28rem;
            display: flex;
            justify-content: space-between;
            padding: 0 4rem;
            box-sizing: border-box;
        }

        #acilan-seriler {
            width: 65%;
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-content: flex-start;
        }

        #acilan-ciftler {
            width: 30%;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            gap: 0.8rem;
            align-content: flex-end;
        }

        .acilan-per {
            display: flex;
            gap: 0.1rem;
            background: transparent;
            padding: 0;
            box-shadow: 0.2rem 0.2rem 1rem rgba(0, 0, 0, 0.5);
            border-radius: 0.4rem;
            transition: 0.2s;
            cursor: pointer;
        }

        .acilan-per.drag-over {
            transform: scale(1.05);
            box-shadow: 0 0 1.5rem #d4af37;
        }

        .acilan-per .tas {
            width: 3.2rem;
            height: 4.8rem;
            border-radius: 0.4rem;
            padding-top: 0.3rem;
            border-width: 0.1rem;
        }

        .acilan-per .tas .deger {
            font-size: 1.6rem;
        }

        .acilan-per .tas .yildiz {
            bottom: 0.2rem;
            font-size: 1rem;
        }

        .acilan-per .tas.sahte .deger {
            font-size: 1.8rem;
        }

        #alt-alan {
            position: absolute;
            bottom: 3rem;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 2rem;
            padding: 0 2rem;
            box-sizing: border-box;
        }

        .sol-panel {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            width: 12rem;
        }

        .bilgi-kutusu {
            background: #111;
            border: 0.1rem solid #333;
            padding: 1rem;
            border-radius: 0.6rem;
            text-align: center;
            box-shadow: inset 0 0 1rem #000;
        }

        .bilgi-kutusu div {
            font-size: 1.1rem;
            color: #888;
            text-transform: uppercase;
            margin-bottom: 0.2rem;
        }

        .bilgi-kutusu span {
            font-size: 1.6rem;
            font-weight: bold;
            color: #d4af37;
        }

        .aksiyon-butonlari {
            display: flex;
            gap: 0.5rem;
            justify-content: space-between;
        }

        .btn-aksiyon {
            background: #1a1a1a;
            border: 0.1rem solid #444;
            color: white;
            padding: 0.8rem 0;
            width: 48%;
            border-radius: 0.4rem;
            font-size: 1.1rem;
            cursor: pointer;
            transition: 0.2s;
        }

        .btn-aksiyon:hover:not(:disabled) {
            border-color: #d4af37;
            color: #d4af37;
        }

        .btn-aksiyon:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .etkilesim-alani {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .etkilesim-baslik {
            font-size: 1.1rem;
            color: #888;
            text-transform: uppercase;
            font-weight: bold;
            text-align: center;
        }

        .oyun-slotu {
            width: 5rem;
            height: 7.2rem;
            background: rgba(0, 0, 0, 0.5);
            border: 0.2rem solid #333;
            border-radius: 0.6rem;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            box-shadow: inset 0 0 1rem #000;
            cursor: pointer;
            z-index: 10;
        }

        .hedef-belirgin {
            animation: pulseRed 1s infinite;
            border-color: #e74c3c !important;
        }

        @keyframes pulseRed {
            0% {
                box-shadow: 0 0 1rem #e74c3c;
            }

            50% {
                box-shadow: 0 0 2.5rem #e74c3c;
            }

            100% {
                box-shadow: 0 0 1rem #e74c3c;
            }
        }

        #btn-yandan-iptal {
            position: absolute;
            top: -3.5rem;
            left: 0;
            width: 100%;
            background: #c0392b;
            color: white;
            border: none;
            font-size: 1.1rem;
            padding: 0.6rem;
            border-radius: 0.3rem;
            cursor: pointer;
            display: none;
            z-index: 50;
            font-weight: bold;
        }

        #benim-istakam {
            background: linear-gradient(to bottom, #2b2b2b 0%, #1a1a1a 100%);
            border: 0.2rem solid #000;
            border-top: 0.4rem solid #444;
            border-radius: 0.8rem;
            padding: 1.2rem;
            box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.9), inset 0 0.5rem 1.5rem rgba(0, 0, 0, 0.8);
            display: grid;
            grid-template-columns: repeat(15, 4.8rem);
            grid-template-rows: repeat(2, 7rem);
            gap: 0.2rem;
            position: relative;
        }

        #benim-istakam::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            height: 0.4rem;
            background: #0a0a0a;
            transform: translateY(-50%);
            pointer-events: none;
            border-bottom: 0.1rem solid #333;
        }

        .istaka-slot {
            width: 4.8rem;
            height: 7rem;
            background-color: transparent;
            border-radius: 0.4rem;
            cursor: pointer;
        }

        .istaka-slot.drag-over {
            background-color: rgba(255, 255, 255, 0.05);
            border: 0.1rem dashed #555;
            box-sizing: border-box;
        }

        .tas {
            width: 4.8rem;
            height: 7rem;
            background: linear-gradient(to bottom, #fdfbf7 0%, #e9e4d0 100%);
            border-radius: 0.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0.1rem 0.2rem 0.4rem rgba(0, 0, 0, 0.7);
            border: 0.1rem solid #c8c0b0;
            border-bottom: 0.3rem solid #b0a590;
            transition: transform 0.1s;
            padding-top: 0.5rem;
            box-sizing: border-box;
            position: relative;

            touch-action: none;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-user-drag: element;
        }

        .tas .deger {
            font-size: 2.6rem;
            line-height: 1;
            pointer-events: none;
        }

        .tas .yildiz {
            position: absolute;
            bottom: 0.4rem;
            font-size: 1.4rem;
            line-height: 1;
            pointer-events: none;
        }

        .tas.dragging {
            opacity: 0.4;
        }

        .gecerli-per {
            box-shadow: 0 0 1.2rem #d4af37, inset 0 0 0.4rem #d4af37 !important;
            border-color: #d4af37 !important;
            transform: translateY(-0.4rem);
        }

        .aktif-secili {
            transform: translateY(-2rem) scale(1.1) !important;
            box-shadow: 0 1.5rem 2.5rem rgba(212, 175, 55, 0.9) !important;
            border-color: #f1c40f !important;
            z-index: 100;
        }

        .kirmizi {
            color: #d32f2f;
        }

        .siyah {
            color: #212121;
        }

        .mavi {
            color: #1976d2;
        }

        .sari {
            color: #f57f17;
        }

        .sahte {
            color: #8e44ad;
        }

        .sahte .deger {
            font-size: 3rem;
            margin-top: 0.5rem;
        }

        .kapali-tas {
            background: linear-gradient(to bottom, #fdfbf7, #e9e4d0) !important;
            border: 0.1rem solid #c8c0b0 !important;
            border-bottom: 0.3rem solid #b0a590 !important;
        }

        .kapali-tas .deger,
        .kapali-tas .yildiz {
            display: none !important;
        }

        #ust-bilgi {
            position: absolute;
            top: 2rem;
            left: 2rem;
            right: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            z-index: 20;
        }

        #durum-cubugu {
            font-size: 1.4rem;
            font-weight: bold;
            color: #d4af37;
            background: rgba(0, 0, 0, 0.6);
            padding: 0.5rem 1.5rem;
            border-radius: 1.5rem;
            border: 0.1rem solid #444;
            height: 2.8rem;
            line-height: 1.8rem;
            box-sizing: border-box;
        }

        .btn-gorsel {
            background-color: #1a1a1a;
            border: 0.1rem solid #444;
            border-radius: 0.4rem;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.4rem;
            gap: 0.3rem;
            cursor: pointer;
            transition: 0.2s;
            width: 48%;
        }

        .btn-gorsel:hover {
            border-color: #d4af37;
            background-color: #222;
        }

        .mini-tas {
            width: 1.8rem;
            height: 2.6rem;
            background: linear-gradient(to bottom, #fdfbf7, #e9e4d0);
            border-radius: 0.3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.4rem;
            border: 0.1rem solid #aaa;
            color: #d32f2f;
            box-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.5);
        }

        #bitis-ekrani {
            display: none;
            z-index: 1000;
        }

        #bitis-mesaji {
            font-size: 3.2rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .yazboz-tablo {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1rem;
            background: #1a1a1a;
            border-radius: 0.8rem;
            overflow: hidden;
        }

        .yazboz-tablo th,
        .yazboz-tablo td {
            padding: 1.2rem 1.5rem;
            text-align: left;
            border-bottom: 0.1rem solid #333;
        }

        .yazboz-tablo th {
            background: #0a0a0a;
            color: #d4af37;
            font-size: 1.3rem;
            text-transform: uppercase;
            letter-spacing: 0.1rem;
        }

        .yazboz-tablo tr:last-child td {
            border-bottom: none;
        }

        .yazboz-tablo td {
            font-size: 1.5rem;
            color: #ecf0f1;
        }

        .yazboz-isim {
            font-weight: bold;
            cursor: pointer;
            text-decoration: none;
        }

        .yazboz-isim:hover {
            color: #d4af37;
        }

        .yazboz-durum {
            font-size: 1.2rem;
            color: #aaa;
            background: #222;
            padding: 0.3rem 0.8rem;
            border-radius: 0.4rem;
        }

        .yazboz-puan {
            font-weight: bold;
            text-align: right !important;
            font-size: 1.8rem;
        }
        #isim-bottom {
            display: none !important;
        }

#ust-bilgi button, #ust-bilgi #durum-cubugu { pointer-events: auto; }

        /* ── CHIP COIN ICON ── */
        .chip-coin {
            display: inline-block;
            width: 1.4rem;
            height: 1.4rem;
            background: radial-gradient(circle at 35% 35%, #f7e77a, #d4af37 60%, #aa8529);
            border-radius: 50%;
            border: 0.15rem solid #aa8529;
            margin-right: 0.4rem;
            vertical-align: middle;
            box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.5), inset 0 0.1rem 0.2rem rgba(255,255,255,0.3);
            flex-shrink: 0;
        }

        /* ── QUEST MODAL ── */
        .quest-row {
            background: rgba(212,175,55,0.05);
            border: 0.1rem solid rgba(212,175,55,0.2);
            border-radius: 1rem;
            padding: 1.2rem 1.5rem;
        }
        .quest-top {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.8rem;
        }
        .quest-icon { font-size: 1.8rem; flex-shrink: 0; }
        .quest-name { flex: 1; font-size: 1.4rem; font-weight: 700; color: #ecf0f1; }
        .quest-prog { font-size: 1.3rem; color: #d4af37; font-weight: bold; }
        .quest-reward { font-size: 1.2rem; color: #d4af37; background: rgba(212,175,55,0.12); border: 0.1rem solid rgba(212,175,55,0.3); padding: 0.2rem 0.8rem; border-radius: 2rem; white-space: nowrap; }
        .quest-bar-bg { width: 100%; height: 0.7rem; background: #1a1a1a; border-radius: 0.4rem; overflow: hidden; border: 0.1rem solid #333; }
        .quest-bar-fill { height: 100%; width: 0%; background: linear-gradient(to right, #d4af37, #f3e5ab); border-radius: 0.4rem; transition: width 0.6s cubic-bezier(0.4,0,0.2,1); }
