@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #070707;
    --panel: #101010;
    --panel2: #171717;
    --line: #2b2b2b;
    --text: #f4f4f4;
    --muted: #9b9b9b;
    --max: 1280px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4vw;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(7, 7, 7, .82);
    backdrop-filter: blur(18px);
    z-index: 50
}

.brand {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -2px;
    color: #fff;
    text-decoration: none
}

.brand span {
    font-weight: 400
}

.nav nav,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px
}

.nav a {
    color: #bbb;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: .25s
}

.nav a:hover {
    color: #fff
}

.cart {
    position: relative
}

.cart b {
    position: absolute;
    background: #fff;
    color: #000;
    border-radius: 50%;
    font-size: 9px;
    min-width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    top: -10px;
    right: -11px
}

.lang {
    border: 1px solid var(--line);
    padding: 7px 10px
}

.menu {
    display: none;
    background: none;
    color: #fff;
    border: 0;
    font-size: 25px
}

.hero {
    min-height: calc(100vh - 76px);
    position: relative;
    background: #111 center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 8vw
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .2)), linear-gradient(0deg, #070707, transparent 50%)
}

.hero-copy,
.scroll {
    position: relative;
    z-index: 1
}

.hero-copy {
    max-width: 850px
}

.hero h1 {
    font-size: clamp(70px, 14vw, 190px);
    line-height: .78;
    letter-spacing: -.09em;
    margin: 10px 0 30px
}

.hero p {
    max-width: 650px;
    color: #ccc
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .18em;
    color: #888;
    text-transform: uppercase
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #000 !important;
    border: 0;
    padding: 14px 22px;
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: .25s
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px #000
}

.btn.light {
    margin-right: 18px
}

.text-btn,
.arrow {
    color: #fff !important;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .16em
}

.scroll {
    position: absolute;
    right: 4vw;
    bottom: 4vw;
    font-size: 10px;
    letter-spacing: .2em;
    color: #777
}

.section,
.page {
    max-width: var(--max);
    margin: auto;
    padding: 110px 5vw
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw
}

.section h2,
.page-title h1 {
    font-size: clamp(42px, 6vw, 88px);
    letter-spacing: -.06em;
    line-height: .95;
    margin: 10px 0 0
}

.lead {
    font-size: clamp(20px, 2.2vw, 32px);
    color: #c5c5c5;
    align-self: end
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 45px
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.event-card,
.post {
    color: #fff;
    text-decoration: none
}

.event-img {
    height: 430px;
    background: #151515 center/cover;
    position: relative;
    overflow: hidden
}

.event-img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #000, transparent 45%);
    opacity: .7
}

.event-img span {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 20px;
    background: #fff;
    color: #000;
    padding: 8px 10px;
    font-weight: 800;
    font-size: 12px
}

.event-meta {
    padding: 17px 0;
    border-bottom: 1px solid var(--line)
}

.event-meta h3 {
    margin: 0;
    font-size: 20px
}

.event-meta p {
    color: #777;
    font-size: 12px
}

.event-meta strong {
    font-size: 10px;
    letter-spacing: .15em
}

.members {
    border-top: 1px solid var(--line)
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px
}

.member img,
.avatar {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: grayscale(1)
}

.avatar {
    display: grid;
    place-items: center;
    background: #171717;
    font-size: 100px
}

.member h3 {
    margin: 14px 0 0
}

.member p {
    color: #777;
    margin: 0
}

.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    padding: 18px 0;
    white-space: nowrap
}

.marquee div {
    font-size: 12px;
    letter-spacing: .3em;
    animation: marquee 18s linear infinite
}

@keyframes marquee {
    to {
        transform: translateX(-30%)
    }
}

.page-title {
    margin-bottom: 70px
}

.event-list {
    border-top: 1px solid var(--line)
}

.event-row {
    display: grid;
    grid-template-columns: 120px 1fr 150px;
    align-items: center;
    gap: 30px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: #fff;
    transition: .25s
}

.event-row:hover {
    padding-left: 12px;
    background: #0b0b0b
}

.event-row time {
    font-size: 42px;
    font-weight: 800;
    line-height: 1
}

.event-row time small {
    display: block;
    font-size: 10px;
    color: #777;
    letter-spacing: .1em;
    margin-top: 8px
}

.event-row h2,
.event-row h3 {
    margin: 0
}

.event-row p {
    color: #777;
    margin: 4px 0;
    font-size: 13px
}

.event-row>span {
    font-size: 10px;
    letter-spacing: .14em;
    text-align: right
}

.event-hero {
    min-height: 70vh;
    background: #111 center/cover;
    display: flex;
    align-items: end;
    padding: 7vw;
    position: relative
}

.event-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #070707, transparent 60%)
}

.event-hero>div {
    position: relative;
    z-index: 1
}

.event-hero h1 {
    font-size: clamp(60px, 10vw, 140px);
    line-height: .85;
    letter-spacing: -.08em;
    margin: 12px 0
}

.ticket-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    padding: 90px 0
}

.ticket-grid {
    display: grid;
    gap: 12px
}

.ticket-card,
.form-card,
.auth-card,
.order-card {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 25px
}

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

.ticket-card strong {
    font-size: 24px
}

.ticket-card small {
    color: #777
}

.ticket-card input,
input,
textarea,
select {
    width: 100%;
    background: #0a0a0a;
    color: #fff;
    border: 1px solid var(--line);
    padding: 14px;
    font: inherit
}

textarea {
    min-height: 130px;
    resize: vertical
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 50px
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 25px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line)
}

.cart-item h3,
.cart-item p {
    margin: 0
}

.cart-item p {
    color: #777
}

.cart-item a {
    font-size: 10px;
    color: #777
}

.summary {
    background: #111;
    border: 1px solid var(--line);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: max-content
}

