* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.hidden {
    display: none;
}

:root {
    --app-zoom-scale: 1;
    --app-compensated-width: 100vw;
    --app-compensated-height: 100vh;
    --auth-screen-bg: url("img/aray%C3%BCz/girisresim.jpg");
    --menu-tab-bg: url("img/aray%C3%BCz/men%C3%BCsekmeler.png");
    --game-frame-color: #e0b149;
    --game-frame-glow: rgba(224, 177, 73, 0.58);
}

#appRoot {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--app-compensated-width);
    height: var(--app-compensated-height);
    overflow: hidden;
    transform-origin: top left;
    transform: scale(var(--app-zoom-scale));
    will-change: transform;
}

#loginScreen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at 12% 42%, rgba(66, 168, 255, 0.22), transparent 24%),
        radial-gradient(circle at 18% 58%, rgba(74, 86, 255, 0.18), transparent 28%),
        linear-gradient(120deg, rgba(2, 6, 20, 0.62) 0%, rgba(5, 10, 28, 0.45) 35%, rgba(8, 6, 24, 0.72) 100%),
        var(--auth-screen-bg) center center / cover no-repeat;
}

#loginScreen::before,
#loginScreen::after {
    content: '';
    position: absolute;
    inset: -20%;
    pointer-events: none;
}

#loginScreen::before {
    background-image:
        radial-gradient(2px 2px at 18% 22%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1px 1px at 70% 35%, rgba(173, 220, 255, 0.85), transparent),
        radial-gradient(1px 1px at 35% 70%, rgba(255, 255, 255, 0.65), transparent),
        radial-gradient(2px 2px at 82% 78%, rgba(147, 236, 255, 0.8), transparent),
        radial-gradient(1px 1px at 58% 58%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 42% 15%, rgba(207, 226, 255, 0.8), transparent);
    animation: driftStars 24s linear infinite;
    opacity: 0.55;
}

#loginScreen::after {
    background: conic-gradient(from 120deg at 50% 50%, rgba(0, 240, 255, 0.04), rgba(132, 66, 255, 0.1), rgba(0, 240, 255, 0.03));
    filter: blur(60px);
    animation: pulseNebula 10s ease-in-out infinite;
    opacity: 0.65;
}

.login-bg-ship {
    position: absolute;
    left: 4%;
    bottom: 18%;
    width: min(22vw, 220px);
    height: min(10vw, 92px);
    pointer-events: none;
    opacity: 0.85;
    background:
        radial-gradient(ellipse at 35% 58%, rgba(80, 225, 255, 0.95) 0 8%, transparent 30%),
        radial-gradient(ellipse at 58% 55%, rgba(70, 200, 255, 0.85) 0 7%, transparent 26%),
        linear-gradient(105deg, transparent 18%, rgba(120, 150, 190, 0.35) 35%, rgba(160, 190, 230, 0.45) 50%, rgba(90, 120, 170, 0.25) 68%, transparent 82%);
    filter: blur(0.2px);
    z-index: 1;
}

.warp-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.025) 0,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 16px
    );
    mix-blend-mode: screen;
    opacity: 0.2;
}

.cockpit-left,
.cockpit-right {
    position: absolute;
    top: -10%;
    width: 34vw;
    height: 120vh;
    pointer-events: none;
    opacity: 0.18;
}

.cockpit-left {
    left: -10vw;
    background: linear-gradient(125deg, rgba(0, 245, 255, 0.2), transparent 62%);
    clip-path: polygon(0 0, 100% 13%, 72% 100%, 0 100%);
}

.cockpit-right {
    right: -10vw;
    background: linear-gradient(235deg, rgba(153, 86, 255, 0.2), transparent 62%);
    clip-path: polygon(0 13%, 100% 0, 100% 100%, 28% 100%);
}

.login-hex-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(90, 180, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 180, 255, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 70% 45%, rgba(0, 0, 0, 0.9), transparent 68%);
    z-index: 1;
}

.loginSidebar {
    position: relative;
    width: min(92vw, 470px);
    padding: 38px 40px 28px;
    border-radius: 28px;
    border: 1.5px solid transparent;
    background:
        linear-gradient(165deg, rgba(8, 16, 38, 0.78), rgba(10, 12, 32, 0.82)) padding-box,
        linear-gradient(145deg, rgba(70, 220, 255, 0.95), rgba(90, 150, 255, 0.55) 42%, rgba(180, 70, 255, 0.9) 100%) border-box;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.55),
        0 0 34px rgba(50, 190, 255, 0.22),
        0 0 48px rgba(160, 70, 255, 0.18),
        inset 0 1px 0 rgba(170, 240, 255, 0.12);
    backdrop-filter: blur(10px);
    z-index: 2;
    overflow: hidden;
}

.loginSidebarGlow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(90, 230, 255, 0.18), transparent 34%),
        radial-gradient(circle at 86% 88%, rgba(190, 70, 255, 0.16), transparent 36%);
    z-index: 0;
}

.loginHero,
.loginCard,
.loginLoading,
.loginFooter {
    position: relative;
    z-index: 1;
}

.loginAuthNotice {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 42%, rgba(72, 214, 255, 0.08), transparent 42%),
        rgba(4, 8, 16, 0.68);
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

.loginAuthNotice.hidden {
    display: none;
}

.loginAuthNoticeInner {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    width: min(92vw, 400px);
    min-height: 72px;
    padding: 14px 14px 14px 16px;
    border: 1px solid rgba(255, 205, 78, 0.62);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(31, 35, 42, 0.96), rgba(8, 13, 22, 0.94)) padding-box,
        repeating-linear-gradient(135deg, rgba(255, 210, 75, 0.2) 0 2px, rgba(55, 65, 80, 0.1) 2px 4px) border-box;
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.48),
        0 0 24px rgba(255, 187, 64, 0.18),
        inset 0 1px 0 rgba(255, 245, 190, 0.16);
    color: #f4f8ff;
    pointer-events: auto;
    overflow: hidden;
    animation: loginNoticeIn 0.18s ease-out;
}

.loginAuthNoticeInner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
        linear-gradient(90deg, rgba(255, 205, 78, 0.12), transparent 42%, rgba(72, 214, 255, 0.09));
    pointer-events: none;
}

.loginAuthNotice.is-success .loginAuthNoticeInner {
    border-color: rgba(104, 232, 255, 0.62);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.48),
        0 0 24px rgba(56, 209, 255, 0.2),
        inset 0 1px 0 rgba(190, 245, 255, 0.16);
}

.loginAuthNoticeSignal {
    position: relative;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 214, 90, 0.85);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 214, 90, 0.95) 0 25%, rgba(255, 120, 66, 0.42) 28% 52%, rgba(10, 14, 22, 0.7) 55% 100%);
    box-shadow: 0 0 14px rgba(255, 190, 70, 0.42);
}

.loginAuthNoticeSignal::before,
.loginAuthNoticeSignal::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 3px;
    border-radius: 999px;
    background: #121820;
    transform: translateX(-50%);
}

.loginAuthNoticeSignal::before {
    top: 7px;
    height: 11px;
}

.loginAuthNoticeSignal::after {
    bottom: 6px;
    height: 3px;
}

.loginAuthNotice.is-success .loginAuthNoticeSignal {
    border-color: rgba(120, 236, 255, 0.9);
    background: radial-gradient(circle, rgba(120, 236, 255, 0.95) 0 25%, rgba(54, 149, 255, 0.48) 28% 52%, rgba(10, 14, 22, 0.7) 55% 100%);
    box-shadow: 0 0 14px rgba(70, 210, 255, 0.42);
}

.loginAuthNotice.is-success .loginAuthNoticeSignal::before {
    top: 8px;
    left: 15px;
    width: 4px;
    height: 12px;
    border: solid #121820;
    border-width: 0 3px 3px 0;
    background: transparent;
    border-radius: 0;
    transform: translateX(-50%) rotate(45deg);
}

.loginAuthNotice.is-success .loginAuthNoticeSignal::after {
    display: none;
}

.loginAuthNoticeCopy {
    position: relative;
    display: grid;
    gap: 2px;
    min-width: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.88);
}

.loginAuthNoticeTitle {
    color: #ffd64a;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.loginAuthNotice.is-success .loginAuthNoticeTitle {
    color: #7fe9ff;
}

.loginAuthNoticeText {
    color: rgba(240, 246, 255, 0.94);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.loginAuthNoticeClose {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 214, 90, 0.25);
    border-radius: 4px;
    background: rgba(6, 10, 18, 0.42);
    color: rgba(236, 245, 255, 0.9);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.loginAuthNoticeClose:hover {
    border-color: rgba(255, 214, 90, 0.7);
    color: #ffffff;
}

@keyframes loginNoticeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loginHero {
    text-align: center;
    margin-bottom: 26px;
}

.loginHero .title {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: clamp(34px, 5.4vw, 46px);
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    line-height: 1.05;
}

.title-titan {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(180, 230, 255, 0.35);
}

.title-orbit {
    background: linear-gradient(180deg, #dff9ff 0%, #54d7ff 55%, #2f8dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(70, 210, 255, 0.35));
}

.loginHero p {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.4px;
    color: rgba(120, 205, 255, 0.92);
}

.loginHeroMark {
    width: 34px;
    height: 34px;
    margin: 16px auto 0;
    border-radius: 50%;
    border: 1px solid rgba(110, 210, 255, 0.55);
    display: grid;
    place-items: center;
    box-shadow: 0 0 16px rgba(70, 200, 255, 0.25);
    background: rgba(8, 20, 42, 0.65);
}

.loginHeroMark span {
    width: 12px;
    height: 12px;
    position: relative;
}

.loginHeroMark span::before,
.loginHeroMark span::after {
    content: '';
    position: absolute;
    background: linear-gradient(180deg, #8ceeff, #4ea8ff);
    border-radius: 2px;
}

.loginHeroMark span::before {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.loginHeroMark span::after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.loginCard {
    display: grid;
    gap: 14px;
}

.loginField {
    position: relative;
    display: block;
}

.loginFieldIcon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    color: #5ecfff;
    pointer-events: none;
    z-index: 2;
}

.loginFieldIcon svg,
.loginEyeBtn svg,
.loginActionBtn svg,
.loginFooterItem svg {
    width: 100%;
    height: 100%;
    display: block;
}

.loginCard input {
    width: 100%;
    height: 52px;
    padding: 0 46px 0 44px;
    border-radius: 14px;
    border: 1px solid rgba(100, 170, 255, 0.28);
    background: rgba(4, 12, 28, 0.72);
    color: #f4f9ff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.loginCard input::placeholder {
    color: rgba(170, 195, 230, 0.55);
    font-weight: 500;
}

.loginCard input:focus {
    border-color: rgba(100, 230, 255, 0.75);
    box-shadow: 0 0 0 2px rgba(60, 180, 255, 0.18);
    background: rgba(6, 16, 36, 0.86);
}

.loginEyeBtn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: rgba(120, 210, 255, 0.9);
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 6px;
}

.loginEyeBtn:hover {
    color: #dff8ff;
    background: rgba(70, 160, 255, 0.12);
}

.loginActionBtn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    position: relative;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: #ffffff;
    transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.loginActionBtn span {
    flex: 1;
    text-align: center;
    padding-left: 22px;
}

.loginActionBtn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    opacity: 0.95;
}

.loginActionBtn--cyan {
    background: linear-gradient(90deg, #35e8ff 0%, #2f9bff 52%, #1f6dff 100%);
    box-shadow: 0 8px 24px rgba(35, 160, 255, 0.35);
}

.loginActionBtn--magenta {
    background: linear-gradient(90deg, #6a4bff 0%, #9b3bff 48%, #d23bff 100%);
    box-shadow: 0 8px 24px rgba(150, 60, 255, 0.32);
}

.loginActionBtn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.loginActionBtn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.loginLoading {
    margin-top: 22px;
    color: rgba(170, 185, 230, 0.72);
    font-size: 11px;
    letter-spacing: 1.8px;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
}

.loginLoadingMeta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.loginLoadingPercent {
    color: rgba(200, 140, 255, 0.9);
    letter-spacing: 0.8px;
}

.loadingTrack {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(70, 90, 140, 0.35);
    overflow: hidden;
}

.loadingFill {
    width: 73%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3ad8ff, #7b66ff 55%, #c05bff);
    box-shadow: 0 0 12px rgba(100, 180, 255, 0.45);
    animation: loadingPulse 2.4s ease-in-out infinite;
}

.loginFooter {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.loginFooterItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    color: rgba(130, 205, 255, 0.82);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.7px;
    line-height: 1.25;
}

.loginFooterItem svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

@keyframes driftStars {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-2%, 2%, 0) scale(1.02); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes pulseNebula {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50% { transform: scale(1.06); opacity: 0.82; }
}

@keyframes loadingPulse {
    0%, 100% { filter: brightness(0.95); }
    50% { filter: brightness(1.15); }
}

@media (max-width: 640px) {
    .loginSidebar {
        width: min(94vw, 430px);
        padding: 28px 22px 20px;
        border-radius: 22px;
    }

    .loginHero .title {
        letter-spacing: 1px;
    }

    .loginHero p {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .loginCard input,
    .loginActionBtn {
        height: 48px;
    }

    .loginFooter {
        gap: 6px;
    }

    .loginFooterItem {
        font-size: 8px;
        letter-spacing: 0.4px;
    }

    .loginAuthNotice {
        padding: 16px;
    }

    .loginAuthNoticeInner {
        width: min(94vw, 360px);
        grid-template-columns: 28px minmax(0, 1fr) 26px;
        gap: 9px;
        min-height: 62px;
        padding: 12px;
    }

    .loginAuthNoticeSignal {
        width: 26px;
        height: 26px;
    }

    .loginAuthNoticeText {
        font-size: 13px;
    }

    .login-bg-ship {
        opacity: 0.55;
        left: 2%;
        bottom: 12%;
    }
}

#loginScreen.is-register-mode .loginSidebar {
    display: none;
}

#loginScreen.is-register-mode .login-bg-ship {
    opacity: 0.35;
}

.registerPanel {
    position: relative;
    z-index: 3;
    width: min(96vw, 1080px);
    min-height: min(86vh, 680px);
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) minmax(320px, 1.15fr);
    gap: 22px;
    align-items: stretch;
}

.registerPanel.hidden {
    display: none !important;
}

.registerBrand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 8px 8px 8px 4px;
}

.registerBackBtn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: rgba(150, 210, 255, 0.9);
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 6px 2px;
}

.registerBackBtn svg {
    width: 16px;
    height: 16px;
}

.registerBackBtn:hover {
    color: #e8f8ff;
}

.registerBrandHero .title {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.registerBrandHero p {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(120, 205, 255, 0.92);
}

.registerBrandVisual {
    flex: 1;
    min-height: 180px;
    border-radius: 18px;
    border: 1px solid rgba(90, 180, 255, 0.18);
    background:
        radial-gradient(circle at 35% 45%, rgba(70, 170, 255, 0.25), transparent 42%),
        linear-gradient(160deg, rgba(8, 16, 36, 0.35), rgba(10, 12, 30, 0.55)),
        var(--auth-screen-bg) left center / cover no-repeat;
    box-shadow: inset 0 0 40px rgba(20, 60, 120, 0.25);
}

.registerWhyCard {
    border-radius: 16px;
    border: 1px solid rgba(90, 170, 255, 0.22);
    background: linear-gradient(165deg, rgba(8, 18, 40, 0.78), rgba(10, 12, 32, 0.82));
    padding: 16px 16px 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.registerWhyCard h3 {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 12px;
    letter-spacing: 1.4px;
    color: rgba(190, 230, 255, 0.95);
    margin-bottom: 12px;
}

.registerWhyCard ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.registerWhyCard li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(170, 210, 245, 0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
}

.registerWhyIcon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #6fd8ff;
    background: rgba(40, 110, 200, 0.18);
    border: 1px solid rgba(90, 180, 255, 0.25);
    flex: 0 0 auto;
}

.registerWhyIcon svg {
    width: 16px;
    height: 16px;
}

.registerFormCard {
    position: relative;
    border-radius: 28px;
    border: 1.5px solid transparent;
    background:
        linear-gradient(165deg, rgba(8, 16, 38, 0.86), rgba(10, 12, 32, 0.9)) padding-box,
        linear-gradient(145deg, rgba(70, 220, 255, 0.95), rgba(90, 150, 255, 0.55) 42%, rgba(180, 70, 255, 0.9) 100%) border-box;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.55),
        0 0 34px rgba(50, 190, 255, 0.2),
        0 0 48px rgba(160, 70, 255, 0.16);
    backdrop-filter: blur(10px);
    padding: 28px 30px 22px;
    overflow: hidden;
}

.registerFormHeader {
    text-align: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.registerFormHeader h2 {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}

.registerTitleMain {
    color: #ffffff;
}

.registerTitleAccent {
    background: linear-gradient(90deg, #7c6bff, #c04dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.registerFormSubline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.registerFormSubline span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 180, 255, 0.55), transparent);
}

.registerFormSubline p {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 10px;
    letter-spacing: 1.8px;
    color: rgba(150, 195, 235, 0.85);
    white-space: nowrap;
}

.registerForm {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
}

.registerLabel {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(170, 205, 240, 0.82);
}

.registerField input {
    width: 100%;
    height: 52px;
    box-sizing: border-box;
    padding: 0 46px 0 44px;
    border-radius: 14px;
    border: 1px solid rgba(100, 170, 255, 0.28);
    background: rgba(4, 12, 28, 0.72);
    color: #f4f9ff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.registerField input::placeholder {
    color: rgba(170, 195, 230, 0.55);
    font-weight: 500;
}

.registerField input:focus {
    border-color: rgba(100, 230, 255, 0.75);
    box-shadow: 0 0 0 2px rgba(60, 180, 255, 0.18);
    background: rgba(6, 16, 36, 0.86);
}

.registerValidIcon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #34d399;
    pointer-events: none;
}

.registerStrength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 4px;
}

.registerStrengthBars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    flex: 1;
}

.registerStrengthBars span {
    height: 5px;
    border-radius: 999px;
    background: rgba(80, 100, 150, 0.35);
}

.registerStrengthBars span.is-active:nth-child(1) { background: #4f8cff; }
.registerStrengthBars span.is-active:nth-child(2) { background: #6d6bff; }
.registerStrengthBars span.is-active:nth-child(3) { background: #a04dff; }
.registerStrengthBars span.is-active:nth-child(4) { background: #d23bff; }

.registerStrengthText {
    min-width: 52px;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: rgba(170, 190, 220, 0.8);
}

.registerStrengthText.is-weak { color: #f87171; }
.registerStrengthText.is-fair { color: #fbbf24; }
.registerStrengthText.is-good { color: #60a5fa; }
.registerStrengthText.is-strong { color: #34d399; }

.registerTerms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 4px;
    color: rgba(185, 205, 235, 0.86);
    font-size: 13px;
    line-height: 1.35;
    cursor: pointer;
}

.registerTerms input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #5ecfff;
    flex: 0 0 auto;
}

.registerTerms a {
    color: #6fd8ff;
    text-decoration: none;
}

.registerTerms a:hover {
    text-decoration: underline;
}

.registerSubmitBtn {
    margin-top: 6px;
    background: linear-gradient(90deg, #35e8ff 0%, #4f7dff 48%, #b13dff 100%);
    box-shadow: 0 8px 24px rgba(90, 110, 255, 0.35);
}

.registerSocialDivider {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.registerSocialDivider span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 180, 255, 0.45), transparent);
}

.registerSocialDivider p {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 10px;
    letter-spacing: 1.4px;
    color: rgba(150, 190, 230, 0.8);
    white-space: nowrap;
}

.registerSocialButtons {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.registerSocialBtn {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(110, 170, 255, 0.25);
    background: rgba(6, 14, 32, 0.75);
    color: #e8f4ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.registerSocialBtn svg {
    width: 18px;
    height: 18px;
}

.registerSocialBtn:hover {
    transform: translateY(-1px);
    border-color: rgba(120, 210, 255, 0.55);
    background: rgba(10, 22, 48, 0.9);
}

.registerSwitchText {
    margin-top: 16px;
    text-align: center;
    color: rgba(175, 200, 230, 0.82);
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.registerSwitchText button {
    border: none;
    background: transparent;
    color: #6fd8ff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0 2px;
}

.registerSwitchText button:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .registerPanel {
        grid-template-columns: 1fr;
        width: min(96vw, 520px);
        min-height: auto;
        gap: 14px;
        max-height: 92vh;
        overflow: auto;
        padding-bottom: 8px;
    }

    .registerBrandVisual {
        min-height: 120px;
    }

    .registerWhyCard {
        display: none;
    }

    .registerFormCard {
        padding: 22px 18px 18px;
        border-radius: 22px;
    }

    .registerSocialButtons {
        grid-template-columns: 1fr;
    }
}

#gameContainer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: fixed;
    inset: 0;
    touch-action: none; /* Mobilde scroll'u engelle */
    -webkit-touch-callout: none; /* iOS'ta long press menÃ¼sÃ¼nÃ¼ engelle */
    -webkit-user-select: none; /* iOS'ta text selection'Ä± engelle */
    -webkit-tap-highlight-color: transparent; /* iOS'ta tap highlight'Ä± kaldÄ±r */
    box-sizing: border-box;
    /* iOS safe area desteÄŸi (iPhone X ve sonrasÄ±) */
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.game-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    /* iOS'ta momentum scrolling'i engelle */
    -webkit-overflow-scrolling: none;
    /* iOS safe area desteÄŸi - padding yerine margin kullan (canvas tam ekran olmalÄ±) */
    margin-top: env(safe-area-inset-top);
    margin-right: env(safe-area-inset-right);
    margin-bottom: env(safe-area-inset-bottom);
    margin-left: env(safe-area-inset-left);
}

#gameCanvas {
    display: block;
    background: #000;
    border: 2px solid var(--game-frame-color);
    box-shadow: 0 0 20px var(--game-frame-glow);
    cursor: default;
    touch-action: none; /* Mobilde dokunma davranÄ±ÅŸÄ±nÄ± kontrol et */
    -webkit-touch-callout: none; /* iOS'ta long press menÃ¼sÃ¼nÃ¼ engelle */
    -webkit-user-select: none; /* iOS'ta text selection'Ä± engelle */
    -webkit-tap-highlight-color: transparent; /* iOS'ta tap highlight'Ä± kaldÄ±r */
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    /* iOS'ta canvas'Ä±n tam ekran olmasÄ± iÃ§in */
    object-fit: fill;
}

.top-right-ad-image {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 56;
    display: block;
    width: 151px;
    height: 54px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Mobilde border'Ä± kaldÄ±r veya kÃ¼Ã§Ã¼lt */
@media (max-width: 768px) {
    #gameCanvas {
        border: none;
        box-shadow: none;
        width: 100% !important;
        height: 100% !important;
    }
    
    .game-container {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    html, body, #appRoot {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

.minimap-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 220px;
    height: 110px;
    z-index: 10;
    transition: width 0.3s ease, height 0.3s ease;
    pointer-events: auto;
}

.minimap-info {
    position: absolute;
    top: -28px;
    left: 7px;
    z-index: 12;
    font-size: 12px;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.minimap-info .minimap-controls {
    pointer-events: auto;
}

#minimapMapName {
    margin-right: 2px;
    font-weight: bold;
    color: #ffffff;
}

#minimapCoords {
    color: #ffffff;
    opacity: 0.9;
}

#minimapCanvas {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2a 50%, #0a1a2a 100%);
    border: 2px solid var(--game-frame-color);
    border-radius: 5px;
    box-shadow: 0 0 15px var(--game-frame-glow), inset 0 0 20px rgba(110, 68, 22, 0.22);
    cursor: pointer;
    touch-action: none;
    display: block;
}

.minimap-controls {
    display: flex;
    flex-direction: row;
    gap: 4px;
    z-index: 11;
}

.minimap-btn {
    width: 21px;
    height: 21px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--game-frame-color);
    border-radius: 4px;
    color: var(--game-frame-color);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 0 8px rgba(224, 177, 73, 0.42);
    touch-action: manipulation;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    line-height: 1;
    pointer-events: auto;
}

.minimap-btn:hover {
    background: rgba(224, 177, 73, 0.2);
    box-shadow: 0 0 12px rgba(224, 177, 73, 0.62);
    transform: scale(1.1);
}

.minimap-btn:active {
    transform: scale(0.95);
}

/* Mobil iÃ§in mini harita boyutu */
@media (max-width: 768px) {
    .minimap-container {
        width: 165px;
        height: 82.5px;
        bottom: 10px;
        right: 10px;
    }

    .minimap-info {
        top: -24px;
        left: 5px;
        font-size: 11px;
    }
    
    .minimap-btn {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }
}

/* Sol Ã¼st butonlar */
.top-left-buttons {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 4px;
    z-index: 15;
}

/* KazanÄ±lan puan bildirimi (ekran Ã¼stÃ¼ ortada) */
.reward-notification {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    z-index: 100;
    pointer-events: none;
}
.reward-notification.hidden {
    display: none;
}

.chat-window {
    position: absolute;
    top: 88px;
    left: 16px;
    width: 426px;
    height: 240px;
    padding: 0;
    background:
        linear-gradient(rgba(52, 52, 52, 0.84), rgba(52, 52, 52, 0.84)),
        url("img/chat/miniharita/1.jpg") center center / cover no-repeat;
    border: none;
    border-radius: 0;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.52);
    z-index: 16;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    color: #f5f5f5;
    overflow: hidden;
    image-rendering: auto;
}

.chat-window::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        url("img/chat/miniharita/1.png") 4px 1px / 34px 39px no-repeat,
        url("img/chat/miniharita/30.png") right top / 79px 36px no-repeat,
        url("img/chat/miniharita/31.png") 116px 0 / 105px 36px repeat-x,
        url("img/chat/miniharita/32.png") right bottom / 40px 36px no-repeat,
        url("img/chat/miniharita/28.png") right 35px / 79px 70px repeat-y,
        url("img/chat/miniharita/33.png") left 36px / 40px 70px repeat-y,
        url("img/chat/miniharita/35.png") left bottom / 40px 22px no-repeat,
        url("img/chat/miniharita/34.png") 40px bottom / 105px 22px repeat-x,
        url("img/chat/miniharita/63.png") right bottom / 79px 22px no-repeat;
}

.chat-window::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 20px;
    top: 38px;
    bottom: 15px;
    z-index: 0;
    border: 1px solid rgba(210, 210, 210, 0.28);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, rgba(0, 0, 0, 0.03) 1px 4px),
        rgba(42, 42, 42, 0.42);
    pointer-events: none;
}

.chat-window.hidden {
    display: none;
}

.chat-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    padding: 5px 24px 0 38px;
    background: transparent;
    border-bottom: none;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    cursor: move;
}

.chat-title {
    color: #ffffff;
    font-weight: 800;
    line-height: 18px;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 0 5px rgba(255, 255, 255, 0.28);
}

.chat-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
    padding: 0 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.chat-tabs {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 18px;
    gap: 4px;
    height: 18px;
    margin: 0 24px 0 26px;
    padding: 0;
    background: transparent;
    border-bottom: none;
}

.chat-tabs::after {
    content: "›";
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230, 230, 230, 0.36);
    background: linear-gradient(180deg, rgba(115, 115, 115, 0.75), rgba(72, 72, 72, 0.75));
    color: #f6f6f6;
    font-size: 13px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.chat-tab {
    min-width: 0;
    height: 18px;
    background: linear-gradient(180deg, rgba(170, 170, 170, 0.72), rgba(85, 85, 85, 0.82));
    border: 1px solid rgba(238, 238, 238, 0.34);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    padding: 0 6px;
    cursor: pointer;
    border-radius: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-tab.active {
    background: linear-gradient(180deg, rgba(205, 205, 205, 0.84), rgba(108, 108, 108, 0.88));
    color: #ffffff;
}

.chat-messages {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    margin: 5px 24px 0 28px;
    padding: 0 8px 0 0;
    overflow-y: auto;
    font-size: 12px;
    line-height: 14px;
    scrollbar-color: #f5f5f5 transparent;
    scrollbar-width: thin;
}

.chat-messages::-webkit-scrollbar {
    width: 10px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.28);
}

