Yes — replace your full `static/style.css`. Your current CSS has layout rules mixed inside mobile media block, so pages are breaking. 

```css
* {
    box-sizing: border-box;
}

:root {
    --bg: #030812;
    --bg2: #06111f;
    --card: rgba(9, 20, 34, 0.92);
    --card2: rgba(11, 26, 44, 0.9);
    --border: #173a56;
    --border2: #25577a;
    --text: #f4f8ff;
    --muted: #93a8bd;
    --blue: #1d8cff;
    --blue2: #155eef;
    --green: #00e676;
    --green2: #10b981;
    --red: #ff4444;
    --orange: #ff9f1a;
    --violet: #8b5cf6;
    --pink: #ff4fa3;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(29, 140, 255, 0.12), transparent 35%),
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 32%),
        var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
}

.app {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    width: 245px;
    min-width: 245px;
    padding: 24px 18px;
    background: linear-gradient(180deg, #06111f 0%, #040b14 100%);
    border-right: 1px solid var(--border);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar h1 {
    margin: 0;
    color: #35a7ff;
    letter-spacing: 3px;
    font-size: 30px;
}

.sidebar p {
    color: var(--muted);
    font-size: 13px;
    margin: 8px 0 30px;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    margin: 8px 0;
    border-radius: 11px;
    color: #eaf4ff;
    text-decoration: none;
    transition: 0.2s;
}

.sidebar a:hover {
    background: rgba(29, 140, 255, 0.12);
    transform: translateX(2px);
}

.sidebar a.active {
    background: linear-gradient(135deg, #0d47a1, #175fd7);
    box-shadow: 0 0 18px rgba(29, 140, 255, 0.25);
}

.sidebar .logout {
    color: #ff5757;
}

.side-status {
    margin-top: 60px;
    background: rgba(8, 18, 30, 0.95);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.side-status small {
    display: block;
    color: var(--green);
    margin-top: 4px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.8);
}

/* MAIN */

.main {
    flex: 1;
    padding: 24px;
    min-width: 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.page-header h2 {
    margin: 0;
    font-size: 28px;
}

.muted {
    color: var(--muted);
    margin: 6px 0 0;
}

/* CARDS */

.card {
    background: linear-gradient(180deg, var(--card), rgba(5, 13, 23, 0.94));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.card:hover {
    border-color: rgba(29, 140, 255, 0.38);
}

.card h3 {
    margin: 0 0 14px;
}

/* BUTTONS */

.btn,
button {
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
}

.btn:hover,
button:hover {
    transform: translateY(-1px);
}

.green {
    background: linear-gradient(135deg, #09c468, #087d42);
}

.blue {
    background: linear-gradient(135deg, #1d8cff, #155eef);
}

.dark-btn {
    background: rgba(8, 18, 30, 0.96);
    border: 1px solid var(--border2);
}

.full-btn {
    width: 100%;
    margin-top: 16px;
}

.small-btn,
.view-btn,
.edit-btn {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(29, 140, 255, 0.12);
    border: 1px solid rgba(29, 140, 255, 0.35);
    color: #6ebcff;
}

.edit-btn {
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.35);
}

/* ALERTS / BADGES */

.alert {
    padding: 13px 15px;
    background: rgba(29, 140, 255, 0.14);
    border-left: 4px solid var(--green);
    border-radius: 10px;
    margin-bottom: 18px;
}

.badge,
.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(139, 92, 246, 0.35);
    color: #fff;
}

.tag.success {
    background: rgba(0, 230, 118, 0.16);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.25);
}

.tag.danger {
    background: rgba(255, 68, 68, 0.16);
    color: var(--red);
    border: 1px solid rgba(255, 68, 68, 0.25);
}

.tag.warning,
.tag.pending {
    background: rgba(255, 159, 26, 0.16);
    color: var(--orange);
    border: 1px solid rgba(255, 159, 26, 0.25);
}

.win-text {
    color: var(--green);
}

.loss-text {
    color: var(--red);
}

.warn-text {
    color: var(--orange);
}

/* FORMS */

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin: 8px 0 12px;
    background: rgba(5, 13, 23, 0.98);
    color: var(--text);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29, 140, 255, 0.12);
}

label {
    display: block;
    margin-top: 8px;
    color: #e9f4ff;
}

/* STATS */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.stat-card,
.stats-grid > div {
    background: linear-gradient(145deg, rgba(12, 28, 48, 0.95), rgba(5, 13, 23, 0.96));
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 16px;
    min-height: 100px;
}

.stat-card b,
.stats-grid b {
    display: block;
    color: #a7bdd2;
    font-size: 13px;
}

.stat-card span,
.stats-grid span {
    display: block;
    margin-top: 8px;
    font-size: 24px;
    font-weight: 900;
}

.stat-card small,
.stats-grid small {
    color: var(--muted);
}

.blue-glow {
    border-color: rgba(29, 140, 255, 0.35);
}

.green-glow {
    border-color: rgba(0, 230, 118, 0.35);
}

.violet-glow {
    border-color: rgba(139, 92, 246, 0.38);
}

.orange-glow {
    border-color: rgba(255, 159, 26, 0.38);
}

.red-glow {
    border-color: rgba(255, 68, 68, 0.38);
}

/* FILTERS */

.filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(130px, 1fr));
    gap: 10px;
    align-items: center;
}

.filter-grid input,
.filter-grid select {
    margin: 0;
    height: 42px;
}

/* LAYOUTS */

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 18px;
    align-items: start;
}

.main-table-card {
    min-width: 0;
    overflow: hidden;
}

.right-panel {
    min-width: 0;
}

.right-panel .card p {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.quick-link {
    display: block;
    padding: 12px;
    margin: 8px 0;
    background: rgba(29, 140, 255, 0.08);
    border: 1px solid rgba(29, 140, 255, 0.12);
    border-radius: 10px;
    color: #4db5ff;
    text-decoration: none;
}

/* TABLES */

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(70, 120, 155, 0.18);
    text-align: left;
    white-space: nowrap;
}

th {
    color: #8fb8d6;
    font-weight: 800;
    background: rgba(5, 13, 23, 0.4);
}
/* REUSABLE SCROLL TABLE FIX */

.scroll-table-card {
    min-height: 0;
    overflow: hidden;
}

.scroll-table-wrap {
    width: 100%;
    max-height: 560px;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(70, 120, 155, 0.18);
}

.scroll-table-wrap table {
    min-width: 1150px;
}

.scroll-table-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #07111c;
    box-shadow: 0 1px 0 rgba(70, 120, 155, 0.25);
}

.scroll-table-wrap::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.scroll-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(70, 120, 155, 0.75);
    border-radius: 10px;
}

.scroll-table-wrap::-webkit-scrollbar-track {
    background: rgba(5, 13, 23, 0.95);
}
tr:hover td {
    background: rgba(29, 140, 255, 0.035);
}

.action-buttons {
    display: flex;
    gap: 6px;
}

/* CREATE SESSION */

.create-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.create-main {
    min-width: 0;
}

.create-side .card p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.create-side .card span {
    text-align: right;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.session-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.choice-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(8, 18, 30, 0.96);
    border: 1px solid var(--border2);
    border-radius: 13px;
    padding: 18px;
    cursor: pointer;
}

.choice-card.selected {
    background: linear-gradient(135deg, rgba(94, 38, 150, .45), rgba(8,18,30,.9));
    border-color: var(--violet);
}

.choice-card input {
    width: auto;
}

.choice-card h3 {
    margin: 0 0 6px;
    color: #c99cff;
}

.choice-card p {
    margin: 0;
    color: var(--muted);
}

.info-box {
    margin-top: 14px;
    background: rgba(0, 140, 255, .1);
    border: 1px solid #115b88;
    color: #25aaff;
    padding: 12px;
    border-radius: 10px;
}

.pool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pool-box {
    background: rgba(8, 18, 30, 0.96);
    border: 1px solid var(--border2);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
}

.pool-box.selected {
    background: linear-gradient(135deg, rgba(94, 38, 150, .42), rgba(8,18,30,.9));
    border-color: var(--violet);
}

.pool-box input {
    width: auto;
    margin-right: 8px;
}

.pool-box b {
    display: block;
    margin-top: 6px;
}

.pool-box small {
    color: var(--muted);
}

.pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 12px;
}

.pill {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 12px;
    background: rgba(8, 18, 30, 0.96);
    border: 1px solid var(--border2);
    border-radius: 10px;
    cursor: pointer;
}

.pill input {
    width: auto;
    display: none;
}

.pill.active {
    background: linear-gradient(135deg, rgba(94, 38, 150, .55), rgba(8,18,30,.9));
    border-color: var(--violet);
}

.warning-card {
    border-color: rgba(255, 159, 26, 0.45);
    background: linear-gradient(135deg, rgba(110, 70, 0, .25), rgba(8,18,30,.95));
}

.link-text {
    color: var(--blue);
    font-size: 13px;
}

/* LIVE TERMINAL */

.terminal {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background: radial-gradient(circle at top, #071b2c, #03070d 65%);
    padding: 12px;
}

.terminal-top {
    height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-top a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
}

.live-card {
    background: rgba(8, 18, 28, 0.96);
    border-radius: 16px;
    padding: 16px;
    margin: 10px 0 14px;
    border: 1px solid var(--green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
    transition: all 0.25s ease;
}

.live-card.ready {
    border-color: var(--green);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.35);
}

.live-card.pending {
    border-color: var(--orange);
    box-shadow: 0 0 20px rgba(255, 176, 0, 0.35);
}

.live-card.win {
    border-color: var(--green);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.55);
}

.live-card.loss {
    border-color: var(--red);
    box-shadow: 0 0 25px rgba(255, 48, 48, 0.5);
}

.live-card.stop {
    border-color: var(--orange);
    box-shadow: 0 0 25px rgba(255, 122, 0, 0.45);
}

.live-meta {
    display: flex;
    justify-content: space-between;
    color: #dcecff;
    font-size: 13px;
}

.live-main {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    align-items: center;
    text-align: center;
    margin: 18px 0 12px;
}

.live-main h2 {
    margin: 0;
    font-size: 21px;
}

.live-main small {
    color: var(--muted);
}

.status-line {
    text-align: center;
    color: var(--green);
    font-size: 13px;
    font-weight: bold;
}

.result-line {
    text-align: center;
    color: #e8f6ff;
    margin: 8px 0 0;
    font-size: 13px;
}

.color-row,
.size-row {
    display: grid;
    gap: 9px;
}

.color-row {
    grid-template-columns: repeat(3, 1fr);
}

.size-row {
    grid-template-columns: 1fr 1fr;
    margin-top: 9px;
}

.num-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 9px;
}

.color,
.big-btn,
.small-btn,
.num {
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.color input,
.big-btn input,
.small-btn input,
.num input {
    width: auto;
    margin-right: 5px;
}

.green-btn {
    background: linear-gradient(135deg, #06b85d, #087d42);
}

.violet-btn {
    background: linear-gradient(135deg, #7a36d8, #4a1d8c);
}

.red-btn {
    background: linear-gradient(135deg, #e53935, #831f1f);
}

.big-btn {
    background: linear-gradient(135deg, #d58819, #8a4e08);
}

.small-btn {
    background: linear-gradient(135deg, #0878cf, #084877);
}

.num {
    background: #07111c;
    border: 1px solid #1a5f7c;
}

.n1, .n3, .n7, .n9 {
    border-color: var(--green);
}

.n2, .n4, .n6, .n8 {
    border-color: var(--red);
}

.n0 {
    border-color: var(--violet);
}

.n5 {
    border-color: var(--green);
    box-shadow: inset 0 0 8px rgba(182,70,255,.25);
}

.collapse-box {
    background: rgba(8, 18, 30, 0.96);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px;
    margin-top: 10px;
}

.collapse-box summary {
    cursor: pointer;
    font-weight: bold;
    color: #dcecff;
}

.send-btn {
    width: 100%;
    margin-top: 12px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #09c468, #087d42);
    color: white;
    font-weight: bold;
    font-size: 16px;
}

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

.danger-row form {
    margin: 0;
}

.outline-orange,
.outline-red {
    width: 100%;
    background: transparent;
    border-radius: 9px;
    padding: 13px;
    font-weight: bold;
}

.outline-orange {
    color: var(--orange);
    border: 1px solid var(--orange);
}

.outline-red {
    color: var(--red);
    border: 1px solid var(--red);
}

.bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #12324a;
}

.bottom-nav a {
    text-align: center;
    color: #95bedc;
    text-decoration: none;
    font-size: 12px;
}

/* COUNTDOWN */

.center-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.countdown-card {
    background: rgba(8, 18, 30, 0.96);
    border: 1px solid var(--border2);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
}

.countdown-circle {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    border: 8px solid var(--violet);
    margin: 22px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 25px rgba(141, 68, 255, 0.45);
}

.countdown-circle span {
    font-size: 30px;
    font-weight: bold;
    color: #d99cff;
}

.countdown-info {
    text-align: left;
    background: #050c14;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.countdown-info p {
    display: flex;
    justify-content: space-between;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-layout,
    .create-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    body {
        font-size: 15px;
        overflow-x: hidden;
    }

    .app {
        display: block;
        width: 100%;
        min-height: 100vh;
    }

    .sidebar {
        position: relative;
        width: 100%;
        min-width: 0;
        height: auto;
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .sidebar h1,
    .sidebar p,
    .side-status {
        grid-column: 1 / -1;
    }

    .sidebar h1 {
        font-size: 26px;
    }

    .sidebar p {
        margin-bottom: 10px;
    }

    .sidebar a {
        margin: 0;
        padding: 11px 8px;
        justify-content: center;
        text-align: center;
        font-size: 13px;
    }

    .main {
        width: 100%;
        padding: 14px;
    }

    .page-header {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-grid,
    .vip-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .two-col,
    .session-type-grid,
    .content-layout,
    .create-layout {
        display: block;
    }

    .create-side {
        margin-top: 16px;
    }

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

    .main-table-card,
    .vip-table-wrap,
    .table-wrap {
        overflow-x: auto;
        width: 100%;
    }

    table {
        min-width: 900px;
        font-size: 13px;
    }

    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 15px;
    }

    .sidebar {
        grid-template-columns: repeat(2, 1fr);
    }

    .main {
        padding: 12px;
    }

    .stats-grid,
    .filter-grid,
    .vip-filter-grid,
    .pool-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 14px;
        border-radius: 15px;
    }

    .stat-card,
    .stats-grid > div {
        min-height: 86px;
    }

    .stat-card span,
    .stats-grid span {
        font-size: 22px;
    }

    .terminal {
        width: 100%;
        max-width: 430px;
        padding: 12px;
        margin: 0 auto;
    }

    .live-main h2 {
        font-size: 24px;
    }

    .terminal-buttons label,
    .color-row label,
    .size-row label,
    .num-grid label {
        font-size: 14px;
        min-height: 54px;
    }

    .bottom-nav a {
        font-size: 12px;
    }
}