.summary strong {
    font-size: 28px
}

.auth {
    min-height: calc(100vh - 76px);
    display: grid;
    place-items: center;
    padding: 40px
}

.auth-card {
    width: min(500px, 100%);
    display: grid;
    gap: 15px
}

.auth-card h1 {
    font-size: 55px;
    line-height: .95;
    letter-spacing: -.06em
}

.auth-card a {
    color: #aaa;
    font-size: 12px
}

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

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover
}

.album-grid,
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.album-cover {
    aspect-ratio: 1;
    background: #151515 center/cover;
    display: grid;
    place-items: end start;
    padding: 20px;
    font-size: 28px;
    font-weight: 900
}

.album h2,
.post h2 {
    margin: 16px 0 2px
}

.album>p,
.post>p {
    color: #777
}

.track {
    border-top: 1px solid var(--line);
    padding: 12px 0;
    display: grid;
    gap: 6px;
    font-size: 12px
}

.track small {
    color: #777
}

.track audio {
    width: 100%;
    height: 30px
}

.gallery-section {
    margin-bottom: 80px
}

.gallery-grid {
    columns: 3 250px;
    column-gap: 12px
}

.gallery-grid figure {
    margin: 0 0 12px;
    break-inside: avoid
}

.gallery-grid img {
    width: 100%;
    display: block;
    filter: grayscale(.2);
    transition: .4s
}

.gallery-grid img:hover {
    filter: grayscale(0);
    transform: scale(.99)
}

.gallery-grid figcaption {
    font-size: 10px;
    color: #777;
    padding: 7px
}

.post-grid {
    grid-template-columns: repeat(3, 1fr)
}

.post img {
    width: 100%;
    aspect-ratio: 1.4;
    object-fit: cover;
    filter: grayscale(1)
}

.post small {
    color: #777
}

.article {
    max-width: 950px
}

.article-cover {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    margin-bottom: 45px
}

.article h1 {
    font-size: clamp(50px, 8vw, 110px);
    line-height: .9;
    letter-spacing: -.07em
}

.article-content {
    font-size: 19px;
    color: #c9c9c9;
    max-width: 750px;
    margin-top: 50px
}

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

.stats>div {
    background: #111;
    border: 1px solid var(--line);
    padding: 25px
}

.stats small {
    display: block;
    color: #777;
    letter-spacing: .15em
}

.stats b {
    display: block;
    font-size: 42px;
    margin-top: 8px
}

.admin-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0 60px
}

.admin-links a {
    border: 1px solid var(--line);
    padding: 16px;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .1em
}

.scanner-page {
    max-width: 700px
}

.scanner-page #reader {
    background: #111;
    border: 1px solid var(--line);
    padding: 15px;
    min-height: 330px
}

.manual-scan {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin: 20px 0
}

.scan-result {
    padding: 20px;
    margin-top: 15px
}

.issued-ticket {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    align-items: center
}

.qr {
    background: #fff;
    padding: 5px;
    width: 130px;
    height: 130px
}

.ticket-code {
    font-family: monospace;
    border-top: 1px solid var(--line);
    padding: 15px 0
}

.ticket-code span {
    float: right;
    color: #777
}

.empty {
    padding: 50px 0;
    color: #777
}

footer {
    border-top: 1px solid var(--line);
    padding: 60px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777
}

footer a {
    color: #aaa;
    margin: 0 10px;
    font-size: 11px
}

.footer-brand {
    font-size: 45px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.08em
}

.messages {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 100;
    background: #fff;
    color: #000;
    padding: 15px 20px;
    font-size: 12px;
    box-shadow: 0 15px 40px #000
}

.reveal {
    animation: fade .9s ease both
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:850px) {

    .nav nav,
    .nav-actions>a:not(.cart):not(.lang) {
        /* display: none*/
    }

    .menu {
        display: block
    }

    .nav {
        padding: 0 5vw
    }

    .nav-actions {
        margin-left: auto;
        margin-right: 12px
    }

    .hero {
        min-height: 80vh;
        padding: 12vw 6vw
    }

    .hero h1 {
        font-size: 22vw
    }

    .section,
    .page {
        padding: 75px 6vw
    }

    .split,
    .ticket-area,
    .cart-layout {
        grid-template-columns: 1fr
    }

    .event-grid {
        grid-template-columns: 1fr 1fr
    }

    .event-img {
        height: 330px
    }

    .member-grid {
        grid-template-columns: 1fr 1fr
    }

    .event-row {
        grid-template-columns: 70px 1fr;
        gap: 18px
    }

    .event-row>span {
        grid-column: 2;
        text-align: left
    }

    .event-row time {
        font-size: 30px
    }

    .album-grid,
    .post-grid {
        grid-template-columns: 1fr 1fr
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .page-title {
        margin-bottom: 45px
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px
    }
}

@media(max-width:520px) {

    .event-grid,
    .member-grid,
    .album-grid,
    .post-grid,
    .stats {
        grid-template-columns: 1fr
    }

    .event-img {
        height: 420px
    }

    .hero .text-btn {
        display: block;
        margin-top: 20px
    }

    .btn.light {
        margin-right: 8px
    }

    .section-head {
        display: block
    }

    .section-head .arrow {
        display: inline-block;
        margin-top: 20px
    }

    .two {
        grid-template-columns: 1fr
    }

    .cart-item {
        grid-template-columns: 1fr auto
    }

    .cart-item a {
        grid-column: 1
    }

    .event-hero {
        min-height: 60vh;
        padding: 8vw
    }

    .event-hero h1 {
        font-size: 17vw
    }

    .issued-ticket {
        align-items: flex-start;
        flex-direction: column
    }

    .scanner-page #reader {
        min-height: 280px
    }

    .manual-scan {
        grid-template-columns: 1fr
    }

    footer {
        padding: 45px 6vw
    }
}