.chat-message {
    margin-bottom: 2px;
    line-height: 14px;
    min-height: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
}

.chat-username {
    color: #ffe800;
    font-weight: 800;
    margin-right: 4px;
}

.chat-text {
    color: #ffffff;
    font-weight: 700;
}

.chat-message.system .chat-username {
    color: #fff200;
}

.chat-message.system .chat-text {
    color: #ffffff;
}

.chat-input-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 4px;
    height: 21px;
    margin: 4px 25px 12px 34px;
    padding: 0;
    border-top: none;
    background: transparent;
}

.chat-input-row input {
    flex: 1;
    height: 19px;
    background: #f4f4f4;
    border: 1px solid rgba(0, 0, 0, 0.42);
    color: #101010;
    padding: 2px 5px;
    font-size: 12px;
    border-radius: 0;
    outline: none;
    user-select: text;
    -webkit-user-select: text;
}

.chat-input-row button {
    height: 19px;
    background: linear-gradient(180deg, rgba(178, 178, 178, 0.9), rgba(80, 80, 80, 0.92));
    border: 1px solid rgba(230, 230, 230, 0.45);
    color: #ffffff;
    padding: 0;
    font-size: 14px;
    line-height: 17px;
    border-radius: 0;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.chat-input-row button:hover {
    background: linear-gradient(180deg, rgba(208, 208, 208, 0.96), rgba(104, 104, 104, 0.96));
}

@media (max-width: 768px) {
    .chat-window {
        width: 340px;
        height: 205px;
        top: 80px;
        left: 10px;
    }
}

.info-button {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #00aaff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    position: relative;
    box-shadow: none;
    padding: 0;
    box-sizing: border-box;
}

.info-button:hover {
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.info-button:active {
    transform: translateY(0);
}

.info-button.active {
    border: none;
}

/* SeÃ§ili buton: sarÄ±msÄ± altÄ±gen Ã§erÃ§eve, 6 Ã§izgi, biraz ufak */
.info-button.active img.button-icon {
    box-shadow: none;
    border-radius: 0;
}
.info-button.active::after {
    content: '';
    position: absolute;
    inset: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='50,5 95,27.5 95,72.5 50,95 5,72.5 5,27.5' fill='none' stroke='rgba(230,190,80,0.95)' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    pointer-events: none;
}

.info-button svg {
    width: 24px;
    height: 24px;
    stroke: #00aaff;
    position: relative;
    z-index: 1;
}

.info-button img.button-icon {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    display: block;
}

/* KÃ¶ÅŸe iÅŸaretleri - gizlendi */
.corner-marker {
    display: none;
}

/* Ä°statistikler ve HP/Shield Panelleri */
.info-panel {
    position: absolute;
    top: 80px;
    left: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00aaff;
    border-radius: 10px;
    padding: 15px;
    min-width: 250px;
    z-index: 20;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
    pointer-events: none; /* Fareyi canvas'a geÃ§ir */
}

.info-panel.hidden {
    display: none;
}

/* KazanÄ±mlar paneli (5. buton) - son 30 satÄ±r */
.rewards-panel {
    position: absolute;
    top: 80px;
    left: 20px;
    background: rgba(0, 0, 0, 0.92);
    border: 2px solid rgba(230, 190, 80, 0.7);
    border-radius: 10px;
    padding: 10px;
    min-width: 260px;
    max-width: 320px;
    max-height: 380px;
    z-index: 20;
    box-shadow: 0 0 20px rgba(230, 190, 80, 0.25);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}
.rewards-panel.hidden {
    display: none;
}
.rewards-panel-header {
    color: rgba(230, 190, 80, 0.95);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(230, 190, 80, 0.3);
}
.rewards-log-list {
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 12px;
    color: #e0e0e0;
    line-height: 1.4;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    flex: 1;
    min-height: 0;
}
.rewards-log-entry {
    padding: 6px 8px;
    margin-bottom: 4px;
    background: rgba(230, 190, 80, 0.08);
    border-radius: 4px;
    border-left: 3px solid rgba(230, 190, 80, 0.5);
}
.rewards-log-line {
    margin: 1px 0;
}
.rewards-log-time {
    display: block;
    font-size: 10px;
    color: rgba(200, 180, 120, 0.8);
    margin-top: 4px;
}

.info-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 170, 255, 0.3);
    pointer-events: auto; /* SÃ¼rÃ¼klenebilir olmalÄ± */
}

.info-panel-header h3 {
    color: #00aaff;
    font-size: 16px;
    margin: 0;
}

.close-panel {
    background: transparent;
    border: none;
    color: #00aaff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    pointer-events: auto; /* TÄ±klanabilir olmalÄ± */
}

.close-panel:hover {
    background: rgba(0, 170, 255, 0.2);
    transform: rotate(90deg);
}

.info-panel-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: rgba(0, 170, 255, 0.1);
    border-radius: 5px;
}

.stat-row .stat-label {
    color: #00aaff;
    font-weight: bold;
}

.stat-row span:not(.stat-label) {
    color: #fff;
}

/* Mobil iÃ§in butonlar */
@media (max-width: 768px) {
    .top-left-buttons {
        top: 10px;
        left: 10px;
        gap: 4px;
    }
    
    .info-button {
        height: 25px;
    }
    
    .info-button svg {
        width: 18px;
        height: 18px;
    }
    
    .info-button img.button-icon {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
    }
    
    .info-panel {
        top: 60px;
        left: 10px;
        min-width: 200px;
        padding: 12px;
    }
    
    .info-panel-header h3 {
        font-size: 14px;
    }
}

.ui-container {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    z-index: 10;
    pointer-events: none; /* Fareyi canvas'a geÃ§ir */
}

/* Mobil iÃ§in UI dÃ¼zeni */
@media (max-width: 768px) {
    .ui-container {
        top: 10px;
        left: 10px;
        gap: 8px;
        flex-wrap: wrap;
    }
}

.ui-panel {
    background: rgba(0, 0, 0, 0.7);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #00ffff;
    min-width: 200px;
    max-width: 260px;
    box-sizing: border-box;
    overflow: hidden;
    position: absolute;
    top: 80px;
    left: 20px;
    cursor: move;
    user-select: none;
    z-index: 20;
    pointer-events: none; /* Fareyi canvas'a geÃ§ir */
}

/* KayÄ±t defteri panelinde dokunma/joystick ile scroll Ã§alÄ±ÅŸsÄ±n diye */
.ui-panel.rewards-panel {
    pointer-events: auto;
}

.ui-panel.hidden {
    display: none;
}

/* Stats Panel - KullanÄ±cÄ± Profil Paneli (kullanÄ±cÄ±.PNG) */
.stats-panel {
    background: url('img/butons/kullan%C4%B1c%C4%B1.png') no-repeat center;
    background-size: contain;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 225px;
    height: 129px;
    min-width: 225px;
    max-width: 225px;
}

.stats-panel .stats {
    padding: 12px;
    padding-left: calc(12px + 3%);
    padding-top: calc(12px + 3%);
    box-sizing: border-box;
    transform: translateX(3%) translateY(11%);
}

/* SÃ¼rÃ¼kleme iÃ§in baÅŸlÄ±k alanÄ± */
.ui-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    cursor: move;
    z-index: 1;
    pointer-events: auto; /* SÃ¼rÃ¼klenebilir olmalÄ± */
}

/* Mobil iÃ§in UI panel boyutu */
@media (max-width: 768px) {
    .ui-panel {
        min-width: 130px;
        max-width: 160px;
        padding: 6px;
        font-size: 11px;
        border-radius: 6px;
    }
    
    .stats-panel .stats {
        padding: 6px;
    }
    
    .stats {
        gap: 3px;
    }
    
    .stat-item {
        font-size: 10px;
        gap: 4px;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .health-label,
    .shield-label {
        font-size: 9px;
        min-width: 35px;
    }
    
    .health-label img.health-icon,
    .shield-label img.shield-icon {
        max-height: 18px;
    }
    
    .health-bar,
    .shield-bar {
        min-width: 70px;
        height: 9px;
    }
    
    #health-text {
        font-size: 9px;
        min-width: 40px;
    }
    
    #shield-text {
        font-size: 9px;
        min-width: 40px;
        color: #0066cc;
    }
    
    .health-bar-container,
    .shield-bar-container {
        margin-top: 6px;
        gap: 6px;
    }
    
    .bars-panel {
        min-width: 140px;
        padding: 6px 8px 6px 6px;
    }
}

/* Yatay mod (landscape) iÃ§in UI kÃ¼Ã§Ã¼ltme - daha agresif */
@media (max-width: 768px) and (orientation: landscape),
       (max-height: 500px) and (orientation: landscape) {
    html, body, #appRoot {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    .game-container {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    #gameCanvas {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .ui-container {
        top: 5px !important;
        left: 10px !important; /* Sol taraftaki boÅŸluÄŸu kullan */
        gap: 5px !important;
        flex-direction: row !important; /* Yan yana */
        align-items: flex-start !important;
        max-width: calc(100% - 20px) !important;
    }
    
    .ui-panel {
        min-width: 100px !important;
        max-width: 130px !important;
        width: auto !important;
        padding: 4px 5px !important;
        font-size: 9px !important;
        border-radius: 5px !important;
        flex-shrink: 0 !important; /* DaralmayÄ± engelle */
        flex-grow: 0 !important;
    }
    
    .stats {
        gap: 2px !important;
    }
    
    .stat-item {
        font-size: 8px !important;
        gap: 3px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }
    
    .stat-label {
        font-size: 8px !important;
    }
    
    .health-label,
    .shield-label {
        font-size: 8px !important;
        min-width: 25px !important;
    }
    
    .health-label img.health-icon,
    .shield-label img.shield-icon {
        max-height: 16px !important;
    }
    
    .health-bar,
    .shield-bar {
        min-width: 50px !important;
        height: 9px !important;
    }
    
    #health-text {
        font-size: 8px !important;
        min-width: 32px !important;
    }
    
    #shield-text {
        font-size: 8px !important;
        min-width: 32px !important;
        color: #0066cc !important;
    }
    
    .health-bar-container,
    .shield-bar-container {
        margin-top: 4px !important;
        gap: 4px !important;
    }
    
    /* Stats panel (TecrÃ¼be, Uridium, Seviye) - yan yana */
    .stats-panel {
        min-width: 100px !important;
        max-width: 130px !important;
        flex-shrink: 0 !important;
    }
    
    .stats-panel .stats {
        padding: 4px !important;
    }
    
    /* Bars panel (HP, Shield) - yan yana */
    .bars-panel {
        min-width: 100px !important;
        max-width: 130px !important;
        padding: 4px 6px 4px 4px !important;
        flex-shrink: 0 !important;
    }
    
    .minimap-container {
        width: 110px !important;
        height: 55px !important;
        bottom: 5px !important;
        right: 5px !important;
    }

    .minimap-info {
        top: -22px !important;
        left: 4px !important;
        font-size: 9px !important;
    }
    
    .minimap-btn {
        width: 14px !important;
        height: 14px !important;
        font-size: 10px !important;
        border-width: 1px !important;
        padding: 0 !important;
    }
    
    .minimap-controls {
        gap: 2px !important;
    }
    
    /* Joystick pozisyonu - iOS safe area desteÄŸi */
    .joystick {
        bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        left: calc(10px + env(safe-area-inset-left)) !important;
    }
    
    /* Ana menÃ¼ butonu */
    .main-menu-button {
        bottom: 10px !important;
        right: calc(10px + env(safe-area-inset-right)) !important;
        left: auto !important;
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

    .ammo-bar-wrapper {
        bottom: calc(10px + 5vh - 7vh) !important;
        transform: translate(-50%, -5vh) !important;
    }

    .ammo-column {
        padding: 3px !important;
        gap: 3px !important;
    }

    .ammo-quick-row {
        gap: 6px !important;
    }

    .ammo-quick-tab {
        width: 22px !important;
        min-width: 22px !important;
        height: 26px !important;
    }

    .ammo-quick-slots {
        padding: 3px !important;
        gap: 3px !important;
    }

    .ammo-quick-slot {
        width: 35px !important;
        min-width: 35px !important;
        height: 42px !important;
        padding: 0 !important;
        font-size: 7px !important;
    }

    .ammo-slot {
        width: 44px !important;
        height: 52px !important;
        padding: 4px 3px !important;
        font-size: 8px !important;
    }
    
    .ammo-slot-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    
    .ammo-slot-name {
        font-size: 8px !important;
    }
    
    .ammo-slot-count,
    .ammo-slot-value,
    .ammo-slot-number {
        font-size: 6px !important;
    }
}

/* Yatay mod iÃ§in ekstra kÃ¼Ã§Ã¼k ekranlar */
@media (max-height: 400px) and (orientation: landscape) {
    .ui-container {
        top: 3px !important;
        left: 8px !important; /* Sol taraftaki boÅŸluÄŸu kullan */
        gap: 4px !important;
        flex-direction: row !important; /* Yan yana */
        align-items: flex-start !important;
    }
    
    .ui-panel {
        min-width: 85px !important;
        max-width: 105px !important;
        padding: 3px 4px !important;
        font-size: 8px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .stat-item {
        font-size: 7px !important;
        gap: 2px !important;
        line-height: 1.2 !important;
    }
    
    .stat-label {
        font-size: 7px !important;
    }
    
    .health-label,
    .shield-label {
        font-size: 7px !important;
        min-width: 22px !important;
    }
    
    .health-label img.health-icon,
    .shield-label img.shield-icon {
        max-height: 14px !important;
    }
    
    .health-bar,
    .shield-bar {
        min-width: 45px !important;
        height: 8px !important;
    }
    
    #health-text {
        font-size: 7px !important;
        min-width: 28px !important;
    }
    
    #shield-text {
        font-size: 7px !important;
        min-width: 28px !important;
        color: #0066cc !important;
    }
    
    /* Stats panel - yan yana */
    .stats-panel {
        min-width: 85px !important;
        max-width: 105px !important;
        flex-shrink: 0 !important;
    }
    
    .stats-panel .stats {
        padding: 3px !important;
    }
    
    /* Bars panel - yan yana */
    .bars-panel {
        min-width: 85px !important;
        max-width: 105px !important;
        padding: 3px 5px 3px 3px !important;
        flex-shrink: 0 !important;
    }
    
    .minimap-container {
        width: 99px !important;
        height: 50px !important;
        bottom: 3px !important;
        right: 3px !important;
    }

    .minimap-info {
        top: -20px !important;
        left: 3px !important;
        font-size: 8px !important;
    }
    
    .minimap-btn {
        width: 12px !important;
        height: 12px !important;
        font-size: 9px !important;
        border-width: 1px !important;
        padding: 0 !important;
    }
    
    .minimap-controls {
        gap: 2px !important;
    }
    
    /* Joystick pozisyonu - iOS safe area desteÄŸi */
    .joystick {
        bottom: calc(8px + env(safe-area-inset-bottom)) !important;
        left: calc(8px + env(safe-area-inset-left)) !important;
    }
    
    /* Ana menÃ¼ butonu */
    .main-menu-button {
        bottom: 8px !important;
        padding: 8px 18px !important;
        font-size: 13px !important;
    }
}

.bars-panel {
    background: url('img/butons/gemipaneli.PNG') no-repeat center;
    background-size: contain;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 225px;
    height: 129px;
    min-width: 225px;
    max-width: 225px;
}

.bars-panel .health-bar-container,
.bars-panel .shield-bar-container {
    padding: 10px 14px 10px 10px;
}

.bars-panel .health-bar-container {
    transform: translateX(0) translateY(12px);
}

.bars-panel .shield-bar-container {
    transform: translateX(0) translateY(2px);
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0;
}

.stat-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
    gap: 4px;
}

.stat-label {
    color: #ffffff;
    font-weight: bold;
    min-width: 70px;
    flex-shrink: 0;
}

.health-bar-container,
.shield-bar-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.health-label,
.shield-label {
    font-size: 12px;
    font-weight: bold;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    box-sizing: border-box;
}

.health-label img.health-icon,
.shield-label img.shield-icon {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    flex-shrink: 0;
}

.health-label {
    color: #22cc66;
}

.shield-label {
    color: #0066cc;
}

.health-bar,
.shield-bar {
    flex: 1;
    height: 14px;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: none;
    transform-origin: center;
}

.health-fill {
    height: 100%;
    background: linear-gradient(90deg, #22cc66, #44ee88);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(34, 204, 102, 0.5);
}

.shield-fill {
    height: 100%;
    background: linear-gradient(90deg, #0055aa, #0066cc);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 85, 170, 0.5);
}

#health-text {
    font-size: 12px;
    min-width: 64px;
    text-align: left;
    transform: none;
}

#shield-text {
    font-size: 12px;
    min-width: 64px;
    text-align: right;
    color: #0066cc;
    transform: none;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.game-overlay.hidden {
    display: none;
}

/* Ana MenÃ¼ Butonu */
.main-menu-button {
    position: absolute;
    bottom: 20px;
    right: auto;
    left: 75%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: rgba(0, 255, 255, 0.2);
    border: 2px solid #00ffff;
    color: #00ffff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
    min-height: 44px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.main-menu-button:hover {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    transform: translateX(-50%) scale(1.05);
}

.main-menu-button:active {
    transform: translateX(-50%) scale(0.95);
}

.main-menu-button.hidden {
    display: none;
}

/* Cephane barÄ± sarmalayÄ±cÄ± (Ã¼st sÄ±ra + alt 10 slot) - %7 aÅŸaÄŸÄ±, sol baÅŸa hizalÄ± */
.ammo-bar-wrapper {
    position: absolute;
    bottom: calc(20px + 5vh - 7vh);
    left: 50%;
    transform: translate(-50%, -5vh);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 50;
    pointer-events: none;
}

.ammo-bar-wrapper.hidden {
    display: none;
}

/* Ãœst slot: sadece 10 cephane sÃ¼tunu, sol baÅŸa hizalÄ± (1â€“10 aynÄ± hizada) â€” %10 yukarÄ± */
.ammo-top-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    height: 49px;
    min-height: 49px;
    margin-top: 2px;
    margin-left: 0;
    transform: translate(var(--ammo-row-offset-x, 0px), var(--ammo-row-offset-y, 0px));
}

.ammo-top-row.hidden {
    display: none !important;
}

.ammo-bar-wrapper .ammo-column {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
}

/* Ãœstte sÄ±ralanan kategori iÃ§erikleri (hangi kategoriye basÄ±lÄ±rsa o butonun iÃ§erikleri) */
.ammo-contents-row {
    --ammo-contents-anchor-x: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    pointer-events: auto;
    min-height: 0;
    transform: translateX(var(--ammo-contents-anchor-x));
    transition: transform 0.15s ease;
}

.ammo-contents-row.hidden {
    display: none !important;
}

/* Kategoriyle aÃ§Ä±lan cephaneler: sadece resim, mavi/arka plan yok */
.ammo-contents-row .ammo-content-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px 4px;
    border-radius: 0;
    background: transparent;
    border: none;
    color: #a8d9ff;
    font-size: 11px;
    cursor: pointer;
    min-width: 38px;
}

.ammo-contents-row .ammo-content-slot:hover {
    background: transparent;
    border: none;
}

.ammo-contents-row .ammo-content-slot .ammo-content-icon,
.ammo-contents-row .ammo-content-slot .ammo-slot-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Alt slot (bos) ile aynÄ± boyut: 38x45 */
.ammo-contents-row .ammo-content-slot .ammo-content-icon {
    width: 38px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ammo-contents-row .ammo-content-slot .ammo-content-icon .ammo-slot-icon {
    width: 38px !important;
    height: 45px !important;
    min-width: 38px !important;
    min-height: 45px !important;
}

.ammo-contents-row .ammo-content-slot .ammo-content-icon img,
.ammo-contents-row .ammo-content-slot .ammo-content-icon svg {
    width: 38px !important;
    height: 45px !important;
    max-width: 38px !important;
    max-height: 45px !important;
    object-fit: contain;
}

/* X1, X2, X3, X4, SAB, X6 etiketlerini gÃ¶sterme â€” sadece resim */
.ammo-contents-row .droid-formation-content-slot {
    min-width: 40px;
}

.ammo-contents-row .droid-formation-content-slot.is-active .droid-formation-content-icon {
    filter: drop-shadow(0 0 7px rgba(255, 190, 80, 0.95));
    transform: scale(1.08);
}

.ammo-contents-row .droid-formation-content-slot.is-locked {
    cursor: not-allowed;
    opacity: 0.45;
}

.ammo-contents-row .droid-formation-content-slot.is-locked .droid-formation-content-icon {
    filter: grayscale(0.8);
}

.ammo-contents-row .ammo-content-slot > span {
    display: none;
}

/* Kategori satÄ±rÄ± (5 buton) â€” aynÄ± yerde kalÄ±r */
.ammo-category-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    pointer-events: auto;
    background: transparent;
    transform: translate(var(--ammo-row-offset-x, 0px), var(--ammo-row-offset-y, 0px));
}

/* Kategori butonlarÄ±: sadece resim, Ã§erÃ§eve/border/rakam yok (%20 kÃ¼Ã§Ã¼ltÃ¼lmÃ¼ÅŸ) */
.slot-lock-toggle {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    touch-action: none;
}

.slot-lock-toggle.is-unlocked {
    cursor: grab;
}

.slot-lock-toggle.is-dragging {
    cursor: grabbing;
}

.slot-lock-toggle img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.category-slot-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
}

.category-slot-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Alt slot 1â€“10 sol baÅŸa hizalÄ±; tab saÄŸda, hizalamayÄ± bozmaz */
.ammo-quick-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    pointer-events: auto;
}

.ammo-quick-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 28px;
    min-width: 24px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: rgba(15, 15, 25, 0.85);
    border: 2px solid rgba(100, 100, 120, 0.5);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ammo-quick-tab:hover {
    border-color: rgba(0, 170, 255, 0.6);
    background: rgba(20, 25, 40, 0.9);
}

.ammo-quick-tab img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Cephane SÃ¼tunu - Yatay (Ã¼st sÄ±ra) */
.ammo-quick-move-row {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    pointer-events: auto;
    background: transparent;
    transform: translate(var(--ammo-row-offset-x, 0px), var(--ammo-row-offset-y, 0px));
}

.ammo-quick-move-row .slot-lock-toggle {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.ammo-column {
    display: flex;
    flex-direction: row;
    gap: 6px;
    padding: 6px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 170, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.2);
}

/* Alt 11 slot - lazer/bos resmi ile; kenar/Ã§erÃ§eve/arka plan yok, sÃ¼rÃ¼kleyip bÄ±rakÄ±lacak alan */
.ammo-quick-slots {
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    pointer-events: auto;
}

.ammo-quick-slot {
    position: relative;
    width: 38px;
    height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: url('img/lazer/bos.png') no-repeat center;
    background-size: contain;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
    color: #e6f8ff;
    font-size: 9px;
    user-select: none;
    min-width: 38px;
    box-shadow: none;
}

.ammo-quick-slot:empty::after {
    content: none;
}

.ammo-quick-slot.drag-over {
    opacity: 0.9;
}

.ammo-quick-slot.filled {
    color: #e6f8ff;
}

.ammo-quick-slot.filled:hover {
    opacity: 0.95;
}

.ammo-quick-slot[data-ammo-tooltip]:hover::after,
.ammo-contents-row .ammo-content-slot[data-ammo-tooltip]:hover::after {
    content: attr(data-ammo-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    padding: 4px 8px;
    background: rgba(8, 14, 24, 0.96);
    border: 1px solid rgba(0, 180, 255, 0.7);
    border-radius: 6px;
    color: #dff6ff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    z-index: 55;
    box-shadow: 0 0 14px rgba(0, 140, 255, 0.28);
}

.ammo-quick-slot[data-ammo-tooltip]:hover::before,
.ammo-contents-row .ammo-content-slot[data-ammo-tooltip]:hover::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: rgba(0, 180, 255, 0.7) transparent transparent transparent;
    pointer-events: none;
    z-index: 54;
}

.ammo-quick-slot.selected {
    opacity: 1;
}

.ammo-quick-slot.rocket-selected {
    opacity: 1;
}

/* Slota sÃ¼rÃ¼klenip konan cephane ikonu: bos ile aynÄ± boyut (38x45), rakam iÃ§in biraz aÅŸaÄŸÄ± */
.ammo-quick-slot .ammo-slot-icon {
    width: 38px !important;
    height: 45px !important;
    min-width: 38px !important;
    min-height: 45px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0;
    margin-top: 8px;
}

.ammo-quick-slot .ammo-slot-icon img,
.ammo-quick-slot .ammo-slot-icon svg {
    width: 38px !important;
    height: 45px !important;
    max-width: 38px !important;
    max-height: 45px !important;
    object-fit: contain;
}

.ammo-slot {
    position: relative;
    width: 48px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 5px 3px;
    background: rgba(20, 20, 30, 0.8);
    border: 2px solid rgba(100, 100, 120, 0.6);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #e6f8ff;
    font-size: 10px;
    user-select: none;
    pointer-events: auto; /* TÄ±klanabilir olmalÄ± */
}

.ammo-slot.selected {
    border-color: #ffff00;
    border-width: 3px;
    box-shadow: 0 0 12px rgba(255, 255, 0, 0.8);
    background: rgba(30, 30, 40, 0.9);
}

.ammo-slot.selected.rocket-selected {
    border-color: #ff3b3b;
    box-shadow: 0 0 12px rgba(255, 60, 60, 0.85);
    background: rgba(40, 20, 20, 0.9);
}

.ammo-slot:hover:not(.disabled) {
    border-color: rgba(0, 170, 255, 0.8);
    background: rgba(30, 30, 50, 0.9);
}

.ammo-slot.disabled {
    opacity: 0.4;
    cursor: default;
}

.ammo-slot-icon {
    width: 32px;
    height: 32px;
    background: rgba(40, 40, 60, 0.8);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 3px;
}

.ammo-rocket-icon {
    width: 34px;
    height: 20px;
    display: block;
}

.ammo-slot-name {
    font-weight: 600;
    font-size: 9px;
    color: #ffffff;
    text-align: center;
}

.ammo-slot-count {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 7px;
    color: #00aaff;
    font-weight: 600;
}

.ammo-slot-value {
    position: absolute;
    bottom: 2px;
    left: 2px;
    font-size: 7px;
    color: #00aaff;
    font-weight: 600;
}

.ammo-slot-number {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 7px;
    color: #ffffff;
    font-weight: 600;
}

/* Ana MenÃ¼ Overlay - Kontrol Paneli */
.main-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 120;
    overflow: hidden;
}

.main-menu-overlay.hidden {
    display: none;
}

.control-panel-container {
    display: flex;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

/* Sol Navigasyon Paneli */
.control-panel-nav {
    width: 250px;
    background: rgba(0, 20, 40, 0.9);
    border-right: 2px solid rgba(0, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(0, 255, 255, 0.03) 20px, rgba(0, 255, 255, 0.03) 22px),
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0, 255, 255, 0.03) 20px, rgba(0, 255, 255, 0.03) 22px);
}

.nav-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
}

.nav-icon {
    font-size: 24px;
    font-family: "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.nav-header h2 {
    color: #00ffff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #ccc;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-item:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
}

.nav-item.active {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border-left: 3px solid #00ffff;
}

.nav-item-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
    font-family: "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.nav-arrow {
    margin-left: auto;
    font-size: 16px;
    color: #00ffff;
}

.nav-logout {
    margin-top: auto;
    padding: 12px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #ff6666;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-logout:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #ff6666;
}

/* Ana Ä°Ã§erik AlanÄ± */
.control-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(0, 10, 20, 0.6);
    overflow-y: auto;
    position: relative;
}