[dir=rtl] .hero h1,
[dir=rtl] h1,
[dir=rtl] h2 {
    letter-spacing: -.04em
}

[dir=rtl] .btn.light {
    margin-right: 0;
    margin-left: 18px
}

[dir=rtl] .event-row>span {
    text-align: left
}

@media(max-width:850px) {
    [dir=rtl] .event-row>span {
        text-align: right
    }
}

.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 40px 0
}

.chart-card {
    background: #111;
    border: 1px solid var(--line);
    padding: 20px
}

.chart-card h3 {
    margin-top: 0;
    font-size: 13px
}

@media(max-width:850px) {
    .chart-grid {
        grid-template-columns: 1fr
    }
}

/* 0&1 visual system v2 */
:root {
    --black: #050505;
    --white: #f4f4f4;
    --muted: #8c8c8c;
    --line: #262626;
    --panel: #101010;
    --panel2: #151515;
    --accent: #fff;
    --success: #d8ffda;
    --danger: #ffb4b4
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Peyda', Arial, sans-serif;
    letter-spacing: 0;
    line-height: 1.7
}

button,
input,
textarea,
select {
    font-family: inherit
}

[dir=rtl] body {
    font-family: 'Peyda', Arial, sans-serif;
    text-align: right
}

[dir=rtl] .eyebrow {
    letter-spacing: 0;
    font-weight: 600
}

[dir=rtl] h1,
[dir=rtl] h2,
[dir=rtl] h3,
[dir=rtl] p {
    letter-spacing: 0
}

[dir=rtl] .nav nav {
    direction: rtl
}

[dir=rtl] .nav-actions {
    direction: rtl
}

[dir=rtl] .event-row>span {
    text-align: left
}

[dir=rtl] .section-head {
    direction: rtl
}

[dir=rtl] .profile-links {
    justify-content: flex-start
}

.btn {
    border-radius: 0;
    position: relative;
    overflow: hidden
}

.btn:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent, rgba(0, 0, 0, .12), transparent);
    transform: translateX(-100%);
    transition: .45s
}

.btn:hover:after {
    transform: translateX(100%)
}

.page.narrow {
    max-width: 850px
}

.checkout-box {
    background: linear-gradient(135deg, #111, #080808);
    border: 1px solid var(--line);
    padding: clamp(25px, 5vw, 55px);
    display: grid;
    gap: 35px
}

.checkout-box h2 {
    font-size: clamp(36px, 6vw, 70px);
    margin: 8px 0
}

.checkout-total {
    border-block: 1px solid var(--line);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.checkout-total strong {
    font-size: 30px
}

.btn-wide {
    width: 100%
}

.ticket-list {
    display: grid;
    gap: 12px
}

.ticket-list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 28px;
    background: #101010;
    border: 1px solid var(--line);
    color: #fff;
    text-decoration: none;
    transition: .3s
}

.ticket-list-card:hover {
    background: #171717;
    transform: translateY(-3px);
    border-color: #444
}

.ticket-list-card h2 {
    margin: 6px 0
}

.ticket-list-card p {
    color: #777;
    margin: 0
}

.ticket-list-card strong {
    font-size: 11px;
    letter-spacing: .1em;
    white-space: nowrap
}

.ticket-paper {
    background: #f4f4f4;
    color: #080808;
    padding: clamp(25px, 6vw, 65px);
    box-shadow: 0 30px 80px #000;
    border: 1px solid #ddd
}

.ticket-paper .eyebrow {
    color: #555
}

.ticket-top,
.ticket-main,
.ticket-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center
}

.ticket-top h1 {
    font-size: clamp(42px, 8vw, 95px);
    line-height: .9;
    margin: 12px 0
}

.ticket-top p {
    color: #555
}

.ticket-badge {
    border: 2px solid #111;
    padding: 10px 16px;
    font-weight: 800
}

.ticket-main {
    border-block: 1px dashed #aaa;
    padding: 35px 0;
    margin: 30px 0
}

.ticket-main h2 {
    font-size: 40px;
    margin: 10px 0
}

.ticket-main .ticket-code {
    font-family: monospace;
    letter-spacing: .08em
}

.ticket-qr {
    background: #fff;
    padding: 10px
}

.ticket-footer {
    font-size: 12px;
    letter-spacing: .12em
}

.ticket-status {
    display: inline-block;
    margin-top: 8px
}

.ticket-status.valid {
    color: #176b2a
}

.ticket-status.used {
    color: #777
}

.ticket-status.cancelled {
    color: #a00
}

.profile-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 45px;
    margin-bottom: 45px
}

.profile-head h1 {
    font-size: clamp(45px, 7vw, 90px);
    margin: 8px 0
}

.profile-img.large {
    width: 150px;
    height: 150px
}

.profile-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.profile-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 12px
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px
}

.profile-side {
    background: #101010;
    border: 1px solid var(--line);
    padding: 25px;
    display: grid;
    gap: 20px;
    height: max-content
}

.mini-stat {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px
}

.mini-stat span {
    color: #777
}

.mini-stat strong {
    font-size: 25px
}

.audio-player {
    display: grid;
    grid-template-columns: 44px 1fr minmax(80px, 1fr) 36px;
    gap: 10px;
    align-items: center;
    background: linear-gradient(90deg, #0c0c0c, #181818);
    border: 1px solid #292929;
    padding: 9px;
    margin-top: 8px
}

.play-toggle,
.mute {
    border: 1px solid #444;
    background: #eee;
    color: #050505;
    width: 34px;
    height: 34px;
    cursor: pointer
}

.mute {
    background: transparent;
    color: #fff
}

.audio-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    min-width: 0
}