.content-header {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

.header-button {
    padding: 8px 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.header-button:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.content-page {
    display: none;
    padding: 30px;
    flex: 1;
}

.content-page.active {
    display: block;
}

/* Oyuncu Bilgi BÃ¶lÃ¼mÃ¼ */
.player-info-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 24px;
}

.player-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.avatar-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ship {
    font-size: 48px;
    filter: brightness(0) invert(1);
    font-family: "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.player-id {
    color: #00ffff;
    font-size: 11px;
    font-weight: bold;
}

.player-stats-left,
.player-stats-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.stat-line {
    color: #fff;
    font-size: 11px;
    padding: 4px 0;
}

.stat-line span {
    color: #00ffff;
    font-weight: bold;
}

/* Bilgi BÃ¶lÃ¼mleri */
.info-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-section {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 6px;
    padding: 16px;
}

.section-title {
    color: #00ffff;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

/* SÄ±ralama bÃ¶lÃ¼mleri yan yana grid */
.ranking-sections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* AÃ§Ä±lÄ±r/kapanÄ±r bÃ¶lÃ¼mler */
.collapsible-section {
    padding: 0;
    overflow: hidden;
}

.collapsible-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    margin: 0;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(0, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.collapsible-title:hover {
    background: rgba(0, 255, 255, 0.15);
}

.collapsible-title .toggle-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #00ffff;
}

.collapsible-title.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.collapsible-content {
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 16px;
}

.collapsible-content.collapsed {
    max-height: 0;
    padding: 0 16px;
}

.stats-rank-tabs-wrap {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 12px;
}

.stats-rank-tabs-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats-rank-tab-btn {
    border: 1px solid rgba(0, 255, 255, 0.35);
    background: rgba(0, 40, 60, 0.55);
    color: #dffcff;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.stats-rank-tab-btn.active {
    background: rgba(0, 210, 255, 0.22);
    border-color: rgba(0, 255, 255, 0.85);
}

.stats-rank-tabs-main {
    min-height: 240px;
}

.stats-rank-tab-panel {
    display: block;
}

.stats-rank-tab-panel .section-title {
    margin-top: 0;
}

.stats-rank-tab-panel.hidden {
    display: none;
}

.statistics-dashboard {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    min-height: 0;
}

.statistics-profile-frame {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex: 1;
    min-height: 0;
}

.statistics-profile-shell {
    position: relative;
    min-height: 0;
    height: 100%;
    flex: 1;
    padding: 80px 76px 44px 78px;
    background: url('img/istatistik/istatisitkpanel.jpg') center center / 100% 100% no-repeat;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.statistics-profile-icons {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 9px;
}

.statistics-profile-icon-button {
    width: 42px;
    height: 47px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.52;
    transform: none;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.statistics-profile-icon-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: auto;
    pointer-events: none;
}

.statistics-profile-icon-button:hover,
.statistics-profile-icon-button:focus-visible,
.statistics-profile-icon-button.is-active {
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 0 12px rgba(64, 183, 255, 0.45));
}

.statistics-profile-icon-button:focus-visible {
    outline: 1px solid rgba(131, 222, 255, 0.9);
    outline-offset: 2px;
}

.statistics-view-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.statistics-view-panel:not([data-stats-panel="profile"]) {
    flex: 1;
    min-height: 0;
}

.statistics-view-panel.hidden {
    display: none;
}

.statistics-profile-title {
    align-self: center;
    margin-top: 17px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(112, 197, 255, 0.28);
}

.statistics-profile-score-row,
.statistics-profile-rank-row,
.statistics-profile-footer {
    position: relative;
    z-index: 1;
}

.statistics-profile-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #b9d7ef;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.statistics-profile-score-row strong {
    min-width: 128px;
    padding: 6px 14px;
    border: 1px solid rgba(94, 176, 236, 0.45);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(7, 33, 63, 0.92), rgba(4, 20, 42, 0.88));
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    box-shadow: inset 0 0 12px rgba(83, 174, 255, 0.14);
}

.statistics-profile-rank-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
}

.statistics-profile-rank-badge {
    width: 54px;
    height: 54px;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.48));
}

.statistics-profile-rank-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.statistics-profile-rank-name {
    color: #f6fbff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.92);
}

.statistics-profile-rank-meta {
    color: #8cc9ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.statistics-profile-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
    border: 1px solid rgba(86, 170, 238, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(4, 19, 39, 0.6), rgba(4, 13, 29, 0.78));
    box-shadow:
        inset 0 0 0 1px rgba(126, 206, 255, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.18);
}

.statistics-profile-line {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    padding: 0 10px 0 6px;
    border: 1px solid rgba(84, 168, 236, 0.16);
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(7, 26, 48, 0.72), rgba(7, 22, 39, 0.4));
}

.statistics-profile-badge {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(87, 180, 243, 0.36);
    background: linear-gradient(180deg, rgba(18, 87, 151, 0.92), rgba(8, 55, 104, 0.92));
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.statistics-profile-label {
    color: #d4e5f7;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.statistics-profile-value {
    min-width: 220px;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(84, 168, 236, 0.22);
    background: linear-gradient(180deg, rgba(7, 21, 41, 0.98), rgba(5, 14, 27, 0.94));
    color: #f3fbff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.2px;
    box-shadow: inset 0 0 12px rgba(76, 154, 225, 0.12);
}

.statistics-profile-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 18px;
}

.statistics-profile-hint {
    color: #d9e6f4;
    font-size: 13px;
    line-height: 1.45;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.92);
}

.statistics-clan-title {
    align-self: center;
    margin-top: 17px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(112, 197, 255, 0.28);
}

.statistics-clan-board {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    padding: 14px 16px 16px;
    border: 1px solid rgba(86, 170, 238, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(4, 19, 39, 0.62), rgba(4, 13, 29, 0.82));
    box-shadow:
        inset 0 0 0 1px rgba(126, 206, 255, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.18);
}

.statistics-destruction-board {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    padding: 14px 16px 16px;
    border: 1px solid rgba(86, 170, 238, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(4, 19, 39, 0.62), rgba(4, 13, 29, 0.82));
    box-shadow:
        inset 0 0 0 1px rgba(126, 206, 255, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.18);
}

.statistics-gate-board {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    padding: 14px 16px 16px;
    border: 1px solid rgba(86, 170, 238, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(4, 19, 39, 0.62), rgba(4, 13, 29, 0.82));
    box-shadow:
        inset 0 0 0 1px rgba(126, 206, 255, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.18);
}

.statistics-clan-head,
.statistics-clan-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 10px;
}

.statistics-clan-head {
    padding: 0 12px 10px;
    border-bottom: 1px solid rgba(82, 163, 227, 0.28);
    color: #ffe600;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.statistics-destruction-head,
.statistics-destruction-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1.25fr) 78px 92px 132px;
    align-items: center;
    gap: 10px;
}

.statistics-destruction-head {
    padding: 0 12px 10px;
    border-bottom: 1px solid rgba(82, 163, 227, 0.28);
    color: #ffe600;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.statistics-gate-head,
.statistics-gate-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1.4fr) repeat(4, 74px) 90px;
    align-items: center;
    gap: 8px;
}

.statistics-gate-head {
    padding: 0 12px 10px;
    border-bottom: 1px solid rgba(82, 163, 227, 0.28);
    color: #ffe600;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.statistics-clan-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    margin-top: 10px;
    overflow-y: auto;
    padding-right: 4px;
}

.statistics-destruction-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    margin-top: 10px;
    overflow-y: auto;
    padding-right: 4px;
}

.statistics-gate-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    margin-top: 10px;
    overflow-y: auto;
    padding-right: 4px;
}

.statistics-clan-row {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(75, 154, 220, 0.12);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(8, 31, 56, 0.9), rgba(8, 24, 46, 0.72));
    color: #d9efff;
    font-size: 14px;
}

.statistics-destruction-row {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(75, 154, 220, 0.12);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(8, 31, 56, 0.9), rgba(8, 24, 46, 0.72));
    color: #d9efff;
    font-size: 14px;
}

.statistics-gate-row {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(75, 154, 220, 0.12);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(8, 31, 56, 0.9), rgba(8, 24, 46, 0.72));
    color: #d9efff;
    font-size: 14px;
}

.statistics-clan-row:nth-child(even) {
    background: linear-gradient(180deg, rgba(8, 29, 53, 0.84), rgba(7, 22, 41, 0.68));
}

.statistics-destruction-row:nth-child(even) {
    background: linear-gradient(180deg, rgba(8, 29, 53, 0.84), rgba(7, 22, 41, 0.68));
}

.statistics-gate-row:nth-child(even) {
    background: linear-gradient(180deg, rgba(8, 29, 53, 0.84), rgba(7, 22, 41, 0.68));
}

.statistics-clan-row.is-self {
    border-color: rgba(76, 189, 255, 0.35);
    background: linear-gradient(180deg, rgba(14, 60, 100, 0.92), rgba(9, 42, 73, 0.78));
    box-shadow: inset 0 0 0 1px rgba(126, 216, 255, 0.14);
}

.statistics-destruction-row.is-self {
    border-color: rgba(76, 189, 255, 0.35);
    background: linear-gradient(180deg, rgba(14, 60, 100, 0.92), rgba(9, 42, 73, 0.78));
    box-shadow: inset 0 0 0 1px rgba(126, 216, 255, 0.14);
}

.statistics-gate-row.is-self {
    border-color: rgba(76, 189, 255, 0.35);
    background: linear-gradient(180deg, rgba(14, 60, 100, 0.92), rgba(9, 42, 73, 0.78));
    box-shadow: inset 0 0 0 1px rgba(126, 216, 255, 0.14);
}

.statistics-clan-rank {
    color: #ffffff;
    font-weight: 700;
}

.statistics-destruction-rank {
    color: #ffffff;
    font-weight: 700;
}

.statistics-gate-rank {
    color: #ffffff;
    font-weight: 700;
}

.statistics-clan-name {
    min-width: 0;
    color: #dff2ff;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.statistics-clan-name .statistics-clan-tag {
    color: #7fd6ff;
}

.statistics-clan-name .statistics-clan-self {
    color: #8ce9ff;
    font-size: 12px;
    font-weight: 700;
}

.statistics-destruction-name {
    min-width: 0;
    color: #dff2ff;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.statistics-gate-name {
    min-width: 0;
    color: #dff2ff;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.statistics-destruction-company {
    font-weight: 800;
    text-align: center;
}

.statistics-destruction-company.is-mmo {
    color: #ff6e6e;
}

.statistics-destruction-company.is-eic {
    color: #77d4ff;
}

.statistics-destruction-company.is-vru {
    color: #7dff8f;
}

.statistics-destruction-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.statistics-destruction-badge {
    width: 28px;
    height: 28px;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.statistics-destruction-count {
    color: #f7fbff;
    font-weight: 800;
    text-align: right;
}

.statistics-gate-count {
    color: #f7fbff;
    font-weight: 800;
    text-align: right;
}

.statistics-clan-points {
    color: #f7fbff;
    font-weight: 800;
    text-align: right;
}

.statistics-clan-empty {
    padding: 14px 12px;
    border: 1px solid rgba(79, 158, 223, 0.14);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(8, 31, 56, 0.76), rgba(8, 24, 46, 0.62));
    color: #d6ebfb;
    font-size: 14px;
    text-align: center;
}

.statistics-placeholder-card {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 14px 18px;
    border: 1px solid rgba(86, 170, 238, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(4, 19, 39, 0.6), rgba(4, 13, 29, 0.78));
    box-shadow:
        inset 0 0 0 1px rgba(126, 206, 255, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Mobil responsive */
@media (max-width: 768px) {
    .ranking-sections-grid {
        grid-template-columns: 1fr;
    }

    .statistics-profile-shell {
        padding: 86px 24px 38px;
        background-size: cover;
    }

    .statistics-profile-icons {
        gap: 5px;
    }

    .statistics-profile-icon-button {
        width: 34px;
        height: 38px;
    }

    .statistics-profile-title {
        font-size: 17px;
        letter-spacing: 2px;
    }

    .statistics-profile-score-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .statistics-profile-rank-row {
        padding: 0;
    }

    .statistics-profile-card {
        padding: 12px;
    }

    .statistics-profile-line {
        grid-template-columns: 28px minmax(0, 1fr);
        padding: 10px;
    }

    .statistics-profile-value {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
    }

    .statistics-profile-footer {
        padding: 0;
    }

    .statistics-clan-title {
        font-size: 17px;
        letter-spacing: 2px;
    }

    .statistics-clan-board {
        padding: 12px;
    }

    .statistics-destruction-board {
        padding: 12px;
    }

    .statistics-gate-board {
        padding: 12px;
    }

    .statistics-clan-head,
    .statistics-clan-row {
        grid-template-columns: 40px minmax(0, 1fr) 110px;
        gap: 8px;
    }

    .statistics-destruction-head,
    .statistics-destruction-row {
        grid-template-columns: 34px minmax(0, 1fr) 52px 56px 92px;
        gap: 6px;
    }

    .statistics-gate-head,
    .statistics-gate-row {
        grid-template-columns: 28px minmax(0, 1fr) repeat(4, 42px) 52px;
        gap: 4px;
    }

    .statistics-clan-head {
        padding: 0 8px 8px;
        font-size: 12px;
    }

    .statistics-destruction-head {
        padding: 0 8px 8px;
        font-size: 12px;
    }

    .statistics-gate-head {
        padding: 0 8px 8px;
        font-size: 11px;
    }

    .statistics-clan-row {
        padding: 0 8px;
        font-size: 12px;
    }

    .statistics-destruction-row {
        padding: 0 8px;
        font-size: 12px;
    }

    .statistics-gate-row {
        padding: 0 8px;
        font-size: 11px;
    }

    .statistics-clan-body {
        max-height: 250px;
    }

    .statistics-destruction-body {
        max-height: 250px;
    }

    .statistics-gate-body {
        max-height: 250px;
    }

    .stats-rank-tabs-wrap {
        grid-template-columns: 1fr;
    }

    .stats-rank-tabs-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stats-rank-tab-btn {
        flex: 1 1 140px;
    }
}

.online-count {
    color: #ccc;
    font-size: 11px;
    margin-bottom: 12px;
}

.online-players-list {
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Ä°statistikler Paneli BaÅŸlÄ±ÄŸÄ± */
.stats-panel-header {
    padding: 16px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.05);
    margin-bottom: 16px;
    border-radius: 8px;
}

.stats-panel-title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #00ffff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Genel Ä°statistikler Grid */
.stats-general-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Ä°statistikler SÃ¼tunlarÄ± */
.stats-column {
    padding: 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stats-column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    color: #00ffff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.stats-column-icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    filter: drop-shadow(0 0 3px rgba(0, 255, 255, 0.5));
}

.stats-column .stat-line {
    padding: 8px 0;
    color: #ccc;
    font-size: 12px;
}

.stats-column .stat-line span {
    color: #00ffff;
    font-weight: bold;
}

/* DiÄŸer Bilgiler BÃ¶lÃ¼mÃ¼ */
.stats-other-info {
    padding: 16px;
    margin-top: 16px;
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .stats-general-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-panel-title {
        font-size: 16px;
    }
    
    .stats-column-header {
        font-size: 12px;
    }
    
    .stats-column-icon {
        width: 20px;
        height: 20px;
    }
}

.online-player-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
}

.online-player-item .player-icon {
    font-size: 13px;
    min-width: 12px;
    text-align: center;
}

.clan-tag-inline {
    color: #ffffff;
    font-weight: 700;
}

.player-name-inline {
    color: inherit;
}

.online-player-name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex-wrap: wrap;
}

.online-faction-icon {
    width: 13px;
    height: 13px;
    object-fit: contain;
    image-rendering: auto;
    flex-shrink: 0;
}

.stats-ranking-item {
    justify-content: space-between;
    gap: 10px;
}

.stats-ranking-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stats-rank-inline-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    image-rendering: auto;
}

.stats-ranking-item span:last-child {
    color: #00ffff;
    font-weight: bold;
}

.logbook-content,
.activities-content {
    color: #ccc;
    font-size: 11px;
    line-height: 1.6;
}

/* Mobil iÃ§in responsive */
@media (max-width: 768px) {
    .control-panel-container {
        width: 100%;
        height: 100%;
        flex-direction: column;
        border-radius: 0;
    }
    
    .control-panel-nav {
        width: 100%;
        max-height: 200px;
        border-right: none;
        border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    }
    
    .nav-menu {
        flex-direction: row;
        overflow-x: auto;
        gap: 5px;
    }
    
    .nav-item {
        min-width: 100px;
        flex-direction: column;
        padding: 10px;
        font-size: 12px;
    }
    
    .nav-arrow {
        display: none;
    }
    
    .player-info-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .player-stats-left,
    .player-stats-right {
        width: 100%;
    }
}

/* DÃ¼kkan Overlay */
.shop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 130;
}

.shop-overlay.hidden {
    display: none;
}

.shop-content {
    min-width: 320px;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.shop-container {
    margin: 20px 0;
}

.shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px;
}

.shop-item {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.shop-item:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    transform: scale(1.05);
}

.shop-item-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.shop-item-name {
    font-size: 16px;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 8px;
}

.shop-item-price {
    font-size: 14px;
    color: #ffff00;
    margin-bottom: 10px;
}

.shop-item-button {
    padding: 8px 16px;
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid #00ffff;
    color: #00ffff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
    min-height: 36px;
}

.shop-item-button:hover {
    background: rgba(0, 255, 255, 0.4);
}

.shop-item-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.menu-button {
    padding: 15px 30px;
    background: rgba(0, 255, 255, 0.2);
    border: 2px solid #00ffff;
    color: #00ffff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
    min-height: 50px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.menu-button:hover {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    transform: scale(1.05);
}

.menu-button:active {
    transform: scale(0.95);
}

/* Mobil iÃ§in buton boyutlarÄ± */
@media (max-width: 768px) {
    .main-menu-button {
        bottom: 10px;
        right: auto;
        left: 75%;
        transform: translateX(-50%);
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .menu-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .shop-items {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        padding: 15px;
    }
    
    .shop-item {
        padding: 12px;
    }
    
    .shop-item-icon {
        font-size: 36px;
    }
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(145deg, rgba(2, 6, 18, 0.86) 0%, rgba(6, 11, 24, 0.76) 45%, rgba(9, 8, 18, 0.88) 100%),
        var(--auth-screen-bg) center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 110;
}

.auth-overlay.hidden {
    display: none;
}

.auth-content {
    min-width: 320px;
    max-width: 420px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.auth-tab {
    padding: 10px 20px;
    border: 1px solid #00ffff;
    background: transparent;
    color: #00ffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
    min-height: 44px; /* Mobilde dokunma iÃ§in minimum yÃ¼kseklik */
}

.auth-tab.active {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.auth-form.hidden {
    display: none;
}

.auth-form label {
    font-size: 14px;
    color: #ccc;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
    min-height: 44px; /* Mobilde dokunma iÃ§in minimum yÃ¼kseklik */
    font-size: 16px; /* iOS zoom'u engellemek iÃ§in */
}

.auth-form input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.auth-submit {
    margin-top: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(135deg, #00ffff, #0088ff);
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
    min-height: 44px; /* Mobilde dokunma iÃ§in minimum yÃ¼kseklik */
}

.auth-submit:hover {
    transform: scale(1.02);
}

.auth-submit:active {
    transform: scale(0.98);
}

.auth-message {
    margin-top: 14px;
    min-height: 20px;
    font-size: 14px;
    color: #ffcc66;
    text-align: center;
}

.overlay-content {
    text-align: center;
    padding: 20px;
    background: rgba(26, 26, 46, 0.95);
    border-radius: 10px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    max-width: 50%;
    margin: 0 auto;
}

.overlay-content h1 {
    font-size: 24px;
    color: #00ffff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.overlay-content p {
    font-size: 11px;
    margin: 5px 0;
    color: #ccc;
}

#startButton {
    margin-top: 30px;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #00ffff, #0088ff);
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

#startButton:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

#startButton:active {
    transform: scale(0.95);
}

/* Game Over Yeni TasarÄ±m */
.game-over-header {
    margin-bottom: 15px;
}

.game-over-title {
    font-size: 18px;
    color: #ff0000;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    font-weight: bold;
}

.destroyer-info {
    margin: 10px 0;
}

.destroyer-label {
    font-size: 10px;
    color: #fff;
    margin-bottom: 2.5px;
}

.destroyer-name {
    font-size: 14px;
    color: #ffaa00;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 170, 0, 0.6);
    margin: 5px 0;
}

.repair-instruction {
    font-size: 10px;
    color: #fff;
    margin-top: 7.5px;
}

.repair-options {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.repair-option {
    width: 100px;
    height: 125px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ffaa00;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.repair-option:hover {
    border-color: #ffcc00;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.5);
    transform: scale(1.05);
}

.repair-option:active {
    transform: scale(0.95);
}

.repair-icon {
    font-size: 30px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(0, 170, 255, 0.8));
}

.repair-label {
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 2.5px;
}

.repair-cost {
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 2.5px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    margin-top: 5px;
}

.vip-repair-text {
    text-align: center;
    color: #fff;
    font-size: 8px;
    margin: 10px 0 5px 0;
}

.vip-repair-button {
    width: 100%;
    max-width: 200px;
    padding: 7.5px 15px;
    font-size: 11px;
    font-weight: bold;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000;
    border: 2px solid #00ff00;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    margin-top: 5px;
}

.vip-repair-button:hover {
    background: linear-gradient(135deg, #00ff44, #00ff00);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
    transform: scale(1.05);
}

.vip-repair-button:active {
    transform: scale(0.95);
}

/* Mobil iÃ§in game over tasarÄ±mÄ± */
@media (max-width: 768px) {
    .repair-options {
        flex-direction: column;
        align-items: center;
    }
    
    .repair-option {
        width: 150px;
        height: 200px;
    }
    
    .repair-icon {
        font-size: 40px;
    }
    
    .game-over-title {
        font-size: 28px;
    }
}

.radiation-warning {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    background: rgba(255, 0, 0, 0.9);
    border: 2px solid #ff0000;
    border-radius: 5px;
    padding: 10px 20px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    display: none;
    animation: pulse 1s infinite;
}

.radiation-warning.show {
    display: block;
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.warning-icon {
    font-size: 16px;
    animation: rotate 2s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobil iÃ§in genel optimizasyonlar */
@media (max-width: 768px) {
    .overlay-content {
        padding: 20px;
        margin: 10px;
    }
    
    .overlay-content h1 {
        font-size: 32px;
    }
    
    .overlay-content p {
        font-size: 14px;
    }
    
    #startButton {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .auth-content {
        min-width: 280px;
        max-width: 90%;
    }
    
    .auth-form input {
        padding: 8px 10px;
        font-size: 16px; /* iOS zoom'u engellemek iÃ§in */
    }
    
    .radiation-warning {
        padding: 8px 12px;
        font-size: 8px;
    }
    
    .warning-content {
        font-size: 9px;
        gap: 5px;
    }
    
    .warning-icon {
        font-size: 24px;
    }
}

/* Mobil/Desktop mesajlarÄ± */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

/* Ã‡ok kÃ¼Ã§Ã¼k ekranlar iÃ§in (Android kÃ¼Ã§Ã¼k telefonlar) */
@media (max-width: 480px) {
    .ui-container {
        top: 5px;
        left: 5px;
        gap: 4px;
    }
    
    .ui-panel {
        min-width: 110px;
        max-width: 140px;
        padding: 5px;
        font-size: 9px;
        border-radius: 5px;
    }
    
    .stats {
        gap: 2px;
    }
    
    .stat-item {
        font-size: 8px;
        gap: 3px;
    }
    
    .stat-label {
        font-size: 8px;
    }
    
    .health-label,
    .shield-label {
        font-size: 8px;
        min-width: 30px;
    }
    
    .health-label img.health-icon,
    .shield-label img.shield-icon {
        max-height: 16px;
    }
    
    .health-bar,
    .shield-bar {
        min-width: 60px;
        height: 10px;
    }
    
    #health-text {
        font-size: 8px;
        min-width: 35px;
    }
    
    #shield-text {
        font-size: 8px;
        min-width: 35px;
        color: #0066cc;
    }
    
    .health-bar-container,
    .shield-bar-container {
        margin-top: 4px;
        gap: 4px;
    }
    
    .bars-panel {
        min-width: 120px;
        padding: 5px 6px 5px 5px;
    }
    
    .minimap-container {
        width: 132px;
        height: 66px;
        bottom: 5px;
        right: 5px;
    }
}

/* Android iÃ§in ekstra kÃ¼Ã§Ã¼k ekranlar */
@media (max-width: 360px) {
    .ui-panel {
        min-width: 100px;
        max-width: 130px;
        padding: 4px;
        font-size: 8px;
    }
    
    .stat-item {
        font-size: 7px;
    }
    
    .stat-label {
        font-size: 7px;
    }
    
    .health-label,
    .shield-label {
        font-size: 7px;
        min-width: 25px;
    }
    
    .health-label img.health-icon,
    .shield-label img.shield-icon {
        max-height: 14px;
    }
    
    .health-bar,
    .shield-bar {
        min-width: 50px;
        height: 9px;
    }
    
    #health-text {
        font-size: 7px;
        min-width: 30px;
    }
    
    #shield-text {
        font-size: 7px;
        min-width: 30px;
        color: #0066cc;
    }
    
    .bars-panel {
        min-width: 110px;
        padding: 4px 5px 4px 4px;
    }
}

/* BaÄŸlantÄ± KopmasÄ± Modal */
.disconnect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(5px);
}

.disconnect-overlay.hidden {
    display: none;
}

.disconnect-modal {
    background: rgba(26, 26, 46, 0.98);
    border-radius: 20px;
    border: 2px solid #ff6b6b;
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.disconnect-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.disconnect-modal h2 {
    font-size: 28px;
    color: #ff6b6b;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
}

.disconnect-modal p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.5;
}

.reconnect-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reconnect-button:hover {
    background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.reconnect-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
    .disconnect-modal {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .disconnect-icon {
        font-size: 48px;
    }
    
    .disconnect-modal h2 {
        font-size: 22px;
    }
    
    .disconnect-modal p {
        font-size: 14px;
    }
    
    .reconnect-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* SatÄ±n Alma Modal */
.purchase-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease-out;
}

.purchase-modal-overlay.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.purchase-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 10px;
    border: 1px solid #00aaff;
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.5), 
                inset 0 0 15px rgba(0, 170, 255, 0.1);
    max-width: 250px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.purchase-modal-header {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.2) 0%, rgba(0, 170, 255, 0.1) 100%);
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 170, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.purchase-icon {
    font-size: 18px;
    filter: drop-shadow(0 0 5px rgba(0, 170, 255, 0.8));
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.purchase-title {
    font-size: 13px;
    color: #00aaff;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
    flex: 1;
    margin: 0;
}

.purchase-close {
    background: transparent;
    border: none;
    color: #00aaff;
    font-size: 18px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.purchase-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.purchase-modal-body {
    padding: 12px;
    color: #ffffff;
}

.purchase-question {
    font-size: 10px;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.purchase-ship-info {
    background: rgba(0, 170, 255, 0.1);
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 5px;
    padding: 8px;
    margin-bottom: 8px;
    text-align: center;
}

.purchase-ship-info strong {
    color: #00aaff;
    font-size: 12px;
    text-shadow: 0 0 5px rgba(0, 170, 255, 0.6);
}

.purchase-price-info {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    padding: 6px;
    text-align: center;
    font-size: 9px;
    color: #ffd700;
}

.purchase-price-info .price-label {
    color: #ccc;
    font-size: 8px;
    margin-right: 4px;
}

.purchase-price-info .price-value {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
}

.purchase-modal-footer {
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 170, 255, 0.3);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.purchase-btn {
    padding: 6px 15px;
    border: none;
    border-radius: 4px;
    font-size: 9px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
}

.purchase-btn-cancel {
    background: linear-gradient(135deg, #666 0%, #444 100%);
    color: #fff;
    border: 1px solid #888;
}

.purchase-btn-cancel:hover {
    background: linear-gradient(135deg, #777 0%, #555 100%);
    border-color: #aaa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.purchase-btn-cancel:active {
    transform: translateY(0);
}

.purchase-btn-confirm {
    background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
    color: #fff;
    border: 1px solid #00ccff;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.4);
}

.purchase-btn-confirm:hover {
    background: linear-gradient(135deg, #00ccff 0%, #00aaff 100%);
    border-color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 170, 255, 0.6);
}

.purchase-btn-confirm:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 170, 255, 0.4);
}

@media (max-width: 768px) {
    .purchase-modal {
        max-width: 95%;
        border-radius: 8px;
    }
    
    .purchase-modal-header {
        padding: 8px 10px;
    }
    
    .purchase-icon {
        font-size: 14px;
    }
    
    .purchase-title {
        font-size: 10px;
    }
    
    .purchase-close {
        font-size: 16px;
        width: 15px;
        height: 15px;
    }
    
    .purchase-modal-body {
        padding: 10px;
    }
    
    .purchase-question {
        font-size: 9px;
    }
    
    .purchase-ship-info {
        padding: 6px;
    }
    
    .purchase-ship-info strong {
        font-size: 10px;
    }
    
    .purchase-price-info {
        padding: 5px;
        font-size: 8px;
    }
    
    .purchase-modal-footer {
        padding: 8px 10px;
        flex-direction: row;
    }
    
    .purchase-btn {
        width: auto;
        padding: 5px 12px;
        font-size: 8px;
    }
}

/* SatÄ±n Alma BaÅŸarÄ± ModalÄ± */
.purchase-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease-out;
}

.purchase-success-overlay.hidden {
    display: none;
}

.purchase-success-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 10px;
    border: 1px solid #00aaff;
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.5), 
                inset 0 0 15px rgba(0, 170, 255, 0.1);
    max-width: 250px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
}

.purchase-success-header {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.2) 0%, rgba(0, 170, 255, 0.1) 100%);
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 170, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.purchase-success-icon {
    font-size: 18px;
    filter: drop-shadow(0 0 5px rgba(0, 170, 255, 0.8));
}