.audio-info strong {
    font-size: 10px;
    letter-spacing: .12em
}

.audio-info .time {
    font-size: 10px;
    color: #777
}

.progress {
    accent-color: #fff;
    padding: 0;
    border: 0;
    background: transparent
}

.track-head {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.track-head small {
    color: #777
}

.scanner-event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: #111;
    border: 1px solid var(--line);
    margin-bottom: 15px
}

.scanner-event span {
    color: #777
}

.scan-result {
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border: 1px solid var(--line);
    background: #0d0d0d
}

.scan-result.success {
    border-color: #5a8c60;
    background: #0d180f;
    color: #d8ffda
}

.scan-result.error {
    border-color: #8c4b4b;
    background: #190d0d;
    color: #ffb4b4
}

.scan-result small {
    opacity: .7
}

.scanner-page #reader {
    border-radius: 0;
    overflow: hidden
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.check-row input {
    width: auto
}

/* Custom SB Admin Pro-inspired control room */
.admin-shell {
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: 270px 1fr;
    background: #080808
}

.admin-sidebar {
    background: #0c0c0c;
    border-right: 1px solid var(--line);
    padding: 25px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto
}

.admin-logo {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -.08em;
    padding: 8px 12px 28px
}

.admin-logo small {
    display: block;
    font-size: 9px;
    letter-spacing: .2em;
    color: #666;
    font-weight: 500
}

.admin-sidebar>a {
    color: #929292;
    text-decoration: none;
    padding: 12px 14px;
    font-size: 12px;
    border-radius: 4px;
    transition: .2s
}

.admin-sidebar>a:hover,
.admin-sidebar>a.active {
    color: #fff;
    background: #191919
}

.admin-nav-label {
    font-size: 9px;
    letter-spacing: .18em;
    color: #555;
    padding: 25px 14px 7px
}

.admin-exit {
    margin-top: auto
}

.admin-main {
    padding: 35px;
    min-width: 0
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 30px
}

.admin-topbar h1 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1;
    margin: 8px 0
}

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

.admin-stats>div {
    background: #111;
    border: 1px solid var(--line);
    padding: 18px;
    min-height: 100px
}

.admin-stats span {
    display: block;
    color: #666;
    font-size: 9px;
    letter-spacing: .14em
}

.admin-stats strong {
    display: block;
    font-size: 30px;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px
}

.admin-panel {
    background: #0e0e0e;
    border: 1px solid var(--line);
    padding: 22px;
    margin-bottom: 16px
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.panel-head h2 {
    font-size: 15px;
    margin: 0
}

.admin-table-wrap {
    overflow: auto
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px
}

.admin-table th,
.admin-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #202020;
    text-align: left;
    font-size: 12px;
    vertical-align: middle
}

.admin-table th {
    color: #666;
    font-size: 9px;
    letter-spacing: .12em
}

.admin-table tr:hover td {
    background: #121212
}

.status-pill {
    border: 1px solid #333;
    padding: 4px 7px;
    font-size: 9px
}

.actions {
    white-space: nowrap
}

.actions a {
    color: #bbb;
    text-decoration: none;
    font-size: 10px;
    margin-right: 12px
}

.danger-link {
    color: #c98c8c !important
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-bottom: 16px;
    color: #666;
    font-size: 11px
}

.admin-toolbar form {
    display: flex;
    gap: 8px;
    width: min(600px, 100%)
}

.admin-toolbar input {
    background: #111
}

.admin-toolbar .btn {
    padding: 10px 16px
}

.form-panel {
    max-width: 900px
}

.admin-field {
    display: grid;
    gap: 7px;
    margin-bottom: 17px
}

.admin-field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-field-label-row label {
    margin: 0;
}

.admin-field-type {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border: 1px solid #292929;
    border-radius: 999px;
    color: #777;
    background: #0c0c0c;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-field input[type=number] {
    font-variant-numeric: tabular-nums;
}

.admin-field input[type=date],
.admin-field input[type=datetime-local],
.admin-field input[type=time] {
    color-scheme: dark;
    font-variant-numeric: tabular-nums;
}

.admin-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.admin-field select[multiple] {
    min-height: 150px;
}

.admin-field input[type=file] {
    padding: 10px;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
    outline: none;
    border-color: #777;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .04);
}

.admin-field input,
.admin-field textarea,
.admin-field select,
.admin-field input[type=file] {
    background: #090909;
    border: 1px solid #303030;
    color: #fff;
    padding: 13px;
    width: 100%;
    box-sizing: border-box
}

.admin-field input[type=checkbox] {
    width: auto
}

.admin-field small {
    color: #666
}

.field-error {
    color: #ff9d9d;
    font-size: 11px
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px
}

.ghost {
    background: transparent;
    color: #fff !important;
    border: 1px solid #333
}

.danger {
    background: #e6bebe;
    color: #180909 !important
}

.delete-panel {
    max-width: 650px
}

.delete-panel h1 {
    font-size: 55px
}

.delete-panel form {
    display: flex;
    gap: 10px;
    margin-top: 25px
}