.purchase-success-title {
    font-size: 13px;
    color: #00aaff;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
    flex: 1;
    margin: 0;
}

.purchase-success-close {
    background: transparent;
    border: none;
    color: #00aaff;
    font-size: 18px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.purchase-success-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.purchase-success-body {
    padding: 12px;
    color: #ffffff;
}

.purchase-success-message {
    font-size: 10px;
    color: #ffffff;
    text-align: center;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.purchase-success-footer {
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 170, 255, 0.3);
    display: flex;
    justify-content: center;
}

.purchase-success-btn {
    padding: 6px 15px;
    border: none;
    border-radius: 4px;
    font-size: 9px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
    color: #fff;
    border: 1px solid #00ccff;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.4);
}

.purchase-success-btn:hover {
    background: linear-gradient(135deg, #00ccff 0%, #00aaff 100%);
    border-color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 170, 255, 0.6);
}

.purchase-success-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 170, 255, 0.4);
}

@media (max-width: 768px) {
    .purchase-success-modal {
        max-width: 95%;
        border-radius: 8px;
    }
    
    .purchase-success-header {
        padding: 8px 10px;
    }
    
    .purchase-success-icon {
        font-size: 14px;
    }
    
    .purchase-success-title {
        font-size: 10px;
    }
    
    .purchase-success-close {
        font-size: 16px;
        width: 15px;
        height: 15px;
    }
    
    .purchase-success-body {
        padding: 10px;
    }
    
    .purchase-success-message {
        font-size: 9px;
    }
    
    .purchase-success-footer {
        padding: 8px 10px;
    }
    
    .purchase-success-btn {
        padding: 5px 12px;
        font-size: 8px;
    }
}

/* Hata/Uyari Modali */
.alert-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    z-index: 200;
    background:
        radial-gradient(circle at 50% 40%, rgba(72, 214, 255, 0.08), transparent 42%),
        rgba(4, 8, 16, 0.72);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.18s ease-out;
}

.alert-modal-overlay.hidden {
    display: none;
}

.alert-modal {
    position: relative;
    width: min(92vw, 380px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 205, 78, 0.55);
    background:
        linear-gradient(160deg, rgba(24, 30, 42, 0.98) 0%, rgba(8, 13, 22, 0.98) 100%) padding-box,
        repeating-linear-gradient(135deg, rgba(255, 210, 75, 0.18) 0 2px, rgba(55, 65, 80, 0.1) 2px 4px) border-box;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.52),
        0 0 28px rgba(255, 187, 64, 0.16),
        inset 0 1px 0 rgba(255, 245, 190, 0.14);
    animation: modalSlideIn 0.24s ease-out;
}

.alert-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 8px),
        linear-gradient(90deg, rgba(255, 205, 78, 0.1), transparent 42%, rgba(72, 214, 255, 0.08));
}

.alert-modal-header {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(255, 205, 78, 0.22);
}

.alert-modal-signal {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 214, 90, 0.85);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 214, 90, 0.95) 0 25%, rgba(255, 120, 66, 0.42) 28% 52%, rgba(10, 14, 22, 0.7) 55% 100%);
    box-shadow: 0 0 14px rgba(255, 190, 70, 0.42);
}

.alert-modal-signal::before,
.alert-modal-signal::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 3px;
    border-radius: 999px;
    background: #121820;
    transform: translateX(-50%);
}

.alert-modal-signal::before {
    top: 6px;
    height: 11px;
}

.alert-modal-signal::after {
    bottom: 5px;
    height: 3px;
}

.alert-modal-title {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: #ffd64a;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.88);
}

.alert-modal-close {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 214, 90, 0.25);
    border-radius: 6px;
    background: rgba(6, 10, 18, 0.42);
    color: rgba(236, 245, 255, 0.9);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.alert-modal-close:hover {
    border-color: rgba(255, 214, 90, 0.7);
    color: #ffffff;
    background: rgba(255, 214, 90, 0.08);
}

.alert-modal-body {
    position: relative;
    padding: 18px 20px 16px;
}

.alert-modal-message {
    color: rgba(240, 246, 255, 0.95);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.88);
}

.alert-modal-footer {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0 20px 18px;
}

.alert-modal-btn {
    min-width: 132px;
    height: 42px;
    padding: 0 22px;
    border: 1px solid rgba(84, 215, 255, 0.55);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(84, 215, 255, 0.95) 0%, rgba(47, 141, 255, 0.95) 100%);
    color: #041018;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    cursor: pointer;
    box-shadow:
        0 8px 20px rgba(47, 141, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.alert-modal-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        0 10px 24px rgba(47, 141, 255, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.alert-modal-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .alert-modal-overlay {
        padding: 16px;
    }

    .alert-modal {
        width: min(94vw, 340px);
        border-radius: 10px;
    }

    .alert-modal-header {
        padding: 12px 12px 10px;
        grid-template-columns: 26px minmax(0, 1fr) 28px;
    }

    .alert-modal-signal {
        width: 24px;
        height: 24px;
    }

    .alert-modal-title {
        font-size: 11px;
    }

    .alert-modal-body {
        padding: 14px 16px 12px;
    }

    .alert-modal-message {
        font-size: 14px;
    }

    .alert-modal-footer {
        padding: 0 16px 14px;
    }

    .alert-modal-btn {
        min-width: 118px;
        height: 38px;
        font-size: 10px;
    }
}

/* Market SayfasÄ± Stilleri */
.market-container {
    display: flex;
    height: 100%;
    gap: 12px;
    padding: 0;
}

/* Sol Panel: Kategoriler */
.market-categories {
    width: 160px;
    background: rgba(0, 10, 20, 0.8);
    border-right: 1px solid rgba(0, 255, 255, 0.2);
    padding: 14px 0;
    overflow-y: auto;
    flex-shrink: 0;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    font-size: 11.5px;
    font-weight: bold;
}

.category-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-left-color: rgba(0, 255, 255, 0.5);
}

.category-item.active {
    background: rgba(0, 150, 255, 0.3);
    border-left-color: #0096ff;
    color: #00ffff;
}

.category-q {
    color: #ff0000;
    font-size: 10.5px;
    font-weight: bold;
}

/* Orta Panel: Gemi Listesi */
.market-items-grid {
    flex: 1;
    background: rgba(0, 10, 20, 0.6);
    padding: 12px;
    overflow-y: auto;
}

#marketShipsList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 6px;
}

.market-ship-item {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 2.5px;
    padding: 4.5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.market-ship-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 1px 4.5px rgba(0, 255, 255, 0.2);
}

.market-ship-item.selected {
    border-color: #ffff00;
    background: rgba(255, 255, 0, 0.1);
    box-shadow: 0 0 6px rgba(255, 255, 0, 0.4);
}

.market-ship-name {
    color: #fff;
    font-size: 4.8px;
    font-weight: bold;
    margin-bottom: 3px;
}

/* Gemiler kategorisi iÃ§in gemi adlarÄ±nÄ± %10 bÃ¼yÃ¼t */
.market-ship-name-ships {
    font-size: 5.28px;
}

.market-ship-image {
    width: 100%;
    height: 36px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
    font-size: 14.5px;
}

/* PC iÃ§in gÃ¶rsel boyutunu %60 bÃ¼yÃ¼t (%40 + %20) */
@media (min-width: 769px) {
    #marketShipsList {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); /* KartlarÄ± geniÅŸlet */
        gap: 12px; /* GÃ¶rseller arasÄ± boÅŸluÄŸu artÄ±r */
    }
    
    .market-ship-image {
        height: 110px; /* GÃ¶rsellerin tamamen gÃ¶rÃ¼nmesi iÃ§in yÃ¼ksekliÄŸi artÄ±r */
        overflow: visible; /* KÄ±rpmayÄ± kaldÄ±r */
        box-sizing: border-box;
        position: relative;
        width: 100%;
        min-height: 110px; /* Minimum yÃ¼kseklik */
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .market-ship-image img {
        width: 165% !important; /* %160 + %5 = %165 (yatay %5 geniÅŸletme) */
        height: auto !important; /* OranÄ± koru */
        max-width: 165% !important;
        max-height: 105px !important; /* Container iÃ§inde kalmasÄ± iÃ§in */
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
    
    .market-ship-item {
        overflow: visible; /* KÄ±rpmayÄ± kaldÄ±r */
        padding: 12px; /* Padding'i artÄ±r */
        box-sizing: border-box;
        min-width: 90px; /* Minimum geniÅŸlik */
        min-height: auto; /* YÃ¼ksekliÄŸi iÃ§eriÄŸe gÃ¶re ayarla */
    }
    
    .market-ship-name {
        font-size: 9.6px !important;
        margin-bottom: 6px;
    }
    
    /* Gemiler kategorisi iÃ§in gemi adlarÄ±nÄ± %10 bÃ¼yÃ¼t (PC) */
    .market-ship-name-ships {
        font-size: 10.56px !important;
    }
    
    .market-ship-price {
        font-size: 10px !important;
        margin-top: 6px;
    }
    
    /* Silah ve jeneratÃ¶r SVG gÃ¶rselleri iÃ§in bÃ¼yÃ¼tme */
    .market-ship-image .weapon-svg-small {
        width: 165% !important; /* %160 + %5 = %165 (yatay %5 geniÅŸletme) */
        height: 35.2px !important; /* 22px * 1.6 = 35.2px (%60 bÃ¼yÃ¼tme) */
        max-width: 165% !important;
        max-height: 35.2px !important;
        display: block !important;
        margin: 0 auto !important;
        position: relative;
        left: 52%; /* Biraz saÄŸa kaydÄ±r */
        transform: translateX(-50%);
    }
}

.ship-svg {
    width: 100%;
    height: 100%;
}

.ship-svg-small {
    max-width: 36px;
    max-height: 36px;
}

.ship-svg-large {
    max-width: 100px;
    max-height: 100px;
}

.ship-svg-hangar {
    max-width: 70px;
    max-height: 70px;
}

.ship-svg-preview {
    max-width: 120px;
    max-height: 120px;
}

/* Extra SVG stilleri */
.extra-svg {
    width: 100%;
    height: 100%;
}

.extra-svg-small {
    max-width: 36px;
    max-height: 36px;
}

.extra-svg-large {
    max-width: 120px;
    max-height: 120px;
}

.droid-svg {
    width: 100%;
    height: 100%;
}

.droid-svg-small {
    max-width: 36px;
    max-height: 36px;
}

.droid-svg-large {
    max-width: 120px;
    max-height: 120px;
}

.market-ship-price {
    color: #00ffff;
    font-size: 4px;
    font-weight: bold;
}

/* Silah kartlarÄ± */
.market-weapon-item {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 2.5px;
    padding: 4.5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.market-weapon-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 1px 4.5px rgba(0, 255, 255, 0.2);
}

.market-weapon-item.selected {
    border-color: #ffff00;
    background: rgba(255, 255, 0, 0.1);
    box-shadow: 0 0 6px rgba(255, 255, 0, 0.4);
}

.market-weapon-name {
    color: #fff;
    font-size: 4px;
    font-weight: bold;
    margin-bottom: 3px;
}

.market-weapon-image,
.weapon-details-image {
    width: 100%;
    height: 36px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
    position: relative;
}

.weapon-barrel {
    width: 60%;
    height: 6px;
    background: linear-gradient(90deg, #6f7c8c, #cfd6df);
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(120, 200, 255, 0.4);
}

/* Legacy HUD fallback */
#hud {
    position: absolute;
    inset: 0;
    z-index: 12;
    pointer-events: none;
}

#hud .draggable-panel {
    position: absolute;
    pointer-events: auto;
}

#shipInfo {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 6px;
    padding: 8px 10px;
    color: #e8faff;
    font-size: 12px;
    min-width: 130px;
}

/* Auth fallback */
.auth-card {
    width: min(420px, 92vw);
    background:
        linear-gradient(180deg, rgba(5, 16, 34, 0.9), rgba(6, 10, 24, 0.94)),
        linear-gradient(135deg, rgba(0, 221, 255, 0.07), rgba(98, 70, 255, 0.05)),
        var(--auth-screen-bg) center center / cover no-repeat;
    border: 1px solid rgba(0, 255, 255, 0.35);
    border-radius: 10px;
    padding: 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
}

.auth-tabs button {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid rgba(0, 255, 255, 0.35);
    background: rgba(0, 255, 255, 0.08);
    color: #c7f8ff;
    border-radius: 6px;
    cursor: pointer;
}

.auth-tabs button.active {
    background: rgba(0, 255, 255, 0.24);
    color: #fff;
}

#authMessage {
    min-height: 22px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    color: #ffcc66;
}

.auth-card input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input.input-warning {
    border-color: rgba(255, 102, 102, 0.95);
    box-shadow: 0 0 0 2px rgba(255, 102, 102, 0.18);
}

/* Market kategori fallback */
.market-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.category-item {
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.08);
    color: #c9f9ff;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
}

.category-item.active {
    background: rgba(0, 255, 255, 0.24);
    color: #fff;
}

.weapon-core {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #8bd3ff 0%, #2b6a9e 70%);
    box-shadow: 0 0 8px rgba(90, 200, 255, 0.6);
}

/* Market silah SVG */
.weapon-svg {
    display: block;
}

.weapon-svg-small {
    width: 70%;
    height: 22px;
    filter: drop-shadow(0 0 6px rgba(90, 200, 255, 0.4));
}

.weapon-svg-large {
    width: 75%;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(90, 200, 255, 0.5));
}

/* Market silah gÃ¶rseli */
.weapon-preview {
    position: relative;
    width: 75%;
    height: 22px;
}

.weapon-preview.small {
    height: 16px;
}

.weapon-preview.large {
    height: 28px;
    width: 70%;
}

.weapon-preview .weapon-body {
    position: absolute;
    left: 10%;
    right: 12%;
    top: 50%;
    height: 6px;
    transform: none;
    background: linear-gradient(90deg, #5b6674 0%, #c7ced8 45%, #9aa6b3 100%);
    border-radius: 3px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.6), 0 0 6px rgba(120, 200, 255, 0.35);
}

.weapon-preview.small .weapon-body {
    height: 4px;
}

.weapon-preview.large .weapon-body {
    height: 8px;
}

.weapon-preview .weapon-core {
    position: absolute;
    left: 45%;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, #7fd0ff 0%, #2b6a9e 70%);
    box-shadow: 0 0 8px rgba(90, 200, 255, 0.6);
}

.weapon-preview.small .weapon-core {
    width: 7px;
    height: 7px;
}

.weapon-preview.large .weapon-core {
    width: 14px;
    height: 14px;
}

.weapon-preview .weapon-rear {
    position: absolute;
    left: 4%;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-20vh);
    background: linear-gradient(180deg, #3d4650 0%, #7b8794 100%);
    border-radius: 2px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
}

.weapon-preview.small .weapon-rear {
    width: 7px;
    height: 7px;
}

.weapon-preview.large .weapon-rear {
    width: 12px;
    height: 12px;
}

.weapon-preview .weapon-muzzle {
    position: absolute;
    right: 2%;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #9aa6b3 0%, #e4e9ef 100%);
    border-radius: 2px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.4), 0 0 6px rgba(180, 220, 255, 0.4);
}

.weapon-preview.small .weapon-muzzle {
    width: 8px;
    height: 8px;
}

.weapon-preview.large .weapon-muzzle {
    width: 14px;
    height: 14px;
}

.market-weapon-price {
    color: #00ffff;
    font-size: 4px;
    font-weight: bold;
}

.weapon-details-title {
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 6px;
}

.weapon-details-subtitle {
    color: #00ffff;
    font-size: 7px;
    font-weight: bold;
    margin-bottom: 9px;
}

.weapon-details-price {
    color: #00ffff;
    font-size: 8px;
    font-weight: bold;
    margin-bottom: 8px;
}

.weapon-details-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 7px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.weapon-details-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.weapon-stat-item {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 3px;
    padding: 6px;
    flex: 1;
    text-align: center;
}

.weapon-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 6px;
    margin-bottom: 2px;
}

.weapon-stat-value {
    color: #fff;
    font-size: 8px;
    font-weight: bold;
}

.weapon-buy-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 6px;
}

.weapon-buy-price {
    color: #00ffff;
    font-size: 7px;
    font-weight: bold;
}

.weapon-buy-button {
    padding: 6px 10px;
    font-size: 7px;
    border: none;
    border-radius: 3px;
    background: linear-gradient(135deg, #00c853 0%, #00a63f 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.weapon-buy-button:hover {
    background: linear-gradient(135deg, #00a63f 0%, #008c36 100%);
}

.weapon-buy-button:disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

/* SaÄŸ Panel: Gemi DetaylarÄ± */
.market-details {
    width: 210px;
    background: rgba(0, 10, 20, 0.8);
    border-left: 1px solid rgba(0, 255, 255, 0.2);
    padding: 12px;
    overflow-y: auto;
    flex-shrink: 0;
}

.ship-details-content {
    color: #fff;
}

.ship-details-placeholder {
    text-align: center;
    padding: 24px 12px;
    color: rgba(255, 255, 255, 0.5);
}

.ship-details-title {
    font-size: 15.4px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #fff;
}

.ship-details-subtitle {
    font-size: 8.8px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.ship-details-image {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    font-size: 48px;
}

.ship-details-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
}

.ship-details-price {
    font-size: 12.1px;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 12px;
    text-align: center;
}

.ship-details-description {
    background: rgba(0, 0, 0, 0.3);
    padding: 9px;
    border-radius: 3px;
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.ship-details-stats {
    margin-bottom: 12px;
}

.ship-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 9px;
}

.ship-stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.ship-stat-value {
    color: #fff;
    font-weight: bold;
}

.ship-buy-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.ship-buy-price {
    text-align: center;
    font-size: 10px;
    color: #00ffff;
    margin-bottom: 9px;
    font-weight: bold;
}

.ship-buy-button,
button.ship-buy-button,
.market-details .ship-buy-button {
    width: 100%;
    padding: 9px;
    background-color: #00ff00 !important;
    background: #00ff00 !important;
    border: none !important;
    border-radius: 5px;
    color: #000000 !important;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6), 0 4px 12px rgba(0, 255, 0, 0.4) !important;
    position: relative;
}

.ship-buy-button:hover {
    background: #00ff00 !important;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8), 0 6px 15px rgba(0, 255, 0, 0.5) !important;
}

.ship-buy-button:active {
    transform: translateY(0);
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.5), 0 2px 8px rgba(0, 255, 0, 0.3);
}

.ship-buy-button:disabled {
    background: rgba(100, 100, 100, 0.5);
    color: rgba(0, 0, 0, 0.5);
    cursor: not-allowed;
    box-shadow: none;
}

/* Mobil uyumluluk */
@media (max-width: 1024px) {
    .market-container {
        flex-direction: column;
    }
    
    .market-categories {
        width: 100%;
        max-height: 90px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 255, 255, 0.2);
        display: flex;
        overflow-x: auto;
        padding: 6px 0;
    }
    
    .category-item {
        white-space: nowrap;
        min-width: 72px;
    }
    
    .market-details {
        width: 100%;
        max-height: 240px;
        border-left: none;
        border-top: 1px solid rgba(0, 255, 255, 0.2);
    }
}

/* Modern MenÃ¼ Paneli (GiriÅŸ ekranÄ± temasÄ±yla uyumlu) */
.main-menu-overlay {
    background:
        radial-gradient(circle at 18% 20%, rgba(91, 137, 255, 0.24), transparent 42%),
        radial-gradient(circle at 84% 28%, rgba(0, 236, 255, 0.16), transparent 45%),
        radial-gradient(circle at 48% 88%, rgba(155, 73, 255, 0.2), transparent 45%),
        linear-gradient(145deg, #03050f 0%, #0a112a 45%, #130a27 100%);
}

.main-menu-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background: repeating-linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.07) 0,
        rgba(255, 255, 255, 0.07) 1px,
        transparent 1px,
        transparent 16px
    );
}

.control-panel-container {
    width: min(96vw, 1480px);
    height: min(92vh, 940px);
    border-radius: 16px;
    border: 1px solid rgba(114, 225, 255, 0.36);
    background: linear-gradient(165deg, rgba(6, 17, 36, 0.92), rgba(14, 10, 38, 0.9));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52), 0 0 48px rgba(0, 193, 255, 0.22);
    backdrop-filter: blur(6px);
}

.control-panel-nav {
    width: 270px;
    border-right: 1px solid rgba(114, 225, 255, 0.25);
    background:
        linear-gradient(180deg, rgba(7, 26, 49, 0.92), rgba(10, 14, 35, 0.92)),
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(125, 229, 255, 0.04) 20px, rgba(125, 229, 255, 0.04) 22px);
}

.nav-header {
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(114, 225, 255, 0.24);
}

.nav-header h2 {
    color: #d6f9ff;
    letter-spacing: 0.8px;
}

.nav-item {
    position: relative;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #eefbff;
    background:
        linear-gradient(90deg, rgba(7, 17, 34, 0.1), rgba(7, 17, 34, 0.06)),
        var(--menu-tab-bg) center center / 100% 100% no-repeat;
    min-height: 50px;
    box-shadow: inset 0 0 0 1px rgba(117, 218, 255, 0.08);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.nav-item:hover {
    color: #ecfcff;
    border-color: rgba(118, 235, 255, 0.3);
    background:
        linear-gradient(90deg, rgba(10, 44, 83, 0.18), rgba(7, 17, 34, 0.08)),
        var(--menu-tab-bg) center center / 100% 100% no-repeat;
    box-shadow: inset 0 0 0 1px rgba(120, 240, 255, 0.16), 0 0 12px rgba(0, 195, 255, 0.12);
    transform: translateX(2px);
}

.nav-item.active {
    color: #f2fdff;
    border-left: 1px solid rgba(119, 244, 255, 0.9);
    border-color: rgba(119, 244, 255, 0.55);
    background:
        linear-gradient(90deg, rgba(0, 186, 255, 0.18), rgba(114, 80, 255, 0.08)),
        var(--menu-tab-bg) center center / 100% 100% no-repeat;
    box-shadow: inset 0 0 0 1px rgba(130, 227, 255, 0.24), 0 0 14px rgba(0, 209, 255, 0.14);
}

.nav-arrow,
.nav-item-icon,
.nav-icon {
    color: #8fefff;
}

.nav-item-icon {
    text-shadow: 0 0 8px rgba(108, 228, 255, 0.35);
}

.nav-item span:not(.nav-item-icon):not(.nav-arrow) {
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.nav-logout {
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 56, 96, 0.22), rgba(255, 86, 86, 0.2));
    border: 1px solid rgba(255, 116, 143, 0.52);
    color: #ffd7df;
}

.nav-logout:hover {
    background: linear-gradient(90deg, rgba(255, 56, 96, 0.32), rgba(255, 86, 86, 0.28));
    border-color: rgba(255, 141, 166, 0.8);
}

.control-panel-content {
    background: linear-gradient(170deg, rgba(8, 20, 44, 0.68), rgba(17, 10, 40, 0.64));
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(114, 225, 255, 0.2);
    background: linear-gradient(180deg, rgba(7, 24, 45, 0.72), rgba(7, 24, 45, 0.25));
}

.content-header-actions {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.content-header-side {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-shrink: 0;
}

.header-premium-badge {
    width: 104px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.header-premium-badge.hidden {
    display: none !important;
}

.header-premium-badge img {
    display: block;
    width: 104px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 225, 106, 0.35));
}

.header-player-summary {
    flex: 1;
    min-width: 0;
    max-width: 740px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 18px;
    border: 1px solid rgba(119, 226, 255, 0.22);
    border-radius: 12px;
    background: linear-gradient(165deg, rgba(7, 28, 53, 0.55), rgba(14, 12, 38, 0.48));
    box-shadow: inset 0 0 0 1px rgba(129, 229, 255, 0.08);
}

.header-player-anchor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 74px;
}

.header-player-id {
    color: #00ffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.03em;
}

.header-avatar-circle {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-avatar-ship {
    font-size: 28px;
    line-height: 1;
    filter: brightness(0) invert(1);
    font-family: "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.header-player-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 8px 22px;
    align-items: center;
}

.header-player-stat {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.header-player-stat span {
    color: #00ffff;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .header-player-summary {
        max-width: none;
    }

    .header-player-grid {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }
}

@media (max-width: 920px) {
    .header-player-summary {
        display: none;
    }
}

.header-button {
    min-width: 86px;
    min-height: 34px;
    padding: 0 16px;
    border: none;
    border-radius: 0;
    color: #eafaff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    box-shadow: none;
}

.header-button:hover {
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    filter: brightness(1.08);
    box-shadow: 0 0 12px rgba(87, 220, 255, 0.22);
}

.content-header-actions .header-button {
    color: #000000;
    font-weight: 800;
    text-shadow: none;
}

.content-header-actions .header-button:hover {
    color: #000000;
}

.content-page {
    padding: 24px;
}

#page-harita.active {
    display: flex !important;
    flex-direction: column;
    padding: 16px;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#page-istatistik.active {
    display: flex !important;
    flex-direction: column;
    padding: 16px;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#page-info .player-info-section,
#page-info .info-section,
#page-istatistik .info-section,
#page-harita .info-section,
#page-galaxy-gates .info-section,
#page-ayarlar .info-section,
#page-gorev,
#page-istatistik,
#page-harita,
#page-galaxy-gates,
#page-ayarlar {
    border: 1px solid rgba(119, 226, 255, 0.22);
    background: linear-gradient(165deg, rgba(7, 28, 53, 0.55), rgba(14, 12, 38, 0.48));
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(129, 229, 255, 0.08);
}

#page-galaxy-gates {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.gg-shell {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 12px 0 0;
}

.gg-frame {
    position: relative;
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr) 258px;
    gap: 18px;
    width: min(1180px, 100%);
    min-height: 680px;
    height: 680px;
    padding: 28px 22px 20px;
    background:
        linear-gradient(180deg, rgba(5, 14, 27, 0.84), rgba(5, 12, 24, 0.92)),
        url("img/gg/arkaplan.png") center/cover no-repeat;
    border: 1px solid rgba(112, 226, 255, 0.28);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(122, 224, 255, 0.08),
        0 14px 35px rgba(0, 0, 0, 0.28);
}

.gg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
}