@media(max-width:1050px) {
    .admin-shell {
        grid-template-columns: 220px 1fr
    }

    .admin-stats {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:850px) {
    .profile-layout {
        grid-template-columns: 1fr
    }

    .profile-head {
        grid-template-columns: 1fr
    }

    .admin-shell {
        display: block
    }

    .admin-sidebar {
        position: relative;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px
    }

    .admin-logo {
        grid-column: 1/-1
    }

    .admin-exit {
        margin-top: 0
    }

    .admin-main {
        padding: 22px 16px
    }

    .admin-topbar {
        align-items: flex-start
    }

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

    .admin-grid {
        grid-template-columns: 1fr
    }

    .ticket-list-card {
        align-items: flex-start;
        flex-direction: column
    }

    .audio-player {
        grid-template-columns: 44px 1fr 38px
    }

    .audio-player .progress {
        grid-column: 1/-1
    }

    .audio-info {
        display: block
    }

    .ticket-top,
    .ticket-main,
    .ticket-footer {
        align-items: flex-start;
        flex-direction: column
    }

    .ticket-top h1 {
        font-size: 16vw
    }
}

@media print {
    body {
        background: #fff !important;
        color: #000 !important
    }

    .nav,
    footer,
    .messages,
    .no-print {
        display: none !important
    }

    .ticket-print-page {
        padding: 0 !important;
        max-width: none !important
    }

    .ticket-paper {
        box-shadow: none;
        border: 0;
        min-height: auto
    }

    .issued-ticket,
    .ticket-bundle {
        break-inside: avoid
    }

    .print-area .page-title {
        display: none
    }

    .ticket-paper .btn {
        display: none
    }
}

/* =========================
   MOBILE NAVIGATION
   ========================= */

@media (max-width: 768px) {

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        background: rgba(5, 5, 5, 0.98);

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 28px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-20px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        z-index: 999;
    }


    /* OPEN STATE */
    .main-nav.mobile-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }


    /* NAV LINKS */
    .main-nav a {
        font-size: 1.25rem;
        color: #fff;
        text-decoration: none;

        opacity: 0;
        transform: translateY(10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease;
    }


    .main-nav.mobile-open a {
        opacity: 1;
        transform: translateY(0);
    }


    /* Slight stagger effect */
    .main-nav.mobile-open a:nth-child(1) {
        transition-delay: 0.05s;
    }

    .main-nav.mobile-open a:nth-child(2) {
        transition-delay: 0.1s;
    }

    .main-nav.mobile-open a:nth-child(3) {
        transition-delay: 0.15s;
    }

    .main-nav.mobile-open a:nth-child(4) {
        transition-delay: 0.2s;
    }

    .main-nav.mobile-open a:nth-child(5) {
        transition-delay: 0.25s;
    }
    .main-nav.mobile-open a:nth-child(6) {
        transition-delay: 0.3s;
    }
}

/* =========================
   0&1 VENUE + SEAT SYSTEM
   ========================= */
.seat-sale-section {
    margin-top: 35px;
}

.seat-sale-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 25px;
}

.seat-sale-head h2 {
    font-size: clamp(34px, 5vw, 62px);
    margin: 8px 0;
}

.seat-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #999;
}

.seat-legend span {
    display: flex;
    gap: 7px;
    align-items: center;
}

.seat-dot {
    width: 12px;
    height: 12px;
    border: 1px solid #555;
    border-radius: 3px;
    display: inline-block;
}

.seat-dot.available {
    background: #151515;
}

.seat-dot.selected {
    background: #fff;
}

.seat-dot.sold {
    background: #383838;
}

.floor-tabs {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding-bottom: 12px;
    margin-bottom: 10px;
}

.floor-tab {
    background: #101010;
    color: #aaa;
    border: 1px solid #282828;
    padding: 11px 17px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.floor-tab.active {
    color: #050505;
    background: #fff;
    border-color: #fff;
}

.is-hidden {
    display: none !important;
}

.seat-floor {
    overflow: auto;
    background: #070707;
    border: 1px solid #252525;
    padding: 20px;
}

.venue-canvas {
    position: relative;
    width: var(--canvas-w);
    height: var(--canvas-h);
    min-width: var(--canvas-w);
    min-height: var(--canvas-h);
    background: #0a0a0a;
    overflow: hidden;
    border: 1px solid #222;
}

.venue-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#151515 1px, transparent 1px), linear-gradient(90deg, #151515 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .45;
    pointer-events: none;
}