.gg-gate-button {
    min-height: 42px;
    padding: 0 18px;
    border: none;
    background: url("img/gg/buton.png") center/100% 100% no-repeat;
    color: #e9f6ff;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.gg-gate-button.active,
.gg-gate-button:hover {
    background-image: url("img/gg/buton1.png");
}

.gg-center {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.gg-title-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    margin: 2px 0 12px;
}

.gg-title-bar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 44px;
    padding: 0 24px;
    background: linear-gradient(180deg, rgba(58, 62, 73, 0.98), rgba(26, 29, 39, 0.96));
    border: 1px solid rgba(180, 194, 214, 0.18);
    border-radius: 6px;
    color: #dcecff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.2);
}

.gg-stage {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.gg-stage-screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    border: 1px solid rgba(164, 183, 206, 0.14);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(6, 19, 34, 0.9), rgba(7, 18, 34, 0.96));
}

.gg-stage-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.94;
}

.gg-stage-portal {
    position: relative;
    z-index: 1;
    width: clamp(280px, 58%, 400px);
    max-width: 92%;
    max-height: 86%;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(126, 226, 255, 0.2));
}

.gg-stage-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px 8px;
    color: #e7f2ff;
    font-size: 14px;
    font-weight: 700;
}

.gg-stage-label,
.gg-progress-wrap {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
}

.gg-stage-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 4px;
    padding-top: 8px;
    flex: 0 0 auto;
}

.gg-image-button {
    position: relative;
    min-height: 72px;
    border: none;
    background: transparent;
    color: #dcecff;
    font-size: 14px;
    font-weight: 800;
}

.gg-image-button img {
    width: 100%;
    height: 72px;
    object-fit: fill;
    display: block;
}

.gg-image-button span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.78);
}

.gg-image-button-muted {
    opacity: 0.86;
}

.gg-right-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}

.gg-uri-panel {
    position: relative;
    min-height: 62px;
}

.gg-uri-panel-bg {
    width: 100%;
    height: 62px;
    object-fit: fill;
    display: block;
}

.gg-uri-panel-label,
.gg-uri-panel-value {
    position: absolute;
    top: 17px;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.gg-uri-panel-label {
    left: 16px;
    color: #d9eaff;
}

.gg-uri-panel-value {
    right: 18px;
    color: #87d7ff;
}

.gg-energy-card,
.gg-support-card {
    padding: 12px 14px 16px;
    border: 1px solid rgba(124, 223, 255, 0.16);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(10, 18, 34, 0.84), rgba(8, 15, 30, 0.9));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.gg-energy-card {
    flex: 0 0 auto;
}

.gg-support-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.gg-multiplier-button,
.gg-journal-button {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(173, 197, 226, 0.18);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(53, 56, 70, 0.92), rgba(25, 28, 37, 0.94));
    color: #f3fbff;
    font-size: 14px;
    font-weight: 900;
}

.gg-equalize-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 10px;
    color: #e6f4ff;
    font-size: 12px;
}

.gg-multiplier-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.gg-multiplier-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 42px;
    border: 1px solid rgba(149, 224, 255, 0.16);
    border-radius: 6px;
    background: rgba(18, 27, 45, 0.92);
    color: #d9ecff;
    font-weight: 800;
}

.gg-multiplier-chip.active {
    border-color: rgba(129, 235, 167, 0.62);
    background: linear-gradient(180deg, rgba(33, 73, 53, 0.96), rgba(12, 38, 27, 0.96));
    box-shadow: 0 0 14px rgba(76, 255, 154, 0.16);
}

.gg-multiplier-chip:disabled:not(.active) {
    opacity: 0.6;
}

.gg-chip-label {
    display: block;
    line-height: 1;
}

.gg-chip-count {
    display: block;
    line-height: 1;
    font-size: 11px;
    color: #9fe1ff;
}

.gg-energy-button {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 14px;
    border: none;
    background: transparent;
}

.gg-energy-button img {
    width: 100%;
    height: 65px;
    object-fit: fill;
    display: block;
}

.gg-energy-button span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #89b37e;
    font-size: 15px;
    font-weight: 900;
    transform: translateY(-8px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.gg-quick-spin-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.gg-quick-spin-button {
    min-height: 32px;
    border: 1px solid rgba(142, 225, 255, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(34, 47, 77, 0.94), rgba(14, 21, 39, 0.96));
    color: #ecf8ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

.gg-quick-spin-button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(142, 225, 255, 0.34);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 14px rgba(89, 210, 255, 0.14);
}

.gg-quick-spin-button:disabled {
    opacity: 0.55;
    cursor: default;
}

.gg-support-title {
    margin-bottom: 10px;
    color: #e7f4ff;
    font-size: 12px;
    font-weight: 800;
}

.gg-support-title-highlight {
    color: #8dffba;
    text-shadow: 0 0 10px rgba(84, 255, 160, 0.28);
}

.gg-support-log {
    flex: 1 1 auto;
    min-height: 0;
    min-height: 178px;
    margin-top: 12px;
    border: 1px solid rgba(132, 220, 255, 0.12);
    border-radius: 6px;
    background: rgba(6, 12, 24, 0.62);
    padding: 10px 12px;
    overflow-y: auto;
}

.gg-log-entry {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid rgba(110, 194, 233, 0.08);
    color: #e7f4ff;
    font-size: 12px;
    line-height: 1.45;
}

.gg-log-entry:last-child {
    border-bottom: none;
}

.gg-log-time {
    flex: 0 0 auto;
    color: #7ed8ff;
    font-weight: 700;
}

.gg-log-text {
    color: rgba(231, 244, 255, 0.92);
}

.gg-log-empty {
    color: rgba(203, 227, 247, 0.58);
}

.gg-image-button-ready img {
    filter: drop-shadow(0 0 10px rgba(103, 255, 153, 0.24));
}

.gg-image-button-disabled {
    opacity: 0.64;
}

@media (max-width: 1100px) {
    .gg-frame {
        grid-template-columns: 140px minmax(0, 1fr) 220px;
        gap: 14px;
        padding: 22px 16px 18px;
        height: 640px;
    }

    .gg-stage-screen {
        min-height: 340px;
        height: auto;
    }
}

@media (max-width: 920px) {
    .gg-frame {
        grid-template-columns: 1fr;
        gap: 16px;
        min-height: auto;
        height: auto;
    }

    .gg-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .gg-gate-button {
        flex: 1 1 200px;
        text-align: center;
    }

    .gg-stage-screen {
        height: 360px;
        min-height: 360px;
    }

    .gg-support-log {
        min-height: 220px;
    }
}

.settings-account-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.settings-account-card {
    padding: 18px 18px 14px;
    border-radius: 10px;
    border: 1px solid rgba(120, 223, 255, 0.14);
    background: linear-gradient(165deg, rgba(9, 18, 34, 0.72), rgba(10, 20, 38, 0.58));
    box-shadow: inset 0 0 0 1px rgba(126, 224, 255, 0.05);
}

.settings-account-card-compact {
    padding-bottom: 12px;
}

.settings-account-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 112px;
    align-items: center;
    gap: 18px;
}

.settings-account-row-top {
    align-items: start;
}

.settings-account-label {
    color: rgba(226, 239, 255, 0.88);
    font-size: 14px;
    line-height: 1.4;
}

.settings-account-field-wrap,
.settings-account-password-stack {
    min-width: 0;
}

.settings-account-password-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-account-input {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid rgba(145, 222, 255, 0.2);
    background: rgba(7, 15, 28, 0.72);
    color: #f2fbff;
    font-size: 14px;
    box-shadow: inset 0 0 0 1px rgba(120, 220, 255, 0.04);
}

.settings-account-input::placeholder {
    color: rgba(203, 223, 245, 0.46);
}

.settings-account-input:focus {
    outline: none;
    border-color: rgba(109, 229, 255, 0.6);
    box-shadow:
        inset 0 0 0 1px rgba(126, 236, 255, 0.16),
        0 0 14px rgba(73, 218, 255, 0.12);
}

.settings-account-input:disabled,
.settings-account-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.settings-account-save {
    min-width: 86px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(78, 197, 255, 0.38);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(8, 170, 255, 0.92), rgba(0, 116, 194, 0.9));
    color: #effcff;
    font-size: 15px;
    font-weight: 700;
    box-shadow:
        inset 0 0 0 1px rgba(215, 246, 255, 0.14),
        0 8px 18px rgba(0, 112, 184, 0.16);
}

.settings-account-save:hover:not(:disabled) {
    filter: brightness(1.06);
}

.settings-account-save-top {
    margin-top: 1px;
}

.settings-visual-card {
    padding: 16px 18px;
}

.settings-visual-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
}

.settings-visual-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.settings-visual-title {
    color: #f2fbff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.settings-visual-desc {
    color: rgba(210, 228, 247, 0.76);
    font-size: 12px;
    line-height: 1.45;
}

.settings-visual-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.settings-visual-state {
    min-width: 48px;
    color: #8edfff;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.settings-visual-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #37d3ff;
    cursor: pointer;
}

.settings-account-message {
    min-height: 18px;
    margin-top: 12px;
    color: rgba(221, 237, 255, 0.74);
    font-size: 12px;
    line-height: 1.45;
}

.settings-account-message.is-success {
    color: #8cffb1;
}

.settings-account-message.is-error {
    color: #ff9db2;
}

#page-info .player-info-section {
    display: none;
}

#page-info.active {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
}

#page-info .info-page-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    min-height: 0;
}

#page-info .info-main-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

#page-info .info-main-column .header-premium-badge {
    margin-left: 8px;
}

#page-info .info-sections-info-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#page-info .ship-info-card,
#page-info .online-players-card {
    min-height: 112px;
    padding: 14px 18px 16px;
    width: 100%;
}

#page-info .ship-info-card {
    width: 100%;
}

#page-info .info-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

#page-info .info-card-title-row .section-title {
    margin-bottom: 0;
}

#page-info .info-card-title-row .header-premium-badge {
    flex-shrink: 0;
}

#page-info .ship-info-card .section-title,
#page-info .online-players-card .section-title {
    margin-bottom: 10px;
}

#page-info .ship-info-card .stat-line {
    padding: 6px 0;
}

#page-info .online-players-card {
    min-width: 0;
}

#page-info .online-players-card .online-count {
    margin-bottom: 10px;
}

#page-info .online-players-card .online-players-list {
    max-height: 160px;
}

#page-info .voyage-journal-card {
    min-width: 0;
    height: 316px;
    max-height: 316px;
    display: flex;
    flex-direction: column;
    padding: 14px 18px 16px;
    overflow: hidden;
}

#page-info .voyage-journal-caption {
    margin-bottom: 12px;
    color: rgba(214, 233, 248, 0.74);
    font-size: 12px;
    line-height: 1.45;
}

#page-info .voyage-journal-list {
    flex: 1;
    min-height: 0;
    max-height: none;
    padding-right: 4px;
    overflow-y: auto;
    overflow-x: hidden;
}

#page-info .voyage-journal-card .rewards-log-entry {
    margin-bottom: 8px;
    background: rgba(35, 122, 170, 0.1);
    border-left-color: rgba(87, 220, 255, 0.48);
}

#page-info .voyage-journal-card .rewards-log-time {
    color: rgba(126, 223, 255, 0.86);
}

#page-info .voyage-journal-card .rewards-log-empty {
    color: rgba(197, 220, 238, 0.62);
    text-align: center;
    padding: 22px 12px;
}

#page-satin-alma.active {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

#page-satin-alma {
    border: 1px solid rgba(119, 226, 255, 0.22);
    background: linear-gradient(165deg, rgba(7, 28, 53, 0.55), rgba(14, 12, 38, 0.48));
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(129, 229, 255, 0.08);
}

.purchase-page-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    min-height: 0;
}

#page-satin-alma.active::-webkit-scrollbar {
    width: 8px;
}

#page-satin-alma.active::-webkit-scrollbar-track {
    background: rgba(6, 18, 34, 0.28);
    border-radius: 999px;
}

#page-satin-alma.active::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(96, 232, 255, 0.7), rgba(33, 121, 170, 0.8));
    border-radius: 999px;
}

#page-satin-alma.active::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(132, 244, 255, 0.82), rgba(44, 144, 195, 0.9));
}

.purchase-store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    width: min(100%, 980px);
}

.purchase-store-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 268px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(97, 221, 255, 0.24);
    border-radius: 12px;
    background:
        radial-gradient(circle at top right, rgba(87, 220, 255, 0.14), transparent 42%),
        linear-gradient(160deg, rgba(6, 18, 34, 0.82), rgba(10, 18, 36, 0.58));
    color: #eaf8ff;
    text-align: center;
    box-shadow:
        inset 0 0 0 1px rgba(122, 225, 255, 0.05),
        0 10px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.purchase-store-card.is-selected {
    border-color: rgba(117, 241, 255, 0.54);
    box-shadow:
        inset 0 0 0 1px rgba(167, 246, 255, 0.12),
        0 0 0 1px rgba(71, 209, 255, 0.18),
        0 14px 30px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
}

.purchase-store-price {
    align-self: stretch;
    color: #9aff88;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    text-shadow: 0 0 12px rgba(122, 255, 143, 0.2);
}

.purchase-store-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 136px;
    padding: 10px;
    border-radius: 12px;
    background:
        radial-gradient(circle at center, rgba(86, 226, 255, 0.12), rgba(9, 19, 34, 0.06) 58%, transparent 78%),
        linear-gradient(180deg, rgba(10, 21, 39, 0.52), rgba(7, 14, 28, 0.22));
    box-shadow: inset 0 0 0 1px rgba(126, 226, 255, 0.06);
}

.purchase-store-image {
    max-width: 100%;
    max-height: 124px;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 0 18px rgba(93, 229, 255, 0.16));
}

.purchase-store-title {
    color: #7ff3ff;
    font-size: 14px;
    font-weight: 700;
}

.purchase-store-amount {
    margin-top: -2px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.purchase-store-bonus {
    max-width: 250px;
    margin-top: -2px;
    color: #dcefff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-shadow: 0 0 10px rgba(120, 200, 255, 0.14);
}

.purchase-store-bonus--stacked {
    line-height: 1.42;
}

.purchase-store-action {
    margin-top: auto;
    width: 100%;
    min-height: 36px;
    border: 1px solid rgba(92, 236, 255, 0.36);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(21, 79, 103, 0.92), rgba(12, 44, 67, 0.94));
    color: #e7fbff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(142, 243, 255, 0.08);
}

.purchase-store-action:hover {
    border-color: rgba(140, 248, 255, 0.56);
    background: linear-gradient(180deg, rgba(25, 94, 121, 0.95), rgba(14, 57, 80, 0.96));
}

.purchase-store-action:disabled {
    cursor: default;
    opacity: 0.58;
}

.purchase-store-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 18px;
    min-height: 0;
}

.purchase-store-panel {
    min-height: 320px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(97, 221, 255, 0.24);
    border-radius: 12px;
    background:
        radial-gradient(circle at top center, rgba(87, 220, 255, 0.10), transparent 38%),
        linear-gradient(160deg, rgba(6, 18, 34, 0.82), rgba(10, 18, 36, 0.58));
    box-shadow:
        inset 0 0 0 1px rgba(122, 225, 255, 0.05),
        0 10px 24px rgba(0, 0, 0, 0.16);
}

.purchase-store-panel-title {
    margin-bottom: 14px;
    color: #58f5ff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.purchase-store-details,
.purchase-store-orders {
    min-height: 0;
}

.purchase-store-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.purchase-store-empty {
    padding: 18px 16px;
    border: 1px dashed rgba(115, 219, 255, 0.22);
    border-radius: 10px;
    color: rgba(220, 239, 255, 0.72);
    line-height: 1.5;
    background: rgba(6, 16, 31, 0.28);
}

.purchase-store-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.purchase-store-badge {
    padding: 6px 10px;
    border: 1px solid rgba(109, 229, 255, 0.22);
    border-radius: 999px;
    background: rgba(17, 47, 77, 0.52);
    color: #c8f8ff;
    font-size: 11px;
    font-weight: 700;
}

.purchase-store-detail-card {
    padding: 14px 14px 12px;
    border: 1px solid rgba(118, 227, 255, 0.12);
    border-radius: 10px;
    background: rgba(11, 24, 44, 0.42);
}

.purchase-store-detail-title {
    margin-bottom: 8px;
    color: #effcff;
    font-size: 15px;
    font-weight: 700;
}

.purchase-store-detail-text {
    color: rgba(226, 241, 255, 0.84);
    font-size: 13px;
    line-height: 1.55;
}

.purchase-store-keyvalue {
    display: grid;
    grid-template-columns: 136px 1fr;
    gap: 8px 12px;
    margin-top: 10px;
    color: rgba(228, 242, 255, 0.9);
    font-size: 13px;
}

.purchase-store-keyvalue strong {
    color: #73efff;
}

.purchase-store-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.purchase-store-inline-btn {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(95, 231, 255, 0.34);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(17, 72, 96, 0.92), rgba(10, 41, 62, 0.96));
    color: #e8fbff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.purchase-store-inline-btn:hover {
    border-color: rgba(149, 243, 255, 0.58);
}

.purchase-store-inline-btn--ghost {
    background: rgba(11, 24, 44, 0.56);
}

.purchase-store-inline-btn--accent {
    border-color: rgba(157, 255, 166, 0.42);
    background: linear-gradient(180deg, rgba(29, 104, 69, 0.94), rgba(16, 68, 44, 0.96));
}

.purchase-store-note {
    margin-top: 10px;
    color: #ffd69f;
    font-size: 12px;
    line-height: 1.5;
}

.purchase-store-inline-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.purchase-store-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.purchase-store-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.purchase-store-field--full {
    grid-column: 1 / -1;
}

.purchase-store-field label {
    color: rgba(127, 238, 255, 0.86);
    font-size: 12px;
    font-weight: 700;
}

.purchase-store-input,
.purchase-store-textarea {
    width: 100%;
    border: 1px solid rgba(98, 220, 255, 0.24);
    border-radius: 10px;
    background: rgba(6, 18, 34, 0.82);
    color: #f2fcff;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.purchase-store-textarea {
    min-height: 86px;
    resize: vertical;
}

.purchase-store-input:focus,
.purchase-store-textarea:focus {
    border-color: rgba(139, 244, 255, 0.54);
    box-shadow: 0 0 0 1px rgba(115, 235, 255, 0.18);
}

.purchase-store-orders {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 4px;
}

.purchase-store-order {
    padding: 12px 12px 10px;
    border: 1px solid rgba(99, 221, 255, 0.16);
    border-radius: 10px;
    background: rgba(12, 24, 43, 0.44);
    cursor: pointer;
}

.purchase-store-order.is-selected {
    border-color: rgba(129, 240, 255, 0.52);
    box-shadow: inset 0 0 0 1px rgba(126, 226, 255, 0.08);
}

.purchase-store-order-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    color: #f4fdff;
    font-size: 13px;
    font-weight: 700;
}

.purchase-store-order-sub {
    color: rgba(214, 235, 255, 0.78);
    font-size: 12px;
    line-height: 1.45;
}

.purchase-store-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.purchase-store-status--pending_payment {
    background: rgba(255, 198, 92, 0.18);
    color: #ffd978;
}

.purchase-store-status--payment_reported {
    background: rgba(102, 205, 255, 0.18);
    color: #8ceeff;
}

.purchase-store-status--card_checkout_ready {
    background: rgba(99, 255, 153, 0.18);
    color: #89ffac;
}

.purchase-store-status--card_processing {
    background: rgba(102, 205, 255, 0.18);
    color: #8ceeff;
}

.purchase-store-status--card_failed {
    background: rgba(255, 190, 111, 0.18);
    color: #ffd191;
}

.purchase-store-status--approved {
    background: rgba(99, 255, 153, 0.18);
    color: #89ffac;
}

.purchase-store-status--rejected {
    background: rgba(255, 111, 111, 0.18);
    color: #ff9d9d;
}

@media (max-width: 980px) {
    #page-info .info-page-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    #page-info .info-main-column .header-premium-badge {
        margin-left: 0;
    }

    #page-info .voyage-journal-card {
        height: 260px;
        max-height: 260px;
    }

    .purchase-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .purchase-store-dashboard {
        grid-template-columns: 1fr;
    }

    .purchase-store-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .purchase-store-grid {
        grid-template-columns: 1fr;
    }
}

#page-gorev.active {
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
}

#page-istatistik .info-section,
#page-istatistik .stats-rank-tabs-wrap {
    background: linear-gradient(165deg, rgba(4, 14, 28, 0.18), rgba(6, 12, 24, 0.26));
    backdrop-filter: blur(0.8px);
    box-shadow:
        inset 0 0 0 1px rgba(129, 229, 255, 0.12),
        0 10px 28px rgba(0, 0, 0, 0.16);
}

.missions-page-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.missions-page-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.missions-page-subtitle {
    color: rgba(220, 240, 255, 0.76);
    font-size: 13px;
    line-height: 1.45;
}

.missions-summary-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.missions-summary-chip {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(103, 219, 255, 0.24);
    background: rgba(6, 20, 39, 0.46);
    color: #ddf7ff;
    font-size: 12px;
    box-shadow: inset 0 0 0 1px rgba(127, 226, 255, 0.08);
}

.missions-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.missions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    overscroll-behavior: contain;
}

.missions-sidebar::-webkit-scrollbar {
    width: 8px;
}

.missions-sidebar::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.missions-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(103, 219, 255, 0.82), rgba(55, 128, 184, 0.92));
    box-shadow: inset 0 0 0 1px rgba(214, 245, 255, 0.14);
}

.mission-list-item {
    border: 1px solid rgba(104, 214, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(165deg, rgba(7, 18, 34, 0.82), rgba(14, 24, 45, 0.7));
    box-shadow: inset 0 0 0 1px rgba(129, 229, 255, 0.08);
    padding: 12px 14px;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.mission-list-item:hover {
    transform: translateX(2px);
    border-color: rgba(117, 232, 255, 0.34);
}

.mission-list-item.active {
    border-color: rgba(95, 255, 173, 0.48);
    background: linear-gradient(165deg, rgba(19, 89, 57, 0.76), rgba(18, 125, 83, 0.64));
    box-shadow:
        inset 0 0 0 1px rgba(166, 255, 210, 0.16),
        0 0 18px rgba(76, 255, 170, 0.14);
}

.mission-list-item.claimable {
    border-color: rgba(255, 225, 126, 0.34);
}

.mission-list-item.accepted:not(.active) {
    border-color: rgba(98, 232, 255, 0.24);
}

.mission-list-item.completed,
.mission-list-item.completed.active {
    border-color: rgba(114, 255, 166, 0.52);
    background: linear-gradient(165deg, rgba(21, 98, 59, 0.82), rgba(19, 136, 81, 0.7));
    box-shadow:
        inset 0 0 0 1px rgba(191, 255, 219, 0.14),
        0 0 18px rgba(97, 255, 162, 0.14);
}

.mission-list-item.locked:not(.completed):not(.active) {
    border-color: rgba(255, 170, 111, 0.28);
    background: linear-gradient(165deg, rgba(45, 28, 17, 0.78), rgba(58, 33, 17, 0.66));
}

@media (max-width: 980px) {
    .settings-account-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .settings-visual-toggle {
        flex-direction: column;
        align-items: flex-start;
    }

    .settings-visual-controls {
        width: 100%;
        justify-content: space-between;
    }

    .settings-account-save,
    .settings-account-save-top {
        width: 100%;
        margin-top: 0;
    }
}

.mission-list-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.mission-list-item-title {
    color: #f2fbff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.mission-list-item-level {
    color: rgba(226, 239, 255, 0.66);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.mission-list-item-bottom {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: rgba(216, 236, 255, 0.74);
    font-size: 11px;
}

.mission-list-item-status {
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(104, 214, 255, 0.22);
    background: rgba(0, 163, 255, 0.16);
    color: #d8f9ff;
    font-weight: 700;
}

.mission-list-item-status.ready {
    color: #122417;
    background: linear-gradient(135deg, #82ffb8, #c2ffe0);
    border-color: rgba(180, 255, 220, 0.92);
}

.mission-list-item-status.accepted:not(.ready) {
    color: #071d27;
    background: linear-gradient(135deg, #7feaff, #d8fbff);
    border-color: rgba(132, 239, 255, 0.78);
}

.mission-list-item-status.completed {
    color: #0d2b18;
    background: linear-gradient(135deg, #74ff9f, #dcffe9);
    border-color: rgba(174, 255, 206, 0.92);
}

.mission-list-item-status.locked:not(.completed):not(.ready):not(.accepted) {
    color: #3f1608;
    background: linear-gradient(135deg, #ffb584, #ffe1c8);
    border-color: rgba(255, 201, 158, 0.92);
}

.missions-detail {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.mission-detail-header {
    color: #f3fbff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.mission-detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 18px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.mission-detail-main,
.mission-detail-rewards-column {
    min-width: 0;
    min-height: 0;
}

.mission-detail-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-detail-rewards-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-detail-panel {
    border-radius: 14px;
    border: 1px solid rgba(107, 217, 255, 0.2);
    background: linear-gradient(165deg, rgba(7, 18, 34, 0.78), rgba(13, 21, 41, 0.66));
    box-shadow:
        inset 0 0 0 1px rgba(129, 229, 255, 0.08),
        0 10px 22px rgba(0, 0, 0, 0.14);
    padding: 16px 18px;
}

.mission-detail-main > .mission-detail-panel,
.mission-detail-rewards-panel {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mission-detail-rewards-panel {
    flex: 1;
    min-height: 240px;
}

.mission-detail-target-line {
    color: #edf8ff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.mission-detail-target-entry + .mission-detail-target-entry {
    margin-top: 6px;
}

.mission-detail-target-name {
    color: #70ecff;
}

.mission-detail-description {
    margin-top: 10px;
    color: rgba(223, 237, 247, 0.76);
    font-size: 13px;
    line-height: 1.5;
}

.mission-detail-progress-row {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #d9f7ff;
    font-size: 12px;
}

.mission-detail-rewards-title {
    color: #7feaff;
    font-size: 22px;
    font-weight: 700;
}

.mission-detail-rewards-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #edf8ff;
    font-size: 17px;
    line-height: 1.45;
}

.mission-detail-actions {
    margin-top: 8px;
    min-height: 86px;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    align-self: end;
    gap: 12px;
    flex-wrap: wrap;
}

.mission-repeatable-note {
    color: rgba(223, 238, 255, 0.54);
    font-size: 11px;
}

.mission-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.mission-action-button,
.mission-claim-button {
    min-width: 130px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(109, 236, 255, 0.32);
    background: linear-gradient(180deg, rgba(13, 106, 160, 0.92), rgba(8, 57, 105, 0.92));
    color: #f0fdff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.mission-action-button.accept {
    background: linear-gradient(180deg, rgba(29, 146, 82, 0.94), rgba(18, 92, 55, 0.92));
    border-color: rgba(119, 255, 172, 0.34);
}

.mission-action-button.cancel {
    background: linear-gradient(180deg, rgba(138, 52, 63, 0.94), rgba(90, 29, 36, 0.92));
    border-color: rgba(255, 151, 158, 0.3);
}

.mission-action-button:hover:not(:disabled),
.mission-claim-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(66, 214, 255, 0.22);
}

.mission-action-button:disabled,
.mission-claim-button:disabled {
    opacity: 0.5;
    cursor: default;
}

.missions-empty-state {
    padding: 28px 18px;
    border-radius: 14px;
    border: 1px dashed rgba(103, 219, 255, 0.22);
    color: rgba(224, 238, 247, 0.7);
    text-align: center;
    background: rgba(8, 16, 30, 0.28);
}

@media (max-width: 980px) {
    .missions-layout {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .missions-sidebar {
        max-height: 280px;
        height: auto;
    }

    .mission-detail-header {
        font-size: 18px;
    }

    .mission-detail-rewards-list {
        font-size: 15px;
    }

    .missions-detail {
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .mission-detail-body {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .mission-detail-rewards-panel {
        min-height: 0;
    }

    .mission-detail-actions {
        min-height: 0;
        padding-top: 0;
        align-self: stretch;
    }
}

#page-istatistik .stats-rank-tabs-main,
#page-istatistik .stats-rank-tab-panel {
    background: transparent;
}

#page-istatistik .section-title,
#page-istatistik .stat-line,
#page-istatistik .online-player-item,
#page-istatistik .stats-rank-name {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.rank-badge-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.stats-rank-badge {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    image-rendering: auto;
    flex-shrink: 0;
}

.stats-rank-name {
    color: #00e5ff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.space-map-wrap {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 10px;
}

.space-map-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.space-map-refresh {
    padding: 6px 12px;
    font-size: 11px;
}

.space-map-view-buttons {
    position: absolute;
    top: 10px;
    left: 14px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.space-map-view-button {
    min-width: 42px;
    padding: 7px 12px;
    font-size: 12px;
}

.space-map-view-button.active {
    color: #00151c;
    background: linear-gradient(180deg, #dff8ff 0%, #79dfff 55%, #3389a8 100%);
    border-color: rgba(180, 255, 255, 0.9);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.45);
}

.space-map-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 12px;
    color: rgba(223, 241, 255, 0.88);
    font-size: 12px;
}

.space-map-meta strong {
    color: #00ffff;
}

.space-map-canvas-wrap {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: clamp(420px, 62vh, 680px);
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(119, 226, 255, 0.28);
    background:
        radial-gradient(circle at 50% 45%, rgba(68, 86, 110, 0.12), transparent 34%),
        #000000;
    box-shadow:
        inset 0 0 0 1px rgba(118, 231, 255, 0.08),
        0 14px 34px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

#spaceMapCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

.space-map-status {
    margin-top: 10px;
    color: rgba(178, 222, 244, 0.88);
    font-size: 12px;
}

@media (max-width: 768px) {
    .space-map-canvas-wrap {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .control-panel-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .control-panel-nav {
        border-right: none;
        border-bottom: 1px solid rgba(114, 225, 255, 0.25);
    }

    .nav-item:hover {
        transform: none;
    }
}

/* Ekipman SayfasÄ± Stilleri */
.equipment-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ãœst Tab MenÃ¼ */
.equipment-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 10, 20, 0.6);
    padding: 0 20px;
}

.equipment-tab {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.equipment-tab:hover {
    color: #fff;
    background: rgba(0, 255, 255, 0.05);
}

.equipment-tab.active {
    color: #fff;
    border-bottom-color: #ff0000;
}

/* Ana Ä°Ã§erik */
.equipment-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.equipment-tab-content {
    display: none;
}

.equipment-tab-content.active {
    display: block;
}

.equipment-section-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Hangarlar Grid */
.hangars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(119px, 1fr));
    gap: 12px;
}

.hangar-card {
    background: rgba(0, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hangar-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 9px rgba(0, 255, 255, 0.2);
}

.hangar-card.active {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}

.hangar-card-image {
    width: 100%;
    height: 90px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    font-size: 36px;
}

.hangar-card-name {
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    margin-bottom: 6px;
}

.hangar-card-status {
    color: #00ffff;
    font-size: 7px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Yeni Hangar SatÄ±n Alma KartÄ± */
.hangar-card.buy-hangar {
    border-style: dashed;
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(0, 10, 20, 0.4);
}

.hangar-card.buy-hangar:hover {
    border-color: rgba(0, 255, 255, 0.6);
    background: rgba(0, 255, 255, 0.05);
}

.hangar-buy-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 9px;
    font-size: 24px;
    color: #00ffff;
}

.hangar-buy-text {
    color: #00ffff;
    font-size: 7px;
    font-weight: bold;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .equipment-tabs {
        flex-wrap: wrap;
        padding: 0 10px;
    }
    
    .equipment-tab {
        padding: 10px 15px;
        font-size: 10px;
    }
    
    .hangars-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 9px;
    }
    
    .hangar-card {
        padding: 9px;
    }
    
    .hangar-card-image {
        height: 71px;
        font-size: 29px;
    }
}

/* UZAY GEMÄ°SÄ° Tab Stilleri */
.ship-customization-container {
    display: flex;
    gap: 20px;
    height: 100%;
}

/* Sol Panel: Gemi GÃ¶rseli */
.ship-display-panel {
    width: 250px;
    background: rgba(0, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.ship-preview {
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.ship-preview-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ship-select-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0096ff 0%, #0066cc 100%);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ship-select-button:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 150, 255, 0.3);
}

/* Orta Panel: Ekipman SlotlarÄ± */
.equipment-slots-panel {
    flex: 1;
    background: rgba(0, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    padding: 20px;
    overflow-y: auto;
}

.equipment-category {
    margin-bottom: 25px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ffff00;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.category-icon {
    color: #ffff00;
    font-size: 12px;
}

.category-title {
    text-transform: uppercase;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

#extraSlots {
    grid-template-columns: repeat(3, minmax(78px, 78px));
    justify-content: start;
}

#tab-diroitler #droidSlots {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
}

#tab-diroitler .equipment-slots-panel {
    position: relative;
    padding-bottom: 120px;
}

#tab-diroitler .equipment-category {
    position: relative;
    z-index: 2;
}

.droid-bottom-preview {
    position: absolute;
    right: 22px;
    bottom: 10px;
    width: min(220px, 30%);
    min-width: 145px;
    pointer-events: auto;
    transform-origin: center bottom;
    transition: transform 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
    opacity: 0.6;
    z-index: 1;
    cursor: pointer;
}

.droid-bottom-preview img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.droid-bottom-preview.is-active {
    transform: scale(1.08);
    opacity: 1;
    filter: brightness(1.08);
}

.droid-bottom-preview.is-sell-ready {
    opacity: 0.95;
    filter: brightness(1.04);
}

#tab-diroitler #droidSlots .slot-item.droid-sell-selected {
    border-style: solid;
    border-color: rgba(255, 214, 64, 0.95);
    background: rgba(255, 196, 0, 0.12);
    box-shadow: 0 0 14px rgba(255, 196, 0, 0.28);
}

.droid-subslots-grid {
    margin-top: 4px;
}

@media (max-width: 1024px) {
    #tab-diroitler #droidSlots {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .droid-bottom-preview {
        width: min(190px, 34%);
        min-width: 132px;
    }
}

@media (max-width: 640px) {
    #tab-diroitler #droidSlots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .droid-bottom-preview {
        right: 14px;
        bottom: 12px;
        width: min(160px, 36%);
        min-width: 108px;
    }
}

.droid-subslot {
    height: 18px;
    width: 25%;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.droid-subslot-icon {
    font-size: 14px;
    line-height: 1;
}

.slot-item {
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

/* Hover efekti kaldÄ±rÄ±ldÄ± - sadece cursor: pointer kalÄ±yor */

.slot-item.filled {
    border-style: solid;
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.1);
}

.slot-item.drag-over {
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.2);
}

.slot-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slot-item-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.slot-item-level {
    position: absolute;
    top: 2px;
    left: 2px;
    background: rgba(0, 150, 255, 0.8);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 2px;
}

/* SaÄŸ Panel: Envanter */
.inventory-panel {
    width: 280px;
    background: rgba(0, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.inventory-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.inventory-scroll {
    overflow-y: auto;
    margin-bottom: 15px;
    min-height: 100px;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.inventory-item {
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: grab;
    transition: all 0.3s ease;
}

.inventory-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.inventory-item:active {
    cursor: grabbing;
}

.inventory-item.dragging {
    opacity: 0.5;
}

.inventory-item-icon {
    font-size: 32px;
}

.inventory-item-level {
    position: absolute;
    top: 2px;
    left: 2px;
    background: rgba(0, 150, 255, 0.8);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 2px;
}

.inventory-item-name {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 8px;
    text-align: center;
    padding: 2px;
    border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Yeni envanter slot stilleri */
.inventory-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.inventory-slot-item {
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    min-height: 60px;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.inventory-slot-item.has-item {
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.1);
}

/* Hover efekti kaldÄ±rÄ±ldÄ± - sadece cursor: pointer kalÄ±yor */

.inventory-slot-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.inventory-slot-name {
    font-size: 10px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 2px;
}

.inventory-slot-quantity {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 150, 255, 0.8);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.inventory-slot-item:not(.has-item) .inventory-slot-quantity {
    display: none;
}

/* TakÄ±lÄ± eÅŸya stilleri */
.equipped-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 3px;
}

.equipped-item-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.equipped-item-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.equipped-item-name {
    font-size: 9px;
    color: #fff;
    font-weight: bold;
}

.inventory-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.currency-display {
    text-align: center;
    color: #00ffff;
    font-size: 14px;
    font-weight: bold;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.action-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.sell-button {
    background: linear-gradient(135deg, #ff3333 0%, #cc0000 100%);
}

.sell-button:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    transform: translateY(-1px);
}

.buy-button {
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
}

.buy-button:hover {
    background: linear-gradient(135deg, #00cc00 0%, #00aa00 100%);
    transform: translateY(-1px);
}

.repair-button {
    background: linear-gradient(135deg, #ffaa00 0%, #ff8800 100%);
}

.repair-button:hover {
    background: linear-gradient(135deg, #ff8800 0%, #cc6600 100%);
    transform: translateY(-1px);
}

/* Mobil uyumluluk */
@media (max-width: 1024px) {
    .ship-customization-container {
        flex-direction: column;
    }
    
    .ship-display-panel {
        width: 100%;
    }
    
    .inventory-panel {
        width: 100%;
    }
}

/* Åirket seÃ§imi overlay */
.faction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050814 url('img/arayüz/sirketarkaplan.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 140;
}

.faction-overlay.hidden {
    display: none;
}

.faction-modal {
    width: 99%;
    max-width: 990px;
    max-height: 90vh;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 24px 28px 28px;
    text-align: center;
}

.faction-top-logo {
    transform: translateY(-60%);
}

.faction-content-block {
    transform: translateY(-10%);
    width: 100%;
}

.faction-header {
    margin-bottom: 16px;
}

.faction-title {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    transform: translateY(347%);
}

.faction-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 136.4px;
    margin: 16px 0 18px;
    margin-top: 11%;
}


.faction-card {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    color: #ffffff;
    text-align: center;
    overflow: visible;
}

.faction-card:hover {
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.faction-card.selected {
    border-color: rgba(0, 255, 255, 0.7);
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.3);
}

.faction-card-image {
    height: clamp(209.87px, 52.47vh, 419.74px);
    border-radius: 4px;
    background: #05080f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.faction-card-image img:not(.faction-outer-frame) {
    display: block;
    position: relative;
    z-index: 3;
}

.faction-card-gif {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px !important;
    height: 86px !important;
    object-fit: contain;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.6)) brightness(1.15) !important;
    transform: translate(-50%, -50%) scale(1) !important;
    animation: factionGifPulse 2s ease-in-out infinite;
}

.faction-card-image-mars {
    --faction-photo: url('img/faction/mmo.jpg');
    color: #ffb36b;
}

.faction-card-image-eic {
    --faction-photo: url('img/faction/eic.jpg');
    color: #7fd0ff;
}

.faction-card-image-venus {
    --faction-photo: url('img/faction/vru.jpg');
    color: #9bffbf;
}

.faction-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.28) 100%),
        var(--faction-photo) center center / cover no-repeat;
    transform: scale(1.02);
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: saturate(1.02) contrast(1.04);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1;
}

.faction-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 52%, rgba(80, 220, 255, 0.18), rgba(80, 220, 255, 0) 46%),
        linear-gradient(180deg, rgba(0, 14, 28, 0.08), rgba(0, 0, 0, 0.22));
    z-index: 2;
    pointer-events: none;
}

.faction-card:hover .faction-card-image::before,
.faction-card.selected .faction-card-image::before {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.08) brightness(1.02);
}

.faction-card .faction-outer-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    pointer-events: none;
    z-index: 10;
    display: block;
}

.faction-card-image {
    transition: transform 0.2s ease;
}

.faction-card-name {
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
}

.faction-description {
    min-height: 60px;
    font-size: 11px;
    line-height: 1.6;
    color: #cccccc;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    margin-top: 20%;
    transform: translateY(-190%);
}

.faction-description-title {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    color: #ffffff;
}

.faction-description-text {
    color: #cccccc;
}

.faction-confirm {
    padding: 0;
    background-color: transparent;
    background: transparent;
    border: none;
    color: #eafff1;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    width: 164px;
    height: 52px;
    position: relative;
    overflow: hidden;
    margin-top: -5%;
    transform: translateY(-315%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faction-confirm:hover:enabled {
    transform: translateY(calc(-315% - 1px));
    filter: brightness(1.04);
}

.faction-confirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.18);
}

.confirm-frames {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.confirm-frames img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.confirm-frames img:nth-child(1) {
    opacity: 1;
}

.confirm-frames img:nth-child(2) {
    opacity: 0;
}

.faction-confirm:hover:enabled .confirm-frames img:nth-child(2),
.faction-confirm:focus-visible .confirm-frames img:nth-child(2) {
    opacity: 1;
}


.confirm-label {
    position: relative;
    z-index: 2;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

@media (max-width: 768px) {
    .faction-modal {
        padding: 18px;
    }

    .faction-cards {
        grid-template-columns: 1fr;
    }

    .faction-card-image {
        height: 140px;
    }
}

/* Market dÃ¼zen dÃ¼zeltmesi: kategorileri Ã¼stte yatay hizala, iÃ§erikleri alana yay */
#page-market {
    padding: 18px;
    height: 100%;
    min-height: 0;
}

#page-market .market-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    height: 100%;
    min-height: 0;
}

#page-market .market-categories {
    grid-column: 1 / -1;
    width: 100%;
    background: transparent;
    border-right: none;
    border-bottom: 1px solid rgba(0, 255, 255, 0.24);
    padding: 0 0 10px;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
}

#page-market .category-item {
    flex: 0 0 auto;
    min-width: 112px;
    min-height: 38px;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 800;
    color: #000000;
    border: none;
    border-radius: 0;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    text-shadow: none;
    box-shadow: none;
}

#page-market .category-item:hover {
    color: #000000;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

#page-market .category-item.active {
    color: #000000;
    border: none;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    filter: brightness(1.14);
    box-shadow: 0 0 12px rgba(87, 220, 255, 0.22);
}

#page-market .market-items-grid {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
}

#page-market .market-items-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

#page-market .market-droid-formations-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 255, 255, 0.18);
}

#page-market .market-droid-formations-section.hidden {
    display: none;
}

#page-market .market-section-title {
    color: #9fe8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-left: 2px;
}

#page-market #marketDroidFormationsList {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

#page-market .market-formation-image svg,
#page-market .market-formation-details-image svg {
    width: 72px;
    height: 72px;
    max-width: 100%;
    max-height: 100%;
}

#page-market .market-formation-details-image svg {
    width: 96px;
    height: 96px;
}

#page-market #marketShipsList {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

#page-market .market-ship-item {
    padding: 8px;
}

#page-market .market-ship-name,
#page-market .market-ship-name-ships {
    font-size: 10px !important;
}

#page-market .market-ship-price {
    font-size: 10px !important;
}

#page-market .market-ship-image {
    height: 84px;
    min-height: 84px;
    margin-bottom: 6px;
}

#page-market .market-ship-image img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 80px !important;
    left: auto !important;
    transform: none !important;
}

#page-market .market-details {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    min-width: 280px;
    max-width: 380px;
    min-height: 0;
    border-left: 1px solid rgba(0, 255, 255, 0.2);
    border-top: none;
}

@media (max-width: 1024px) {
    #page-market .market-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr) minmax(220px, auto);
    }

    #page-market .market-items-grid {
        grid-column: 1;
        grid-row: 2;
    }

    #page-market .market-details {
        grid-column: 1;
        grid-row: 3;
        min-width: 0;
        max-width: none;
        border-left: none;
        border-top: 1px solid rgba(0, 255, 255, 0.2);
    }

    #page-market #marketShipsList {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    }
}

/* ===== Yeni Ã–lÃ¼m EkranÄ± TasarÄ±mÄ± ===== */
.game-over-header {
    margin-bottom: 30px;
}

.game-over-title {
    font-size: 42px;
    font-weight: bold;
    color: #ff4444;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.destroyer-info {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.destroyer-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.destroyer-name {
    font-size: 24px;
    font-weight: bold;
    color: #ff6666;
    text-shadow: 0 0 10px rgba(255, 102, 102, 0.6);
}

.repair-instruction {
    font-size: 14px;
    color: #ccc;
    margin-top: 15px;
}

.repair-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.repair-option {
    flex: 1;
    max-width: 200px;
    background: linear-gradient(135deg, rgba(0, 100, 200, 0.2), rgba(0, 150, 255, 0.1));
    border: 2px solid rgba(0, 170, 255, 0.5);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.repair-option:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 255, 0.8);
    background: linear-gradient(135deg, rgba(0, 100, 200, 0.3), rgba(0, 150, 255, 0.2));
    box-shadow: 0 5px 20px rgba(0, 170, 255, 0.4);
}

.repair-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.repair-label {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
}

.repair-cost {
    font-size: 14px;
    color: #00ff88;
    font-weight: 600;
}

.vip-repair-text {
    font-size: 14px;
    color: #ffaa00;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vip-repair-button {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #ff8c00, #ffaa00);
    border: 2px solid #ffcc00;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.vip-repair-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 170, 0, 0.5);
    background: linear-gradient(135deg, #ffaa00, #ffcc00);
}

@media (max-width: 768px) {
    .repair-options {
        flex-direction: column;
        align-items: center;
    }
    
    .repair-option {
        max-width: 100%;
        width: 100%;
    }
    
    .game-over-title {
        font-size: 32px;
    }
    
    .destroyer-name {
        font-size: 20px;
    }
}

/* ===== TaÅŸÄ±nabilir Gemi & Profil Paneli ===== */
.draggable-panel {
    position: fixed;
    width: 294px;
    background:
        radial-gradient(circle at top right, rgba(76, 224, 255, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(6, 16, 30, 0.96) 0%, rgba(7, 14, 24, 0.93) 100%);
    border: 1px solid rgba(76, 224, 255, 0.42);
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(118, 231, 255, 0.1) inset,
        0 16px 36px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(0, 169, 255, 0.2);
    z-index: 98;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    isolation: isolate;
}

.draggable-panel.dragging {
    box-shadow:
        0 0 0 1px rgba(118, 231, 255, 0.16) inset,
        0 24px 44px rgba(0, 0, 0, 0.54),
        0 0 24px rgba(0, 195, 255, 0.34);
    border-color: rgba(118, 231, 255, 0.62);
    transform: translateY(-1px);
}

.draggable-panel.minimized .panel-content {
    display: none;
}

#shipPanel {
    --panel-accent: #45e3ff;
    --panel-header-bg: linear-gradient(180deg, rgba(12, 93, 160, 0.92), rgba(10, 68, 119, 0.9));
}

#profilePanel {
    --panel-accent: #47dcff;
    --panel-header-bg: linear-gradient(180deg, rgba(11, 84, 147, 0.92), rgba(8, 60, 108, 0.9));
}

.panel-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px 7px;
    background: var(--panel-header-bg, linear-gradient(180deg, rgba(12, 93, 160, 0.92), rgba(10, 68, 119, 0.9)));
    border-bottom: 1px solid rgba(84, 216, 255, 0.34);
    cursor: move;
    user-select: none;
    -webkit-user-select: none;
}

.panel-header::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(116, 234, 255, 0.8), transparent);
    opacity: 0.8;
}

.panel-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--panel-accent, #45e3ff);
    letter-spacing: 0.08em;
    text-shadow: 0 0 12px rgba(95, 231, 255, 0.34);
}

.panel-minimize-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    background: rgba(17, 124, 196, 0.34);
    border: 1px solid rgba(98, 225, 255, 0.42);
    border-radius: 7px;
    color: #baf7ff;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-minimize-btn:hover {
    background: rgba(28, 153, 235, 0.44);
    border-color: rgba(143, 239, 255, 0.82);
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.24);
}

.panel-minimize-btn:active {
    transform: scale(0.95);
}

.panel-content {
    position: relative;
    z-index: 1;
    padding: 14px;
    max-height: 546px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

.panel-content::-webkit-scrollbar {
    width: 6px;
}

.panel-content::-webkit-scrollbar-track {
    background: rgba(0, 100, 200, 0.1);
    border-radius: 3px;
}

.panel-content::-webkit-scrollbar-thumb {
    background: rgba(0, 200, 255, 0.4);
    border-radius: 3px;
}

.panel-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 200, 255, 0.6);
}

.panel-section {
    margin-bottom: 0;
    padding: 12px 13px;
    background: linear-gradient(180deg, rgba(9, 18, 30, 0.88), rgba(8, 15, 24, 0.72));
    border: 1px solid rgba(85, 218, 255, 0.18);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.panel-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 11px;
    font-weight: bold;
    color: #00ff88;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 2px 0;
    font-size: 12px;
    gap: 12px;
}

.info-row .label {
    color: rgba(225, 238, 248, 0.82);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.info-row .value {
    color: #8ef1ff;
    font-weight: 800;
    text-align: right;
    text-shadow: 0 0 8px rgba(64, 220, 255, 0.18);
}

.info-row .value.honor {
    color: #ffaa00;
}

.info-row .value.gold {
    color: #ff00ff;
}

.info-row .value.silver {
    color: #ffff00;
}

#profilePanel .info-row {
    margin-bottom: 4px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(87, 217, 255, 0.08);
}

#profilePanel .info-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* HP ë° Shield ë§‰ëŒ€ */
.hp-bar, .shield-bar, .cargo-bar {
    width: 100%;
    height: 9px;
    background: rgba(4, 10, 18, 0.88);
    border: 1px solid rgba(115, 169, 206, 0.18);
    border-radius: 999px;
    overflow: hidden;
    margin: 6px 0 12px 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.72);
}

.hp-fill {
    height: 100%;
    background: linear-gradient(90deg, #49ef1e 0%, #86ff35 100%);
    border-radius: 999px;
    transition: width 0.3s ease;
    box-shadow: 0 0 12px rgba(94, 255, 38, 0.36);
}

.shield-fill {
    height: 100%;
    background: linear-gradient(90deg, #27a9ff 0%, #58d6ff 100%);
    border-radius: 999px;
    transition: width 0.3s ease;
    box-shadow: 0 0 12px rgba(46, 173, 255, 0.32);
}

.cargo-fill {
    height: 100%;
    background: linear-gradient(90deg, #12cc52 0%, #7cff83 100%);
    border-radius: 999px;
    transition: width 0.3s ease;
    box-shadow: 0 0 12px rgba(44, 255, 95, 0.34);
}

/* ëª¨ë°”ì¼ ì‘ë‹µ */
@media (max-width: 1024px) {
    .draggable-panel {
        width: 240px;
        top: 70px;
        right: 15px;
    }
    
    .panel-content {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .draggable-panel {
        width: 220px;
        top: 60px;
        right: 10px;
        font-size: 11px;
    }
    
    .panel-header {
        padding: 10px 12px;
    }
    
    .panel-title {
        font-size: 12px;
    }
    
    .panel-minimize-btn {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .panel-content {
        padding: 10px;
        max-height: 350px;
    }
    
    .info-row {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 10px;
    }
}

/* ===== Faction Logo Stilleri (Panelden kaldÄ±rÄ±ldÄ±) ===== */
/*
.faction-section {
    text-align: center;
}

.faction-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 100, 200, 0.15);
    border: 1px solid rgba(0, 200, 255, 0.3);
    border-radius: 8px;
}

.faction-logo {
    width: 60px;
    height: 60px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.4));
    transition: filter 0.3s ease;
    animation: logoFloat 2s ease-in-out infinite;
}

.faction-logo:hover {
    filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.7));
}

.faction-name {
    font-size: 13px;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
    letter-spacing: 1px;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .faction-logo-container {
        padding: 10px;
        gap: 8px;
    }
    
    .faction-logo {
        width: 50px;
        height: 50px;
    }
    
    .faction-name {
        font-size: 12px;
    }
}
*/

/* Faction GIF AnimasyonlarÄ± */
@keyframes factionGifPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.6)) brightness(1.15);
        transform: translateY(-5%) scale(1.35);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.7)) brightness(1.25);
        transform: translateY(-8px) scale(1.42);
    }
}

/* ===== Klan Modern Panel ===== */
#page-klan {
    border: 1px solid rgba(120, 205, 240, 0.22);
    border-radius: 12px;
    box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.22);
    min-height: 100%;
    box-sizing: border-box;
}

#page-klan.active {
    display: flex !important;
    flex-direction: column;
    padding: 16px;
    height: 100%;
    overflow: hidden;
}

.clan-modern-wrap {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.clan-modern-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clan-modern-side-item {
    border: 1px solid rgba(180, 208, 230, 0.55);
    background: linear-gradient(180deg, rgba(245, 250, 255, 0.14), rgba(112, 130, 150, 0.22));
    color: #f4fbff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
}

.clan-modern-side-item.active {
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.clan-modern-main {
    background: #020812 url("img/klan/arkaplan.jpg") center center / cover no-repeat;
    border: 1px solid rgba(190, 203, 215, 0.5);
    border-radius: 10px;
    padding: 12px;
    min-height: 100%;
    box-sizing: border-box;
}

.clan-tab-panel {
    display: block;
}

.clan-tab-panel.hidden {
    display: none;
}

.clan-modern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.clan-modern-title {
    font-size: 19px;
    font-weight: 800;
    color: #f8fcff;
}

.clan-modern-edit {
    border: 1px solid rgba(210, 226, 238, 0.8);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
}

.clan-modern-top {
    display: grid;
    grid-template-columns: 1fr 126px;
    gap: 12px;
    margin-bottom: 12px;
}

.clan-modern-info-grid {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(188, 204, 220, 0.4);
    border-radius: 8px;
    padding: 8px;
}

.clan-info-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px;
    border-bottom: 1px solid rgba(195, 209, 221, 0.18);
    padding: 4px 2px;
    font-size: 13px;
}

.clan-info-row:last-child {
    border-bottom: none;
}

.clan-info-row span {
    color: rgba(225, 235, 244, 0.94);
}

.clan-info-row strong {
    color: #ffffff;
}

.clan-modern-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.clan-modern-logo-title {
    font-size: 12px;
    color: rgba(235, 245, 255, 0.95);
}

.clan-modern-logo-box {
    width: 110px;
    height: 110px;
    border: 1px solid rgba(225, 236, 246, 0.58);
    border-radius: 10px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

#clanLogoText {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
}

.clan-modern-post-area {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.clan-modern-post-area label {
    font-weight: 700;
    font-size: 14px;
}

#clanMottoInput {
    min-height: 78px;
    max-height: 150px;
    resize: vertical;
    border-radius: 8px;
    border: 1px solid rgba(202, 216, 230, 0.45);
    background: rgba(11, 18, 27, 0.66);
    color: #ffffff;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    user-select: text;
    -webkit-user-select: text;
}

.clan-modern-create-row {
    display: grid;
    grid-template-columns: 170px 1fr auto auto;
    gap: 8px;
    margin-bottom: 12px;
}

.clan-modern-create-row input {
    border-radius: 7px;
    border: 1px solid rgba(190, 210, 225, 0.45);
    background: rgba(9, 16, 25, 0.76);
    color: #ffffff;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    user-select: text;
    -webkit-user-select: text;
}

.clan-modern-feed {
    background: rgba(7, 13, 20, 0.54);
    border: 1px solid rgba(185, 204, 220, 0.35);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
}

.clan-modern-feed-title,
.clan-modern-members-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
}

.clan-modern-feed-list {
    display: grid;
    gap: 5px;
    max-height: 105px;
    overflow-y: auto;
}

.clan-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 8px;
}

.clan-search-row input {
    border-radius: 7px;
    border: 1px solid rgba(190, 210, 225, 0.45);
    background: rgba(9, 16, 25, 0.76);
    color: #ffffff;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    user-select: text;
    -webkit-user-select: text;
}

.clan-modern-feed-item {
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid rgba(168, 190, 208, 0.26);
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
}

.clan-modern-members {
    background: rgba(7, 13, 20, 0.44);
    border: 1px solid rgba(185, 204, 220, 0.28);
    border-radius: 8px;
    padding: 8px;
}