.venue-element {
    position: absolute;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.stage-element {
    background: #f3f3f3;
    color: #050505;
    font-weight: 900;
    letter-spacing: .16em;
    border: 3px solid #fff;
    box-shadow: 0 10px 30px #000;
}

.table-element {
    border: 2px solid #aaa;
    background: #161616;
    color: #aaa;
    border-radius: 50%;
    font-size: 11px;
    letter-spacing: .08em;
}

.chair-element {
    border: 1px solid #555;
    background: #141414;
    color: #aaa;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
    font-family: inherit;
    padding: 0;
}

.chair-element:hover {
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px #000;
}

.chair-element.selected {
    background: #fff;
    color: #050505;
    border-color: #fff;
    box-shadow: 0 0 0 3px #777, 0 12px 25px #000;
}

.chair-element.sold {
    background: #292929;
    color: #555;
    border-color: #333;
    cursor: not-allowed;
}

.chair-element span {
    font-size: 10px;
    font-weight: 800;
}

.seat-selection-bar {
    position: sticky;
    bottom: 10px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    background: rgba(12, 12, 12, .96);
    border: 1px solid #333;
    backdrop-filter: blur(14px);
    z-index: 10;
}

.seat-selection-bar>div {
    display: grid;
    gap: 4px;
}

.seat-selection-bar strong {
    font-size: 18px;
}

.seat-selection-bar button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* Venue admin */
.venue-manager-grid {
    align-items: start;
}

.venue-form {
    display: grid;
    gap: 10px;
}

.venue-form input,
.venue-form select {
    background: #090909;
    border: 1px solid #303030;
    color: #fff;
    padding: 13px;
    font: inherit;
}

.two-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.venue-cards {
    display: grid;
    gap: 10px;
}

.venue-card {
    border: 1px solid #242424;
    background: #101010;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
}

.venue-card h3 {
    font-size: 28px;
    margin: 5px 0;
}

.venue-card p {
    color: #666;
    margin: 0;
}

.floor-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.layout-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.layout-tool {
    background: #111;
    color: #aaa;
    border: 1px solid #303030;
    padding: 10px 13px;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    letter-spacing: .08em;
}

.layout-tool:hover,
.layout-tool.active {
    background: #fff;
    color: #050505;
    border-color: #fff;
}

.layout-help {
    color: #555;
    font-size: 11px;
    margin-left: auto;
}

.layout-editor-panel {
    overflow: auto;
}

.layout-editor-canvas {
    position: relative;
    width: var(--canvas-w);
    height: var(--canvas-h);
    min-width: var(--canvas-w);
    min-height: var(--canvas-h);
    background: #080808;
    border: 1px solid #303030;
    overflow: hidden;
}

.layout-object {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    border: 1px solid #555;
    color: #aaa;
    background: #161616;
    font-size: 10px;
}

.layout-object:active {
    cursor: grabbing;
}

.layout-object.selected {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.layout-object.stage {
    background: #eee;
    color: #050505;
    border: 2px solid #fff;
    font-weight: 900;
    letter-spacing: .12em;
}

.layout-object.table {
    border-radius: 50%;
    border-color: #999;
}

.layout-object.chair {
    border-radius: 10px;
}

.layout-object small {
    font-size: 8px;
    color: #666;
}

.layout-object.stage small,
.layout-object.table small {
    display: none;
}

@media(max-width:850px) {
    .seat-sale-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .seat-selection-bar {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .seat-selection-bar .btn {
        width: 100%;
    }

    .venue-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .floor-links {
        justify-content: flex-start;
    }

    .layout-help {
        width: 100%;
        margin-left: 0;
    }
}

/* =========================================================
   0&1 VISUAL VENUE DESIGNER
   ========================================================= */
.venue-designer-page {
    min-width: 0;
}

.venue-designer-header {
    align-items: flex-start;
}

.designer-subtitle {
    color: var(--muted);
    max-width: 720px;
    margin: 8px 0 0;
    font-size: 13px;
}

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

.designer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    margin-bottom: 14px;
}

.designer-tool-group {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
}

.layout-tool {
    min-height: 40px;
}

.layout-tool.danger-tool:hover {
    background: #efefef;
    color: #080808;
    border-color: #efefef;
}

.designer-zoom strong {
    min-width: 52px;
    text-align: center;
    font-size: 11px;
    letter-spacing: .08em;
}

.designer-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
    align-items: start;
}

.designer-canvas-panel {
    padding: 12px;
    overflow: hidden;
}

.designer-canvas-scroll {
    width: 100%;
    min-height: 620px;
    overflow: auto;
    background: #050505;
    border: 1px solid #242424;
    padding: 20px;
}

.layout-editor-canvas {
    position: relative;
    width: var(--canvas-w);
    height: var(--canvas-h);
    min-width: var(--canvas-w);
    min-height: var(--canvas-h);
    background: #090909;
    border: 1px solid #353535;
    overflow: hidden;
    transition: transform .18s ease;
}

.layout-editor-canvas:before {
    content: 'FLOOR PLAN';
    position: absolute;
    left: 18px;
    top: 15px;
    z-index: 1;
    font-size: 9px;
    letter-spacing: .18em;
    color: #444;
    pointer-events: none;
}

.layout-object {
    touch-action: none;
}

.layout-object.stage {
    box-shadow: 0 0 45px rgba(255, 255, 255, .06);
}

.layout-object.table {
    border-radius: 999px;
    background: #111;
}

.layout-object.chair {
    background: #151515;
}

.layout-object.selected {
    outline: 2px solid #fff;
    outline-offset: 4px;
    box-shadow: 0 0 25px rgba(255, 255, 255, .08);
}

.element-inspector {
    padding: 18px;
    position: sticky;
    top: 18px;
}

.element-inspector .panel-head {
    margin-bottom: 18px;
}

.element-inspector h2 {
    margin: 4px 0 0;
}

.inspector-empty {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    color: #777;
    border: 1px dashed #292929;
    padding: 24px;
}

.inspector-empty strong {
    color: #ddd;
    font-size: 14px;
}

.inspector-empty span {
    font-size: 11px;
    line-height: 1.7;
}

.inspector-icon {
    width: 48px;
    height: 48px;
    border: 1px solid #333;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.inspector-form {
    display: grid;
    gap: 12px;
}

.inspector-form label {
    display: grid;
    gap: 6px;
}

.inspector-form label>span {
    color: #777;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.inspector-form input {
    width: 100%;
    background: #090909;
    border: 1px solid #303030;
    color: #fff;
    padding: 11px 12px;
    font: inherit;
    outline: none;
}

.inspector-form input:focus {
    border-color: #777;
}

.inspector-form input[readonly] {
    color: #777;
}

.inspector-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.inspector-save {
    width: 100%;
    margin-top: 4px;
}

.inspector-help {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 10px;
    line-height: 1.7;
}

.inspector-help span {
    color: #fff;
    font-size: 14px;
}

.inspector-help p {
    margin: 0;
}

.is-hidden {
    display: none !important;
}

.designer-tip {
    color: #555;
    font-size: 10px;
}

@media (max-width: 1050px) {
    .designer-workspace {
        grid-template-columns: 1fr;
    }

    .element-inspector {
        position: static;
    }
}

@media (max-width: 700px) {
    .designer-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .designer-tool-group {
        width: 100%;
    }

    .designer-tool-group .layout-tool {
        flex: 1 1 auto;
    }

    .designer-canvas-scroll {
        min-height: 460px;
        padding: 10px;
    }

    .designer-actions {
        width: 100%;
    }

    .designer-actions .btn {
        flex: 1;
    }

    .inspector-two {
        grid-template-columns: 1fr 1fr;
    }
}

.venue-designer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 14px;
    padding: 24px;
    background: radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .08), transparent 30%), #101010;
}