@media (max-width: 980px) {
    .clan-modern-wrap {
        grid-template-columns: 1fr;
    }

    .clan-modern-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .clan-modern-side-item {
        flex: 1 1 110px;
    }

    .clan-modern-top {
        grid-template-columns: 1fr;
    }

    .clan-modern-logo-wrap {
        align-items: flex-start;
    }

    .clan-modern-create-row {
        grid-template-columns: 1fr;
    }

    .clan-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.clan-guest-layout {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.clan-guest-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.clan-guest-nav-item {
    border: 1px solid rgba(185, 205, 225, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(90, 108, 128, 0.3));
    color: #f5fbff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 12px 10px;
    text-align: left;
    cursor: pointer;
}

.clan-guest-nav-item.active {
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) inset, 0 0 18px rgba(120, 200, 255, 0.14);
}

.clan-guest-main {
    background: #020812 url("img/klan/arkaplan.jpg") center center / cover no-repeat;
    border: 1px solid rgba(185, 205, 225, 0.4);
    border-radius: 10px;
    padding: 14px;
    min-height: 100%;
    box-sizing: border-box;
}

.clan-guest-panel {
    display: block;
}

.clan-guest-panel.hidden {
    display: none;
}

.clan-guest-panel-header {
    margin-bottom: 12px;
}

.clan-guest-subtitle {
    color: rgba(222, 236, 248, 0.78);
    font-size: 13px;
    margin-top: 4px;
}

.clan-guest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.clan-creator-layout {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(280px, 360px);
    gap: 16px;
}

.clan-creator-copy {
    display: grid;
    gap: 14px;
}

.clan-creator-note {
    border: 1px solid rgba(150, 190, 225, 0.18);
    background: radial-gradient(circle at top left, rgba(0, 190, 255, 0.08), rgba(2, 8, 18, 0.65));
    border-radius: 10px;
    padding: 14px;
    color: #e8f4ff;
    min-height: 220px;
}

.clan-creator-note p {
    margin: 0 0 10px;
    line-height: 1.55;
    font-size: 13px;
}

.clan-creator-note p:last-child {
    margin-bottom: 0;
}

.clan-creator-company,
.clan-creator-cost {
    border: 1px solid rgba(160, 200, 230, 0.24);
    border-radius: 8px;
    background: rgba(7, 12, 20, 0.52);
    padding: 10px 12px;
    font-weight: 700;
}

.clan-creator-cost {
    color: #ffe97d;
    text-align: center;
}

.clan-creator-form {
    display: grid;
    gap: 10px;
}

.clan-company-panel {
    display: grid;
    gap: 12px;
}

.clan-company-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.clan-company-summary-card {
    border: 1px solid rgba(160, 200, 230, 0.24);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(10, 19, 30, 0.9), rgba(5, 10, 17, 0.78));
    padding: 12px;
    display: grid;
    gap: 4px;
}

.clan-company-summary-card span {
    font-size: 11px;
    color: rgba(212, 230, 244, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.clan-company-summary-card strong {
    font-size: 16px;
    color: #f1fbff;
}

.clan-company-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.clan-company-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(160, 200, 230, 0.24);
    background: linear-gradient(180deg, rgba(8, 14, 24, 0.95), rgba(12, 20, 30, 0.82));
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.clan-company-card:hover {
    transform: translateY(-2px);
    border-color: rgba(109, 222, 255, 0.55);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.clan-company-card.selected {
    border-color: rgba(88, 241, 255, 0.88);
    box-shadow: 0 0 0 1px rgba(88, 241, 255, 0.18), 0 16px 28px rgba(6, 16, 26, 0.4);
}

.clan-company-card.is-current {
    border-color: rgba(179, 255, 120, 0.72);
}

.clan-company-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: #dceefc;
}

.clan-company-card.is-current .clan-company-badge {
    background: rgba(179, 255, 120, 0.12);
    color: #dfffbb;
}

.clan-company-media.faction-card-image {
    height: 180px;
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
}

.clan-company-media.faction-card-image::before {
    transform: scale(1.08);
    opacity: 0.92;
}

.clan-company-card.selected .clan-company-media.faction-card-image::before {
    transform: scale(1.14);
}

.clan-company-gif {
    width: 132px;
    height: 132px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 16px rgba(36, 220, 255, 0.48));
}

.clan-company-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 178px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.96;
}

.clan-company-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.clan-company-copy {
    min-height: 70px;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(220, 234, 245, 0.86);
}

.clan-company-actions {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.clan-company-note {
    flex: 1 1 320px;
    border: 1px solid rgba(160, 200, 230, 0.24);
    border-radius: 10px;
    background: rgba(8, 14, 24, 0.78);
    padding: 12px;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(224, 237, 247, 0.88);
}

.clan-company-action-button {
    min-width: 220px;
    min-height: 48px;
}

.clan-company-action-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.clan-creator-form input,
.clan-creator-form textarea,
.clan-member-inline-form input {
    border-radius: 8px;
    border: 1px solid rgba(186, 206, 224, 0.42);
    background: rgba(8, 15, 24, 0.84);
    color: #ffffff;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.clan-creator-form textarea {
    min-height: 180px;
    resize: vertical;
}

.clan-guest-create-button {
    width: 100%;
    min-height: 48px;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(180deg, #67ff72, #2fbb37);
    color: #062107;
    border-color: rgba(169, 255, 176, 0.85);
}

.clan-modern-action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.clan-member-inline-form {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(180px, 1fr) auto;
    gap: 8px;
}

.clan-card-list {
    display: grid;
    gap: 8px;
}

.clan-list-card {
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid rgba(165, 192, 214, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.clan-list-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.clan-list-card-sub {
    color: rgba(223, 235, 246, 0.76);
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.45;
}

.clan-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.clan-mini-button {
    border: 1px solid rgba(170, 198, 218, 0.44);
    background: rgba(26, 44, 61, 0.7);
    color: #f4fbff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.clan-mini-button.success {
    background: rgba(32, 88, 44, 0.76);
    border-color: rgba(110, 224, 132, 0.55);
}

.clan-mini-button.danger {
    background: rgba(93, 28, 37, 0.76);
    border-color: rgba(250, 118, 126, 0.44);
}

.clan-mini-button.muted {
    opacity: 0.68;
    cursor: default;
}

#page-klan .header-button,
#page-klan .clan-guest-nav-item,
#page-klan .clan-modern-side-item,
#page-klan .clan-mini-button,
#page-klan .clan-company-action-button {
    border: 0;
    border-radius: 3px;
    background: url("img/klan/buton.gif") center center / 100% 100% no-repeat;
    color: #f7fbff;
    min-height: 35px;
    box-shadow: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
}

#page-klan .clan-guest-nav-item,
#page-klan .clan-modern-side-item {
    padding: 0 12px 0 30px;
    text-align: left;
}

#page-klan .header-button,
#page-klan .clan-mini-button,
#page-klan .clan-company-action-button {
    padding: 0 16px 0 30px;
}

#page-klan .clan-guest-nav-item.active,
#page-klan .clan-modern-side-item.active,
#page-klan .header-button:hover,
#page-klan .clan-mini-button:hover,
#page-klan .clan-company-action-button:hover {
    background: url("img/klan/buton.gif") center center / 100% 100% no-repeat;
    filter: brightness(1.16);
    box-shadow: 0 0 10px rgba(255, 220, 82, 0.18);
}

#page-klan .clan-mini-button.muted:hover,
#page-klan .clan-company-action-button[disabled]:hover {
    filter: none;
    box-shadow: none;
}

#clanGuestView.hidden,
#clanMemberView.hidden {
    display: none;
}

#clanPermissionList,
#clanActivityFeed,
#clanApplicationsList,
#clanInvitesList,
#clanGuestInvitesList,
#clanGuestApplicationsList,
#clanGuestRankingList,
#clanRankingsList,
#clanSearchResults,
#clanDiplomacyRelationsList,
#clanDiplomacyTargetsList {
    max-height: 220px;
}

@media (max-width: 980px) {
    .clan-guest-layout {
        grid-template-columns: 1fr;
    }

    .clan-guest-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .clan-guest-nav-item {
        flex: 1 1 110px;
    }

    .clan-creator-layout,
    .clan-guest-grid {
        grid-template-columns: 1fr;
    }

    .clan-company-summary,
    .clan-company-grid {
        grid-template-columns: 1fr;
    }

    .clan-member-inline-form {
        grid-template-columns: 1fr;
    }
}

.main-menu-button {
    width: 96px;
    height: 40px;
    min-width: 96px;
    min-height: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    color: #050505;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

.main-menu-button__icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex: 0 0 auto;
}

.main-menu-button__label {
    color: inherit;
    line-height: 1;
}

.main-menu-button:hover {
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    filter: brightness(1.08);
    box-shadow: 0 0 12px rgba(87, 220, 255, 0.22);
}

.main-menu-button:active {
    transform: translateX(-50%) scale(0.96);
}

@media (max-width: 768px) {
    .main-menu-button {
        width: 88px;
        height: 36px;
        min-width: 88px;
        min-height: 36px;
        padding: 0;
        font-size: 13px;
    }

    .main-menu-button__icon {
        width: 13px;
        height: 13px;
    }
}

.equipment-tabs {
    gap: 10px;
    padding: 0 20px 10px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.28);
    background: transparent;
}

.equipment-tab {
    min-width: 104px;
    min-height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
    border-radius: 0;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    text-shadow: none;
    box-shadow: none;
}

.equipment-tab:hover {
    color: #000000;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.equipment-tab.active {
    color: #000000;
    border: none;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    filter: brightness(1.14);
    box-shadow: 0 0 12px rgba(87, 220, 255, 0.22);
}

@media (max-width: 768px) {
    .equipment-tabs {
        gap: 8px;
        padding: 0 10px 10px;
    }

    .equipment-tab {
        min-width: 92px;
        min-height: 34px;
        padding: 0 14px;
        font-size: 11px;
    }
}

.stats-rank-tabs-side {
    gap: 10px;
}

.stats-rank-tab-btn {
    width: 100%;
    min-height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    border: none;
    border-radius: 0;
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    color: #000000;
    text-shadow: none;
    font-weight: 800;
    box-shadow: none;
}

.stats-rank-tab-btn:hover {
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    color: #000000;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.stats-rank-tab-btn.active {
    background: url("img/aray%C3%BCz/men%C3%BC.jpg") center center / 100% 100% no-repeat;
    color: #000000;
    filter: brightness(1.14);
    box-shadow: 0 0 12px rgba(87, 220, 255, 0.22);
}

@media (max-width: 768px) {
    .stats-rank-tabs-side {
        gap: 8px;
    }

    .stats-rank-tab-btn {
        min-height: 34px;
        padding: 0 14px;
        font-size: 11px;
    }
}
.left-mid-buttons {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(3, 24px);
    grid-template-rows: repeat(6, 30px);
    align-items: center;
    justify-items: center;
    width: 86px;
    z-index: 96;
    pointer-events: auto;
}

.left-mid-button {
    width: 36px;
    height: 47px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}

.left-mid-button img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    pointer-events: none;
}

.left-mid-button:hover {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55)) brightness(1.06);
}

.left-mid-button.active {
    filter: drop-shadow(0 4px 10px rgba(0, 180, 255, 0.45)) brightness(1.12);
}

.left-mid-button:not(.active) {
    opacity: 0.92;
}

.left-mid-button:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
}

.left-mid-button:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.left-mid-button:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
}

.left-mid-button:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
}

.left-mid-button:nth-child(5) {
    grid-column: 1;
    grid-row: 4;
}

.left-mid-button:nth-child(6) {
    grid-column: 3;
    grid-row: 4;
}

.left-mid-button:nth-child(7) {
    grid-column: 2;
    grid-row: 5;
}

.left-mid-button:nth-child(8) {
    grid-column: 2;
    grid-row: 6;
    transform: translateX(-23px);
}

.left-mid-button:nth-child(9) {
    grid-column: 2;
    grid-row: 6;
    transform: translateX(23px);
}

@media (max-width: 768px) {
    .left-mid-buttons {
        left: 14px;
        grid-template-columns: repeat(3, 21px);
        grid-template-rows: repeat(6, 27px);
        width: 76px;
    }

    .left-mid-button {
        width: 34px;
        height: 42px;
    }

    .left-mid-button:nth-child(8) {
        transform: translateX(-20px);
    }

    .left-mid-button:nth-child(9) {
        transform: translateX(20px);
    }
}

/* ===== Oyun HUD Gemi & Profil Paneli (Gorsel Tabanli) ===== */
#hud #shipPanel,
#hud #profilePanel {
    width: 249px;
    height: 143px;
    min-height: 143px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    overflow: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: auto;
}

#hud #shipPanel {
    background-image: url("img/aray%C3%BCz/gemi.png");
}

#hud #profilePanel {
    background-image: url("img/aray%C3%BCz/profil.png");
}

#hud #missionPanel {
    width: 223px;
    height: 128px;
    min-height: 128px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    background-image: url("img/g%C3%B6rev/g%C3%B6revpanel.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    overflow: hidden;
}

#hud #powerPanel {
    width: 223px;
    height: 128px;
    min-height: 128px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    background-image: url("img/g%C3%BCc/g%C3%BCcPanel.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    overflow: hidden;
}
/* oyun paneli buton map */
#hud #screenMapPanel {
    width: 651px;
    height: 478px;
    min-height: 478px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: hidden;
}

#hud #miniMapPanel {
    --minimap-panel-width: 273px;
    --minimap-panel-height: 207px;
    --minimap-canvas-left: 28px;
    --minimap-canvas-top: 49px;
    width: var(--minimap-panel-width);
    height: var(--minimap-panel-height);
    min-height: var(--minimap-panel-height);
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: hidden;
}

#hud #miniMapPanel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    box-sizing: border-box;
    border-style: solid;
    border-width: 49px 17px 18px 28px;
    border-image-source: url('img/minimap/miniharitapanel.png');
    border-image-slice: 49 17 18 28 fill;
    border-image-width: 49px 17px 18px 28px;
    border-image-repeat: stretch;
    pointer-events: none;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.42));
}

#hud #stonePanel {
    width: 475px;
    height: 546px;
    min-height: 546px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: hidden;
}

#hud #botPanel {
    width: 418px;
    height: 520px;
    min-height: 520px;
    border: none;
    border-radius: 0;
    background: url('img/bot/botpanel.jpg') center center / 100% 100% no-repeat;
    box-shadow: none;
    overflow: hidden;
}

#hud #shipPanel.dragging,
#hud #profilePanel.dragging,
#hud #missionPanel.dragging,
#hud #powerPanel.dragging,
#hud #screenMapPanel.dragging,
#hud #miniMapPanel.dragging,
#hud #stonePanel.dragging,
#hud #botPanel.dragging {
    transform: none;
    box-shadow: none;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

#hud #shipPanel.minimized,
#hud #profilePanel.minimized {
    height: 38px;
    min-height: 38px;
    background-size: 100% 143px;
    background-position: top center;
}

#hud #shipPanel .panel-header,
#hud #profilePanel .panel-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 38px;
    padding: 7px 14px 0 14px;
    background: none;
    border: none;
    cursor: move;
}

#hud #shipPanel .panel-header::after,
#hud #profilePanel .panel-header::after {
    display: none;
}

#hud #shipPanel .panel-title,
#hud #profilePanel .panel-title {
    display: none;
}

#hud #shipPanel .panel-minimize-btn,
#hud #profilePanel .panel-minimize-btn {
    display: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(44, 136, 204, 0.18);
    color: #edf6ff;
    font-size: 12px;
    line-height: 1;
    box-shadow: none;
}

#hud #shipPanel .panel-minimize-btn:hover,
#hud #profilePanel .panel-minimize-btn:hover {
    background: rgba(62, 171, 255, 0.28);
    border: none;
    box-shadow: none;
}

#hud #missionPanel .panel-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 28px;
    padding: 0;
    background: none;
    border-bottom: none;
    cursor: move;
}

#hud #miniMapPanel .panel-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 42px;
    z-index: 3;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: move;
}

#hud #miniMapPanel .panel-header::after,
#hud #miniMapPanel .panel-title,
#hud #miniMapPanel .panel-minimize-btn {
    display: none;
}

#hud #powerPanel .panel-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 24px;
    padding: 0;
    background: none;
    border-bottom: none;
    cursor: move;
}

#hud #powerPanel .panel-header::after {
    display: none;
}

#hud #screenMapPanel .panel-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 34px;
    padding: 0;
    background: none;
    border-bottom: none;
    cursor: move;
}

#hud #stonePanel .panel-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 34px;
    padding: 0;
    background: none;
    border-bottom: none;
    cursor: move;
}

#hud #botPanel .panel-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 8px 0 0;
    background: none;
    border-bottom: none;
    cursor: move;
}

#hud #screenMapPanel .panel-header::after {
    display: none;
}

#hud #stonePanel .panel-header::after {
    display: none;
}

#hud #missionPanel .panel-title {
    display: block;
    margin-left: 34px;
    color: #f0ca7a;
    font-size: 12px;
    font-weight: 800;
    line-height: 28px;
    letter-spacing: 0;
    text-transform: none;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 0 6px rgba(255, 211, 119, 0.25);
}

#hud #powerPanel .panel-title {
    display: none;
}

#hud #screenMapPanel .panel-title {
    display: none;
}

#hud #stonePanel .panel-title {
    display: none;
}

#hud #botPanel .panel-title {
    display: none;
}

#hud #missionPanel .panel-minimize-btn {
    display: none;
}

#hud #powerPanel .panel-minimize-btn {
    display: none;
}

#hud #screenMapPanel .panel-minimize-btn {
    display: none;
}

#hud #stonePanel .panel-minimize-btn {
    display: none;
}

#hud #botPanel .panel-minimize-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.12);
    color: rgba(238, 238, 238, 0.7);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

#hud #botPanel .panel-minimize-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
}

#hud #missionPanel .panel-content {
    position: absolute;
    top: 36px;
    left: 9px;
    right: 9px;
    bottom: 8px;
    z-index: 2;
    display: block;
    padding: 0;
    max-height: none;
    overflow-y: auto;
}

#hud #powerPanel .panel-content {
    position: absolute;
    top: 26px;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    display: block;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

#hud #screenMapPanel .panel-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

#hud #miniMapPanel .panel-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

#hud #miniMapPanel .panel-content::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 190px;
    height: 49px;
    pointer-events: none;
    background: url('img/minimap/miniharitapanel.png') 0 0 / 273px 207px no-repeat;
}

#hud #miniMapPanel .panel-content::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    width: 86px;
    height: 49px;
    pointer-events: none;
    background: url('img/minimap/miniharitapanel.png') right 0 / 273px 207px no-repeat;
}

#hud #stonePanel .panel-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

#hud #botPanel .panel-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 0;
    overflow: hidden;
}

.screen-map-panel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.42));
}

.mini-map-panel-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.42));
}

#hud #miniMapPanel .mini-map-panel-title {
    display: none;
    position: absolute;
    left: 36px;
    top: 6px;
    z-index: 4;
    color: #f5ead4;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
    pointer-events: none;
}

#hud #miniMapPanel .minimap-container {
    position: absolute;
    left: var(--minimap-canvas-left);
    top: var(--minimap-canvas-top);
    right: auto;
    bottom: auto;
    z-index: 3;
    width: 228px;
    height: 140px;
    transition: none;
    overflow: visible;
}

#hud #miniMapPanel .minimap-container::before {
    content: "";
    position: absolute;
    left: -9px;
    top: -2px;
    width: 8px;
    height: calc(100% + 5px);
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 45%, rgba(98, 166, 229, 0.45) 54%, rgba(177, 222, 255, 0.9) 70%, transparent 100%) right center / 4px 100% no-repeat,
        repeating-linear-gradient(to bottom, transparent 0 24px, rgba(152, 204, 255, 0.8) 24px 26px, transparent 26px 28px);
    filter: drop-shadow(0 0 3px rgba(83, 162, 241, 0.72));
}

#hud #miniMapPanel .minimap-info {
    position: absolute;
    top: -23px;
    left: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f5ead4;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
    white-space: nowrap;
    width: 100%;
}

#hud #miniMapPanel #minimapMapName,
#hud #miniMapPanel #minimapCoords {
    color: #f5ead4;
    opacity: 1;
}

#hud #miniMapPanel .minimap-controls {
    position: absolute;
    top: 7px;
    right: 10px;
    z-index: 5;
    display: block;
    width: 25px;
    height: 12px;
    pointer-events: auto;
}

#hud #miniMapPanel .minimap-btn {
    position: absolute;
    top: 1px;
    width: 10px;
    height: 10px;
    min-width: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: none;
    color: transparent;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
}

#hud #miniMapPanel .minimap-btn:hover,
#hud #miniMapPanel .minimap-btn:active {
    background-color: transparent;
    box-shadow: none;
    transform: none;
}

#hud #miniMapPanel #minimapZoomOut {
    left: 0;
    background-image: url('img/minimap/56.png');
}

#hud #miniMapPanel #minimapZoomIn {
    left: 15px;
    background-image: url('img/minimap/51.png');
}

#hud #miniMapPanel .minimap-btn:disabled {
    opacity: 0.45;
    cursor: default;
}

#hud #miniMapPanel #minimapCanvas {
    background: #020605;
    border: 1px solid rgba(196, 210, 216, 0.82);
    border-radius: 3px;
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.78),
        inset 0 0 17px rgba(0, 0, 0, 0.68),
        0 0 3px rgba(184, 216, 226, 0.2);
}

.stone-panel-image {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: top left;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.stone-panel-shell {
    position: relative;
    width: 475px;
    height: 546px;
    background: transparent url("img/Stone/stonepanel.png") top left / 475px 546px no-repeat;
    overflow: hidden;
    user-select: none;
}

.stone-resource-card {
    position: absolute;
    width: 154px;
    color: #f7fbff;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.stone-prometid-card {
    left: 62px;
    top: 40px;
}

.stone-duranium-card {
    right: 62px;
    top: 40px;
}

.stone-promerium-card {
    left: 50%;
    top: 220px;
    transform: translateX(-50%);
}

.stone-resource-title,
.stone-resource-count {
    height: 22px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.1)),
        linear-gradient(180deg, #0c0d0f 0%, #010204 100%);
    border: 1px solid rgba(150, 157, 166, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 1px 2px rgba(0, 0, 0, 0.6);
    line-height: 20px;
}

.stone-resource-title {
    font-size: 12px;
    font-weight: 800;
}

.stone-resource-display {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 112px;
    margin-top: 5px;
    border: 1px solid rgba(150, 157, 166, 0.24);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 3px, rgba(0, 0, 0, 0.08) 3px 6px),
        linear-gradient(180deg, rgba(94, 99, 104, 0.38), rgba(47, 50, 55, 0.36));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.38);
}

.stone-resource-icon {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.24));
    pointer-events: none;
    -webkit-user-drag: none;
}

.stone-resource-count {
    margin-top: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.stone-sell-button {
    position: absolute;
    width: 34px;
    height: 20px;
    padding: 0;
    border: 1px solid rgba(236, 241, 245, 0.34);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.14)),
        linear-gradient(180deg, #9a8f92 0%, #665a5f 48%, #30292d 100%);
    color: #fff;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 1px 2px rgba(0, 0, 0, 0.58);
    cursor: pointer;
    z-index: 2;
}

.stone-sell-button:hover {
    filter: brightness(1.1);
}

.stone-sell-button:disabled {
    opacity: 0.45;
    filter: grayscale(0.55);
    cursor: default;
}

.stone-sell-left {
    left: -36px;
    top: 82px;
}

.stone-sell-right {
    right: -36px;
    top: 82px;
}

.stone-refine-button {
    display: block;
    width: 100%;
    height: 27px;
    margin-top: 6px;
    padding: 0;
    border: 1px solid rgba(236, 241, 245, 0.32);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.18)),
        linear-gradient(180deg, #a5a7a9 0%, #676b70 48%, #30343a 100%);
    color: #ffffff;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 1px 2px rgba(0, 0, 0, 0.62);
    cursor: pointer;
}

.stone-refine-button:hover {
    filter: brightness(1.12);
}

.stone-refine-button:disabled {
    opacity: 0.48;
    filter: grayscale(0.45);
    cursor: default;
}

.stone-upgrade-row {
    position: absolute;
    left: 32px;
    right: 32px;
    top: 430px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.stone-upgrade-card {
    min-width: 0;
    color: #f7fbff;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.stone-upgrade-card[data-stone-feed-target] {
    cursor: pointer;
    transition: filter 0.12s ease, transform 0.12s ease, opacity 0.12s ease;
}

.stone-upgrade-card[data-stone-feed-target]:hover,
.stone-upgrade-card[data-stone-feed-target]:focus-visible {
    filter: brightness(1.16);
    transform: translateY(-1px);
}

.stone-upgrade-card.is-disabled {
    opacity: 0.62;
    filter: grayscale(0.35);
}

.stone-upgrade-card.is-active .stone-upgrade-display {
    border-color: rgba(255, 177, 61, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(0, 0, 0, 0.38),
        0 0 10px rgba(255, 177, 61, 0.42);
}

.stone-upgrade-title,
.stone-upgrade-count {
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.08)),
        linear-gradient(180deg, #0c0d0f 0%, #010204 100%);
    border: 1px solid rgba(150, 157, 166, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 1px 2px rgba(0, 0, 0, 0.62);
    line-height: 18px;
}

.stone-upgrade-title {
    font-size: 11px;
    font-weight: 800;
}

.stone-upgrade-display {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    margin-top: 4px;
    border: 1px solid rgba(150, 157, 166, 0.22);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 3px, rgba(0, 0, 0, 0.08) 3px 6px),
        linear-gradient(180deg, rgba(94, 99, 104, 0.34), rgba(47, 50, 55, 0.34));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.11),
        inset 0 -1px 0 rgba(0, 0, 0, 0.38);
}

.stone-upgrade-icon {
    display: block;
    width: 66px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgba(150, 255, 242, 0.2));
    pointer-events: none;
    -webkit-user-drag: none;
}

.stone-upgrade-icon-plan {
    width: 72px;
    height: 60px;
}

.stone-upgrade-count {
    margin-top: 4px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.power-panel-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 6px;
    color: #e9f5ff;
}

.power-panel-ship-name {
    display: none;
    padding-top: 1px;
    color: #9eefff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(65, 214, 255, 0.18);
}

.power-panel-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 2px;
}

.power-panel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 18px;
    color: #edf7ff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.power-panel-item img {
    width: 17px;
    height: 17px;
    object-fit: contain;
    flex: 0 0 17px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.power-panel-empty {
    margin-top: auto;
    color: rgba(230, 243, 255, 0.82);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

#hud #shipPanel .panel-content,
#hud #profilePanel .panel-content {
    position: absolute;
    inset: 27% 7% 8% 6%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 0;
    max-height: none;
    overflow: hidden;
}

.bot-panel-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
}

.bot-tab-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bot-tab-button {
    height: 28px;
    border: 1px solid rgba(88, 163, 227, 0.55);
    border-radius: 4px;
    background: rgba(42, 63, 95, 0.84);
    color: #f2f7ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.bot-tab-button.active {
    background: linear-gradient(180deg, rgba(40, 102, 171, 0.92) 0%, rgba(27, 73, 126, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(145, 230, 255, 0.22);
}

.bot-tab-content {
    flex: 1 1 auto;
    min-height: 0;
}

.bot-npc-list,
.bot-ammo-list,
.bot-settings-list {
    height: 100%;
    padding: 12px;
    border: 1px solid rgba(66, 118, 168, 0.45);
    border-radius: 6px;
    background: rgba(13, 25, 44, 0.84);
    overflow-y: auto;
}

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

.bot-npc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: rgba(23, 38, 63, 0.94);
    color: #f3f8ff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.bot-npc-item-check,
.bot-npc-item-name,
.bot-npc-item-meta {
    pointer-events: none;
}

.bot-npc-item:hover {
    border-color: rgba(83, 163, 228, 0.4);
    background: rgba(28, 48, 78, 0.98);
}

.bot-npc-item.selected {
    border-color: rgba(0, 231, 255, 0.7);
    box-shadow: inset 0 0 0 1px rgba(130, 238, 255, 0.24);
    background: rgba(26, 54, 90, 0.98);
}

.bot-npc-item-check {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid rgba(167, 201, 236, 0.82);
    border-radius: 3px;
    background: rgba(7, 15, 30, 0.74);
}

.bot-npc-item-check.selected {
    border-color: rgba(86, 188, 255, 0.96);
    background: linear-gradient(180deg, rgba(35, 130, 211, 0.95) 0%, rgba(18, 83, 160, 0.98) 100%);
}

.bot-npc-item-check.selected::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #f4fbff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.bot-npc-item-name {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bot-npc-item-meta {
    color: rgba(188, 214, 242, 0.82);
    font-size: 11px;
}

.bot-ammo-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}