.venue-designer-hero h2 {
    margin: 6px 0 8px;
    font-size: clamp(24px, 3vw, 40px);
}

.venue-designer-hero p {
    margin: 0;
    max-width: 720px;
    color: #777;
    line-height: 1.8;
}

.designer-hero-badge {
    width: 120px;
    height: 120px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 0 0 auto;
    font-size: 30px;
}

.designer-hero-badge span {
    font-size: 8px;
    letter-spacing: .12em;
    color: #777;
    text-align: center;
}

@media(max-width:700px) {
    .venue-designer-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .designer-hero-badge {
        width: 100%;
        height: 70px;
        flex-direction: row;
    }
}


/* 0&1 Venue Designer - architectural / cafe elements */
.designer-element-palette {
    flex-wrap: wrap;
    align-items: center;
}

.palette-label {
    flex-basis: 100%;
    margin-top: 6px;
    padding: 3px 4px;
    font-size: 9px;
    letter-spacing: .16em;
    opacity: .5;
}

.layout-object.door {
    background: #2a2217;
    border: 2px solid #d7b47a;
    border-radius: 4px;
}

.layout-object.window {
    background: rgba(180, 210, 230, .12);
    border: 2px solid #9bb7c7;
}

.layout-object.stairs {
    background: repeating-linear-gradient(0deg, #171717 0 9px, #555 10px 12px);
    border: 1px solid #999;
}

.layout-object.elevator {
    background: #202020;
    border: 2px solid #777;
    border-radius: 6px;
}

.layout-object.wall {
    background: #777;
    border: 1px solid #aaa;
}

.layout-object.pillar {
    background: radial-gradient(circle, #aaa 0 18%, #444 20% 100%);
    border: 2px solid #999;
    border-radius: 50%;
}

.layout-object.entrance,
.layout-object.exit,
.layout-object.emergency_exit {
    background: #15251a;
    border: 2px solid #75c88b;
}

.layout-object.emergency_exit {
    background: #291515;
    border-color: #ef7777;
}

.layout-object.restroom {
    background: #171b23;
    border: 2px solid #8394b3;
}

.layout-object.bar,
.layout-object.counter {
    background: #211b16;
    border: 2px solid #a88866;
}

.layout-object.kitchen,
.layout-object.service_area {
    background: #1c1c1c;
    border: 2px dashed #888;
}

.layout-object.dj_booth {
    background: #171321;
    border: 2px solid #b48cff;
}

.layout-object.dance_floor {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), transparent 60%);
    border: 1px dashed #aaa;
}

.layout-object.booth,
.layout-object.sofa {
    background: #20191b;
    border: 2px solid #9b6f78;
    border-radius: 12px;
}

.layout-object.smoking_area {
    background: repeating-linear-gradient(135deg, #1d1d1d 0 12px, #292929 12px 24px);
    border: 2px dashed #aaa;
}

.layout-object.fire_extinguisher {
    background: #5b1515;
    border: 2px solid #f08a8a;
    border-radius: 8px;
}

.layout-object.plant {
    background: #142116;
    border: 2px solid #638d68;
    border-radius: 50%;
}

.layout-object.custom {
    background: #202020;
    border: 2px dotted #aaa;
}
/* =========================================================
   0&1 EVENT VENUE MAP
   Same visual language as the Venue Layout Creator
   ========================================================= */

.venue-element {
    position: absolute;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    user-select: none;
    overflow: hidden;

    font-size: 10px;
    line-height: 1.1;
    letter-spacing: .04em;

    color: #ddd;

    transition:
        filter .18s ease,
        opacity .18s ease,
        box-shadow .18s ease;
}


/* ---------------------------------------------------------
   LABEL
   --------------------------------------------------------- */

.venue-element-label {
    position: relative;
    z-index: 2;

    pointer-events: none;

    text-align: center;

    font-size: 10px;
    line-height: 1.1;
    letter-spacing: .04em;

    color: #ddd;

    text-shadow: 0 1px 3px rgba(0,0,0,.8);
}


/* =========================================================
   STAGE
   ========================================================= */

.venue-stage {
    background:
        linear-gradient(
            180deg,
            #292929,
            #1b1b1b
        );

    border: 2px solid #888;
    border-radius: 8px;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04),
        0 4px 12px rgba(0,0,0,.25);
}


/* =========================================================
   TABLE
   ========================================================= */

.venue-table,
.venue-table_with_chairs {

    background: #151515;

    border: 2px solid #666;

    border-radius: 50%;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.03),
        0 3px 10px rgba(0,0,0,.25);
}


/* =========================================================
   BOOTH / SOFA
   ========================================================= */

.venue-booth,
.venue-sofa {

    background: #20191b;

    border: 2px solid #9b6f78;

    border-radius: 12px;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.03),
        0 4px 10px rgba(0,0,0,.25);
}


/* =========================================================
   BAR / COUNTER
   ========================================================= */

.venue-bar,
.venue-counter {

    background: #211b16;

    border: 2px solid #a88866;

    border-radius: 6px;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.03),
        0 3px 10px rgba(0,0,0,.25);
}


/* =========================================================
   DJ BOOTH
   ========================================================= */

.venue-dj_booth {

    background: #171321;

    border: 2px solid #b48cff;

    border-radius: 6px;

    box-shadow:
        0 0 14px rgba(180,140,255,.08),
        inset 0 0 0 1px rgba(255,255,255,.03);
}


/* =========================================================
   DANCE FLOOR
   ========================================================= */

.venue-dance_floor {

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255,255,255,.08),
            transparent 60%
        );

    border: 1px dashed #aaa;

    box-shadow:
        inset 0 0 20px rgba(255,255,255,.025);
}


/* =========================================================
   DOOR
   ========================================================= */