.bot-settings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-settings-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(88, 163, 227, 0.36);
    border-radius: 6px;
    background: rgba(19, 34, 58, 0.94);
    color: #f3f8ff;
    cursor: pointer;
    text-align: left;
}

.bot-settings-item:hover {
    border-color: rgba(102, 191, 255, 0.55);
    background: rgba(25, 45, 73, 0.98);
}

.bot-settings-item.active {
    border-color: rgba(0, 231, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(122, 244, 255, 0.24);
    background: rgba(25, 59, 96, 0.96);
}

.bot-settings-item-radio,
.bot-settings-item-copy {
    pointer-events: none;
}

.bot-settings-item-radio {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(167, 201, 236, 0.82);
    border-radius: 999px;
    background: rgba(7, 15, 30, 0.74);
}

.bot-settings-item.active .bot-settings-item-radio {
    border-color: rgba(86, 188, 255, 0.96);
}

.bot-settings-item.active .bot-settings-item-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(73, 208, 255, 0.98) 0%, rgba(24, 124, 204, 0.98) 100%);
}

.bot-settings-item-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bot-settings-item-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.bot-settings-item-desc {
    color: rgba(183, 214, 244, 0.8);
    font-size: 11px;
    line-height: 1.35;
}

.bot-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(88, 163, 227, 0.36);
    border-radius: 6px;
    background: rgba(19, 34, 58, 0.94);
    color: #f3f8ff;
}

.bot-settings-row-label {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.bot-settings-select-wrap {
    flex: 0 0 170px;
}

.bot-settings-select {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(88, 163, 227, 0.55);
    border-radius: 4px;
    background: rgba(7, 15, 30, 0.9);
    color: #f3f8ff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.bot-settings-select:focus {
    outline: none;
    border-color: rgba(0, 231, 255, 0.78);
    box-shadow: 0 0 0 1px rgba(122, 244, 255, 0.24);
}

.bot-health-threshold-options {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1 1 auto;
}

.bot-health-threshold-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: none;
    background: transparent;
    color: #f3f8ff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.bot-health-threshold-box {
    position: relative;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 1px solid rgba(167, 201, 236, 0.82);
    background: rgba(7, 15, 30, 0.74);
}

.bot-health-threshold-option.active .bot-health-threshold-box {
    border-color: rgba(86, 188, 255, 0.96);
    background: linear-gradient(180deg, rgba(73, 208, 255, 0.98) 0%, rgba(24, 124, 204, 0.98) 100%);
}

.bot-health-threshold-option.active .bot-health-threshold-box::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #f4fbff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.bot-ammo-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid rgba(88, 163, 227, 0.4);
    border-radius: 6px;
    background: rgba(19, 34, 58, 0.94);
    color: #f3f8ff;
    cursor: pointer;
}

.bot-ammo-item.active {
    border-color: rgba(0, 231, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(122, 244, 255, 0.28);
    background: rgba(25, 59, 96, 0.96);
}

.bot-ammo-item-name {
    font-size: 15px;
    font-weight: 800;
}

.bot-ammo-item-stock {
    color: rgba(183, 214, 244, 0.8);
    font-size: 11px;
}

.bot-status-block {
    border-top: 1px solid rgba(62, 108, 156, 0.45);
    padding-top: 12px;
    color: #dfeaf8;
}

.bot-status-title {
    margin-bottom: 8px;
    color: #f1f7ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.bot-status-line {
    margin-bottom: 5px;
    font-size: 13px;
}

.bot-status-line span {
    color: #76d8ff;
    font-weight: 700;
}

.bot-status-rewards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    margin: 9px 0 8px;
    font-size: 12px;
}

.bot-status-rewards strong {
    color: #e9f5ff;
}

.bot-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bot-action-button {
    height: 40px;
    border: none;
    border-radius: 4px;
    color: #f4fbff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.bot-action-button.start {
    background: linear-gradient(180deg, #2c9e7a 0%, #277f65 100%);
}

.bot-action-button.stop {
    background: linear-gradient(180deg, #be5757 0%, #944343 100%);
}

.bot-action-button:disabled {
    opacity: 0.45;
    cursor: default;
}

.bot-empty-state {
    color: rgba(203, 220, 244, 0.82);
    font-size: 13px;
}

#hud #botPanel .bot-panel-shell {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #d6dde5;
    font-family: Arial, Helvetica, sans-serif;
}

#hud #botPanel.bot-premium-locked .bot-tab-row,
#hud #botPanel.bot-premium-locked .bot-tab-content,
#hud #botPanel.bot-premium-locked .bot-status-block,
#hud #botPanel.bot-premium-locked .bot-action-row {
    visibility: hidden;
    pointer-events: none;
}

#hud #botPanel .bot-premium-lock {
    position: absolute;
    left: 1px;
    right: 1px;
    top: 36px;
    bottom: 8px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 44px 34px;
    background: #07111f;
    color: #dfe8f2;
    text-align: center;
    pointer-events: auto;
}

#hud #botPanel .bot-premium-lock.hidden {
    display: none;
}

#hud #botPanel .bot-premium-lock-star {
    margin-bottom: 14px;
    color: #ffc94c;
    font-size: 33px;
    line-height: 1;
    text-shadow:
        0 0 10px rgba(255, 201, 76, 0.58),
        0 2px 5px rgba(0, 0, 0, 0.72);
}

#hud #botPanel .bot-premium-lock-title {
    margin-bottom: 12px;
    color: #ffe278;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

#hud #botPanel .bot-premium-lock-text {
    max-width: 322px;
    color: rgba(232, 239, 247, 0.92);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

#hud #botPanel .bot-tab-row {
    position: absolute;
    top: 42px;
    left: 15px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 25px;
}

#hud #botPanel .bot-tab-row::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -1px;
    z-index: 0;
    width: 292px;
    height: 28px;
    background:
        repeating-linear-gradient(135deg, rgba(42, 42, 42, 0.98) 0 2px, rgba(27, 27, 27, 0.98) 2px 4px);
    pointer-events: none;
}

#hud #botPanel .bot-tab-button {
    position: relative;
    z-index: 1;
    width: auto;
    height: 25px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(228, 232, 236, 0.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 25px;
    text-align: left;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

#hud #botPanel .bot-tab-button.active {
    background: transparent;
    box-shadow: none;
    color: #ffd64a;
}

#hud #botPanel .bot-tab-button.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #ffd64a;
    box-shadow: 0 0 5px rgba(255, 214, 74, 0.45);
}

#hud #botPanel .bot-tab-content {
    position: absolute;
    top: 84px;
    left: 28px;
    width: 362px;
    height: 247px;
    min-height: 0;
    overflow: hidden;
}

#hud #botPanel .bot-npc-list,
#hud #botPanel .bot-ammo-list,
#hud #botPanel .bot-settings-list {
    width: 100%;
    height: 100%;
    padding: 6px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 214, 74, 0.55) rgba(7, 12, 16, 0.6);
}

#hud #botPanel .bot-ammo-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-content: stretch;
}

#hud #botPanel .bot-ammo-item,
#hud #botPanel .bot-npc-item,
#hud #botPanel .bot-settings-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 28px;
    padding: 0 8px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #d8e1ea;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

#hud #botPanel .bot-settings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px;
}

#hud #botPanel .bot-settings-item {
    min-height: 42px;
    justify-content: flex-start;
}

#hud #botPanel .bot-settings-item-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#hud #botPanel .bot-settings-item-title {
    color: inherit;
    font-size: 13px;
    font-weight: 800;
}

#hud #botPanel .bot-settings-item-desc {
    color: rgba(190, 202, 214, 0.72);
    font-size: 10px;
    font-weight: 700;
}

#hud #botPanel .bot-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    padding: 4px 8px;
    border: none;
    border-radius: 0;
    background: rgba(255, 214, 74, 0.08);
    color: #d8e1ea;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
}

#hud #botPanel .bot-settings-row-label {
    color: #ffd64a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

#hud #botPanel .bot-settings-select-wrap {
    flex: 0 0 160px;
}

#hud #botPanel .bot-settings-select {
    width: 100%;
    height: 26px;
    padding: 0 8px;
    border: 1px solid rgba(255, 214, 74, 0.35);
    border-radius: 2px;
    background: rgba(7, 12, 16, 0.88);
    color: #f2f6fb;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

#hud #botPanel .bot-settings-select:focus {
    outline: none;
    border-color: rgba(255, 214, 74, 0.82);
    box-shadow: 0 0 5px rgba(255, 214, 74, 0.32);
}

#hud #botPanel .bot-settings-select option {
    background: #101820;
    color: #f2f6fb;
}

#hud #botPanel .bot-health-threshold-options {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 1 1 auto;
}

#hud #botPanel .bot-health-threshold-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: none;
    background: transparent;
    color: #d8e1ea;
    font-size: 11px;
    font-weight: 800;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

#hud #botPanel .bot-health-threshold-box {
    position: relative;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border: 1px solid rgba(255, 214, 74, 0.65);
    background: rgba(245, 245, 245, 0.96);
}

#hud #botPanel .bot-health-threshold-option.active {
    color: #ffd64a;
}

#hud #botPanel .bot-health-threshold-option.active .bot-health-threshold-box {
    border-color: #ffd64a;
    background: #ffd64a;
}

#hud #botPanel .bot-health-threshold-option.active .bot-health-threshold-box::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    width: 4px;
    height: 8px;
    border: solid #111820;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#hud #botPanel .bot-ammo-item:hover,
#hud #botPanel .bot-npc-item:hover,
#hud #botPanel .bot-settings-item:hover,
#hud #botPanel .bot-ammo-item.active,
#hud #botPanel .bot-npc-item.selected,
#hud #botPanel .bot-settings-item.active {
    border: none;
    box-shadow: none;
    background: rgba(255, 214, 74, 0.08);
    color: #ffd64a;
}

#hud #botPanel .bot-ammo-item {
    flex-direction: row;
    justify-content: space-between;
}

#hud #botPanel .bot-ammo-item-name {
    font-size: 13px;
    font-weight: 800;
}

#hud #botPanel .bot-ammo-item-stock,
#hud #botPanel .bot-npc-item-meta {
    color: rgba(190, 202, 214, 0.72);
    font-size: 11px;
    font-weight: 700;
}

#hud #botPanel .bot-npc-item-check {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border: 1px solid rgba(255, 214, 74, 0.65);
    border-radius: 1px;
    background: rgba(0, 0, 0, 0.45);
}

#hud #botPanel .bot-npc-item-check.selected {
    border-color: #ffd64a;
    background: #ffd64a;
}

#hud #botPanel .bot-npc-item-check.selected::after {
    display: none;
}

#hud #botPanel .bot-mode-placeholder {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 8px;
    color: rgba(216, 225, 234, 0.75);
    font-size: 13px;
    font-weight: 800;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
}

#hud #botPanel .bot-status-block {
    position: absolute;
    left: 28px;
    top: 365px;
    width: 362px;
    height: 72px;
    padding: 0;
    border: none;
    color: #d8e1ea;
    overflow: hidden;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
}

#hud #botPanel .bot-status-title {
    margin: 0 0 3px;
    color: #ffd64a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
}

#hud #botPanel .bot-status-line {
    display: inline-block;
    width: 49%;
    margin: 0 0 2px;
    color: rgba(216, 225, 234, 0.86);
    font-size: 9px;
    line-height: 1.1;
    vertical-align: top;
}

#hud #botPanel .bot-status-line span {
    color: #f2f6fb;
    font-weight: 800;
}

#hud #botPanel .bot-status-rewards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 0;
    color: rgba(216, 225, 234, 0.8);
    font-size: 8px;
}

#hud #botPanel .bot-status-rewards strong {
    display: inline;
    color: #f2f6fb;
    font-size: 8px;
}

#hud #botPanel .bot-action-row {
    position: absolute;
    left: 28px;
    top: 459px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 362px;
}

#hud #botPanel .bot-action-button {
    height: 28px;
    border: 1px solid rgba(255, 214, 74, 0.28);
    border-radius: 2px;
    color: #f2f6fb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
}

#hud #botPanel .bot-action-button.start {
    background: linear-gradient(180deg, rgba(52, 132, 83, 0.88) 0%, rgba(30, 90, 60, 0.9) 100%);
}

#hud #botPanel .bot-action-button.stop {
    background: linear-gradient(180deg, rgba(133, 54, 54, 0.9) 0%, rgba(91, 37, 37, 0.94) 100%);
}

#hud #botPanel .bot-action-button:disabled {
    opacity: 0.45;
    cursor: default;
}

#hud #botPanel .bot-empty-state {
    padding: 6px 8px;
    color: rgba(216, 225, 234, 0.72);
    font-size: 12px;
    font-weight: 700;
}

#hud #shipPanel .panel-section,
#hud #profilePanel .panel-section {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

#hud #shipPanel .info-row,
#hud #profilePanel .info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: none;
}

#hud #shipPanel .ship-panel-stat-icon {
    display: block;
    flex: 0 0 auto;
    image-rendering: auto;
}

#hud #shipPanel {
    --ship-panel-meter-scale: 1.3;
    --ship-panel-meter-icon-size: calc(12px * var(--ship-panel-meter-scale));
    --ship-panel-meter-image-width: calc(62px * var(--ship-panel-meter-scale));
    --ship-panel-meter-image-height: calc(13px * var(--ship-panel-meter-scale));
    --ship-panel-meter-text-size: calc(10px * var(--ship-panel-meter-scale));
}

#hud #shipPanel .ship-hp-speed-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

#hud #shipPanel .ship-hp-meter,
#hud #shipPanel .ship-shield-meter,
#hud #shipPanel .ship-cargo-meter {
    display: flex;
    align-items: center;
    gap: 8px;
    width: var(--ship-panel-meter-width, 60%);
    min-height: var(--ship-panel-meter-image-height, 20px);
    margin: 0 0 6px;
    cursor: pointer;
    user-select: none;
}

#hud #shipPanel .ship-hp-meter:focus-visible,
#hud #shipPanel .ship-shield-meter:focus-visible,
#hud #shipPanel .ship-cargo-meter:focus-visible {
    outline: 1px solid rgba(124, 246, 255, 0.78);
    outline-offset: 2px;
}

#hud #shipPanel .ship-panel-hp-icon,
#hud #shipPanel .ship-panel-shield-icon,
#hud #shipPanel .ship-panel-cargo-icon {
    width: var(--ship-panel-meter-icon-size, 18px);
    height: var(--ship-panel-meter-icon-size, 18px);
    object-fit: contain;
}

#hud #shipPanel .ship-panel-hp-bar-image,
#hud #shipPanel .ship-panel-shield-bar-image,
#hud #shipPanel .ship-panel-cargo-bar-image {
    display: block;
    width: var(--ship-panel-meter-image-width, 93px);
    height: var(--ship-panel-meter-image-height, 20px);
    object-fit: contain;
    image-rendering: auto;
}

#hud #shipPanel .ship-panel-meter-bar-shell {
    position: relative;
    display: block;
    flex: 0 0 var(--ship-panel-meter-image-width, 93px);
    width: var(--ship-panel-meter-image-width, 93px);
    height: var(--ship-panel-meter-image-height, 20px);
    background: transparent url("img/aray%C3%BCz/arkaplan.png") center / 100% 100% no-repeat;
    overflow: hidden;
}

#hud #shipPanel .ship-panel-meter-bar-shell .ship-panel-hp-bar-image,
#hud #shipPanel .ship-panel-meter-bar-shell .ship-panel-shield-bar-image,
#hud #shipPanel .ship-panel-meter-bar-shell .ship-panel-cargo-bar-image {
    position: absolute;
    inset: 0;
}

#hud #shipPanel .ship-panel-hp-number,
#hud #shipPanel .ship-panel-shield-number,
#hud #shipPanel .ship-panel-cargo-number {
    display: none;
    color: #ffffff;
    font-size: var(--ship-panel-meter-text-size, 15px);
    font-weight: 800;
    line-height: var(--ship-panel-meter-image-height, 20px);
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

#hud #shipPanel .ship-hp-meter.show-value .ship-panel-hp-bar-image,
#hud #shipPanel .ship-shield-meter.show-value .ship-panel-shield-bar-image,
#hud #shipPanel .ship-cargo-meter.show-value .ship-panel-cargo-bar-image {
    display: none;
}

#hud #shipPanel .ship-hp-meter.show-value .ship-panel-hp-bar-shell,
#hud #shipPanel .ship-shield-meter.show-value .ship-panel-shield-bar-shell,
#hud #shipPanel .ship-cargo-meter.show-value .ship-panel-cargo-bar-shell {
    display: none;
}

#hud #shipPanel .ship-hp-meter.show-value .ship-panel-hp-number,
#hud #shipPanel .ship-shield-meter.show-value .ship-panel-shield-number,
#hud #shipPanel .ship-cargo-meter.show-value .ship-panel-cargo-number {
    display: block;
}

#hud #shipPanel .cargo-col .ship-cargo-meter {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

#hud #shipPanel .info-row .label,
#hud #profilePanel .info-row .label {
    color: #d8e6f2;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

#hud #shipPanel .info-row .label {
    margin-right: auto;
}

#hud #shipPanel .info-row .value,
#hud #profilePanel .info-row .value {
    font-weight: 800;
    text-align: right;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

#hud #shipPanel .ship-section {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    transform: none;
}

#hud #shipPanel .cargo-speed-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
}

#hud #shipPanel .cargo-col {
    flex: 0 0 var(--ship-panel-meter-width, 60%);
    max-width: var(--ship-panel-meter-width, 60%);
    min-width: 0;
}

#hud #shipPanel .ship-speed-box {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

#hud #shipPanel .ship-speed-box .ship-panel-stat-icon {
    width: var(--ship-panel-meter-icon-size, 15.6px);
    height: var(--ship-panel-meter-icon-size, 15.6px);
    object-fit: contain;
}

#hud #shipPanel .ship-speed-box .value {
    color: #ffffff;
    font-size: var(--ship-panel-meter-text-size, 13px);
    font-weight: 800;
    line-height: var(--ship-panel-meter-image-height, 16.9px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

#hud #shipPanel .info-row {
    margin-bottom: 2px;
    font-size: 10px;
    line-height: 11px;
}

#hud #shipPanel .info-row .value {
    color: #ffffff;
    font-size: 10px;
}

#hud #shipPanel .hp-bar,
#hud #shipPanel .shield-bar,
#hud #shipPanel .cargo-bar {
    display: block;
    flex: 0 0 8px;
    width: 100%;
    height: 8px;
    min-height: 8px;
    max-height: 8px;
    margin: 0 0 5px;
    border: none;
    border-radius: 999px;
    background: rgba(7, 14, 22, 0.78);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.72);
    overflow: hidden;
}

#hud #shipPanel .hp-bar,
#hud #shipPanel .shield-bar {
    width: var(--ship-panel-meter-width, 60%);
    max-width: var(--ship-panel-meter-width, 60%);
}

#hud #shipPanel .cargo-bar {
    margin-bottom: 0;
}

#hud #shipPanel .hp-fill,
#hud #shipPanel .shield-fill,
#hud #shipPanel .cargo-fill {
    display: block;
    height: 100%;
    min-height: 8px;
    max-height: 8px;
    border-radius: 999px;
}

#panelHpFill,
#panelShieldFill,
#panelCargoFill {
    display: block;
    height: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    border-radius: 999px !important;
}

#hud #shipPanel .hp-fill {
    box-shadow: 0 0 8px rgba(116, 255, 63, 0.34);
}

#hud #shipPanel .shield-fill {
    box-shadow: 0 0 8px rgba(93, 213, 255, 0.3);
}

#hud #shipPanel .cargo-value {
    color: #ffffff;
}

#hud #shipPanel .cargo-fill {
    box-shadow: 0 0 8px rgba(70, 255, 94, 0.34);
}

#hud #profilePanel .profile-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

#hud #profilePanel .info-row {
    display: grid;
    grid-template-columns: 12px auto 1fr;
    align-items: center;
    column-gap: 7px;
    font-size: 11px;
    min-height: 15px;
}
//profıl uzerinde tecrube seref gorsel
#hud #profilePanel .profile-stat-icon {
    display: block;
    width: 15px;
    height: 15px;
    object-fit: contain;
    image-rendering: auto;
}

#hud #profilePanel .info-row .label {
    justify-self: start;
}

#hud #profilePanel .info-row .value {
    color: #f4fbff;
    font-size: 11px;
    justify-self: end;
}

#hud #profilePanel .info-row .value.honor {
    color: #f4fbff;
}

#hud #profilePanel .info-row .value.gold {
    color: #f4fbff;
}

#hud #profilePanel .info-row .value.silver {
    color: #f4fbff;
}

.mission-hud-caption {
    display: none;
}

.mission-hud-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mission-hud-item {
    position: relative;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 2px 5px;
}

.mission-hud-item:last-child {
    border-bottom: none;
}

.mission-hud-title-line {
    color: #f3f5f7;
    font-size: 11px;
    font-weight: 800;
    line-height: 14px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
}

.mission-hud-objective-row {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 4px;
    min-height: 15px;
}

.mission-hud-item.claimable .mission-hud-objective-row {
    grid-template-columns: 9px minmax(0, 1fr) auto auto;
}

.mission-hud-item-title {
    color: #f1fbff;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mission-hud-check {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(163, 214, 255, 0.86);
    background: linear-gradient(180deg, rgba(64, 136, 210, 0.95), rgba(17, 74, 139, 0.95));
    box-shadow:
        inset 0 0 0 1px rgba(205, 237, 255, 0.28),
        0 0 4px rgba(83, 169, 255, 0.32);
}

.mission-hud-objective {
    color: #eef3f6;
    font-size: 11px;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.mission-hud-item-progress {
    color: #eaf2f7;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 14px;
    text-align: right;
    min-width: 38px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
}

.mission-hud-item-target {
    margin-top: 2px;
    color: rgba(218, 235, 246, 0.74);
    font-size: 9px;
    line-height: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mission-hud-progress {
    display: none;
}

.mission-hud-item.claimable .mission-hud-progress {
    width: calc(100% - 36px);
}

.mission-hud-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #37c9ff, #8ef7ff);
    box-shadow: 0 0 8px rgba(102, 233, 255, 0.22);
}

.mission-hud-item-actions {
    display: none;
}

.mission-hud-item .mission-claim-button {
    min-width: 24px;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 9px;
    line-height: 11px;
}

.mission-hud-empty {
    padding: 8px 6px;
    border-radius: 0;
    border: none;
    text-align: center;
    color: rgba(224, 238, 247, 0.72);
    background: transparent;
    font-size: 11px;
    line-height: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    #hud #shipPanel,
    #hud #profilePanel {
        width: 224px;
        height: 129px;
        min-height: 129px;
    }

    #hud #shipPanel.minimized,
    #hud #profilePanel.minimized {
        height: 36px;
        min-height: 36px;
        background-size: 100% 129px;
    }

    #hud #shipPanel .panel-header,
    #hud #profilePanel .panel-header {
        height: 36px;
        padding: 7px 13px 0 13px;
    }

    #hud #shipPanel .panel-content,
    #hud #profilePanel .panel-content {
        top: 40px;
        left: 18px;
        right: 17px;
        bottom: 14px;
    }

    #hud #shipPanel .info-row,
    #hud #profilePanel .info-row {
        font-size: 10px;
    }

    #hud #profilePanel .info-row {
        grid-template-columns: 11px auto 1fr;
        column-gap: 6px;
    }

    #hud #profilePanel .profile-stat-icon {
        width: 8px;
        height: 8px;
    }

    #hud #shipPanel .info-row .value,
    #hud #profilePanel .info-row .value {
        font-size: 10px;
    }

    #hud #missionPanel {
        width: 223px;
        height: 128px;
        min-height: 128px;
    }

    #hud #powerPanel {
        width: 223px;
        height: 128px;
        min-height: 128px;
    }

    #hud #screenMapPanel {
        width: 360px;
        height: 264px;
        min-height: 264px;
    }
}

/* ===== Ölüm Ekranı Tamir Görselleri ===== */
.game-overlay .overlay-content {
    max-width: 610px;
}

.game-overlay .repair-options {
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.game-overlay .repair-options.repair-options-galaxy-gate {
    justify-content: center;
}

.game-overlay .repair-options.repair-options-galaxy-gate .repair-option {
    width: 190px;
    max-width: 190px;
}

.game-overlay .repair-option {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 148px;
    min-height: 126px;
    max-width: 148px;
    padding: 0 16px 12px;
    border: none;
    border-radius: 0;
    background: transparent center / 100% 100% no-repeat;
    box-shadow: none;
    transform: none;
    overflow: hidden;
}

.game-overlay .repair-option.repair-option-hangar {
    background-image: url('img/arayüz/hangardatamir.png');
}

.game-overlay .repair-option.repair-option-location {
    background-image: url('img/arayüz/yerindetamir.png');
}

.game-overlay .repair-option.repair-option-hangar .repair-icon,
.game-overlay .repair-option.repair-option-location .repair-icon {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.game-overlay .repair-option.repair-option-hangar .repair-icon {
    background-image: url('img/station/minihangar.png');
}

.game-overlay .repair-option.repair-option-location .repair-icon {
    background-image: url('img/targethalkası/targethalkası.png');
}

.game-overlay .repair-option.repair-option-portal {
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at center, rgba(58, 133, 255, 0.36), rgba(17, 34, 80, 0.92) 62%, rgba(5, 10, 24, 0.98) 100%);
    border: 1px solid rgba(118, 231, 255, 0.48);
    border-radius: 14px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 16px rgba(0, 183, 255, 0.18);
}

.game-overlay .repair-option:hover {
    transform: translateY(-3px) scale(1.02);
    border: none;
    box-shadow: 0 8px 18px rgba(0, 255, 255, 0.18);
    background-color: transparent;
}

.game-overlay .repair-option:active {
    transform: translateY(-1px) scale(0.99);
}

.game-overlay .repair-option.repair-option-disabled {
    opacity: 0.62;
    filter: grayscale(0.2);
    cursor: not-allowed;
    pointer-events: auto;
}

.game-overlay .repair-option.repair-option-disabled:hover {
    transform: none;
    box-shadow: none;
}

.game-overlay .repair-icon {
    display: none;
}

.game-overlay .repair-option.repair-option-portal .repair-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    background: url('img/portals/buton.png') center / contain no-repeat;
    filter: drop-shadow(0 0 8px rgba(78, 212, 255, 0.45));
}

.game-overlay .repair-label {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.92);
}

.game-overlay #repairStation .repair-label,
.game-overlay #repairLocation .repair-label {
    color: #050505;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.game-overlay .repair-cost {
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.92);
}

.game-overlay #repairStation .repair-cost {
    color: #56ff9d;
}

.game-overlay #repairLocation .repair-cost {
    color: #40f2ff;
}

.game-overlay #repairLocation.repair-option-disabled .repair-cost {
    color: #ffd36f;
}

.game-overlay #repairPortal .repair-cost {
    color: #8ce9ff;
}

@media (max-width: 768px) {
    .game-overlay .repair-option {
        width: 140px;
        max-width: 140px;
        min-height: 118px;
        padding: 0 14px 11px;
    }

    .game-overlay .repair-label {
        font-size: 13px;
    }

    .game-overlay .repair-cost {
        font-size: 12px;
    }
}