.venue-door {

    background: #2a2217;

    border: 2px solid #d7b47a;

    border-radius: 4px;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.03);
}


/* =========================================================
   WINDOW
   ========================================================= */

.venue-window {

    background: rgba(180,210,230,.12);

    border: 2px solid #9bb7c7;

    box-shadow:
        inset 0 0 12px rgba(180,210,230,.04);
}


/* =========================================================
   STAIRS
   ========================================================= */

.venue-stairs {

    background:
        repeating-linear-gradient(
            0deg,
            #171717 0 9px,
            #555 10px 12px
        );

    border: 1px solid #999;
}


/* =========================================================
   ELEVATOR
   ========================================================= */

.venue-elevator {

    background: #202020;

    border: 2px solid #777;

    border-radius: 6px;
}


/* =========================================================
   WALL
   ========================================================= */

.venue-wall {

    background: #777;

    border: 1px solid #aaa;
}


/* =========================================================
   PILLAR
   ========================================================= */

.venue-pillar {

    background:
        radial-gradient(
            circle,
            #aaa 0 18%,
            #444 20% 100%
        );

    border: 2px solid #999;

    border-radius: 50%;
}


/* =========================================================
   ENTRANCE / EXIT
   ========================================================= */

.venue-entrance,
.venue-exit {

    background: #15251a;

    border: 2px solid #75c88b;
}


/* =========================================================
   EMERGENCY EXIT
   ========================================================= */

.venue-emergency_exit {

    background: #291515;

    border: 2px solid #ef7777;
}


/* =========================================================
   RESTROOM
   ========================================================= */

.venue-restroom {

    background: #171b23;

    border: 2px solid #8394b3;

    border-radius: 6px;
}


/* =========================================================
   KITCHEN / SERVICE AREA
   ========================================================= */

.venue-kitchen,
.venue-service_area {

    background: #1c1c1c;

    border: 2px dashed #888;
}


/* =========================================================
   SMOKING AREA
   ========================================================= */

.venue-smoking_area {

    background:
        repeating-linear-gradient(
            135deg,
            #1d1d1d 0 12px,
            #292929 12px 24px
        );

    border: 2px dashed #aaa;
}


/* =========================================================
   FIRE EXTINGUISHER
   ========================================================= */

.venue-fire_extinguisher {

    background: #5b1515;

    border: 2px solid #f08a8a;

    border-radius: 8px;
}


/* =========================================================
   PLANT
   ========================================================= */

.venue-plant {

    background: #142116;

    border: 2px solid #638d68;

    border-radius: 50%;
}


/* =========================================================
   CUSTOM
   ========================================================= */

.venue-custom {

    background: #202020;

    border: 2px dotted #aaa;
}


/* =========================================================
   CHAIR
   ========================================================= */

.chair-element {

    background: #181818;

    border: 2px solid #777;

    border-radius: 5px;

    color: #ddd;

    cursor: pointer;

    padding: 0;

    font: inherit;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.025),
        0 2px 6px rgba(0,0,0,.25);

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}


/* Available chair */

.chair-element:not(.sold):not(.selected):hover {

    background: #242424;

    border-color: #aaa;

    box-shadow:
        0 0 0 2px rgba(255,255,255,.04),
        0 4px 12px rgba(0,0,0,.35);

    filter: brightness(1.15);
}


/* Selected chair */

.chair-element.selected {

    background: #252525;

    border-color: #fff;

    color: #fff;

    box-shadow:
        0 0 0 2px rgba(255,255,255,.12),
        0 0 14px rgba(255,255,255,.08);
}


/* Sold chair */

.chair-element.sold {

    background: #151515;

    border-color: #3d3d3d;

    color: #555;

    opacity: .45;

    cursor: not-allowed;

    box-shadow: none;
}


/* =========================================================
   UNIVERSAL HOVER FOR NON-SEAT ELEMENTS
   ========================================================= */

.venue-element:not(.chair-element):hover {

    filter: brightness(1.12);

}


/* =========================================================
   CANVAS
   ========================================================= */

.venue-canvas {

    position: relative;

    width: var(--canvas-w);
    height: var(--canvas-h);

    min-width: var(--canvas-w);
    min-height: var(--canvas-h);

    background:
        #0d0d0d;

    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================================
   GRID
   ========================================================= */

.venue-grid {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 25px 25px;

    opacity: .55;
}


/* =========================================================
   FLOOR
   ========================================================= */

.seat-floor {

    width: 100%;

    overflow: auto;

    background: #090909;

    border: 1px solid #222;

    border-radius: 8px;

    scrollbar-width: thin;
}


/* =========================================================
   HIDDEN FLOOR
   ========================================================= */

.seat-floor.is-hidden {
    display: none;
}


/* =========================================================
   FLOOR TABS
   ========================================================= */

.floor-tab {

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.floor-tab.active {

    background: #1c1c1c;

    border-color: #777;

    color: #fff;
}


/* =========================================================
   LABEL COLORS BY TYPE
   ========================================================= */

.venue-stage .venue-element-label {
    color: #eee;
}

.venue-door .venue-element-label {
    color: #d7b47a;
}

.venue-window .venue-element-label {
    color: #9bb7c7;
}

.venue-entrance .venue-element-label,
.venue-exit .venue-element-label {
    color: #75c88b;
}

.venue-emergency_exit .venue-element-label {
    color: #ef7777;
}

.venue-dj_booth .venue-element-label {
    color: #b48cff;
}

.venue-fire_extinguisher .venue-element-label {
    color: #f08a8a;
}

.venue-plant .venue-element-label {
    color: #8eb894;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .venue-canvas {
        transform-origin: top left;
    }

    .venue-element-label {
        font-size: 9px;
    }

    .venue-element {
        font-size: 9px;
    }

}