/* assets/css/fonts.css */
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* assets/css/tailwind.css */
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Satoshi,system-ui,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:JetBrains Mono,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.-bottom-2\.5{bottom:-.625rem}.-left-2\.5{left:-.625rem}.-left-3{left:-.75rem}.-right-2\.5{right:-.625rem}.-right-3{right:-.75rem}.-top-2\.5{top:-.625rem}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.right-3{right:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-16{top:4rem}.top-20{top:5rem}.top-3{top:.75rem}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.m-6{margin:1.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2\.5{margin-bottom:.625rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-\[4\/3\]{aspect-ratio:4/3}.aspect-\[4\/5\]{aspect-ratio:4/5}.aspect-square{aspect-ratio:1/1}.size-1{width:.25rem}.h-1,.size-1{height:.25rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[104px\]{height:104px}.h-\[18px\]{height:18px}.h-full{height:100%}.h-px{height:1px}.min-h-\[60vh\]{min-height:60vh}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[104px\]{width:104px}.w-\[18px\]{width:18px}.w-\[240px\]{width:240px}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-\[104px\]{min-width:104px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-\[1100px\]{max-width:1100px}.max-w-\[1340px\]{max-width:1340px}.max-w-\[30ch\]{max-width:30ch}.max-w-\[460px\]{max-width:460px}.max-w-\[480px\]{max-width:480px}.max-w-\[640px\]{max-width:640px}.max-w-\[680px\]{max-width:680px}.max-w-\[820px\]{max-width:820px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}@keyframes marquee{0%{transform:translateX(0)}to{transform:translateX(-100%)}}.animate-marquee{animation:marquee 32s linear infinite}.resize{resize:both}.scroll-mt-20{scroll-margin-top:5rem}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-10{row-gap:2.5rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.625rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem*var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-x{border-left-width:1px;border-right-width:1px}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-0{border-left-width:0}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.bg-transparent{background-color:transparent}.object-cover{-o-object-fit:cover;object-fit:cover}.p-10{padding:2.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-64{padding:16rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-20{padding-bottom:5rem}.pb-24{padding-bottom:6rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-8{padding-bottom:2rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-display{font-family:Clash Display,Satoshi,system-ui,sans-serif}.font-mono{font-family:JetBrains Mono,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-7xl{font-size:4.5rem;line-height:1}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[12vw\]{font-size:12vw}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-\[0\.82\]{line-height:.82}.leading-\[0\.84\]{line-height:.84}.leading-\[0\.85\]{line-height:.85}.leading-\[0\.86\]{line-height:.86}.leading-\[0\.88\]{line-height:.88}.leading-\[0\.95\]{line-height:.95}.leading-\[0\.98\]{line-height:.98}.leading-\[0\.9\]{line-height:.9}.leading-\[1\.05\]{line-height:1.05}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-\[-0\.02em\]{letter-spacing:-.02em}.tracking-\[-0\.035em\]{letter-spacing:-.035em}.tracking-\[-0\.03em\]{letter-spacing:-.03em}.tracking-\[0\.16em\]{letter-spacing:.16em}.tracking-\[0\.18em\]{letter-spacing:.18em}.tracking-\[0\.22em\]{letter-spacing:.22em}.tracking-\[0\.24em\]{letter-spacing:.24em}.tracking-\[0\.2em\]{letter-spacing:.2em}.tracking-\[0\.3em\]{letter-spacing:.3em}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-\[var\(--volt\)\]{color:var(--volt)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert:invert(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.last\:border-b-0:last-child{border-bottom-width:0}.hover\:border-\[var\(--volt\)\]:hover{border-color:var(--volt)}.hover\:bg-\[var\(--bg-hover\)\]:hover{background-color:var(--bg-hover)}.hover\:bg-\[var\(--volt\)\]:hover{background-color:var(--volt)}.hover\:bg-\[var\(--volt-dim\)\]:hover{background-color:var(--volt-dim)}.hover\:text-\[var\(--volt\)\]:hover{color:var(--volt)}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.focus\:border-\[var\(--volt\)\]:focus{border-color:var(--volt)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-25:disabled{opacity:.25}.group:hover .group-hover\:translate-x-0\.5{--tw-translate-x:0.125rem}.group:hover .group-hover\:scale-\[1\.04\],.group:hover .group-hover\:translate-x-0\.5{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:scale-\[1\.04\]{--tw-scale-x:1.04;--tw-scale-y:1.04}.group:hover .group-hover\:text-\[var\(--volt\)\]{color:var(--volt)}@media (min-width:640px){.sm\:block{display:block}.sm\:inline{display:inline}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-12{height:3rem}.sm\:h-24{height:6rem}.sm\:w-12{width:3rem}.sm\:w-24{width:6rem}.sm\:w-\[210px\]{width:210px}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-end{align-items:flex-end}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-4{gap:1rem}.sm\:self-auto{align-self:auto}.sm\:p-14{padding:3.5rem}.sm\:p-16{padding:4rem}.sm\:p-6{padding:1.5rem}.sm\:px-7{padding-left:1.75rem;padding-right:1.75rem}.sm\:px-8{padding-left:2rem;padding-right:2rem}.sm\:py-14{padding-top:3.5rem;padding-bottom:3.5rem}.sm\:py-16{padding-top:4rem;padding-bottom:4rem}.sm\:py-24{padding-top:6rem;padding-bottom:6rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-6xl{font-size:3.75rem;line-height:1}.sm\:text-7xl{font-size:4.5rem;line-height:1}.sm\:text-8xl{font-size:6rem;line-height:1}.sm\:text-\[7rem\]{font-size:7rem}}@media (min-width:768px){.md\:col-span-1{grid-column:span 1/span 1}.md\:inline{display:inline}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.md\:border-l{border-left-width:1px}.md\:border-l-0{border-left-width:0}.md\:border-t-0{border-top-width:0}.md\:p-14{padding:3.5rem}.md\:px-7{padding-left:1.75rem;padding-right:1.75rem}.md\:py-0{padding-top:0;padding-bottom:0}}@media (min-width:1024px){.lg\:col-span-4{grid-column:span 4/span 4}.lg\:col-span-5{grid-column:span 5/span 5}.lg\:col-span-7{grid-column:span 7/span 7}.lg\:col-span-8{grid-column:span 8/span 8}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-\[36\%\]{width:36%}.lg\:w-\[64\%\]{width:64%}.lg\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-\[1\.4fr_1fr\]{grid-template-columns:1.4fr 1fr}.lg\:grid-cols-\[1fr_1\.1fr\]{grid-template-columns:1fr 1.1fr}.lg\:flex-row{flex-direction:row}.lg\:border-b-0{border-bottom-width:0}.lg\:border-l{border-left-width:1px}.lg\:border-l-0{border-left-width:0}.lg\:border-r{border-right-width:1px}.lg\:border-t-0{border-top-width:0}}
/* style.css */
/*
Theme Name: GEN
Theme URI: https://github.com/daniil2711/kibersobytiya
Author: GEN
Description: Брутал-спорт-принт тема для продажи билетов на киберспортивные мероприятия. Перенос дизайна GEN 1:1 (WooCommerce + The Events Calendar + Event Tickets).
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: gen
*/
/* assets/css/gen.css */
/* ================================================================
   GEN — Brutalist Sports Print design system (ported from React)
   ================================================================ */

:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #0F0F0F;
  --bg-tertiary: #141414;
  --bg-hover: #1A1A1A;
  --paper: #ECEAE1;
  --paper-ink: #0A0A0A;

  --volt: #AE6CFF;
  --volt-dim: #8B4FE6;

  --accent-green: #7CCF4A;
  --accent-red: #E5484D;
  --accent-orange: #E0A93B;

  --text-primary: #F4F2EA;
  --text-secondary: #9A988F;
  --text-muted: #5E5C55;

  --border-subtle: rgba(244, 242, 234, 0.14);
  --border-strong: rgba(244, 242, 234, 0.6);

  --font-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --font-sans: 'Satoshi', system-ui, -apple-system, sans-serif;
}

/* ================================================================
   Tournament registration
   ================================================================ */

.x4t-page {
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.x4t-shell {
  width: min(100% - 2.5rem, 84rem);
  margin-inline: auto;
}

.x4t-hero {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--border-subtle);
}

.x4t-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.x4t-hero__title {
  max-width: 12ch;
  font-size: clamp(3.75rem, 8vw, 7.75rem);
  font-weight: 700;
  line-height: .84;
  text-transform: uppercase;
}

.x4t-hero__copy {
  max-width: 43rem;
  margin-top: 2rem !important;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-secondary);
}

.x4t-hero__meta {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}

.x4t-hero__meta span {
  padding: .95rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.x4t-flow {
  border-bottom: 1px solid var(--border-subtle);
}

.x4t-flow__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.x4t-flow__item {
  min-height: 13rem;
  padding: 2rem 1.6rem 2.2rem;
  border-left: 1px solid var(--border-subtle);
}

.x4t-flow__item:last-child {
  border-right: 1px solid var(--border-subtle);
}

.x4t-flow__item > span,
.x4t-kicker {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--volt);
}

.x4t-flow__item strong {
  display: block;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.x4t-flow__item p {
  margin-top: .7rem !important;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.x4t-registration {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.x4t-section-head,
.x4t-lk__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, .7fr);
  align-items: end;
  gap: 2rem;
}

.x4t-section-head {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.x4t-section-head h2,
.x4t-lk__head h2 {
  max-width: 16ch;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: .92;
  text-transform: uppercase;
}

.x4t-section-head p,
.x4t-lk__head > p {
  max-width: 34rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.x4t-notice {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid;
  font-size: .9rem;
  line-height: 1.5;
}

.x4t-notice--error {
  border-color: rgba(229, 72, 77, .65);
  color: #ff8b8f;
  background: rgba(229, 72, 77, .08);
}

.x4t-notice--success {
  border-color: rgba(124, 207, 74, .55);
  color: #a6e583;
  background: rgba(124, 207, 74, .07);
}

.x4t-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}

.x4t-gate h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.x4t-gate p {
  max-width: 42rem;
  margin-top: .75rem !important;
  line-height: 1.55;
  color: var(--text-secondary);
}

.x4t-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}

.x4t-button:hover {
  transform: translateY(-2px);
}

.x4t-button:focus-visible,
.x4t-field input:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

.x4t-button--primary {
  background: var(--volt);
  color: #fff !important;
}

.x4t-button--primary:hover {
  background: #bf8aff;
}

.x4t-button--ghost {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text-primary);
}

.x4t-button--ghost:hover {
  border-color: var(--text-primary);
  background: var(--bg-hover);
}

.x4t-team-summary {
  margin-top: 2rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.x4t-team-summary__head {
  display: flex;
  min-height: 8.5rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.x4t-team-summary__head h3 {
  margin-top: .8rem;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: .9;
  text-transform: uppercase;
}

.x4t-status {
  flex: none;
  padding: .55rem .7rem;
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.x4t-status--ready,
.x4t-status--approved {
  border-color: rgba(124, 207, 74, .55);
  color: #a6e583;
}

.x4t-status--pending {
  border-color: rgba(174, 108, 255, .65);
  color: #c99cff;
}

.x4t-status--rejected {
  border-color: rgba(229, 72, 77, .65);
  color: #ff8b8f;
}

.x4t-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.x4t-roster__row {
  display: grid;
  grid-template-columns: minmax(6.5rem, .7fr) minmax(7rem, 1fr);
  gap: .25rem 1rem;
  min-height: 5.5rem;
  align-content: center;
  padding: 1.1rem 1.4rem;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.x4t-roster__row:nth-child(2n) {
  border-right: 0;
}

.x4t-roster__role {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.x4t-roster__row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: .95rem;
  line-height: 1.35;
}

.x4t-roster__state {
  grid-column: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--text-muted);
}

.x4t-roster__state--accepted {
  color: var(--accent-green);
}

.x4t-roster__state--declined {
  color: var(--accent-red);
}

.x4t-moderation-comment,
.x4t-submit-row,
.x4t-locked-note,
.x4t-approved-note {
  padding: 1.4rem 1.75rem;
}

.x4t-moderation-comment {
  border-top: 1px solid rgba(229, 72, 77, .4);
}

.x4t-moderation-comment strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ff8b8f;
}

.x4t-moderation-comment p {
  margin-top: .55rem !important;
  line-height: 1.55;
  color: var(--text-secondary);
}

.x4t-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.x4t-submit-row p,
.x4t-locked-note,
.x4t-approved-note {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.x4t-approved-note {
  color: #a6e583;
}

.x4t-team-form {
  margin-top: 2rem;
  border: 1px solid var(--border-subtle);
}

.x4t-form-section {
  display: grid;
  grid-template-columns: minmax(14rem, .42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border-subtle);
}

.x4t-form-section--identity {
  grid-template-columns: minmax(14rem, .42fr) minmax(0, 1fr) minmax(12rem, .5fr);
}

.x4t-form-section__head > span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.x4t-form-section__head p {
  max-width: 19rem;
  margin-top: .65rem !important;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.x4t-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.x4t-fields-grid--optional {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.x4t-field {
  display: block;
  min-width: 0;
}

.x4t-field > span {
  display: block;
  margin-bottom: .5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.x4t-field input {
  width: 100%;
  height: 3.25rem;
  padding: 0 .9rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1;
  box-shadow: none;
  transition: border-color .25s ease, background-color .25s ease;
}

.x4t-field input::placeholder {
  color: var(--text-muted);
  opacity: .78;
}

.x4t-field input:hover,
.x4t-field input:focus {
  border-color: rgba(174, 108, 255, .8);
  background: var(--bg-tertiary);
  outline: 0;
}

.x4t-field input[data-state="error"] {
  border-color: rgba(229, 72, 77, .8);
}

.x4t-field input[data-state="ok"] {
  border-color: rgba(124, 207, 74, .65);
}

.x4t-field small {
  display: block;
  min-height: 1.05rem;
  margin-top: .4rem;
  font-size: .7rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.x4t-field small[data-state="error"] {
  color: #ff8b8f;
}

.x4t-field small[data-state="ok"] {
  color: #a6e583;
}

.x4t-captain-card {
  align-self: end;
  padding: 1rem;
  border-left: 2px solid var(--volt);
  background: var(--bg-tertiary);
}

.x4t-captain-card span,
.x4t-captain-card small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.x4t-captain-card strong {
  display: block;
  margin: .4rem 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.x4t-captain-card small {
  color: var(--accent-green);
}

.x4t-form-submit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  padding: 1.4rem clamp(1.5rem, 4vw, 3rem);
  background: var(--bg-secondary);
}

.x4t-form-submit p {
  max-width: 32rem;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.x4t-content {
  max-width: 50rem;
  margin-top: 4rem;
  color: var(--text-secondary);
}

/* Unified personal profile */
.x4-profile {
  margin-top: 1.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.x4-profile__head {
  display: flex;
  min-height: 7.5rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem;
}

.x4-profile__head h2 {
  margin-top: .55rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: .9;
  text-transform: uppercase;
}

.x4-profile__steam-state {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .7rem;
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.x4-profile__steam-state > span {
  width: .45rem;
  height: .45rem;
  flex: none;
  border-radius: 50%;
  background: var(--text-muted);
}

.x4-profile__steam-state.is-connected {
  border-color: rgba(124, 207, 74, .45);
  color: #a6e583;
}

.x4-profile__steam-state.is-connected > span {
  background: var(--accent-green);
}

.x4-profile__form {
  border-top: 1px solid var(--border-subtle);
}

.x4-profile__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.x4-profile__steam-field {
  grid-column: 1 / -1;
}

.x4-profile__esports {
  border-top: 1px solid var(--border-subtle);
}

.x4-profile__esports > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 5.25rem;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  list-style: none;
  transition: background-color .35s cubic-bezier(.16, 1, .3, 1);
}

.x4-profile__esports > summary::-webkit-details-marker {
  display: none;
}

.x4-profile__esports > summary:hover {
  background: rgba(244, 242, 234, .025);
}

.x4-profile__esports > summary:focus-visible {
  outline: 1px solid var(--volt);
  outline-offset: -1px;
}

.x4-profile__esports-title strong {
  display: block;
  margin-top: .45rem;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(.95rem, 1.8vw, 1.2rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
}

.x4-profile__esports-chevron {
  width: .65rem;
  height: .65rem;
  margin-right: .25rem;
  border-right: 1px solid var(--text-secondary);
  border-bottom: 1px solid var(--text-secondary);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .3s ease;
}

.x4-profile__esports[open] .x4-profile__esports-chevron {
  border-color: var(--volt);
  transform: rotate(225deg) translate(-2px, -2px);
}

.x4-profile__esports-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.x4t-field--readonly input {
  cursor: not-allowed;
  background: rgba(244, 242, 234, .025);
  color: var(--text-muted);
}

.x4t-field--readonly input:hover,
.x4t-field--readonly input:focus {
  border-color: var(--border-subtle);
  background: rgba(244, 242, 234, .025);
}

.x4-profile__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.x4-profile__footer p {
  max-width: 35rem;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Personal cabinet tournament area */
.x4t-lk {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.x4t-lk__head {
  margin-bottom: 1.5rem;
}

.x4t-lk__head h2 {
  margin-top: .55rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.x4t-invite-list,
.x4t-my-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.x4t-invite {
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.x4t-invite span,
.x4t-invite a,
.x4t-my-team span,
.x4t-my-team small {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  line-height: 1.4;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.x4t-invite h3 {
  margin: .6rem 0 .4rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.x4t-invite a {
  color: var(--volt);
}

.x4t-invite__actions {
  display: flex;
  gap: .7rem;
}

.x4t-my-team {
  display: grid;
  grid-template-columns: minmax(6rem, .5fr) minmax(8rem, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  transition: border-color .3s ease, background-color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}

.x4t-my-team:hover {
  border-color: rgba(174, 108, 255, .65);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.x4t-my-team strong {
  overflow-wrap: anywhere;
  font-size: .95rem;
  text-transform: uppercase;
}

.x4t-my-team small {
  text-align: right;
  color: var(--volt);
}

@media (max-width: 960px) {
  .x4t-hero__grid,
  .x4t-section-head,
  .x4t-lk__head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .x4t-hero__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .x4t-hero__meta span {
    padding: .85rem .75rem;
    border-right: 1px solid var(--border-subtle);
  }

  .x4t-flow__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .x4t-flow__item:nth-child(2) {
    border-right: 1px solid var(--border-subtle);
  }

  .x4t-form-section,
  .x4t-form-section--identity {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .x4t-form-section__head {
    display: grid;
    grid-template-columns: minmax(10rem, .55fr) minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
  }

  .x4t-form-section__head p {
    margin-top: 0 !important;
  }

  .x4t-captain-card {
    width: min(100%, 24rem);
  }

  .x4-profile__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .x4-profile__steam-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .x4t-shell {
    width: min(100% - 2rem, 84rem);
  }

  .x4t-hero {
    padding-top: 4rem;
  }

  .x4t-hero__title {
    max-width: 9ch;
    font-size: clamp(3rem, 15vw, 4.5rem);
    line-height: .88;
  }

  .x4t-hero__copy {
    margin-top: 1.35rem !important;
    font-size: .95rem;
  }

  .x4t-hero__meta {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(9rem, 1fr));
    scrollbar-width: none;
  }

  .x4t-hero__meta::-webkit-scrollbar {
    display: none;
  }

  .x4t-flow__item {
    min-height: 10.5rem;
    padding: 1.25rem 1rem 1.5rem;
  }

  .x4t-flow__item strong {
    margin-top: 1.6rem;
    font-size: .9rem;
  }

  .x4t-flow__item p {
    font-size: .76rem;
  }

  .x4t-section-head h2 {
    font-size: 2.45rem;
  }

  .x4t-section-head p,
  .x4t-lk__head > p {
    font-size: .86rem;
  }

  .x4t-gate,
  .x4t-team-summary__head,
  .x4t-submit-row,
  .x4t-form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .x4t-gate .x4t-button,
  .x4t-submit-row .x4t-button,
  .x4t-form-submit .x4t-button {
    width: 100%;
  }

  .x4t-team-summary__head {
    min-height: 0;
  }

  .x4t-team-summary__head .x4t-status {
    align-self: flex-start;
  }

  .x4t-roster {
    grid-template-columns: 1fr;
  }

  .x4t-roster__row,
  .x4t-roster__row:nth-child(2n) {
    grid-template-columns: minmax(5.5rem, .62fr) minmax(0, 1fr);
    min-height: 4.8rem;
    border-right: 0;
  }

  .x4t-form-section__head {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .x4t-fields-grid,
  .x4t-fields-grid--optional {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .x4t-fields-grid--optional .x4t-field:first-child {
    grid-column: 1 / -1;
  }

  .x4t-field input {
    height: 3.15rem;
    padding-inline: .75rem;
    font-size: .9rem;
  }

  .x4-profile__head,
  .x4-profile__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .x4-profile__head {
    min-height: 0;
  }

  .x4-profile__steam-state {
    align-self: flex-start;
  }

  .x4-profile__grid {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }

  .x4-profile__steam-field {
    grid-column: auto;
  }

  .x4-profile__esports > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .8rem 1rem;
    min-height: 0;
    padding: 1rem 1.1rem;
  }

  .x4-profile__esports-title strong {
    font-size: .92rem;
    line-height: 1.2;
  }

  .x4-profile__esports > summary .x4-profile__steam-state {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .x4-profile__esports-chevron {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .x4-profile__esports-grid {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }

  .x4-profile__footer .x4t-button {
    width: 100%;
  }

  .x4t-invite-list,
  .x4t-my-teams {
    grid-template-columns: 1fr;
  }

  .x4t-invite__actions .x4t-button {
    flex: 1;
  }

  .x4t-my-team {
    grid-template-columns: minmax(4.5rem, .5fr) minmax(0, 1fr);
  }

  .x4t-my-team small {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 350px) {
  .x4t-fields-grid,
  .x4t-fields-grid--optional {
    grid-template-columns: 1fr;
  }

  .x4t-fields-grid--optional .x4t-field:first-child {
    grid-column: auto;
  }
}

* { box-sizing: border-box; }

body.gen {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* print-grain overlay */
body.gen::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

.gen h1, .gen h2, .gen h3, .gen h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
.gen a { text-decoration: none; color: inherit; }
.gen img { display: block; max-width: 100%; }
.gen p { margin: 0; }

::selection { background: var(--volt); color: #fff; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border: 3px solid #0A0A0A; }
::-webkit-scrollbar-thumb:hover { background: var(--volt); }

/* ---- font utilities ---- */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-hand { font-family: 'Caveat', cursive; }

/* ---- palette helpers ---- */
.text-volt { color: var(--volt); }
.bg-volt { background: var(--volt); }
.border-volt { border-color: var(--volt); }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* light "paper" section */
.section-paper { background: var(--paper); color: var(--paper-ink); }
.section-paper .text-sec { color: #56544C; }

/* high-contrast print image */
.img-print { filter: grayscale(1) contrast(1.12) brightness(0.92); transition: filter .5s ease, transform .6s cubic-bezier(.16,1,.3,1); width: 100%; height: 100%; object-fit: cover; }
.group:hover .img-print { filter: grayscale(0) contrast(1.02) brightness(1); }

/* ticket barcode */
.barcode {
  display: inline-block;
  background-image: repeating-linear-gradient(90deg,
    currentColor 0 2px, transparent 2px 3px,
    currentColor 3px 4px, transparent 4px 7px,
    currentColor 7px 9px, transparent 9px 11px,
    currentColor 11px 12px, transparent 12px 16px);
}

.stamp { border: 1.5px solid currentColor; text-transform: uppercase; letter-spacing: .14em; }

/* link underline sweep */
.link-sweep { background-image: linear-gradient(var(--volt), var(--volt)); background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease; }
.link-sweep:hover { background-size: 100% 2px; }

/* marquee */
@keyframes gen-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.animate-marquee { animation: gen-marquee 32s linear infinite; }

/* scroll progress bar */
#gen-progress { position: fixed; left: 0; top: 0; height: 2px; width: 0; background: var(--volt); z-index: 60; pointer-events: none; }

/* mobile nav */
.gen-mobile-menu { display: none; }
.gen-mobile-menu.open { display: block; }

/* reset some WP/plugin defaults inside our theme so brutalist look holds */
.gen input, .gen button, .gen select, .gen textarea { font-family: inherit; }

/* ================================================================
   WooCommerce — brutalist override (cart / checkout)
   ================================================================ */
.gen .woocommerce, .gen .woocommerce-page { color: var(--text-secondary); }
.gen .woocommerce .mx-auto-wc { max-width: 1340px; margin: 0 auto; }

/* page wrapper padding for cart/checkout/account */
.gen .woocommerce-cart .gen-wc-wrap,
.gen .woocommerce-checkout .gen-wc-wrap,
.gen .woocommerce-account .gen-wc-wrap { max-width: 1340px; margin: 0 auto; padding: 3rem 1.25rem 6rem; }

/* headings */
.gen .woocommerce h1, .gen .woocommerce h2, .gen .woocommerce h3 {
  font-family: var(--font-display); text-transform: uppercase; color: var(--text-primary); letter-spacing: -0.01em;
}

/* tables (cart + order review) */
.gen .woocommerce table.shop_table, .gen .woocommerce table.cart, .gen .woocommerce #order_review table {
  border: 1px solid var(--border-subtle); border-collapse: collapse; border-radius: 0; background: var(--bg-secondary); width: 100%;
}
.gen .woocommerce table.shop_table th {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); border-bottom: 1px solid var(--border-subtle); padding: 14px 16px; text-align: left; font-weight: 500;
}
.gen .woocommerce table.shop_table td {
  border-top: 1px solid var(--border-subtle); padding: 16px; color: var(--text-secondary); vertical-align: middle;
}
.gen .woocommerce table.cart td.product-name a, .gen .woocommerce td.product-name { color: var(--text-primary); font-weight: 600; }
.gen .woocommerce .amount, .gen .woocommerce .woocommerce-Price-amount { color: var(--text-primary); font-family: var(--font-display); font-weight: 700; }
.gen .woocommerce table.cart td.product-thumbnail, .gen .woocommerce table.cart th.product-thumbnail { display: none; }
.gen .woocommerce a.remove { color: var(--accent-red) !important; border-radius: 0; font-weight: 700; }

/* quantity */
.gen .woocommerce .quantity input.qty {
  background: var(--bg-tertiary); border: 1px solid var(--border-subtle); color: var(--text-primary);
  border-radius: 0; height: 42px; width: 64px; text-align: center; font-family: 'JetBrains Mono', monospace;
}

/* buttons */
.gen .woocommerce a.button, .gen .woocommerce button.button, .gen .woocommerce input.button,
.gen .woocommerce .button, .gen .woocommerce #respond input#submit, .gen .woocommerce #place_order,
.gen .woocommerce button.button.alt, .gen .woocommerce a.checkout-button {
  background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-subtle);
  border-radius: 0; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; font-size: 12px; padding: 14px 24px; transition: all .15s; box-shadow: none;
}
.gen .woocommerce .button.alt, .gen .woocommerce #place_order, .gen .woocommerce a.checkout-button,
.gen .woocommerce button[name="update_cart"]:hover, .gen .woocommerce .button:hover {
  background: var(--volt); color: #fff; border-color: var(--volt);
}
.gen .woocommerce a.checkout-button, .gen .woocommerce #place_order { width: 100%; text-align: center; }

/* cart totals box */
.gen .woocommerce .cart-collaterals .cart_totals, .gen .woocommerce-checkout #order_review {
  border: 1px solid var(--border-subtle); background: var(--bg-secondary); padding: 8px 20px 20px;
}
.gen .woocommerce .cart_totals h2, .gen .woocommerce #order_review_heading { font-size: 20px; padding-top: 16px; }
.gen .woocommerce .order-total .amount { color: var(--volt); font-size: 22px; }

/* coupon / inputs / forms */
.gen .woocommerce .coupon input.input-text,
.gen .woocommerce form .form-row input.input-text, .gen .woocommerce form .form-row textarea,
.gen .woocommerce form .form-row select, .gen .woocommerce-checkout select, .gen .select2-container .select2-selection {
  background: var(--bg-tertiary) !important; border: 1px solid var(--border-subtle) !important; color: var(--text-primary) !important;
  border-radius: 0 !important; min-height: 44px; padding: 10px 14px; font-family: 'JetBrains Mono', monospace; font-size: 13px;
}
.gen .woocommerce form .form-row label, .gen .woocommerce-checkout label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
}
.gen .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text-primary); line-height: 42px; }

/* Plain themed <select> (cashier event picker) — flat brutalist look + custom arrow */
.gen select.gen-select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: var(--bg-secondary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23AE6CFF' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  border-radius: 0; padding-right: 42px; cursor: pointer;
}
.gen select.gen-select::-ms-expand { display: none; }

/* notices */
.gen .woocommerce-message, .gen .woocommerce-info, .gen .woocommerce-error {
  background: var(--bg-secondary); border-top: 3px solid var(--volt); border-radius: 0; color: var(--text-secondary); list-style: none;
}
.gen .woocommerce-error { border-top-color: var(--accent-red); }
/* убираем дефолтную WC-иконку у уведомлений — она наезжала на первую букву текста */
.gen .woocommerce-message::before, .gen .woocommerce-info::before, .gen .woocommerce-error::before,
.gen-cart-page .woocommerce-message::before, .gen-cart-page .woocommerce-info::before, .gen-cart-page .woocommerce-error::before { display: none !important; }

/* checkout layout */
.gen .woocommerce-checkout .col2-set .col-1, .gen .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
.gen .woocommerce-checkout #payment { background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: 0; }
.gen .woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--border-subtle); }
.gen .woocommerce-checkout #payment div.payment_box { background: var(--bg-tertiary); color: var(--text-secondary); border-radius: 0; }
.gen .woocommerce-checkout #payment div.payment_box::before { display: none; }

/* ---- polish ---- */
/* coupon row */
.gen .woocommerce .cart .actions .coupon { display: flex; gap: 8px; }
.gen .woocommerce .cart .actions .coupon .input-text { width: 200px; min-height: 44px; }
.gen .woocommerce .cart .actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; padding: 16px; }
.gen .woocommerce button[name="update_cart"] { background: transparent; }
.gen .woocommerce button[name="update_cart"]:disabled { opacity: 0.4; }

/* totals rows */
.gen .woocommerce .cart_totals table tr th, .gen .woocommerce #order_review .shop_table th {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 500; border: none; padding: 12px 0;
}
.gen .woocommerce .cart_totals table td, .gen .woocommerce #order_review .shop_table td { border: none; border-top: 1px solid var(--border-subtle); padding: 12px 0; text-align: right; }
.gen .woocommerce .cart_totals table, .gen .woocommerce #order_review .shop_table { border: none; background: transparent; }
.gen .woocommerce #order_review .shop_table { border: 1px solid var(--border-subtle); }
.gen .woocommerce #order_review .shop_table td, .gen .woocommerce #order_review .shop_table th { padding: 12px 16px; }

/* payment methods */
.gen .woocommerce-checkout #payment ul.payment_methods li { list-style: none; }
.gen .woocommerce-checkout #payment ul.payment_methods label { color: var(--text-primary); font-family: 'JetBrains Mono', monospace; text-transform: none; font-size: 13px; letter-spacing: 0; }
.gen .woocommerce-checkout #payment .wc_payment_method input[type="radio"] { accent-color: var(--volt); }

/* notices */
.gen .woocommerce-message, .gen .woocommerce-info, .gen .woocommerce-error, .gen .woocommerce-notices-wrapper .wc-block-components-notice-banner {
  font-family: var(--font-sans); padding: 14px 18px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.gen .woocommerce-message a.button, .gen .woocommerce-info a.button { margin-left: auto; }

/* empty cart / return-to-shop */
.gen .woocommerce .cart-empty, .gen .woocommerce .return-to-shop { text-align: left; }
.gen .woocommerce .wc-empty-cart-message { font-family: var(--font-display); text-transform: uppercase; font-size: 28px; color: var(--text-primary); }

/* headings spacing */
.gen .woocommerce-checkout h3#order_review_heading { margin-top: 28px; }
.gen .woocommerce .cart-collaterals { margin-top: 28px; width: 100%; }
.gen .woocommerce .cart-collaterals .cart_totals { width: 100%; max-width: 440px; margin-left: auto; }

/* filter chip hover (afisha) */
.gen .gen-chip { transition: all .15s; cursor: pointer; }
.gen .gen-chip:not(.is-active):hover { border-color: var(--text-muted) !important; color: var(--text-primary) !important; }

/* mobile: stack cart/checkout columns, smaller table padding */
@media (max-width: 768px) {
  .gen .woocommerce-page-wrap { overflow-x: hidden; }
  .gen .woocommerce table.shop_table td, .gen .woocommerce table.shop_table th { padding: 12px 10px; font-size: 12px; }
  .gen .woocommerce table.shop_table_responsive td { word-break: break-word; }
  .gen .woocommerce table.shop_table_responsive td::before { font-size: 11px; color: var(--text-muted); }
  .gen .woocommerce table.shop_table_responsive td.product-name { white-space: normal; line-height: 1.3; }
  .gen .woocommerce .cart .actions .coupon { width: 100%; }
  .gen .woocommerce .cart .actions .coupon .input-text { flex: 1; width: auto; min-width: 0; }
  .gen .woocommerce .cart-collaterals .cart_totals { max-width: 100%; }
  .gen .woocommerce-checkout .col2-set .col-1, .gen .woocommerce-checkout .col2-set .col-2 { width: 100%; }
}

/* ================================================================
   PRELOADER — the GEN logo draws itself from strokes, then the
   curtain lifts. Brutalist: crop marks, mono ticker, volt bar.
   ================================================================ */
.gen-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--bg-primary);
  transform: translateY(0);
  transition: transform 0.52s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.gen-preloader::after {            /* same print-grain as the body, keeps it cohesive */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.gen-preloader.is-done { transform: translateY(-100%); }

.gen-preloader__stage { position: relative; padding: 38px; }

/* crop / registration marks fading in around the mark */
.gen-preloader__crop {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  animation: gp-crop 0.5s ease 0.1s forwards;
}
.gen-preloader__crop--tl { top: 0; left: 0; border-top: 2px solid var(--volt); border-left: 2px solid var(--volt); }
.gen-preloader__crop--tr { top: 0; right: 0; border-top: 2px solid var(--volt); border-right: 2px solid var(--volt); }
.gen-preloader__crop--bl { bottom: 0; left: 0; border-bottom: 2px solid var(--volt); border-left: 2px solid var(--volt); }
.gen-preloader__crop--br { bottom: 0; right: 0; border-bottom: 2px solid var(--volt); border-right: 2px solid var(--volt); }
@keyframes gp-crop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* the logo itself — stroke draws on, then fill flashes in */
.gen-preloader__logo {
  height: 132px;
  width: auto;
  display: block;
  overflow: visible;
}
.gen-preloader__logo path {
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill: transparent;
}
.gen-preloader__logo .gp-mark { stroke: var(--volt); animation: gp-mark 0.88s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.gen-preloader__logo .gp-ink  { stroke: var(--text-primary); animation: gp-ink 0.88s cubic-bezier(0.65, 0, 0.35, 1) 0.08s forwards; }
@keyframes gp-mark {
  0%   { stroke-dashoffset: 1; fill: transparent; }
  62%  { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: var(--volt); }
}
@keyframes gp-ink {
  0%   { stroke-dashoffset: 1; fill: transparent; }
  62%  { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: var(--text-primary); }
}

/* mono ticker under the logo */
.gen-preloader__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.3em;
  opacity: 0;
  animation: gp-meta 0.38s ease 0.22s forwards;
}
.gen-preloader__label { color: var(--text-primary); font-weight: 700; }
.gen-preloader__sub   { color: var(--text-muted); letter-spacing: 0.22em; }
@keyframes gp-meta { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* bottom progress bar sweeping volt across the screen */
.gen-preloader__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(244, 242, 234, 0.08);
  overflow: hidden;
}
.gen-preloader__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--volt);
  transform: translateX(-100%);
  animation: gp-bar 0.95s cubic-bezier(0.5, 0, 0.2, 1) forwards;
}
@keyframes gp-bar { to { transform: translateX(0); } }

@media (max-width: 640px) { .gen-preloader__logo { height: 96px; } }

@media (prefers-reduced-motion: reduce) {
  .gen-preloader__logo .gp-mark,
  .gen-preloader__logo .gp-ink { animation: none; stroke-dashoffset: 0; }
  .gen-preloader__logo .gp-ink  { fill: var(--text-primary); }
  .gen-preloader__logo .gp-mark { fill: var(--volt); }
  .gen-preloader__crop, .gen-preloader__meta { opacity: 1; animation: none; }
  .gen-preloader__bar i { animation: none; transform: translateX(0); }
}

/* ================================================================
   CART — custom template (1:1 with React). Layout is Tailwind
   utilities; these handle the bits utilities can't.
   ================================================================ */
.gen-cart-form .gen-qty-input {
  width: 44px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.gen-cart-form .gen-qty-input::-webkit-outer-spin-button,
.gen-cart-form .gen-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gen-cart-form .gen-qty-dec,
.gen-cart-form .gen-qty-inc { background: transparent; cursor: pointer; font-size: 15px; line-height: 1; padding: 0; }
.gen-cart-form .gen-qty-dec[disabled],
.gen-cart-form .gen-qty-inc[disabled] { cursor: not-allowed; opacity: 0.25; }
.gen-cart-form .gen-cart-remove { cursor: pointer; font-size: 16px; line-height: 1; text-decoration: none; }
.gen-cart-clear { cursor: pointer; }
.gen-checkout-btn { text-decoration: none; }

/* WooCommerce notices on the cart page — keep them on-brand */
.gen-cart-page .woocommerce-message,
.gen-cart-page .woocommerce-error,
.gen-cart-page .woocommerce-info {
  max-width: 1340px;
  margin: 16px auto 0;
  padding: 14px 20px;
  border: 1px solid var(--border-subtle);
  border-left-width: 3px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  list-style: none;
}
.gen-cart-page .woocommerce-message { border-left-color: var(--volt); }
.gen-cart-page .woocommerce-error   { border-left-color: var(--accent-red); }
.gen-cart-page .woocommerce-info    { border-left-color: var(--text-muted); }

/* ================================================================
   CHECKOUT — 2-column, 1:1 with React
   ================================================================ */
/* hide bits we replace or don't use in our flow (toggles render OUTSIDE the form) */
.gen .woocommerce-form-coupon-toggle,
.gen form.checkout_coupon,
.gen .woocommerce-form-login-toggle,
.gen form.woocommerce-form-login,
.gen .woocommerce-checkout .woocommerce-billing-fields > h3,
.gen .woocommerce-checkout #order_review_heading,
.gen .woocommerce-checkout .woocommerce-shipping-fields,
.gen .woocommerce-checkout .woocommerce-additional-fields { display: none !important; }

.gen-checkout-grid { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) {
  .gen-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
  .gen-checkout-left { border-right: 1px solid var(--border-subtle); padding-right: 48px; }
  .gen-checkout-right { position: sticky; top: 80px; }
}

/* left — section heading + fields */
.gen-co-head { display: flex; align-items: flex-end; gap: 16px; border-bottom: 1px solid var(--border-subtle); padding-bottom: 16px; }
.gen-co-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-muted); }
.gen-co-title { font-family: var(--font-display); font-size: 30px; font-weight: 700; text-transform: uppercase; line-height: 0.9; color: var(--text-primary); margin: 0; }
.gen-co-sub { margin: 16px 0 0; font-size: 14px; color: var(--text-secondary); }
.gen-co-account-note {
  max-width: 38rem;
  margin: 10px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--volt);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}
.gen-checkout-left #customer_details { margin-top: 28px; }
.gen .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.gen .woocommerce-billing-fields__field-wrapper .form-row { float: none !important; width: auto !important; margin: 0; padding: 0; }
.gen .woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.gen .woocommerce-checkout .col2-set .col-2 { display: none; }

/* right — order summary card (React "Твой заказ") */
.gen-co-summary { border: 1px solid var(--border-subtle); background: var(--bg-secondary); }
.gen-co-summary-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-subtle); padding: 16px 20px; }
.gen-co-summary-head h3 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--text-primary); }
.gen-co-summary-head span { font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted); }
.gen-co-group { border-top: 1px solid var(--border-subtle); padding: 16px 20px; }
.gen-co-groups .gen-co-group:first-child { border-top: 0; }
.gen-co-event { display: flex; align-items: center; gap: 12px; }
.gen-co-event img { width: 36px; height: 36px; object-fit: cover; flex-shrink: 0; }
.gen-co-event-meta { min-width: 0; }
.gen-co-event-name { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gen-co-event-date { margin: 2px 0 0; font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; color: var(--text-muted); }
.gen-co-tiers { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; padding-left: 48px; }
.gen-co-tier { display: flex; align-items: center; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.gen-co-tier span:first-child { min-width: 0; color: var(--text-secondary); }
.gen-co-tier span:last-child { flex: 0 0 auto; margin-left: 12px; color: var(--text-primary); white-space: nowrap; }
.gen-co-lines { border-top: 1px solid var(--border-subtle); padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.gen-co-line { display: flex; align-items: center; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-primary); }
.gen-co-mut { color: var(--text-secondary); }
.gen-co-discount { color: var(--accent-green); }
.gen-co-total { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--border-subtle); padding: 18px 20px; background: var(--bg-tertiary); }
.gen-co-total > span:first-child { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); }
.gen-co-total-val { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; color: var(--volt); }
.gen-co-trust { border-top: 1px solid var(--border-subtle); padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.gen-co-trust-row { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.gen-co-trust-row svg { width: 14px; height: 14px; color: var(--volt); flex-shrink: 0; }

/* payment block under the summary */
.gen-checkout-right #payment.woocommerce-checkout-payment { margin-top: 20px; background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: 0; }
.gen-checkout-right #payment ul.payment_methods { padding: 16px 20px; margin: 0; border: 0; }
.gen-checkout-right #payment .form-row.place-order { padding: 16px 20px; margin: 0; }
.gen .woocommerce-checkout #place_order { width: 100%; margin: 0; padding: 16px; font-family: 'JetBrains Mono', monospace; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.gen-checkout-right #payment .woocommerce-privacy-policy-text { padding: 0 20px 16px; font-size: 11px; line-height: 1.5; color: var(--text-muted); }

/* thank-you success checkmark */
.gen-ty-check { display: block; flex-shrink: 0; }
.gen-ty-check svg { width: 64px; height: 64px; display: block; }

/* ================================================================
   WooCommerce AJAX loading overlay (blockUI) — was an ugly grey dim
   + black dot; make it a subtle on-brand volt spinner.
   ================================================================ */
.gen .blockUI.blockOverlay { background: var(--bg-primary) !important; opacity: 0.55 !important; cursor: progress !important; }
.gen .blockUI.blockOverlay::before,
.gen .woocommerce .loader::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 30px !important;
  height: 30px !important;
  margin: -15px 0 0 -15px !important;
  border: 2px solid var(--border-strong) !important;
  border-top-color: var(--volt) !important;
  border-radius: 50% !important;
  background: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  animation: gen-spin 0.7s linear infinite !important;
}
@keyframes gen-spin { to { transform: rotate(360deg); } }

/* Empty WC notices (suppressed "added to cart" message) leave a blank box — hide it */
.gen .woocommerce-message:empty,
.gen .woocommerce-info:empty,
.gen .woocommerce-error:empty { display: none !important; }

/* Hide native number-input spinners everywhere — we use custom −/+ buttons */
.gen input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.gen input[type="number"]::-webkit-outer-spin-button,
.gen input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Text on accent (volt) backgrounds must stay white. `.gen a {color:inherit}`
   has higher specificity than Tailwind's `.text-white`, so CTA links inherited
   muted grey and read as unreadable olive on purple — force white here. */
.gen .text-white { color: #fff !important; }

/* ================================================================
   PROSE — content pages (О нас / Оферта / Правила / Контакты / …)
   ================================================================ */
.gen .gen-prose { max-width: 760px; line-height: 1.7; }
.gen .gen-prose h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 28px; line-height: 1; letter-spacing: -0.01em; color: var(--text-primary); margin: 0 0 18px; }
.gen .gen-prose h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 18px; color: var(--text-primary); margin: 28px 0 10px; }
.gen .gen-prose p { margin: 0 0 16px; color: var(--text-secondary); }
.gen .gen-prose ul { margin: 0 0 16px; padding: 0; list-style: none; }
.gen .gen-prose li { position: relative; padding-left: 22px; margin: 0 0 10px; color: var(--text-secondary); }
.gen .gen-prose li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--volt); }
.gen .gen-prose a { color: var(--volt); text-decoration: none; border-bottom: 1px solid rgba(174, 108, 255, 0.4); }
.gen .gen-prose a:hover { border-bottom-color: var(--volt); }
.gen .gen-prose strong { color: var(--text-primary); }
.gen .gen-prose em { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }

/* ================================================================
   SCANNER — camera fills the square frame exactly, so our corner
   brackets line up with the picture (was "съезжает": the video kept
   the camera's 4:3/16:9 ratio and sat top-aligned inside a 1/1 box).
   html5-qrcode injects a <video> with its own inline sizes — override
   them and crop-to-fill with object-fit:cover.
   ================================================================ */
#gen-reader { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
#gen-reader video { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }

/* Hero: контурное слово («пропустить») на мобилке делаем сплошным — transparent-fill
   outline (-webkit-text-stroke) плохо/невидимо рендерится на части мобильных браузеров. */
@media (max-width: 640px) {
  .gen-cz-gen_hero_word2 { -webkit-text-stroke: 0 !important; color: var(--text-primary) !important; }
}

/* Home: wide editorial canvas and one-screen sections.
   1680px keeps the composition close to the viewport edges without pinning content
   directly to the browser chrome on large monitors. */
.gen-home-shell {
  width: min(100%, 1680px);
  max-width: 1680px !important;
  margin-inline: auto;
}
html:has(body.home),
body.home {
  overflow-x: clip;
}
.home #gen-nav > .mx-auto,
.home footer .mx-auto {
  max-width: 1680px !important;
}
.gen footer > div:first-child > div {
  min-width: 0;
}
.gen footer .gen-cz-gen_email {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.gen-home-panel h1,
.gen-home-panel h2 {
  text-wrap: balance;
}
.gen-home-panel p {
  text-wrap: pretty;
}
.gen-home-panel {
  min-height: 100dvh;
}
.gen-home-hero {
  min-height: calc(100dvh - 4rem);
  display: flex;
  flex-direction: column;
}
.gen-home-hero-grid {
  flex: 1 1 auto;
}
.gen-home-poster-card > div:first-child {
  aspect-ratio: 1 / 1 !important;
}
.gen-home-marquee {
  flex: 0 0 auto;
  display: flex;
  height: 4.75rem;
  min-height: 4.75rem;
  align-items: center;
  padding-block: 0 !important;
  overflow-x: clip;
  overflow-y: visible;
}
.gen-home-marquee > .flex {
  width: max-content;
  height: 100%;
  align-items: center;
  overflow: visible;
}
.gen-home-marquee .animate-marquee > span {
  line-height: 1;
  padding-block: .12em;
  transform: translateY(-1px);
}
.gen-home-afisha,
.gen-home-how {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gen-home-afisha {
  padding-top: clamp(3rem, 5vh, 4rem) !important;
  padding-bottom: clamp(3rem, 5vh, 4rem) !important;
}
.gen-home-afisha-grid {
  align-items: stretch;
}
.gen-home-afisha-grid .gen-event-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.gen-home-afisha-grid .gen-event-card > div:last-child {
  flex: 1 1 auto;
}
.gen-event-card__meta {
  display: flex;
  flex-direction: column;
  min-height: 7.75rem;
}
.gen-event-card__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.gen-event-card__date {
  margin-top: auto;
  padding-top: .5rem;
}
.gen-event-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.gen-listing-grid .gen-event-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.gen-listing-grid .gen-event-card > div:first-child {
  aspect-ratio: 1 / 1;
}
.gen-listing-grid .gen-event-card--poster > div:first-child img {
  object-fit: contain;
}
.gen-listing-grid .gen-event-card__meta {
  flex: 1 1 auto;
}
.gen-listing-grid .gen-event-card__headline {
  align-items: flex-start;
}
.gen-listing-grid .gen-event-card h3 {
  max-width: 22ch;
  text-wrap: balance;
}
.gen-home-afisha .gen-event-card > div:first-child {
  aspect-ratio: 1 / 1;
}
.gen-home-afisha .gen-event-card--poster > div:first-child img {
  object-fit: contain;
}
.gen-home-how > .gen-home-shell {
  width: 100%;
}
.gen-home-how-steps > div {
  min-width: 0;
}
.gen-home-how-cta {
  background:rgba(255,255,255,.015);
}
.gen-ticket-benefits {
  display: grid;
  gap: .5rem;
  margin-bottom: 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: .875rem;
  line-height: 1.5;
  list-style: none;
}
.gen-ticket-benefits li {
  position: relative;
  padding-left: 1rem;
}
.gen-ticket-benefits li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: .3rem;
  height: .3rem;
  background: var(--volt);
  content: "";
  transform: translateY(-50%);
}
.gen-ticket-auth-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: .75rem 0 .75rem 1rem;
  border-left: 2px solid var(--volt);
}
.gen-ticket-auth-note strong {
  display: block;
  color: var(--text-primary);
  font-family: 'Unbounded', sans-serif;
  font-size: .875rem;
  line-height: 1.25;
  text-transform: uppercase;
}
.gen-ticket-auth-note p {
  max-width: 48rem;
  margin: .35rem 0 0;
  color: var(--text-secondary);
  font-size: .75rem;
  line-height: 1.5;
}
.gen-ticket-auth-note > a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border: 1px solid var(--volt);
  color: var(--volt);
  font-family: 'JetBrains Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .3s ease, color .3s ease;
}
.gen-ticket-auth-note > a:hover {
  background: var(--volt);
  color: #fff;
}
.gen-ticket-auth-note > a:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}
.gen-home-how-cta > .grid > a {
  min-width: 18.5rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .gen-ticket-auth-note {
    gap: .75rem;
    margin-right: 1.25rem;
    padding-left: .75rem;
  }
  .gen-ticket-auth-note strong {
    font-size: .75rem;
  }
  .gen-ticket-auth-note p {
    font-size: .6875rem;
    line-height: 1.4;
  }
  .gen-ticket-auth-note > a {
    min-height: 2.25rem;
    padding: .55rem .75rem;
  }
}

@media (min-width: 1024px) {
  .gen-home-hero {
    box-sizing: border-box;
    padding-bottom: 1rem;
  }
  .gen-home-hero-copy {
    padding-inline: clamp(2rem, 3vw, 3.5rem);
  }
  .gen-home-hero-actions {
    margin-top: clamp(2rem, 6vh, 4.5rem);
  }
  .gen-home-hero-poster {
    display: flex;
    align-items: center;
  }
  .gen-home-hero-poster > a {
    width: 100%;
  }
  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-snap-type: y proximity;
    }
    .home .gen-home-panel {
      scroll-snap-align: start;
      scroll-margin-top: 4rem;
    }
  }
}

@media (min-width: 1024px) and (min-height: 760px) {
  .gen-home-hero {
    padding-bottom: clamp(1rem, 2.5vh, 1.5rem);
  }
}

@media (max-width: 1023px) {
  .gen-home-panel {
    min-height: 100svh;
  }
}

@media (max-width: 767px) {
  .gen-home-how-cta > .grid > a {
    min-width: 0;
    white-space: normal;
  }
}

/* ================================================================
   MOBILE COMPOSITION
   The desktop keeps its editorial grid. Phones use compact rails,
   fewer nested borders and progressive disclosure for long content.
   ================================================================ */
.gen-event-copy-toggle {
  display: none;
}

.gen-cart-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: var(--volt);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.34);
  transition: transform .3s cubic-bezier(.16,1,.3,1), background-color .3s ease, box-shadow .3s ease;
}

.gen-cart-fab:hover {
  transform: translateY(-2px);
  background: #9a54ee;
  box-shadow: 0 10px 28px rgba(0,0,0,.42);
}

.gen-cart-fab:active {
  transform: translateY(0) scale(.96);
}

.gen-cart-fab > svg {
  width: 1.125rem;
  height: 1.125rem;
}

.gen-cart-fab > span {
  position: absolute;
  top: -.25rem;
  right: -.25rem;
  display: grid;
  min-width: 1.125rem;
  height: 1.125rem;
  place-items: center;
  padding: 0 .2rem;
  border: 1px solid var(--volt);
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: .5625rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 767px) {
  body.gen::after {
    opacity: .035;
  }

  .gen h1,
  .gen h2,
  .gen h3,
  .gen h4 {
    letter-spacing: 0 !important;
  }

  #gen-nav > .mx-auto {
    height: 3.75rem;
    padding-inline: 1.25rem;
  }

  #gen-mobile {
    top: 3.75rem;
  }

  .gen-home-panel {
    min-height: auto;
  }

  .gen-home-hero {
    min-height: auto;
  }

  .gen-home-hero-grid {
    display: block;
  }

  .gen-home-hero-copy {
    gap: 1.65rem;
    padding: 2.5rem 1.25rem 1.75rem;
    border-bottom: 0;
  }

  .gen-home-hero-copy h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.3rem) !important;
    line-height: .88 !important;
  }

  .gen-home-hero-actions {
    gap: 1.25rem;
  }

  .gen-home-hero-actions > p {
    max-width: 34rem;
    font-size: .9375rem;
    line-height: 1.58;
  }

  .gen-home-hero-actions > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    gap: .625rem;
  }

  .gen-home-hero-actions > div > a {
    min-height: 3rem;
    justify-content: center;
    padding: .75rem 1rem;
    text-align: center;
  }

  .gen-home-hero-poster {
    padding: 0 1.25rem 1.5rem;
  }

  .gen-home-poster-card {
    border: 0 !important;
    border-radius: .5rem;
    background: var(--bg-secondary);
  }

  .gen-home-poster-card > div:first-child {
    aspect-ratio: 1 / 1 !important;
  }

  .gen-home-poster-card > div:last-child {
    border-top-color: var(--border-subtle) !important;
    padding: .875rem;
  }

  .gen-home-poster-card h3 {
    font-size: 1.25rem;
    line-height: 1;
  }

  .gen-home-poster-card > div:last-child > div:last-child {
    align-items: flex-start;
    gap: .75rem;
  }

  .gen-home-poster-card > div:last-child > div:last-child > span:first-child {
    max-width: 55%;
    line-height: 1.45;
  }

  .gen-home-poster-card > div:last-child > div:last-child > span:last-child {
    max-width: 45%;
    text-align: center;
  }

  .gen-home-marquee {
    height: 3.25rem;
    min-height: 3.25rem;
  }

  .gen-home-marquee .animate-marquee {
    gap: 1.25rem;
    padding-right: 1.25rem;
  }

  .gen-home-marquee .animate-marquee > span {
    gap: 1.25rem;
    font-size: 1rem;
  }

  .gen-home-afisha {
    display: block;
    padding: 3.25rem 1.25rem 3.75rem !important;
  }

  .gen-home-afisha > div:first-child,
  .gen-home-how > .gen-home-shell > div:first-child {
    align-items: flex-end;
    margin-bottom: 1.75rem;
    padding-bottom: .875rem;
  }

  .gen-home-afisha h2,
  .gen-home-how h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
    line-height: .92 !important;
  }

  .gen-home-afisha > div:first-child > a {
    flex: 0 0 auto;
    padding-bottom: .125rem;
  }

  .gen-home-afisha-grid {
    display: flex !important;
    gap: .875rem !important;
    width: calc(100% + 1.25rem);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gen-home-afisha-grid::-webkit-scrollbar,
  .gen-home-how-steps::-webkit-scrollbar,
  .gen-ticket-list::-webkit-scrollbar {
    display: none;
  }

  .gen-home-afisha-grid .gen-event-card {
    flex: 0 0 min(82vw, 24rem);
    min-width: 0;
    scroll-snap-align: start;
  }

  .gen-home-afisha-grid .gen-event-card > div:first-child {
    aspect-ratio: 1 / 1;
    border: 0 !important;
    border-radius: .5rem;
  }

  .gen-home-afisha-grid .gen-event-card > .gen-event-card__meta {
    display: flex;
    flex-direction: column;
    border: 0 !important;
    gap: 0;
    min-height: 9.25rem;
    padding: .875rem .125rem 0;
  }

  .gen-home-afisha-grid .gen-event-card__headline {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: .5rem !important;
    width: 100%;
  }

  .gen-home-afisha-grid .gen-event-card h3 {
    width: 100%;
    max-width: 100%;
    font-size: 1.125rem;
    overflow-wrap: anywhere;
  }

  .gen-home-afisha-grid .gen-event-card__side {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .gen-home-afisha-grid .gen-event-card__side .font-display {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 1.05rem !important;
    line-height: 1;
  }

  .gen-home-afisha-grid .gen-event-card__date {
    width: 100%;
    margin-top: auto;
    padding-top: .625rem;
  }

  .gen-home-how {
    display: block;
  }

  .gen-home-how > .gen-home-shell {
    padding: 3.25rem 1.25rem 3.75rem;
  }

  .gen-home-how-steps {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(15.5rem, 78vw);
    gap: 1.25rem;
    width: calc(100% + 1.25rem);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gen-home-how-step {
    min-height: 13rem;
    gap: .75rem !important;
    padding: 1.25rem 1.25rem 1.25rem 0 !important;
    border-top: 2px solid var(--volt) !important;
    scroll-snap-align: start;
  }

  .gen-home-how-step > span {
    font-size: 3rem;
  }

  .gen-home-how-step h3 {
    max-width: 15ch;
    font-size: 1.25rem;
    line-height: 1.05;
  }

  .gen-home-how-step p {
    max-width: 29ch;
    font-size: .875rem;
  }

  .gen-home-how-cta {
    margin-top: 2.5rem;
    border-radius: .5rem;
    overflow: hidden;
    background: var(--bg-secondary);
  }

  .gen-home-how-cta .gen-ticket-notch {
    display: none;
  }

  .gen-home-cta-grid {
    border: 0 !important;
  }

  .gen-home-cta-copy {
    gap: .875rem !important;
    padding: 1.75rem 1.25rem 2rem !important;
  }

  .gen-home-cta-copy h2 {
    max-width: 9ch;
    font-size: 2.25rem !important;
  }

  .gen-home-cta-grid > a {
    min-height: 4.5rem;
    border: 0 !important;
    padding: 1.25rem !important;
    font-size: 1.25rem;
  }

  .gen-event-hero__inner {
    min-height: min(34rem, calc(100dvh - 3.75rem));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 1.25rem 2.5rem;
  }

  .gen-event-hero__inner nav {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    line-height: 1.6;
  }

  .gen-event-hero__inner nav > span:last-child,
  .gen-event-hero__inner nav > span:nth-last-child(2) {
    display: none;
  }

  .gen-event-hero__inner > .stamp {
    align-self: flex-start;
  }

  .gen-event-hero__inner h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 12vw, 3.3rem) !important;
    line-height: .9 !important;
  }

  .gen-event-hero__inner > div:last-child {
    margin-top: 1.5rem;
  }

  .gen-event-hero__inner > div:last-child .font-display {
    font-size: 2rem;
  }

  .gen-event-layout {
    display: flex;
    flex-direction: column;
  }

  .gen-ticket-panel {
    order: 1;
  }

  .gen-event-story {
    order: 2;
  }

  .gen-event-story {
    padding: 2.75rem 1.25rem 2.25rem;
    border-bottom: 0 !important;
  }

  .gen-event-section-head {
    padding-bottom: .75rem;
  }

  .gen-event-section-head h2 {
    font-size: 1.65rem !important;
    line-height: 1;
  }

  .gen-event-copy {
    max-width: none !important;
    font-size: .9375rem !important;
    line-height: 1.62 !important;
  }

  .gen-event-copy:not(.is-expanded) {
    max-height: 44rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  }

  .gen-event-copy.is-expanded {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .gen-event-copy-toggle {
    display: flex;
    width: 100%;
    min-height: 3rem;
    align-items: center;
    justify-content: space-between;
    margin-top: .5rem;
    padding: .875rem 0;
    border: 0;
    border-bottom: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
  }

  .gen-event-copy-toggle::after {
    content: '+';
    flex: 0 0 auto;
    margin-left: 1rem;
    color: var(--volt);
    font-size: 1.25rem;
    line-height: 1;
  }

  .gen-event-copy-toggle[aria-expanded="true"]::after {
    content: '−';
  }

  .gen-event-copy h2 {
    margin-bottom: 1rem;
    font-size: 1.45rem !important;
  }

  .gen-event-copy h3 {
    margin-top: 2rem;
    font-size: 1.05rem !important;
    line-height: 1.15;
  }

  .gen-event-copy p {
    margin-bottom: 1rem !important;
  }

  .gen-event-copy li {
    margin-bottom: .75rem !important;
  }

  .gen-event-venue {
    margin-top: 1.25rem !important;
    padding: 1.125rem 0 1.125rem 1rem !important;
    border: 0 !important;
    border-left: 2px solid var(--volt) !important;
    background: transparent !important;
  }

  .gen-event-venue h3 {
    font-size: 1.25rem !important;
  }

  .gen-ticket-panel {
    padding: 2.25rem 0 3.5rem 1.25rem;
    overflow: hidden;
  }

  .gen-ticket-panel__head {
    margin-right: 1.25rem;
    padding-bottom: .75rem;
  }

  .gen-ticket-panel__head h2 {
    font-size: 1.65rem !important;
  }

  .gen-ticket-list {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(17rem, 84vw);
    grid-auto-rows: 1fr;
    gap: .875rem;
    width: 100%;
    padding-right: 1.25rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gen-ticket-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-top: 1.25rem !important;
    border: 0 !important;
    border-radius: .5rem;
    background: var(--bg-secondary) !important;
    scroll-snap-align: start;
  }

  .gen-ticket-card__top {
    flex: 0 0 auto;
    padding: .875rem 1rem .625rem !important;
    border-bottom: 0 !important;
  }

  .gen-ticket-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: .375rem 1rem 1rem !important;
  }

  .gen-ticket-card__title {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: .375rem !important;
  }

  .gen-ticket-card__title h3 {
    font-size: 1.25rem !important;
    line-height: 1;
  }

  .gen-ticket-card__price {
    font-size: 1.125rem !important;
    line-height: 1.1;
  }

  .gen-ticket-card__body > p {
    font-size: .8125rem !important;
    line-height: 1.55 !important;
  }

  .gen-ticket-card__body > label {
    line-height: 1.45;
  }

  .gen-ticket-card__actions {
    display: grid !important;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    align-items: stretch;
    gap: .625rem !important;
    height: 2.875rem;
    min-height: 2.875rem;
    margin-top: auto !important;
    padding-top: 0;
  }

  .gen-ticket-card__quantity {
    display: grid !important;
    grid-template-columns: 2.125rem minmax(0, 1fr) 2.125rem;
    align-items: stretch;
    height: 2.875rem;
    min-height: 2.875rem;
  }

  .gen-ticket-card__quantity button {
    display: grid;
    min-width: 0;
    place-items: center;
    padding: 0 !important;
    line-height: 1;
  }

  .gen-ticket-card__quantity input {
    width: 100% !important;
    min-width: 0;
    padding: 0;
  }

  .gen-ticket-card button[type="submit"] {
    height: 2.875rem;
    min-height: 2.875rem;
    padding: .75rem .625rem;
    line-height: 1;
    white-space: nowrap;
  }

  .gen-listing-hero > div {
    padding: 2.75rem 1.25rem 2.5rem;
  }

  .gen-listing-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 12vw, 3.25rem) !important;
    line-height: .9 !important;
  }

  .gen-listing-hero p {
    max-width: 30rem;
    font-size: .9375rem;
    line-height: 1.55;
  }

  .gen-listing-toolbar {
    padding: 2rem 1.25rem 0;
  }

  .gen-listing-toolbar #gen-filters {
    flex-wrap: nowrap;
    margin-right: -1.25rem;
    padding-right: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gen-listing-toolbar #gen-filters::-webkit-scrollbar {
    display: none;
  }

  .gen-listing-toolbar .gen-chip {
    flex: 0 0 auto;
  }

  .gen-listing-toolbar > div:last-child > span:last-child {
    display: none;
  }

  .gen-listing-grid-wrap {
    padding: 1.75rem 1.25rem 4rem;
  }

  .gen-listing-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .gen-listing-grid .gen-event-card {
    display: grid !important;
    grid-template-columns: minmax(8.5rem, 46%) minmax(0, 1fr);
    gap: 1rem;
    min-height: 11.5rem;
    padding: 1.125rem 0;
    border-top: 1px solid var(--border-subtle);
  }

  .gen-listing-grid .gen-event-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .gen-listing-grid .gen-event-card > div:first-child {
    align-self: start;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border: 0 !important;
    border-radius: .375rem;
  }

  .gen-listing-grid .gen-event-card > div:first-child > span:first-of-type {
    font-size: 2rem;
  }

  .gen-listing-grid .gen-event-card > div:last-child {
    display: flex !important;
    min-height: 100%;
    flex-direction: column;
    gap: .5rem !important;
    padding: .25rem 0 !important;
    border: 0 !important;
  }

  .gen-listing-grid .gen-event-card h3 {
    width: 100%;
    max-width: 100%;
    font-size: 1.125rem !important;
    line-height: .98;
    text-wrap: balance;
  }

  .gen-listing-grid .gen-event-card__headline {
    display: flex !important;
    min-width: 0;
    flex-direction: column;
    align-content: start;
    align-items: flex-start;
    gap: .625rem !important;
  }

  .gen-listing-grid .gen-event-card__side {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .gen-listing-grid .gen-event-card__side .font-display {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: .95rem !important;
    line-height: 1;
  }

  .gen-listing-grid .gen-event-card > div:last-child > div:last-child {
    max-width: 100%;
    text-align: left;
  }

  .gen-listing-grid .gen-event-card__date {
    width: 100%;
    margin-top: auto;
    padding-top: .5rem;
  }

  .gen footer > div:first-child {
    gap: 2rem 1.25rem;
    padding: 2.75rem 1.25rem;
  }

  .gen footer > div:first-child > div:last-child {
    grid-column: 1 / -1;
  }

  .gen footer > div:last-child > div {
    padding-inline: 1.25rem;
  }
}

@media (max-width: 380px) {
  .gen-page-title {
    overflow-wrap: anywhere;
    font-size: 2rem !important;
  }

  .gen-home-hero-copy h1 {
    font-size: clamp(1.7rem, 8.1vw, 1.9rem) !important;
  }

  .gen-home-hero-actions > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .gen-home-afisha-grid {
    gap: .75rem !important;
  }

  .gen-home-afisha-grid .gen-event-card {
    flex-basis: 86vw;
  }

  .gen-ticket-list {
    grid-auto-columns: minmax(16.25rem, 87vw);
  }

  .gen-listing-grid .gen-event-card {
    grid-template-columns: minmax(8.25rem, 44%) minmax(0, 1fr);
  }

  .gen-listing-hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.5rem) !important;
  }
}

/* Cart and checkout use native WooCommerce forms, but switch from desktop
   rows to readable mobile compositions instead of squeezing every control
   into the remaining text width. */
@media (max-width: 767px) {
  .gen-cart-hero > div {
    padding: 2.5rem 1.25rem 2rem;
  }

  .gen-cart-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.25rem) !important;
    line-height: .92 !important;
  }

  .gen-cart-hero .gen-cart-clear {
    margin-top: .25rem;
  }

  .gen-cart-content {
    padding: 2rem 1.25rem 4rem;
  }

  .gen-cart-layout {
    gap: 2.25rem !important;
  }

  .gen-cart-group {
    margin-bottom: 1.5rem !important;
    border: 0 !important;
  }

  .gen-cart-event {
    gap: .875rem !important;
    padding: 0 0 1rem !important;
    background: transparent !important;
  }

  .gen-cart-event > div:first-child {
    width: 3rem !important;
    height: 3rem !important;
    border: 0 !important;
    border-radius: .375rem;
  }

  .gen-cart-event__info a,
  .gen-cart-event__info > span:not(.block) {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .gen-cart-row {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 1rem .75rem !important;
    padding: 1rem !important;
    border: 0 !important;
    border-radius: .5rem;
    background: var(--bg-secondary);
  }

  .gen-cart-row__info {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .gen-cart-row__info > p:first-child {
    font-family: var(--font-display) !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .gen-cart-row__info > p + p {
    max-width: 36rem;
    margin-top: .625rem !important;
    font-family: var(--font-sans) !important;
    font-size: .875rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--text-secondary) !important;
  }

  .gen-cart-row__quantity {
    grid-column: 1;
    min-height: 2.75rem;
  }

  .gen-cart-row__price {
    grid-column: 2;
    min-width: 0 !important;
    text-align: right;
  }

  .gen-cart-remove {
    grid-column: 3;
    width: 2.75rem !important;
    height: 2.75rem !important;
  }

  .gen-cart-addons {
    margin-top: 2.25rem !important;
    padding-top: 1.75rem !important;
  }

  .gen-cart-addon {
    padding: 1rem !important;
    border: 0 !important;
    border-radius: .5rem;
  }

  .gen-cart-addon > div:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .gen-cart-addon input {
    border: 0 !important;
    border-radius: .375rem;
    background: var(--bg-tertiary) !important;
  }

  .gen-cart-addon button {
    border: 0 !important;
    border-radius: .375rem;
    background: var(--volt);
    color: #fff !important;
  }

  .gen-cart-summary-column {
    margin-top: .25rem;
  }

  .gen-cart-summary {
    position: static !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: .5rem;
  }

  .gen-cart-summary > div {
    padding-inline: 1rem !important;
  }

  .gen-cart-summary .gen-sum-total > div {
    gap: 1rem;
  }

  .gen-cart-summary .gen-sum-total .font-display {
    font-size: 2rem !important;
  }

  .gen-cart-cashback {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: start;
    gap: .35rem;
  }

  .gen-cart-cashback > span:last-child {
    font-family: var(--font-sans);
    font-size: .75rem;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
  }

  .gen-cart-summary .gen-coupon-input {
    min-width: 0;
    font-size: .75rem;
  }

  .woocommerce-checkout .woocommerce-page-wrap {
    padding: 2.25rem 1.25rem 4rem;
  }

  .gen-checkout-grid {
    gap: 2rem;
  }

  .gen-co-head {
    padding-bottom: .75rem;
  }

  .gen-co-title {
    max-width: none;
    font-size: 1.75rem;
    line-height: 1;
  }

  .gen-co-sub {
    margin-top: .75rem;
    line-height: 1.5;
  }

  .gen-checkout-left #customer_details {
    margin-top: 1.5rem;
  }

  .gen .woocommerce-checkout #order_review {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .gen-co-summary {
    overflow: hidden;
    border: 0;
    border-radius: .5rem;
  }

  .gen-co-summary-head,
  .gen-co-group,
  .gen-co-lines,
  .gen-co-total,
  .gen-co-trust {
    padding-inline: 1rem;
  }

  .gen-co-event-name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
  }

  .gen-co-tiers {
    margin-top: .875rem;
    padding: .75rem 0 0;
    border-top: 1px solid var(--border-subtle);
  }

  .gen-co-tier {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    line-height: 1.4;
  }

  .gen-checkout-right #payment.woocommerce-checkout-payment {
    overflow: hidden;
    margin-top: 1rem;
    border: 0;
    border-radius: .5rem;
  }

  .gen-checkout-right #payment ul.payment_methods {
    padding: 1rem;
  }

  .gen-checkout-right #payment .wc_payment_method > label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .625rem;
    font-family: var(--font-sans);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .gen-checkout-right #payment .wc_payment_method > label img {
    float: none;
    width: auto;
    max-height: 2.25rem;
    margin: 0 !important;
  }

  .gen-checkout-right #payment div.payment_box {
    margin: .875rem 0 0;
    padding: .875rem;
    border-radius: .375rem;
    font-size: .875rem;
    line-height: 1.55;
  }

  .gen-checkout-right #payment .form-row.place-order {
    padding: 1rem;
  }

  .gen-checkout-right .woocommerce-privacy-policy-text,
  .gen-checkout-right .woocommerce-privacy-policy-text p {
    padding: 0 !important;
    font-family: var(--font-sans) !important;
    font-size: .8125rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--text-secondary) !important;
  }

  .gen-checkout-right .gen-consent {
    margin: 1rem 0 1.25rem !important;
  }

  .gen-checkout-right .gen-consent .woocommerce-input-wrapper {
    display: block;
  }

  .gen-checkout-right .gen-consent label {
    position: relative;
    display: block !important;
    min-height: 1.25rem;
    padding-left: 1.875rem;
    font-family: var(--font-sans) !important;
    font-size: .8125rem !important;
    font-weight: 400;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--text-secondary) !important;
  }

  .gen-checkout-right .gen-consent input[type="checkbox"] {
    position: absolute;
    top: .125rem;
    left: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    accent-color: var(--volt);
  }

  .gen-checkout-right #place_order {
    min-height: 3.25rem;
    border: 0;
    border-radius: .375rem;
  }

  .gen-checkout-right .gen-wc-trust > div {
    font-family: var(--font-sans) !important;
    font-size: .75rem !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
}
/* assets/vendor/lenis/lenis.css */
html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:clip}.lenis.lenis-smooth iframe{pointer-events:none}
/* assets/css/rounded.css */
/* ================================================================
   X4GEN Esports — rounded dark design layer
   ================================================================ */

:root {
  --bg-primary: #030304;
  --bg-secondary: #111116;
  --bg-tertiary: #17171e;
  --bg-hover: #1d1d26;
  --paper: #f4f4f6;
  --paper-ink: #101014;
  --volt: #9a68ff;
  --volt-dim: #7f50e3;
  --accent-green: #76d6a0;
  --accent-red: #ff737b;
  --accent-orange: #f0b76a;
  --text-primary: #f4f3f7;
  --text-secondary: #aaa7b3;
  --text-muted: #74717d;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.22);
  --font-display: "Satoshi", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "Satoshi", "Plus Jakarta Sans", system-ui, sans-serif;
  --shell: min(1440px, calc(100% - 48px));
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  scroll-snap-type: none !important;
  scrollbar-width: none;
}

html.gen-home-entry-pending {
  scroll-behavior: auto !important;
}

html.gen-home-entry-pending body.home #gen-content {
  visibility: hidden;
}

html.gen-home-entry-pending body.home .gen-header {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

html.gen-home-entry-settling body.home .gen-header {
  transition: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body.gen {
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

body.gen::after {
  display: none;
}

.gen h1,
.gen h2,
.gen h3,
.gen h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.gen button,
.gen input,
.gen select,
.gen textarea {
  font: inherit;
}

.gen button,
.gen a {
  -webkit-tap-highlight-color: transparent;
}

.font-mono {
  font-family: var(--font-sans) !important;
}

#gen-progress {
  display: none;
}

#gen-content {
  min-height: 70vh;
  padding-top: 118px;
}

.gen-shell {
  width: var(--shell);
  margin-right: auto;
  margin-left: auto;
}

.gen-section {
  padding-top: clamp(84px, 9vw, 132px);
}

.gen-kicker {
  display: inline-block;
  color: var(--volt);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.gen-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(48px, 8vw, 128px);
  align-items: end;
  margin-bottom: 44px;
}

.gen-section-head h2,
.gen-content-head h2,
.gen-process h2 {
  max-width: 850px;
  margin-top: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: .98;
}

.gen-section-head > p,
.gen-process__intro > p {
  max-width: 48ch;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

/* Shared buttons */
.gen-button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    color 420ms var(--ease),
    background-color 420ms var(--ease),
    border-color 420ms var(--ease),
    transform 420ms var(--ease),
    box-shadow 420ms var(--ease);
}

.gen-button:hover {
  transform: translateY(-2px);
}

.gen-button--light {
  background: #f5f5f7;
  color: #111116 !important;
}

.gen-button--light:hover {
  background: var(--volt);
  color: #fff !important;
  box-shadow: 0 16px 38px rgba(154, 104, 255, .24);
}

.gen-button--glass {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(8, 8, 11, .24);
  color: #fff !important;
  backdrop-filter: blur(12px);
}

.gen-button--glass:hover {
  border-color: rgba(255, 255, 255, .54);
  background: rgba(255, 255, 255, .12);
}

.gen-button--accent {
  background: var(--volt);
  color: #fff !important;
}

.gen-button--accent:hover {
  background: #aa7cff;
  box-shadow: 0 16px 38px rgba(154, 104, 255, .24);
}

/* Header */
.gen-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 1000;
  width: min(1152px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(12, 12, 16, .97);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .32);
  color: #fff;
  transform: translateX(-50%);
  transition:
    background-color 420ms var(--ease),
    box-shadow 420ms var(--ease),
    transform 420ms var(--ease);
}

.gen-header__inner {
  display: contents;
}

.gen-header.is-scrolled {
  background: rgba(12, 12, 16, .985);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .4);
}

.gen-brand {
  display: inline-flex;
  width: max-content;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #fff !important;
}

.gen-brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 14px;
  color: #f5f5f7;
}

.gen-brand__mark svg,
.gen-brand__mark img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.gen-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  transform: translateY(-2px);
}

.gen-brand__copy strong {
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 800;
}

.gen-brand__copy small {
  color: #8b8993;
  font-size: 9px;
  font-weight: 600;
}

.gen-header__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gen-header__links a {
  border-radius: 999px;
  padding: 9px 12px;
  color: #aaa7b3;
  font-size: 12px;
  font-weight: 650;
  transition: color 360ms var(--ease), background-color 360ms var(--ease);
}

.gen-header__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.gen-header__links a.is-current {
  background: rgba(154, 104, 255, .18);
  color: #cdb5ff;
}

.gen-header__actions {
  display: flex;
  min-width: 0;
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: #1a1a21;
}

.gen-icon-button,
.gen-cart-button,
.gen-menu-button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff !important;
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    transform 360ms var(--ease);
}

.gen-icon-button {
  width: 30px;
}

.gen-icon-button svg,
.gen-cart-button svg {
  width: 15px;
  height: 15px;
}

.gen-icon-button:hover,
.gen-cart-button:hover,
.gen-menu-button:hover {
  background: var(--volt);
  transform: translateY(-1px);
}

.gen-sound-toggle svg {
  width: 15px;
  height: 15px;
}

.gen-sound-toggle__on {
  display: none;
}

.gen-sound-toggle[aria-pressed="true"] .gen-sound-toggle__on {
  display: block;
}

.gen-sound-toggle[aria-pressed="true"] .gen-sound-toggle__off {
  display: none;
}

.gen-cart-button {
  gap: 6px;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 700;
}

.gen-cart-count {
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 10px;
}

.gen-menu-button {
  display: none;
  width: 30px;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.gen-menu-button span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 360ms var(--ease);
}

.gen-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.gen-menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.gen-mobile-menu {
  position: absolute;
  top: 82px;
  right: 0;
  left: 0;
  display: grid;
  gap: 2px;
  visibility: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: rgba(17, 17, 22, .98);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .38);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 360ms var(--ease),
    transform 360ms var(--ease),
    visibility 360ms;
}

.gen-mobile-menu.open {
  display: grid;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.gen-mobile-menu a {
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 650;
  transition: background-color 320ms var(--ease), color 320ms var(--ease);
}

.gen-mobile-menu a:hover {
  background: rgba(154, 104, 255, .15);
  color: #cdb5ff;
}

body.gen-menu-open {
  overflow: hidden;
}

.gen-preloader__logo .gp-mark {
  stroke: #166bff;
  animation-name: gen-loader-mark;
}

.gen-preloader__crop--tl,
.gen-preloader__crop--tr,
.gen-preloader__crop--bl,
.gen-preloader__crop--br {
  border-color: #166bff;
}

@keyframes gen-loader-mark {
  0% { stroke-dashoffset: 1; fill: transparent; }
  62% { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: #166bff; }
}

/* Home hero */
.gen-hero {
  position: relative;
  min-height: min(820px, calc(100svh - 130px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 38px;
  background: #111116;
}

.gen-hero__media,
.gen-hero__shade,
.gen-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gen-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) contrast(1.08) brightness(.78);
  transform: scale(1.025);
  transition: transform 1.4s var(--ease);
}

.gen-hero:hover .gen-hero__media img {
  transform: scale(1.045);
}

.gen-hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 11, .96) 0%, rgba(8, 8, 11, .84) 35%, rgba(8, 8, 11, .28) 72%, rgba(8, 8, 11, .18) 100%),
    linear-gradient(0deg, rgba(8, 8, 11, .88) 0%, transparent 48%);
}

.gen-hero__glow {
  background: radial-gradient(circle at 74% 28%, rgba(154, 104, 255, .2), transparent 34%);
  pointer-events: none;
}

.gen-hero__content {
  position: absolute;
  z-index: 2;
  top: clamp(64px, 9vh, 96px);
  left: clamp(28px, 5vw, 72px);
  width: min(980px, calc(100% - 64px));
  transform: none;
}

.gen-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.gen-hero__eyebrow span {
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(8, 8, 11, .24);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.gen-hero__eyebrow span:last-child {
  border-color: rgba(154, 104, 255, .5);
  color: #d7c3ff;
}

.gen-hero h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(58px, 6.2vw, 92px);
  line-height: .91;
  text-wrap: balance;
}

.gen-hero__content > p {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}

.gen-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.gen-hero__meta {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 4vw, 58px);
  bottom: 28px;
  left: clamp(28px, 4vw, 58px);
  display: grid;
  grid-template-columns: 1.25fr 1fr .7fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(8, 8, 11, .46);
  backdrop-filter: blur(18px);
}

.gen-hero__meta > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 17px 20px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.gen-hero__meta > div:first-child {
  border-left: 0;
}

.gen-hero__meta small,
.gen-event-hero__facts small {
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.gen-hero__meta strong,
.gen-event-hero__facts strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Home navigation */
.gen-portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  grid-template-rows: repeat(2, minmax(250px, 1fr));
  gap: 16px;
}

.gen-portal-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  background: var(--bg-secondary);
  color: #fff !important;
  isolation: isolate;
  transition:
    border-color 620ms var(--ease),
    transform 620ms var(--ease),
    box-shadow 620ms var(--ease);
}

.gen-portal-card--afisha {
  grid-row: 1 / 3;
  min-height: 516px;
}

.gen-portal-card > img,
.gen-portal-card__shade,
.gen-portal-card__brand {
  position: absolute;
  inset: 0;
}

.gen-portal-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 900ms var(--ease);
}

.gen-portal-card__shade {
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(8, 8, 11, .95) 0%, rgba(8, 8, 11, .22) 70%),
    linear-gradient(90deg, rgba(8, 8, 11, .42), transparent 68%);
}

.gen-portal-card__copy {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
}

.gen-portal-card__copy small {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  font-weight: 700;
}

.gen-portal-card__copy h3 {
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: .94;
}

.gen-portal-card:not(.gen-portal-card--afisha) .gen-portal-card__copy h3 {
  font-size: clamp(34px, 3.4vw, 48px);
}

.gen-portal-card__copy p {
  max-width: 38ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

.gen-portal-card--about {
  background: #8753ef;
}

.gen-portal-card__brand {
  display: grid;
  place-items: center end;
  padding-right: 24px;
  color: rgba(255, 255, 255, .16);
  transition: color 700ms var(--ease);
}

.gen-portal-card__brand svg,
.gen-portal-card__brand img {
  width: min(56%, 240px);
  height: auto;
}

.gen-portal-card:hover {
  border-color: rgba(154, 104, 255, .42);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .3);
  transform: translateY(-5px);
}

.gen-portal-card:hover > img {
  transform: scale(1.045);
}

.gen-portal-card--about:hover .gen-portal-card__brand {
  color: rgba(255, 255, 255, .24);
}

/* Home sections */
.gen-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gen-highlight-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  transition:
    background-color 460ms var(--ease),
    border-color 460ms var(--ease),
    transform 460ms var(--ease),
    box-shadow 460ms var(--ease);
}

.gen-highlight-card:hover {
  border-color: rgba(154, 104, 255, .36);
  background: var(--bg-tertiary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
  transform: translateY(-5px);
}

.gen-highlight-card > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(154, 104, 255, .13);
  color: #cbb1ff;
  font-size: 12px;
  font-weight: 750;
}

.gen-highlight-card h3 {
  margin-top: 64px;
  color: var(--text-primary);
  font-size: 23px;
  line-height: 1.08;
}

.gen-highlight-card p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.gen-tier-preview {
  border-top: 1px solid var(--border-subtle);
}

.gen-tier-preview__item {
  display: grid;
  min-height: 128px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition:
    color 420ms var(--ease),
    background-color 420ms var(--ease),
    padding 420ms var(--ease);
}

.gen-tier-preview__item:hover {
  padding-right: 20px;
  padding-left: 20px;
  border-radius: 18px;
  background: var(--bg-secondary);
}

.gen-tier-preview__num {
  color: var(--volt);
  font-size: 12px;
  font-weight: 750;
}

.gen-tier-preview__item h3 {
  color: var(--text-primary);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}

.gen-tier-preview__item p {
  max-width: 760px;
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 14px;
}

.gen-tier-preview__item > strong {
  color: var(--text-primary);
  font-size: 18px;
  white-space: nowrap;
}

.gen-section-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.gen-process {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 112px);
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
}

.gen-process__intro {
  align-self: start;
}

.gen-process__intro h2 {
  font-size: clamp(38px, 4.4vw, 64px);
}

.gen-process__intro p {
  margin-top: 24px;
}

.gen-process__steps {
  display: grid;
}

.gen-process__step {
  display: grid;
  grid-template-columns: 42px minmax(0, .7fr) minmax(220px, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
}

.gen-process__step:first-child {
  border-top: 0;
  padding-top: 4px;
}

.gen-process__step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--volt);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.gen-process__step h3 {
  padding-top: 5px;
  color: var(--text-primary);
  font-size: 18px;
}

.gen-process__step p {
  padding-top: 5px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.gen-cta {
  display: grid;
  min-height: 430px;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding: clamp(34px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--volt);
  color: #fff;
}

.gen-cta .gen-kicker {
  color: rgba(255, 255, 255, .72);
}

.gen-cta h2 {
  margin-top: 0;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: .9;
}

.gen-cta p {
  max-width: 52ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
}

/* Page hero and listing */
.gen-page-hero {
  padding-top: clamp(66px, 8vw, 112px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.gen-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(48px, 9vw, 140px);
  align-items: end;
  margin-top: 0;
}

.gen-page-hero h1 {
  color: var(--text-primary);
  font-size: clamp(54px, 6.4vw, 88px);
  line-height: .94;
}

.gen-page-hero p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.page-template-page-about #gen-content {
  padding-top: 118px;
}

.gen-page-hero--afisha,
.page-template-page-about .gen-page-hero {
  padding-top: 48px;
}

.gen-page-hero--afisha .gen-page-hero__grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 400px);
  gap: clamp(48px, 7vw, 112px);
}

.gen-page-hero--afisha h1 {
  font-size: clamp(54px, 5.8vw, 82px);
}

.gen-listing {
  padding-bottom: 120px;
}

.gen-listing__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.gen-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gen-filter {
  min-height: 42px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0 17px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease);
}

.gen-filter:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.gen-filter.is-active {
  border-color: var(--volt);
  background: var(--volt);
  color: #fff;
}

.gen-listing__count {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.gen-listing__count b {
  color: var(--text-primary);
}

.gen-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gen-event-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  background: var(--bg-secondary);
  transition:
    border-color 520ms var(--ease),
    transform 520ms var(--ease),
    box-shadow 520ms var(--ease);
}

.gen-event-card:hover {
  border-color: rgba(154, 104, 255, .38);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .32);
  transform: translateY(-6px);
}

.gen-event-card[hidden] {
  display: none;
}

.gen-event-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b0b0f;
}

.gen-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 700ms var(--ease);
}

.gen-event-card:hover .gen-event-card__media img {
  transform: scale(1.035);
}

.gen-event-card__status {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(8, 8, 11, .68);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.gen-event-card__body {
  padding: 24px;
}

.gen-event-card__meta,
.gen-event-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.gen-event-card__meta {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.gen-event-card h3 {
  margin-top: 20px;
  color: var(--text-primary);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.gen-event-card__footer {
  align-items: flex-end;
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 13px;
}

.gen-event-card__footer strong {
  color: #cdb5ff;
  font-size: 15px;
  text-align: right;
}

.gen-event-card--teaser .gen-event-card__media img {
  filter: grayscale(1) brightness(.55);
}

@media (hover: hover) and (pointer: fine) {
  .gen-event-card__media img,
  .gen-portal-card > img {
    filter: grayscale(1) saturate(.45) brightness(.72);
  }

  .gen-event-card--teaser .gen-event-card__media img {
    filter: grayscale(1) saturate(.35) brightness(.55);
  }

  .gen-event-card:hover .gen-event-card__media img,
  .gen-event-card--teaser:hover .gen-event-card__media img,
  .gen-portal-card:hover > img {
    filter: grayscale(0) saturate(1) brightness(1);
  }
}

/* About and supporting pages */
.gen-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: end;
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(70px, 8vw, 112px);
}

.gen-about-intro h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(54px, 6.4vw, 88px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: 0;
  text-wrap: balance;
}

.gen-about-intro > p {
  max-width: 42ch;
  margin: 0 0 5px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

.gen-about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gen-about-principles article {
  min-height: 220px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}

.gen-about-principles h2 {
  max-width: 12ch;
  margin-top: 84px;
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1.08;
}

.gen-about-principles p {
  max-width: 34ch;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.gen-about-article {
  padding-top: clamp(82px, 9vw, 132px);
  padding-bottom: clamp(88px, 10vw, 148px);
}

.gen .gen-about-article .gen-prose {
  width: min(100%, 900px);
  max-width: none;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.78;
}

.gen .gen-about-article .gen-prose > p:first-child {
  color: var(--text-primary);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.5;
  text-wrap: pretty;
}

.gen-coming-soon {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(154, 104, 255, .16), transparent 48%),
    var(--bg-secondary);
}

.gen-coming-soon h2 {
  margin-top: 14px;
  color: var(--text-primary);
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: .92;
}

.gen-coming-soon p {
  max-width: 44ch;
  margin-top: 22px;
  color: var(--text-secondary);
}

.gen-generic-content {
  padding-bottom: 120px;
}

.gen-page-hero--compact {
  padding-top: 62px;
  padding-bottom: 72px;
}

.gen-page-hero--compact h1 {
  font-size: clamp(52px, 6.6vw, 92px);
}

.gen-empty-state {
  padding: clamp(32px, 5vw, 70px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}

.gen-empty-state > span {
  color: var(--volt);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.gen-empty-state h2,
.gen-empty-state h3 {
  max-width: 760px;
  margin-top: 16px;
  color: var(--text-primary);
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.04;
}

.gen-empty-state p {
  margin-top: 12px;
  color: var(--text-secondary);
}

/* Event page */
.gen-event-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 130px));
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 38px;
  background: #0b0b0f;
}

.gen-event-hero__media,
.gen-event-hero__shade {
  position: absolute;
  inset: 0;
}

.gen-event-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) brightness(.64);
}

.gen-event-hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 11, .94) 0%, rgba(8, 8, 11, .62) 48%, rgba(8, 8, 11, .16) 100%),
    linear-gradient(0deg, rgba(8, 8, 11, .88) 0%, transparent 52%);
}

.gen-event-hero__content {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 5vw, 72px);
  bottom: clamp(28px, 5vw, 66px);
  left: clamp(28px, 5vw, 72px);
}

.gen-event-hero__labels {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.gen-event-hero__labels span {
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 7px 11px;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.gen-event-hero h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(58px, 7.4vw, 106px);
  line-height: .88;
}

.gen-event-hero__facts {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
}

.gen-event-hero__facts > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding-right: 24px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.gen-event-hero__facts > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.gen-event-hero__content > .gen-button {
  margin-top: 32px;
}

.gen-event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  gap: clamp(40px, 5vw, 76px);
  padding-top: clamp(82px, 9vw, 128px);
  padding-bottom: 128px;
}

.gen-content-head {
  margin-bottom: 38px;
}

.gen-content-head h2 {
  font-size: clamp(42px, 5vw, 68px);
}

.gen-event-copy {
  max-width: 760px;
}

.gen .gen-prose {
  max-width: 780px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.gen .gen-prose h2 {
  margin: 52px 0 18px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.08;
  text-transform: none;
}

.gen .gen-prose h2:first-child {
  margin-top: 0;
}

.gen .gen-prose h3 {
  margin: 32px 0 12px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 21px;
  text-transform: none;
}

.gen .gen-prose p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.gen .gen-prose strong {
  color: var(--text-primary);
}

.gen .gen-prose li {
  padding-left: 20px;
  color: var(--text-secondary);
}

.gen .gen-prose li::before {
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.gen-venue-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-top: 72px;
  padding: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}

.gen-venue-card h2 {
  margin-top: 12px;
  color: var(--text-primary);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.05;
}

.gen-venue-card p {
  margin-top: 9px;
  color: var(--text-secondary);
}

.gen-venue-card__pin {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 18px;
  background: rgba(154, 104, 255, .14);
  color: #cbb1ff;
}

.gen-venue-card__pin svg {
  width: 26px;
  height: 26px;
}

.gen-ticket-panel {
  align-self: start;
  scroll-margin-top: 120px;
}

.gen-ticket-panel__head {
  position: relative;
  margin-bottom: 18px;
}

.gen-ticket-panel__head h2 {
  margin-top: 12px;
  color: var(--text-primary);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
}

.gen-ticket-panel__head p {
  max-width: 52ch;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 14px;
}

.gen-ticket-card {
  margin-top: 12px;
  padding: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--bg-secondary);
  transition:
    border-color 460ms var(--ease),
    background-color 460ms var(--ease),
    transform 460ms var(--ease),
    box-shadow 460ms var(--ease);
}

.gen-ticket-card:hover {
  border-color: rgba(154, 104, 255, .35);
  background: var(--bg-tertiary);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  transform: translateY(-3px);
}

.gen-ticket-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 750;
}

.gen-ticket-card__top b {
  color: var(--accent-red);
}

.gen-ticket-card__title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin-top: 18px;
}

.gen-ticket-card__title h3 {
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1.08;
}

.gen-ticket-card__title strong {
  color: #cdb5ff;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

.gen-ticket-card__desc {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.gen-ticket-card__bonus {
  margin-top: 13px;
  color: #cbb1ff;
  font-size: 11px;
  font-weight: 700;
}

.gen-ticket-card__actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.gen-quantity {
  display: grid;
  grid-template-columns: 38px 42px 38px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

.gen-quantity button,
.gen-quantity input {
  height: 50px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  text-align: center;
  outline: 0;
}

.gen-quantity button {
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 260ms ease, background-color 260ms ease;
}

.gen-quantity button:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.gen-quantity input {
  width: 42px;
  -moz-appearance: textfield;
  appearance: textfield;
}

.gen-quantity input::-webkit-inner-spin-button,
.gen-quantity input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.gen-ticket-card__submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.gen-ticket-card__label {
  display: block;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.gen-ticket-card__deposit {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .03);
  color: var(--text-primary);
  outline: 0;
}

.gen-ticket-card__deposit:focus {
  border-color: var(--volt);
}

.gen-ticket-card__deposit + .gen-ticket-card__submit {
  margin-top: 10px;
}

.gen-ticket-card__soldout {
  margin-top: 18px;
  border-radius: 999px;
  padding: 14px;
  background: rgba(255, 115, 123, .1);
  color: var(--accent-red);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

/* Footer */
.gen-footer {
  margin-top: clamp(90px, 10vw, 150px);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
}

.gen-footer__top {
  display: grid;
  grid-template-columns: 1.5fr .8fr .9fr 1.1fr;
  gap: 44px;
  padding: clamp(34px, 4.5vw, 64px);
}

.gen-footer__brand a {
  display: inline-flex;
  color: var(--text-primary);
}

.gen-footer__brand svg,
.gen-footer__brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.gen-footer__brand p {
  max-width: 38ch;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.gen-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.gen-footer__column > span {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.gen-footer__column > a,
.gen-footer__contact div a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 320ms var(--ease);
}

.gen-footer__column > a:hover,
.gen-footer__contact div a:hover {
  color: #cdb5ff;
}

.gen-footer__contact div {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.gen-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(34px, 4.5vw, 64px);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11px;
}

/* Generic content pages and WooCommerce */
.gen .section-paper {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.gen .woocommerce-page-wrap,
.gen .gen-wc-wrap {
  width: var(--shell);
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.gen .woocommerce table.shop_table,
.gen .woocommerce table.cart,
.gen .woocommerce #order_review table,
.gen .woocommerce-checkout #payment,
.gen .woocommerce .cart-collaterals .cart_totals,
.gen .woocommerce-checkout #order_review {
  overflow: hidden;
  border-color: var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-secondary);
}

.gen .woocommerce a.button,
.gen .woocommerce button.button,
.gen .woocommerce input.button,
.gen .woocommerce .button,
.gen .woocommerce #respond input#submit,
.gen .woocommerce #place_order,
.gen .woocommerce button.button.alt,
.gen .woocommerce a.checkout-button {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-family: var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    transform 360ms var(--ease);
}

.gen .woocommerce a.button:hover,
.gen .woocommerce button.button:hover,
.gen .woocommerce input.button:hover {
  transform: translateY(-2px);
}

.gen .woocommerce .coupon input.input-text,
.gen .woocommerce form .form-row input.input-text,
.gen .woocommerce form .form-row textarea,
.gen .woocommerce form .form-row select,
.gen .woocommerce-checkout select,
.gen .select2-container .select2-selection {
  border-radius: 13px !important;
  font-family: var(--font-sans);
}

.gen .woocommerce-message,
.gen .woocommerce-info,
.gen .woocommerce-error {
  border-radius: 15px;
}

.woocommerce-checkout .gen-page-hero {
  min-height: 0;
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

.woocommerce-checkout .gen-page-hero h1 {
  max-width: 14ch;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: .9;
  text-transform: none;
  text-wrap: balance;
}

.woocommerce-checkout .gen-generic-content {
  padding-top: 0;
  padding-bottom: clamp(88px, 9vw, 132px);
}

.gen-checkout-grid {
  gap: clamp(38px, 6vw, 86px);
}

.gen-checkout-right,
.gen-checkout-right #payment.woocommerce-checkout-payment {
  border-radius: 24px;
}

.gen-checkout-right {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .075);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.gen-checkout-right > h3,
.gen-checkout-right > #order_review {
  border-radius: 17px;
}

.gen-checkout-right #payment.woocommerce-checkout-payment {
  overflow: hidden;
  margin: 8px 0 0;
}

.gen-cart-page .gen-page-hero {
  padding-bottom: 58px;
}

.gen-cart-page .gen-page-hero h1 {
  margin-top: 12px;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: .92;
  text-transform: none;
}

.gen-cart-page .gen-page-hero nav,
.gen-cart-page .gen-page-hero p {
  font-family: var(--font-sans) !important;
  letter-spacing: 0;
  text-transform: none;
}

.gen-cart-group,
.gen-addon-card,
.gen-cart-recommendation,
.gen-cart-summary {
  overflow: hidden;
  border-radius: 19px;
  background: var(--bg-secondary);
}

.gen-cart-group > div:first-child img,
.gen-cart-recommendation img {
  border-radius: 10px;
}

.gen-cart-qty {
  overflow: hidden;
  border-radius: 999px;
}

.gen-cart-remove {
  border-radius: 50%;
}

.gen-cart-page h2,
.gen-cart-page h3,
.gen-cart-page .uppercase {
  letter-spacing: 0;
}

.gen-cart-page a[class*="hover:bg-[var(--volt)]"],
.gen-cart-page button[class*="hover:bg-[var(--volt)]"],
.gen-cart-page .gen-checkout-btn {
  border-radius: 999px;
}

.page-template-page-lk #gen-content > section {
  width: var(--shell);
  max-width: 1440px;
  padding-top: 70px;
  padding-right: 0;
  padding-left: 0;
}

.page-template-page-lk h1,
.page-template-page-lk h2,
.page-template-page-lk h3 {
  letter-spacing: 0;
  text-transform: none;
}

.page-template-page-lk [style*="background:var(--bg-secondary)"] {
  border-radius: 20px;
}

.page-template-page-lk input:not([type="checkbox"]),
.page-template-page-lk textarea,
.page-template-page-lk select {
  border-radius: 13px;
  font-family: var(--font-sans) !important;
  letter-spacing: 0;
}

.page-template-page-lk button:not(.gen-menu-button),
.page-template-page-lk a[class*="border"] {
  border-radius: 999px;
  font-family: var(--font-sans) !important;
  letter-spacing: 0;
  text-transform: none;
}

.page-template-page-lk .x4qr,
.page-template-page-lk .x4qr img {
  border-radius: 7px;
}

/* Reveal animation */
.gen-reveal {
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease);
}

.gen-reveal.is-reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}

.gen-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 32px, 1440px);
  }

  .gen-header__links {
    display: none;
  }

  .gen-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .gen-menu-button {
    display: inline-flex;
  }

  .gen-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gen-event-layout {
    grid-template-columns: minmax(0, 1fr) minmax(410px, .95fr);
    gap: 36px;
  }

  .gen-process__step {
    grid-template-columns: 38px 1fr;
  }

  .gen-process__step p {
    grid-column: 2;
  }

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

  .gen-footer__contact {
    grid-column: 2 / -1;
  }

  .gen-about-content {
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: 54px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 24px);
    --radius-lg: 26px;
    --radius-md: 20px;
  }

  html {
    scroll-padding-top: 92px;
  }

  #gen-content {
    padding-top: 100px;
  }

  .gen-header {
    top: 12px;
    width: calc(100% - 24px);
    gap: 10px;
    padding: 8px;
    border-radius: 28px;
  }

  .gen-brand__mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .gen-brand__mark svg,
  .gen-brand__mark img {
    width: 35px;
    height: 35px;
  }

  .gen-brand__copy strong {
    font-size: 12px;
  }

  .gen-brand__copy small {
    display: none;
  }

  .gen-icon-button,
  .gen-cart-button {
    display: none;
  }

  .gen-sound-toggle {
    display: inline-flex;
    width: 46px;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: #1a1a21;
  }

  .gen-menu-button {
    width: 46px;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: #1a1a21;
  }

  .gen-header__actions {
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .gen-mobile-menu {
    top: calc(100% + 8px);
    border-radius: 20px;
  }

  .gen-section {
    padding-top: 86px;
  }

  .gen-portal-grid {
    display: flex;
    width: calc(100vw - 12px);
    gap: 12px;
    overflow-x: auto;
    padding-right: 24px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gen-portal-grid::-webkit-scrollbar {
    display: none;
  }

  .gen-portal-card,
  .gen-portal-card--afisha {
    min-width: min(82vw, 360px);
    min-height: 410px;
    flex: 0 0 min(82vw, 360px);
    scroll-snap-align: start;
  }

  .gen-portal-card__copy {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .gen-portal-card__copy h3,
  .gen-portal-card:not(.gen-portal-card--afisha) .gen-portal-card__copy h3 {
    font-size: 42px;
  }

  .gen-portal-card__brand {
    place-items: start end;
    padding-top: 38px;
  }

  .gen-section-head,
  .gen-page-hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 30px;
  }

  .gen-page-hero--afisha .gen-page-hero__grid {
    grid-template-columns: 1fr;
  }

  .gen-section-head h2,
  .gen-content-head h2,
  .gen-process h2 {
    font-size: clamp(36px, 10.8vw, 48px);
    line-height: 1;
  }

  .gen-section-head > p,
  .gen-process__intro > p {
    font-size: 15px;
  }

  .gen-hero {
    min-height: calc(100svh - 100px);
    border-radius: 28px;
  }

  .gen-hero__media img {
    object-position: 56% center;
    filter: saturate(.76) contrast(1.06) brightness(.58);
  }

  .gen-hero__shade {
    background:
      linear-gradient(0deg, rgba(8, 8, 11, .98) 0%, rgba(8, 8, 11, .66) 58%, rgba(8, 8, 11, .22) 100%);
  }

  .gen-hero__glow {
    background: radial-gradient(circle at 58% 24%, rgba(154, 104, 255, .18), transparent 38%);
  }

  .gen-hero__content {
    top: auto;
    right: 20px;
    bottom: 180px;
    left: 20px;
    width: auto;
    transform: none;
  }

  .gen-hero__eyebrow {
    margin-bottom: 16px;
  }

  .gen-hero h1 {
    max-width: 9ch;
    font-size: clamp(42px, 13.5vw, 60px);
    line-height: .94;
  }

  .gen-hero__content > p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  .gen-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 24px;
  }

  .gen-button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 12px;
  }

  .gen-hero__meta {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr 1fr;
    border-radius: 17px;
  }

  .gen-hero__meta > div {
    padding: 12px 13px;
  }

  .gen-hero__meta > div:last-child {
    display: none;
  }

  .gen-hero__meta strong {
    font-size: 11px;
  }

  .gen-highlight-grid,
  .gen-event-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gen-about-principles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    overflow: visible;
  }

  .gen-about-principles::-webkit-scrollbar {
    display: none;
  }

  .gen-about-principles article {
    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  .gen-about-content {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 82px;
  }

  .gen-coming-soon {
    min-height: 500px;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 28px 22px;
  }

  .gen-coming-soon h2 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .gen-coming-soon .gen-button {
    width: 100%;
  }

  .gen-generic-content {
    padding-bottom: 82px;
  }

  .gen-highlight-grid::-webkit-scrollbar,
  .gen-event-grid::-webkit-scrollbar {
    display: none;
  }

  .gen-highlight-card,
  .gen-event-card {
    width: min(82vw, 340px);
    min-width: min(82vw, 340px);
    scroll-snap-align: start;
  }

  .gen-highlight-card {
    min-height: 220px;
  }

  .gen-highlight-card h3 {
    margin-top: 48px;
  }

  .gen-tier-preview__item {
    min-height: 0;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 22px 0;
  }

  .gen-tier-preview__item > strong {
    grid-column: 2;
    font-size: 15px;
  }

  .gen-tier-preview__item:hover {
    padding-right: 12px;
    padding-left: 12px;
  }

  .gen-tier-preview__item h3 {
    font-size: 21px;
  }

  .gen-tier-preview__item p {
    font-size: 13px;
  }

  .gen-section-action {
    justify-content: stretch;
  }

  .gen-section-action .gen-button {
    width: 100%;
  }

  .gen-process {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 26px 22px;
  }

  .gen-process__step {
    grid-template-columns: 34px 1fr;
    gap: 13px;
  }

  .gen-process__step p {
    padding-top: 0;
  }

  .gen-cta {
    min-height: 470px;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 28px 22px;
  }

  .gen-cta h2 {
    font-size: clamp(44px, 13.5vw, 64px);
  }

  .gen-cta .gen-button {
    width: 100%;
  }

  .gen-page-hero {
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .gen-page-hero h1 {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: clamp(43px, 13vw, 60px);
    line-height: .94;
    overflow-wrap: anywhere;
  }

  .gen-page-hero p {
    font-size: 15px;
  }

  .gen-listing {
    width: 100%;
    padding-left: 12px;
  }

  .gen-listing__toolbar {
    width: calc(100% - 12px);
    flex-direction: column;
    align-items: flex-start;
  }

  .gen-event-card__body {
    padding: 19px;
  }

  .gen-event-card h3 {
    font-size: 28px;
  }

  .gen-event-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .gen-event-card__footer strong {
    text-align: left;
  }

  .gen-event-hero {
    min-height: calc(100svh - 100px);
    border-radius: 28px;
  }

  .gen-event-hero__media img {
    object-position: 62% center;
  }

  .gen-event-hero__shade {
    background: linear-gradient(0deg, rgba(8, 8, 11, .97) 0%, rgba(8, 8, 11, .62) 62%, rgba(8, 8, 11, .2) 100%);
  }

  .gen-event-hero__content {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .gen-event-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
    line-height: .92;
  }

  .gen-event-hero__facts {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .gen-event-hero__facts > div {
    padding: 0;
    border: 0;
  }

  .gen-event-hero__facts > div:last-child {
    display: none;
  }

  .gen-event-hero__facts strong {
    font-size: 11px;
    white-space: normal;
  }

  .gen-event-hero__content > .gen-button {
    width: 100%;
    margin-top: 24px;
  }

  .gen-event-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 78px;
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .gen-event-story,
  .gen-ticket-panel {
    width: 100%;
    min-width: 0;
  }

  .gen .gen-prose {
    font-size: 15px;
  }

  .gen .gen-prose h2 {
    margin-top: 42px;
    font-size: 27px;
  }

  .gen-venue-card {
    align-items: flex-start;
    margin-top: 54px;
    padding: 22px;
  }

  .gen-venue-card__pin {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
  }

  .gen-ticket-card {
    padding: 18px;
  }

  .gen-ticket-card__title {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gen-ticket-card__title strong {
    white-space: normal;
  }

  .gen-ticket-card__actions {
    grid-template-columns: 1fr;
  }

  .gen-quantity {
    width: 100%;
    grid-template-columns: 1fr 54px 1fr;
  }

  .gen-footer {
    margin-top: 82px;
    margin-bottom: 12px;
  }

  .gen-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding: 30px 22px;
  }

  .gen-footer__brand {
    grid-column: 1 / -1;
  }

  .gen-footer__contact {
    grid-column: 1 / -1;
  }

  .gen-footer__bottom {
    flex-direction: column;
    gap: 8px;
    padding: 18px 22px;
  }
}

@media (max-width: 410px) {
  .gen-brand__copy {
    display: none;
  }

  .gen-hero__content {
    bottom: 170px;
  }

  .gen-hero h1 {
    font-size: 40px;
  }

  .gen-hero__content > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .gen-footer__top {
    grid-template-columns: 1fr;
  }

  .gen-footer__brand,
  .gen-footer__contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .gen-reveal,
  .gen-reveal.is-reveal-pending {
    opacity: 1;
    transform: none;
  }
}

/* Checkout refresh: one quiet purchase flow instead of nested WooCommerce boxes. */
.woocommerce-checkout .gen-generic-content {
  width: min(var(--shell), 1240px);
}

.woocommerce-checkout .gen-generic-content > .woocommerce {
  width: 100%;
}

.woocommerce-checkout .gen-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
  gap: clamp(24px, 3.5vw, 52px);
  align-items: start;
}

.woocommerce-checkout .gen-checkout-left {
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 24px;
  background: rgba(255, 255, 255, .032);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.woocommerce-checkout .gen-co-head {
  display: block;
  padding: 0;
  border: 0;
}

.woocommerce-checkout .gen-co-title {
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}

.woocommerce-checkout .gen-co-sub {
  max-width: 48ch;
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.woocommerce-checkout .gen-co-account-note {
  position: relative;
  max-width: 48ch;
  margin: 16px 0 0;
  padding: 0 0 0 19px;
  border: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.woocommerce-checkout .gen-co-account-note::before {
  position: absolute;
  top: .55em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  content: "";
}

.woocommerce-checkout .gen-checkout-left #customer_details {
  margin-top: clamp(28px, 3vw, 38px);
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  gap: 20px 16px;
}

.woocommerce-checkout .gen-checkout-left form .form-row,
.woocommerce-checkout .gen-checkout-left .form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.woocommerce-checkout .gen-checkout-left .form-row label {
  order: -1;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
}

.woocommerce-checkout .gen-checkout-left .form-row .required {
  color: var(--volt);
}

.gen .woocommerce-checkout .gen-checkout-left .form-row input.input-text {
  min-height: 56px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .09) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .045) !important;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary) !important;
  outline: none;
}

.gen .woocommerce-checkout .gen-checkout-left .form-row input.input-text::placeholder {
  color: rgba(255, 255, 255, .28);
}

.gen .woocommerce-checkout .gen-checkout-left .form-row input.input-text:hover {
  border-color: rgba(255, 255, 255, .18) !important;
}

.gen .woocommerce-checkout .gen-checkout-left .form-row input.input-text:focus {
  border-color: rgba(154, 104, 255, .72) !important;
  background: rgba(255, 255, 255, .065) !important;
  box-shadow: 0 0 0 3px rgba(154, 104, 255, .11);
}

.woocommerce-checkout .gen-checkout-right {
  position: sticky;
  top: 92px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 24px;
  background: #101014;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.gen .woocommerce-checkout .gen-checkout-right #order_review {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.woocommerce-checkout .gen-co-summary {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.woocommerce-checkout .gen-co-summary-head {
  padding: 25px 26px 18px;
  border: 0;
}

.woocommerce-checkout .gen-co-summary-head h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.woocommerce-checkout .gen-co-summary-head a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 320ms var(--ease);
}

.woocommerce-checkout .gen-co-summary-head a:hover {
  color: var(--text-primary);
}

.woocommerce-checkout .gen-co-group {
  margin: 0 12px;
  padding: 14px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}

.woocommerce-checkout .gen-co-event {
  align-items: flex-start;
  gap: 14px;
}

.woocommerce-checkout .gen-co-event img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
}

.woocommerce-checkout .gen-co-event-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

.woocommerce-checkout .gen-co-event-date {
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.woocommerce-checkout .gen-co-tiers {
  margin-top: 15px;
  padding: 13px 0 0 72px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  gap: 8px;
}

.woocommerce-checkout .gen-co-tier,
.woocommerce-checkout .gen-co-line {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.woocommerce-checkout .gen-co-lines {
  margin: 12px 26px 0;
  padding: 15px 0 0;
  border-color: rgba(255, 255, 255, .075);
}

.woocommerce-checkout .gen-co-total {
  align-items: center;
  margin-top: 10px;
  padding: 22px 26px;
  border-color: rgba(255, 255, 255, .075);
  background: transparent;
}

.woocommerce-checkout .gen-co-total > span:first-child {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
}

.woocommerce-checkout .gen-co-total-val {
  font-family: var(--font-sans);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0;
}

.woocommerce-checkout .gen-co-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 26px 24px;
  border: 0;
}

.woocommerce-checkout .gen-co-trust-row {
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.woocommerce-checkout .gen-co-trust-row svg {
  width: 15px;
  height: 15px;
}

.woocommerce-checkout .gen-checkout-right #payment.woocommerce-checkout-payment {
  overflow: visible;
  margin: 0;
  padding: 22px 26px 26px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .075);
  border-radius: 0;
  background: transparent;
}

.woocommerce-checkout .gen-checkout-right #payment.woocommerce-checkout-payment::before {
  display: block;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  content: "Способ оплаты";
}

.woocommerce-checkout .gen-checkout-right #payment ul.payment_methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.woocommerce-checkout .gen-checkout-right #payment .wc_payment_method {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.woocommerce-checkout .gen-checkout-right #payment .wc_payment_method > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.woocommerce-checkout .gen-checkout-right #payment .wc_payment_method > label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px 12px 44px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.woocommerce-checkout .gen-checkout-right #payment .wc_payment_method > label::before {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.woocommerce-checkout .gen-checkout-right #payment .wc_payment_method > input[type="radio"]:checked + label::before {
  border: 5px solid var(--volt);
  background: #fff;
}

.woocommerce-checkout .gen-checkout-right #payment div.payment_box {
  margin: 0 12px 12px;
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.woocommerce-checkout .gen-checkout-right #payment .form-row.place-order {
  padding: 22px 0 0;
}

.woocommerce-checkout .gen-checkout-right .woocommerce-privacy-policy-text,
.woocommerce-checkout .gen-checkout-right .woocommerce-privacy-policy-text p {
  margin: 0;
  padding: 0 !important;
  color: var(--text-muted) !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.woocommerce-checkout .gen-checkout-right .gen-consent {
  margin: 17px 0 20px !important;
}

.woocommerce-checkout .gen-checkout-right .gen-consent .woocommerce-input-wrapper {
  display: block;
}

.woocommerce-checkout .gen-checkout-right .gen-consent label {
  position: relative;
  display: block !important;
  min-height: 20px;
  padding-left: 30px;
  color: var(--text-secondary) !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
}

.woocommerce-checkout .gen-checkout-right .gen-consent input[type="checkbox"] {
  position: absolute;
  top: 1px;
  left: 0;
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--volt);
}

.gen .woocommerce-checkout .gen-checkout-right #place_order {
  min-height: 56px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--volt);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition:
    background-color 360ms var(--ease),
    transform 360ms var(--ease),
    box-shadow 360ms var(--ease);
}

.gen .woocommerce-checkout .gen-checkout-right #place_order:hover {
  background: #aa80ff;
  box-shadow: 0 12px 32px rgba(154, 104, 255, .18);
  transform: translateY(-2px);
}

.woocommerce-checkout .gen-checkout-right .gen-wc-trust {
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-color: rgba(255, 255, 255, .075) !important;
}

.woocommerce-checkout .gen-checkout-right .gen-wc-trust > div {
  color: var(--text-muted) !important;
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

@media (max-width: 980px) {
  .woocommerce-checkout .gen-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .woocommerce-checkout .gen-checkout-right {
    position: static;
  }
}

@media (max-width: 600px) {
  .woocommerce-checkout .gen-page-hero {
    padding-bottom: 28px;
  }

  .woocommerce-checkout .gen-generic-content {
    width: calc(100% - 24px);
    padding-bottom: 76px;
  }

  .woocommerce-checkout .gen-checkout-grid {
    gap: 14px;
  }

  .woocommerce-checkout .gen-checkout-left {
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .woocommerce-checkout .gen-co-title {
    max-width: none;
    font-size: 27px;
  }

  .woocommerce-checkout .gen-co-sub {
    margin-top: 10px;
    font-size: 14px;
  }

  .woocommerce-checkout .gen-co-account-note {
    margin-top: 12px;
    font-size: 12px;
  }

  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 10px;
  }

  .woocommerce-checkout .gen-checkout-left #customer_details {
    margin-top: 24px;
  }

  .gen .woocommerce-checkout .gen-checkout-left .form-row input.input-text {
    min-height: 52px;
    padding-inline: 13px;
    font-size: 14px;
  }

  .woocommerce-checkout .gen-checkout-right {
    border-radius: 20px;
  }

  .woocommerce-checkout .gen-co-summary-head {
    padding: 21px 18px 14px;
  }

  .woocommerce-checkout .gen-co-group {
    margin-inline: 8px;
    padding: 12px;
  }

  .woocommerce-checkout .gen-co-event img {
    width: 52px;
    height: 52px;
  }

  .woocommerce-checkout .gen-co-tiers {
    padding-left: 0;
  }

  .woocommerce-checkout .gen-co-total {
    padding: 20px 18px;
  }

  .woocommerce-checkout .gen-co-trust {
    grid-template-columns: 1fr;
    padding: 0 18px 20px;
  }

  .woocommerce-checkout .gen-checkout-right #payment.woocommerce-checkout-payment {
    padding: 20px 18px 22px;
  }
}

.woocommerce-checkout .gen-cart-fab {
  display: none !important;
}

/* ================================================================
   Home cinematic scroll hero
   The opening frame is intentionally only the real event photo.
   Navigation and copy enter after the visitor starts scrolling.
   ================================================================ */

.home #gen-content {
  padding-top: 0;
}

.home .gen-header {
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -18px, 0);
  transition:
    opacity 360ms var(--ease),
    transform 440ms var(--ease);
}

.home .gen-header.is-hero-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.home .gen-hero {
  --hero-progress: 0;
  --hero-copy-opacity: 0;
  --hero-copy-shift: 38px;
  --hero-detail-opacity: 0;
  --hero-detail-shift: 22px;
  --hero-image-scale: 1.115;
  width: 100%;
  height: 280svh;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #030304;
}

.home .gen-hero__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #030304;
  contain: paint;
  isolation: isolate;
  pointer-events: none;
}

.home .gen-hero__stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  box-shadow:
    inset 0 0 clamp(82px, 11vw, 190px) rgba(0, 0, 0, .58),
    inset 0 0 26px rgba(0, 0, 0, .44);
  content: "";
  pointer-events: none;
}

.home .gen-hero__media {
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #030304;
}

.home .gen-hero__media::before {
  position: absolute;
  inset: 0;
  background: #030304;
  content: "";
}

.home .gen-hero__media-frame {
  position: absolute;
  --hero-edge-fade: clamp(42px, 5.5vw, 92px);
  inset:
    clamp(22px, 2.8vw, 44px)
    clamp(28px, 4vw, 64px);
  overflow: hidden;
  background: #030304;
  box-shadow: 0 0 62px 28px rgba(3, 3, 4, .94);
}

.home .gen-hero__media-frame::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, #030304 0%, rgba(3, 3, 4, .74) 34%, transparent 100%) left center / var(--hero-edge-fade) 100% no-repeat,
    linear-gradient(270deg, #030304 0%, rgba(3, 3, 4, .74) 34%, transparent 100%) right center / var(--hero-edge-fade) 100% no-repeat,
    linear-gradient(180deg, #030304 0%, rgba(3, 3, 4, .66) 32%, transparent 100%) center top / 100% var(--hero-edge-fade) no-repeat,
    linear-gradient(0deg, #030304 0%, rgba(3, 3, 4, .82) 38%, transparent 100%) center bottom / 100% calc(var(--hero-edge-fade) * 1.22) no-repeat;
  content: "";
  pointer-events: none;
}

.home .gen-hero__media-frame img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(1.08) brightness(.96);
  transform: scale(var(--hero-image-scale));
  transform-origin: center;
  transition: none;
  will-change: transform;
}

.home .gen-hero:hover .gen-hero__media-frame img {
  transform: scale(var(--hero-image-scale));
}

@media (hover: hover) and (pointer: fine) {
  .home .gen-hero__stage {
    pointer-events: auto;
  }
}

.home .gen-hero__shade {
  z-index: 1;
  background:
    radial-gradient(circle at 52% 44%, transparent 0 24%, rgba(3, 3, 4, .32) 76%, rgba(3, 3, 4, .74) 100%),
    linear-gradient(180deg, rgba(3, 3, 4, .12), rgba(3, 3, 4, .82));
  opacity: calc(.08 + var(--hero-progress) * .9);
}

.home .gen-hero__glow {
  display: none;
}

.home .gen-hero__content {
  position: absolute;
  z-index: 3;
  top: 47%;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  text-align: center;
  opacity: var(--hero-copy-opacity);
  transform: translate3d(-50%, calc(-50% + var(--hero-copy-shift)), 0);
  will-change: opacity, transform;
  pointer-events: auto;
}

.home .gen-hero__eyebrow {
  justify-content: center;
  margin-bottom: 24px;
  opacity: var(--hero-detail-opacity);
  transform: translate3d(0, var(--hero-detail-shift), 0);
}

.home .gen-hero__eyebrow span {
  background: rgba(3, 3, 4, .34);
  backdrop-filter: blur(14px);
}

.home .gen-hero h1 {
  width: auto;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  color: #fff;
  font-size: clamp(68px, 8vw, 116px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .84;
  text-transform: none;
  white-space: normal;
}

.home .gen-hero__wordmark > span {
  display: block;
}

.home .gen-hero__content > p,
.home .gen-hero__actions {
  opacity: var(--hero-detail-opacity);
  transform: translate3d(0, var(--hero-detail-shift), 0);
}

.home .gen-hero__content > p {
  max-width: 62ch;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, .96);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .96), 0 1px 2px #000;
}

.home .gen-hero__actions {
  justify-content: center;
  margin-top: 30px;
}

.home .gen-home-portals {
  position: relative;
  z-index: 4;
  width: 100%;
  margin-top: -100svh;
  scroll-margin-top: 0;
  padding-top: clamp(112px, 11vw, 166px);
  padding-bottom: clamp(92px, 9vw, 132px);
  background: #030304;
  box-shadow: 0 -42px 94px rgba(0, 0, 0, .72);
  transform: translate3d(0, 0, 0);
}

.home .gen-home-portals::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: clamp(48px, 7vw, 100px);
  background: linear-gradient(0deg, #030304 0%, rgba(3, 3, 4, .84) 42%, transparent 100%);
  content: "";
  pointer-events: none;
}

.home .gen-home-portals__inner {
  position: relative;
  z-index: 1;
}

.home .gen-home-portals ~ .gen-section {
  position: relative;
  z-index: 4;
  background: #030304;
}

@media (max-width: 760px) {
  .home #gen-content {
    padding-top: 0;
  }

  .home .gen-header {
    top: 10px;
  }

  .home .gen-hero {
    height: 260svh;
    border-radius: 0;
  }

  .home .gen-hero__stage {
    height: 100svh;
  }

  .home .gen-hero__stage::after {
    box-shadow:
      inset 0 0 90px rgba(0, 0, 0, .48),
      inset 0 0 18px rgba(0, 0, 0, .42);
  }

  .home .gen-hero__media-frame {
    --hero-edge-fade: 46px;
    inset: 14px 12px 18px;
    box-shadow: 0 0 38px 18px rgba(3, 3, 4, .96);
  }

  .home .gen-hero__media-frame img {
    object-position: 58% center;
  }

  .home .gen-hero__content {
    top: 45%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: calc(100% - 32px);
  }

  .home .gen-hero__eyebrow {
    margin-bottom: 16px;
  }

  .home .gen-hero h1 {
    width: auto;
    max-width: 100%;
    font-size: clamp(48px, 15.5vw, 68px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: .86;
    white-space: normal;
  }

  .home .gen-hero__content > p {
    display: block;
    max-width: 35ch;
    margin-top: 20px;
    overflow: visible;
    font-size: 15px;
    -webkit-line-clamp: initial;
  }

  .home .gen-hero__actions {
    display: flex;
    margin-top: 22px;
  }

  .home .gen-home-portals {
    margin-top: -100svh;
    padding-top: 100px;
    padding-bottom: 86px;
  }
}

@media (max-width: 410px) {
  .home .gen-hero__content {
    top: 43%;
    bottom: auto;
  }

  .home .gen-hero h1 {
    font-size: clamp(46px, 15vw, 60px);
  }

  .home .gen-hero__content > p {
    max-width: 32ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .gen-header,
  .home .gen-hero__content {
    transition: none;
  }

  .home .gen-hero__media-frame img {
    will-change: auto;
  }
}

/* Deliberate two-line section titles */
.gen-title-lock {
  max-width: none !important;
  text-wrap: initial;
}

.gen-title-lock > span {
  display: block;
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

.page-template-page-about .gen-about-title-flow {
  max-width: none;
  font-size: clamp(52px, 5vw, 72px);
  text-wrap: normal;
}

/* Access-level visual selector */
.gen-access-showcase {
  width: min(100%, 1240px);
  scroll-margin-top: 112px;
  margin-right: auto;
  margin-left: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 36px;
  background:
    radial-gradient(circle at 14% 0%, rgba(154, 104, 255, .12), transparent 34%),
    rgba(255, 255, 255, .035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .34);
}

.gen-access-showcase__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px 4px 12px;
}

.gen-access-showcase__tab {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #77747f;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: left;
  cursor: pointer;
  transition:
    color 420ms var(--ease),
    background-color 420ms var(--ease),
    transform 420ms var(--ease);
}

.gen-access-showcase__tab span {
  color: #57545e;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  transition: color 420ms var(--ease);
}

.gen-access-showcase__tab:hover {
  color: #d9d6df;
  background: rgba(255, 255, 255, .04);
}

.gen-access-showcase__tab:active {
  transform: scale(.985);
}

.gen-access-showcase__tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.gen-access-showcase__tab.is-active span {
  color: #bd9aff;
}

.gen-access-showcase__tab:focus-visible,
.gen-access-showcase__controls button:focus-visible {
  outline: 2px solid #bd9aff;
  outline-offset: 2px;
}

.gen-access-showcase__stage {
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  background: #0d0d12;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 28px 90px rgba(23, 12, 45, .18);
}

.gen-access-slide {
  grid-area: 1 / 1;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(24px, 0, 0) scale(.992);
  transition:
    opacity 520ms var(--ease),
    transform 620ms var(--ease),
    visibility 0s linear 620ms;
}

.gen-access-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

.gen-access-slide__media {
  position: relative;
  height: 430px;
  min-height: 430px;
  overflow: hidden;
}

.gen-access-slide__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.07);
  transform: scale(1.035);
  transition: transform 1100ms var(--ease), filter 800ms var(--ease);
}

.gen-access-slide.is-active .gen-access-slide__media img {
  filter: saturate(.95) contrast(1.04);
  transform: scale(1);
}

.gen-access-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 56%, rgba(13, 13, 18, .72) 100%),
    linear-gradient(0deg, rgba(5, 5, 7, .62), transparent 46%);
}

.gen-access-slide__counter {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(7, 7, 10, .72);
  color: rgba(255, 255, 255, .76);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.gen-access-slide__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 3.6vw, 54px);
}

.gen-access-slide__eyebrow {
  color: #a982f6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gen-access-slide__body h3 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .94;
}

.gen-access-slide__body > p {
  max-width: 38ch;
  margin-top: 24px;
  color: #a7a4ae;
  font-size: 15px;
  line-height: 1.65;
}

.gen-access-slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.gen-access-slide__tags li {
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  color: #cbc8d0;
  font-size: 11px;
  font-weight: 650;
}

.gen-access-slide__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
}

.gen-access-slide__footer > strong {
  color: #fff;
  font-size: clamp(22px, 2.1vw, 30px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gen-access-showcase__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 8px 6px;
}

.gen-access-showcase__dots {
  display: flex;
  gap: 9px;
}

.gen-access-showcase__dots button {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition:
    background-color 420ms var(--ease),
    box-shadow 420ms var(--ease),
    transform 420ms var(--ease),
    opacity 420ms var(--ease);
}

.gen-access-showcase__dots button img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(.68) brightness(.62);
  transition: filter 420ms var(--ease), transform 520ms var(--ease);
}

.gen-access-showcase__dots button span {
  position: absolute;
  right: -1px;
  bottom: -1px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #16131d;
  color: #aaa5b1;
  font-size: 8px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.gen-access-showcase__dots button:hover {
  transform: translateY(-3px);
}

.gen-access-showcase__dots button:hover img,
.gen-access-showcase__dots button.is-active img {
  filter: grayscale(0) brightness(.92);
  transform: scale(1.06);
}

.gen-access-showcase__dots button.is-active {
  background: #a77bff;
  box-shadow: 0 0 0 4px rgba(154, 104, 255, .13);
  transform: scale(1.08);
}

.gen-access-showcase__dots button.is-active span {
  background: #9a68ff;
  color: #fff;
}

.gen-access-showcase__controls > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  color: #d8d5df;
  font-size: 13px;
  font-weight: 700;
}

.gen-access-showcase__controls > a:hover {
  color: #fff;
}

.gen-access-showcase__controls > a {
  transition: color 320ms var(--ease), opacity 320ms var(--ease);
}

/* Tournament broadcast and bracket */
.page-template-page-tournaments .gen-page-hero {
  padding-top: clamp(104px, 11vw, 158px);
  padding-bottom: clamp(48px, 5.5vw, 76px);
}

.page-template-page-tournaments #gen-content {
  padding-top: clamp(110px, calc(50svh - 328px), 144px);
}

.gen-tournament-broadcast {
  padding-top: 0;
  padding-bottom: clamp(100px, 10vw, 148px);
}

.gen-broadcast-shell {
  display: grid;
  width: min(1160px, 100%);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 38px;
  background: rgba(255, 255, 255, .035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .32);
}

.gen-broadcast-screen {
  position: relative;
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 30px;
  background: #08080b;
}

.gen-broadcast-screen::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 4px);
  content: "";
  pointer-events: none;
}

.gen-broadcast-screen > img,
.gen-broadcast-screen > video,
.gen-broadcast-screen > iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.gen-broadcast-screen > img {
  filter: grayscale(.3) saturate(.55) brightness(.48);
}

.gen-broadcast-screen__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(154, 104, 255, .13), transparent 28%),
    linear-gradient(180deg, rgba(5, 5, 8, .08), rgba(5, 5, 8, .8));
}

.gen-broadcast-screen__status {
  position: absolute;
  top: clamp(18px, 2.4vw, 32px);
  left: clamp(18px, 2.4vw, 32px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(8, 8, 11, .74);
  color: rgba(255, 255, 255, .76);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gen-broadcast-screen__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77737d;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .045);
}

.gen-broadcast-screen.is-live .gen-broadcast-screen__status i {
  background: #e85f68;
  box-shadow: 0 0 0 5px rgba(232, 95, 104, .12);
}

.gen-broadcast-screen__empty {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  padding: 28px;
  text-align: center;
}

.gen-broadcast-screen__play {
  display: grid;
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 0 0 12px rgba(255, 255, 255, .025);
  color: #d8d4df;
  font-size: 23px;
}

.gen-broadcast-screen__empty strong {
  color: #fff;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -.025em;
}

.gen-broadcast-screen__empty p {
  max-width: 46ch;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 1.55;
}

.gen-broadcast-meta {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 4px 0;
}

.gen-broadcast-meta > div {
  min-width: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}

.gen-broadcast-meta small {
  display: block;
  color: #706d77;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gen-broadcast-meta strong {
  display: block;
  margin-top: 7px;
  color: #d6d3dc;
  font-size: 13px;
  font-weight: 650;
}

.gen-broadcast-actions {
  display: flex;
  min-width: 220px;
  align-items: stretch;
  padding: 8px 4px 0 8px;
}

.gen-broadcast-actions .gen-button {
  width: 100%;
  min-height: 100%;
  padding-right: 22px;
  padding-left: 22px;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 18px;
}

body.gen-dialog-open {
  overflow: hidden;
}

.gen-bracket-dialog {
  width: min(1200px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 0%, rgba(154, 104, 255, .12), transparent 34%),
    #09090d;
  box-shadow: 0 36px 120px rgba(0, 0, 0, .72);
  color: var(--text-primary);
}

.gen-bracket-dialog[open] {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
  animation: gen-dialog-in 420ms var(--ease) both;
}

.gen-bracket-dialog::backdrop {
  background: rgba(2, 2, 4, .76);
  backdrop-filter: blur(9px);
  animation: gen-dialog-backdrop-in 320ms ease-out both;
}

@keyframes gen-dialog-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes gen-dialog-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gen-bracket-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 0;
}

.gen-bracket-dialog__head span {
  display: block;
  margin-bottom: 7px;
  color: #8e8995;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gen-bracket-dialog__head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}

.gen-bracket-dialog__head > button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .8);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 300ms var(--ease), background-color 300ms var(--ease), transform 300ms var(--ease);
}

.gen-bracket-dialog__head > button:hover {
  background: rgba(255, 255, 255, .11);
  color: #fff;
  transform: rotate(8deg);
}

.gen-bracket-dialog__intro {
  max-width: 60ch;
  margin: 0;
  padding: 0 10px;
  color: #8d8994;
  font-size: 13px;
  line-height: 1.55;
}

.gen-bracket-shell {
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 0%, rgba(154, 104, 255, .1), transparent 30%),
    rgba(255, 255, 255, .028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

.gen-bracket-dialog .gen-bracket-shell {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.gen-bracket-scroll {
  overflow-x: auto;
  padding: clamp(24px, 4vw, 52px);
  border-radius: 26px;
  background: #0c0c11;
  scrollbar-color: rgba(154, 104, 255, .35) transparent;
}

.gen-bracket-dialog .gen-bracket-scroll {
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.gen-bracket {
  display: grid;
  min-width: 980px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 76px;
}

.gen-bracket__round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 18px;
}

.gen-bracket__round > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #77747e;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gen-bracket__round > header span {
  color: #4e4b54;
  font-variant-numeric: tabular-nums;
}

.gen-bracket__match {
  position: relative;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
}

.gen-bracket__match::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, .095);
  content: "";
}

.gen-bracket__round:last-child .gen-bracket__match::after {
  display: none;
}

.gen-bracket__team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 0 13px;
  border-radius: 12px;
  background: #14141a;
  color: #b8b5bf;
  font-size: 12px;
  font-weight: 650;
}

.gen-bracket__team + .gen-bracket__team {
  margin-top: 3px;
}

.gen-bracket__team i {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: rgba(154, 104, 255, .11);
  color: #b896f7;
  font-size: 9px;
  font-style: normal;
}

.gen-bracket__team b {
  margin-left: auto;
  color: #5f5c65;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.gen-bracket-shell__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 12px 8px;
  color: #77747d;
  font-size: 11px;
}

.gen-bracket-shell__foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gen-bracket-shell__foot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6d6874;
}

@media (max-width: 760px) {
  .page-template-page-about #gen-content {
    padding-top: 100px;
  }

  .gen-about-intro {
    display: block;
    padding-top: 18px;
    padding-bottom: 54px;
  }

  .gen-about-intro h1 {
    max-width: 12ch;
  }

  .gen-about-intro > p {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.62;
  }

  .gen-about-principles h2 {
    margin-top: 32px;
  }

  .gen-about-article {
    padding-top: 72px;
    padding-bottom: 92px;
  }

  .gen .gen-about-article .gen-prose {
    font-size: 15px;
    line-height: 1.72;
  }

  .gen .gen-about-article .gen-prose > p:first-child {
    font-size: 19px;
    line-height: 1.5;
  }

  .gen-page-hero--afisha,
  .page-template-page-about .gen-page-hero {
    padding-top: 28px;
  }

  .page-template-page-about .gen-about-title-flow {
    max-width: 100%;
    font-size: clamp(36px, 10.2vw, 44px);
    letter-spacing: -.03em;
    line-height: .94;
    text-wrap: normal;
  }

  .gen-section-head h2.gen-title-lock,
  .gen-process h2.gen-title-lock,
  .gen-cta h2.gen-title-lock,
  .gen-page-hero .gen-title-lock,
  .gen-about-content__aside .gen-title-lock,
  .gen-content-head .gen-title-lock,
  .gen-ticket-panel__head .gen-title-lock {
    font-size: clamp(25px, 8.1vw, 40px);
    letter-spacing: -.025em;
    line-height: 1;
  }

  .gen-access-showcase {
    width: calc(100% - 8px);
    margin-right: auto;
    margin-left: auto;
    padding: 5px;
    border-radius: 28px;
  }

  .gen-access-showcase__tabs {
    display: flex;
    overflow-x: auto;
    padding: 4px 3px 9px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .gen-access-showcase__tabs::-webkit-scrollbar {
    display: none;
  }

  .gen-access-showcase__tab {
    min-width: max-content;
    flex: 0 0 auto;
    padding: 13px 14px;
    scroll-snap-align: start;
  }

  .gen-access-showcase__stage {
    border-radius: 23px;
  }

  .gen-access-slide {
    grid-template-columns: 1fr;
  }

  .gen-access-slide__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / .62;
  }

  .gen-access-slide__shade {
    background: linear-gradient(0deg, rgba(13, 13, 18, .86), transparent 54%);
  }

  .gen-access-slide__body {
    justify-content: flex-start;
    padding: 22px 20px 19px;
  }

  .gen-access-slide__body h3 {
    margin-top: 13px;
    font-size: clamp(32px, 10.5vw, 42px);
  }

  .gen-access-slide__body > p {
    margin-top: 18px;
    font-size: 14px;
  }

  .gen-access-slide__tags {
    margin-top: 16px;
  }

  .gen-access-slide__footer {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin-top: 22px;
  }

  .gen-access-slide__footer .gen-button {
    width: auto;
    padding: 12px 16px;
    font-size: 11px;
  }

  .gen-access-showcase__controls {
    padding: 11px 5px 5px;
  }

  .gen-access-showcase__dots {
    gap: 7px;
  }

  .gen-access-showcase__dots button {
    width: 43px;
    height: 43px;
    padding: 2px;
  }

  .gen-access-showcase__dots button span {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }

  .gen-access-showcase__controls > a {
    font-size: 11px;
  }

  .gen-broadcast-shell,
  .gen-bracket-shell {
    padding: 5px;
    border-radius: 27px;
  }

  .page-template-page-tournaments .gen-page-hero {
    padding-top: 86px;
    padding-bottom: 52px;
  }

  .page-template-page-tournaments #gen-content {
    padding-top: clamp(170px, calc(50svh - 214px), 208px);
  }

  .gen-broadcast-shell {
    grid-template-columns: 1fr;
  }

  .gen-tournament-broadcast {
    padding-top: 0;
  }

  .gen-broadcast-screen {
    grid-column: 1;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .gen-broadcast-screen > img {
    object-position: 58% center;
  }

  .gen-broadcast-screen__play {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
  }

  .gen-broadcast-screen__empty strong {
    font-size: 25px;
  }

  .gen-broadcast-meta {
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
  }

  .gen-broadcast-meta > div:last-child {
    grid-column: 1 / -1;
  }

  .gen-broadcast-meta > div {
    padding: 15px 14px;
  }

  .gen-broadcast-actions {
    min-width: 0;
    grid-column: 1;
    padding: 11px 4px 4px;
  }

  .gen-broadcast-actions .gen-button {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
  }

  .gen-bracket-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 10px;
    border-radius: 24px;
  }

  .gen-bracket-dialog[open] {
    gap: 11px;
  }

  .gen-bracket-dialog__head {
    padding: 7px 7px 0;
  }

  .gen-bracket-dialog__head h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .gen-bracket-dialog__head > button {
    width: 40px;
    height: 40px;
  }

  .gen-bracket-dialog__intro {
    padding: 0 7px;
    font-size: 12px;
  }

  .gen-bracket-scroll {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .gen-bracket {
    min-width: 840px;
    gap: 48px;
  }

  .gen-bracket__round {
    gap: 10px;
  }

  .gen-bracket__round > header {
    margin-bottom: 6px;
  }

  .gen-bracket__match {
    padding: 4px;
  }

  .gen-bracket__team {
    min-height: 38px;
  }

  .gen-bracket-shell__foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gen-access-slide,
  .gen-access-slide__media img,
  .gen-bracket-dialog,
  .gen-bracket-dialog::backdrop {
    animation: none;
    transition: none;
  }
}

/* Integrated account, tournament and commerce surfaces */
.page-template-page-lk #gen-content,
.page-template-page-tournaments #gen-content,
.page-template-page-topup #gen-content,
.page-template-page-cashier #gen-content,
.page-template-page-pos #gen-content,
.page-template-page-scanner #gen-content,
.page-template-page-shop #gen-content,
.page-template-page-xshop-credit #gen-content {
  min-height: 72dvh;
}

.page-template-page-lk #gen-content {
  padding-top: 0;
}

.page-template-page-lk #gen-content > section {
  padding-top: clamp(72px, 6vw, 88px);
  padding-bottom: clamp(84px, 9vw, 132px);
}

.page-template-page-lk #gen-content > section > .flex.items-center.justify-between {
  min-height: 96px;
  padding: 0 4px 24px;
}

.page-template-page-lk #gen-content > section > .flex.items-center.justify-between h1 {
  max-width: 18ch;
  margin-top: 8px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 650;
  line-height: .98;
  text-wrap: balance;
}

.page-template-page-lk #gen-content > section > .flex.items-center.justify-between button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, .035);
  color: var(--text-secondary) !important;
}

.x4-profile,
.x4t-team-summary,
.x4t-team-form,
.x4t-gate,
.x4t-invite,
.x4t-my-team {
  border-color: rgba(255, 255, 255, .075);
  background: rgba(255, 255, 255, .035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 22px 70px rgba(0, 0, 0, .12);
}

.x4-profile {
  overflow: hidden;
  margin-top: 0;
  border-radius: 30px;
}

.x4-profile__head {
  min-height: 104px;
  align-items: center;
  padding: 22px 26px;
}

.x4-profile__head-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.x4-profile__mode-toggle,
.x4-profile__logout button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 650;
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    transform 360ms var(--ease);
}

.x4-profile__mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
}

.x4-profile__logout button {
  padding: 0 17px;
}

.x4-profile__mode-toggle:hover,
.x4-profile__logout button:hover {
  border-color: rgba(154, 104, 255, .46);
  background: rgba(154, 104, 255, .09);
  color: var(--text-primary);
}

.x4-profile__mode-toggle:active,
.x4-profile__logout button:active {
  transform: scale(.98);
}

.x4-profile__mode-icon {
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 420ms var(--ease);
}

.x4-profile.is-esports-mode .x4-profile__mode-icon {
  transform: rotate(135deg);
}

.x4-profile__head h2,
.x4t-section-head h2,
.x4t-lk__head h2,
.x4t-team-summary__head h3,
.x4t-gate h3,
.x4t-invite h3,
.x4-profile__esports-title strong {
  font-family: var(--font-display);
  letter-spacing: -.025em;
  text-transform: none;
}

.x4-profile__head h2 {
  margin-top: 8px;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 650;
  line-height: 1.24;
}

.x4t-kicker,
.x4t-flow__item > span,
.x4t-field > span,
.x4-profile__steam-state,
.x4t-status,
.x4t-roster__role,
.x4t-roster__state,
.x4t-invite span,
.x4t-invite a,
.x4t-my-team span,
.x4t-my-team small {
  font-family: "JetBrains Mono", monospace;
}

.x4-profile__form,
.x4-profile__esports,
.x4-profile__esports-grid,
.x4-profile__footer {
  border-color: rgba(255, 255, 255, .07);
}

.x4-profile__grid,
.x4-profile__esports-grid {
  gap: 14px;
  padding: 20px 26px;
}

.x4-profile__panel[hidden] {
  display: none !important;
}

.x4-profile__panel.is-panel-entering {
  animation: gen-profile-mode-in 560ms var(--ease) both;
}

.x4-profile.is-mode-switching .x4-profile__form {
  opacity: .2;
  transform: translate3d(0, 5px, 0);
}

.x4-profile__form {
  transition:
    opacity 260ms var(--ease),
    transform 260ms var(--ease);
}

@keyframes gen-profile-mode-in {
  from {
    opacity: 0;
    transform: translate3d(0, 9px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.x4-profile__esports-head {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .018);
}

.x4-profile__esports {
  border-top: 0;
}

.x4-profile__esports-title strong {
  margin-top: 7px;
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 650;
}

.x4-profile__steam-state,
.x4t-status {
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
}

.x4-profile__esports-grid {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  border-top: 0;
}

@keyframes gen-profile-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.x4-profile__footer {
  min-height: 62px;
  padding: 9px 26px;
}

.x4-profile__footer p {
  margin-right: auto;
}

.x4t-field input,
.page-template-page-lk input:not([type="checkbox"]),
.page-template-page-lk textarea,
.page-template-page-lk select,
.page-template-page-topup input,
.page-template-page-cashier input,
.page-template-page-cashier select,
.page-template-page-pos input,
.page-template-page-pos select,
.page-template-page-scanner input,
.page-template-page-shop input,
.page-template-page-xshop-credit input,
.page-template-page-xshop-credit select {
  min-height: 52px;
  border-color: rgba(255, 255, 255, .09) !important;
  border-radius: 14px !important;
  background: rgba(3, 3, 4, .58) !important;
  color: var(--text-primary);
  font-family: var(--font-sans) !important;
  font-size: 15px;
  letter-spacing: 0;
  transition:
    border-color 360ms var(--ease),
    background-color 360ms var(--ease),
    box-shadow 360ms var(--ease);
}

.x4t-field input:hover,
.x4t-field input:focus,
.page-template-page-lk input:not([type="checkbox"]):focus,
.page-template-page-topup input:focus,
.page-template-page-cashier input:focus,
.page-template-page-pos input:focus,
.page-template-page-xshop-credit input:focus {
  border-color: rgba(154, 104, 255, .62) !important;
  background: rgba(20, 18, 27, .88) !important;
  box-shadow: inset 0 0 0 1px rgba(154, 104, 255, .08);
  outline: 0;
}

.x4t-field--readonly input,
.x4t-field--readonly input:hover,
.x4t-field--readonly input:focus {
  border-color: rgba(255, 255, 255, .055) !important;
  background: rgba(255, 255, 255, .025) !important;
  box-shadow: none;
}

.x4t-button,
.page-template-page-topup button,
.page-template-page-cashier button,
.page-template-page-pos button,
.page-template-page-scanner button,
.page-template-page-shop button,
.page-template-page-xshop-credit button {
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    opacity 360ms var(--ease),
    transform 360ms var(--ease);
}

.x4t-button:hover,
.page-template-page-topup button:hover,
.page-template-page-cashier button:hover,
.page-template-page-pos button:hover,
.page-template-page-shop button:hover,
.page-template-page-xshop-credit button:hover {
  transform: translateY(-2px);
}

.x4t-button:active,
.page-template-page-topup button:active,
.page-template-page-cashier button:active,
.page-template-page-pos button:active,
.page-template-page-shop button:active,
.page-template-page-xshop-credit button:active {
  transform: translateY(0) scale(.985);
}

.x4t-page {
  overflow: clip;
  background: var(--bg-primary);
}

.x4t-shell {
  width: var(--shell);
  max-width: 1440px;
}

.x4t-hero {
  padding: clamp(76px, 8vw, 116px) 0 clamp(54px, 6vw, 82px);
  border: 0;
}

.x4t-hero__grid {
  align-items: end;
  gap: clamp(40px, 7vw, 112px);
}

.x4t-hero__title {
  max-width: 13ch;
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .88;
  text-transform: none;
  text-wrap: balance;
}

.x4t-hero__copy {
  max-width: 48rem;
  margin-top: 28px !important;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.25vw, 19px);
}

.x4t-hero__meta {
  overflow: hidden;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.x4t-hero__meta span {
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  color: var(--text-secondary);
}

.x4t-flow {
  border: 0;
}

.x4t-flow__grid {
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 30px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.x4t-flow__item,
.x4t-flow__item:last-child,
.x4t-flow__item:nth-child(2) {
  min-height: 210px;
  padding: 26px 24px 28px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, .025);
}

.x4t-flow__item strong {
  margin-top: 54px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -.015em;
  text-transform: none;
}

.x4t-flow__item p {
  max-width: 31ch;
  margin-top: 10px !important;
}

.x4t-registration {
  padding: clamp(94px, 10vw, 148px) 0;
}

.x4t-section-head {
  padding-bottom: 32px;
  border-color: rgba(255, 255, 255, .075);
}

.x4t-section-head h2,
.x4t-lk__head h2 {
  max-width: 17ch;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 650;
}

.x4t-gate,
.x4t-team-summary,
.x4t-team-form {
  overflow: hidden;
  border-radius: 28px;
}

.x4t-gate {
  padding: clamp(26px, 4vw, 52px);
}

.x4t-gate h3 {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 650;
}

.x4t-team-summary__head {
  min-height: 144px;
  padding: 28px 30px;
  border-color: rgba(255, 255, 255, .07);
}

.x4t-team-summary__head h3 {
  font-weight: 650;
}

.x4t-roster {
  gap: 1px;
  background: rgba(255, 255, 255, .07);
}

.x4t-roster__row,
.x4t-roster__row:nth-child(2n) {
  border: 0;
  background: #111116;
}

.x4t-form-section,
.x4t-form-section--identity {
  border-color: rgba(255, 255, 255, .07);
}

.x4t-form-section__head > span {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.015em;
  text-transform: none;
}

.x4t-captain-card {
  border: 0;
  border-radius: 17px;
  background: rgba(154, 104, 255, .095);
  box-shadow: inset 0 0 0 1px rgba(154, 104, 255, .19);
}

.x4t-form-submit {
  min-height: 86px;
  background: rgba(255, 255, 255, .025);
}

.x4t-notice,
.x4t-moderation-comment,
.x4t-locked-note,
.x4t-approved-note {
  border-radius: 16px;
}

.x4t-lk {
  margin-top: 72px;
  padding-top: 48px;
  border-color: rgba(255, 255, 255, .075);
}

.x4t-invite,
.x4t-my-team {
  overflow: hidden;
  border-radius: 20px;
}

.x4t-my-team {
  transition:
    border-color 420ms var(--ease),
    background-color 420ms var(--ease),
    transform 420ms var(--ease);
}

.x4t-my-team:hover {
  background: rgba(255, 255, 255, .055);
}

.page-template-page-lk #gen-content > section > .grid > div,
.page-template-page-lk #gen-content > section > .border,
.page-template-page-shop #gen-content > section .border,
.page-template-page-topup #gen-content > main > .border,
.page-template-page-topup #gen-content > main > form,
.page-template-page-cashier #gc-positions > div,
.page-template-page-cashier #gc-result > div {
  border-color: rgba(255, 255, 255, .075) !important;
  border-radius: 22px;
  background: rgba(255, 255, 255, .035) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.page-template-page-lk #gen-content > section > .grid > .flex {
  background: transparent !important;
  box-shadow: none;
}

.page-template-page-lk #gen-content > section > .grid > .flex > div {
  border-radius: 22px;
  background: rgba(255, 255, 255, .035) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.page-template-page-lk #gen-content > section > .grid img,
.page-template-page-lk #gen-content > section > .grid .x4qr {
  border-radius: 12px;
}

.page-template-page-lk #gen-content > section > .mx-auto.max-w-\[460px\] {
  width: min(100%, 520px);
  max-width: none;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 28px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.page-template-page-lk #gen-content > section > .mx-auto.max-w-\[460px\] a,
.page-template-page-lk #gen-content > section > .mx-auto.max-w-\[460px\] button {
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    transform 360ms var(--ease);
}

.page-template-page-topup #gen-content > main,
.page-template-page-cashier #gen-content > section,
.page-template-page-pos #gen-content > section,
.page-template-page-scanner #gen-content > section,
.page-template-page-shop #gen-content > section,
.page-template-page-xshop-credit #gen-content > section {
  padding-top: clamp(112px, 11vw, 154px);
  padding-bottom: clamp(84px, 9vw, 124px);
}

.page-template-page-topup #gen-content > main > div:first-child,
.page-template-page-cashier #gen-content > section > div:first-child,
.page-template-page-pos #gen-content > section > div:first-child,
.page-template-page-shop #gen-content > section > div:first-child,
.page-template-page-xshop-credit #gen-content > section > div:first-child {
  border-color: rgba(255, 255, 255, .075) !important;
}

.page-template-page-shop #gen-content .grid > .flex {
  overflow: hidden;
  border-radius: 22px;
  transition:
    border-color 420ms var(--ease),
    background-color 420ms var(--ease),
    transform 420ms var(--ease);
}

.page-template-page-shop #gen-content .grid > .flex:hover {
  border-color: rgba(154, 104, 255, .4) !important;
  transform: translateY(-4px);
}

.gen-ticket-auth-note {
  border-radius: 20px;
  background: rgba(154, 104, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(154, 104, 255, .16);
}

.gen-ticket-card__soldout--closed {
  background: rgba(255, 255, 255, .045);
  color: var(--text-muted);
}

.gen-ticket-benefits {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
}

.gen-ticket-benefits li {
  position: relative;
  padding-left: 17px;
}

.gen-ticket-benefits li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--volt);
  content: "";
}

/* Paid order confirmation */
.woocommerce-order-received #gen-content {
  padding-top: 104px;
}

.woocommerce-order-received #gen-content > div.border-b:first-child {
  width: var(--shell);
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075) !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.woocommerce-order-received #gen-content > section.border-b {
  width: var(--shell);
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075) !important;
  border-radius: 30px;
  background: rgba(255, 255, 255, .035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 22px 70px rgba(0, 0, 0, .14);
}

.woocommerce-order-received #gen-content > section.border-b > div > div:first-child {
  border-color: rgba(255, 255, 255, .07) !important;
}

.woocommerce-order-received #gen-content > section.border-b h1 {
  font-size: clamp(48px, 7vw, 94px) !important;
  font-weight: 700;
  letter-spacing: -.045em !important;
  line-height: .86 !important;
  text-transform: none !important;
}

.woocommerce-order-received #gen-content > section.border-b h1 span {
  margin-top: 5px;
  padding: 2px 13px 7px !important;
  border-radius: 13px;
}

.woocommerce-order-received .gen-ty-check svg {
  width: 58px;
  height: 58px;
}

.woocommerce-order-received .gen-ty-check rect {
  rx: 18px;
  ry: 18px;
}

.woocommerce-order-received #gen-content > section.border-b a[style*="background:var(--volt)"] {
  margin: 8px;
  border: 0 !important;
  border-radius: 22px;
  background: #9363ef !important;
  font-family: var(--font-display);
  letter-spacing: -.025em;
  text-transform: none;
  transition:
    background-color 420ms var(--ease),
    transform 420ms var(--ease);
}

.woocommerce-order-received #gen-content > section.border-b a[style*="background:var(--volt)"]:hover {
  background: #a878ff !important;
  transform: translateY(-2px);
}

.woocommerce-order-received #gen-content > .gen.mx-auto {
  width: var(--shell);
  max-width: 1440px;
  padding-right: 0;
  padding-left: 0;
}

.woocommerce-order-received #gen-content > .gen.mx-auto > section {
  margin-top: clamp(72px, 8vw, 112px);
}

.woocommerce-order-received #gen-content > .gen.mx-auto h2,
.woocommerce-order-received #gen-content > section.border-t h2 {
  font-weight: 650;
  letter-spacing: -.03em;
  text-transform: none;
}

.woocommerce-order-received #gen-content > .gen.mx-auto .grid > .border {
  overflow: hidden;
  border-color: rgba(255, 255, 255, .075) !important;
  border-radius: 22px;
  background: rgba(255, 255, 255, .035) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.woocommerce-order-received #gen-content > .gen.mx-auto .grid > .border img {
  border-radius: 9px;
}

.woocommerce-order-received #gen-content > .gen.mx-auto .grid > .border span[style*="background:#fff"] {
  border-radius: 13px;
}

.woocommerce-order-received #gen-content > section.border-t {
  width: var(--shell);
  margin-top: clamp(72px, 8vw, 112px);
  margin-right: auto;
  margin-left: auto;
  border: 0 !important;
}

.woocommerce-order-received #gen-content > section.border-t > div {
  max-width: 1440px;
  padding: 0 0 clamp(94px, 10vw, 144px);
}

.woocommerce-order-received #gen-content > section.border-t .grid.border {
  overflow: hidden;
  border-color: rgba(255, 255, 255, .075) !important;
  border-radius: 24px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

@media (max-width: 700px) {
  .woocommerce-checkout .gen-page-hero {
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .woocommerce-checkout .gen-page-hero h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .gen-checkout-right {
    border-radius: 21px;
  }

  .woocommerce-order-received #gen-content {
    padding-top: 88px;
  }

  .woocommerce-order-received #gen-content > div.border-b:first-child,
  .woocommerce-order-received #gen-content > section.border-b,
  .woocommerce-order-received #gen-content > .gen.mx-auto,
  .woocommerce-order-received #gen-content > section.border-t {
    width: calc(100% - 28px);
  }

  .woocommerce-order-received #gen-content > section.border-b {
    border-radius: 24px;
  }

  .woocommerce-order-received #gen-content > section.border-b h1 {
    font-size: clamp(44px, 14vw, 62px) !important;
  }

  .woocommerce-order-received #gen-content > section.border-b a[style*="background:var(--volt)"] {
    min-height: 140px;
    margin: 6px;
    border-radius: 19px;
  }

  .woocommerce-order-received #gen-content > .gen.mx-auto .grid > .border,
  .woocommerce-order-received #gen-content > section.border-t .grid.border {
    border-radius: 20px;
  }
}

@media (max-width: 960px) {
  .x4t-hero__grid,
  .x4t-section-head,
  .x4t-lk__head {
    gap: 28px;
  }

  .x4t-hero__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .x4t-form-section,
  .x4t-form-section--identity {
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .page-template-page-lk #gen-content > section,
  .page-template-page-topup #gen-content > main,
  .page-template-page-cashier #gen-content > section,
  .page-template-page-pos #gen-content > section,
  .page-template-page-scanner #gen-content > section,
  .page-template-page-shop #gen-content > section,
  .page-template-page-xshop-credit #gen-content > section {
    width: calc(100% - 28px);
    padding-top: 92px;
    padding-right: 0;
    padding-bottom: 76px;
    padding-left: 0;
  }

  .page-template-page-lk #gen-content > section > .flex.items-center.justify-between {
    align-items: flex-end;
    gap: 18px;
  }

  .page-template-page-lk #gen-content > section > .flex.items-center.justify-between h1 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .x4-profile {
    border-radius: 24px;
  }

  .x4-profile__head {
    min-height: 112px;
    padding: 23px 20px;
  }

  .x4-profile__head h2 {
    font-size: 40px;
  }

  .x4-profile__grid,
  .x4-profile__esports-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 22px 20px;
  }

  .x4-profile__steam-field {
    grid-column: auto;
  }

  .x4-profile__esports > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 92px;
    gap: 12px;
    padding: 18px 20px;
  }

  .x4-profile__esports > summary .x4-profile__steam-state {
    display: none;
  }

  .x4-profile__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .x4-profile__footer .x4t-button {
    width: 100%;
  }

  .x4t-hero {
    padding: 66px 0 48px;
  }

  .x4t-hero__title {
    max-width: 12ch;
    font-size: clamp(44px, 14vw, 66px);
  }

  .x4t-hero__meta {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(154px, 1fr));
    border-radius: 20px;
    scrollbar-width: none;
  }

  .x4t-flow__grid {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(238px, 1fr));
    border-radius: 24px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .x4t-flow__grid::-webkit-scrollbar,
  .x4t-hero__meta::-webkit-scrollbar {
    display: none;
  }

  .x4t-flow__item,
  .x4t-flow__item:last-child,
  .x4t-flow__item:nth-child(2) {
    min-height: 196px;
    scroll-snap-align: start;
  }

  .x4t-flow__item strong {
    margin-top: 42px;
  }

  .x4t-registration {
    padding: 80px 0 96px;
  }

  .x4t-section-head h2,
  .x4t-lk__head h2 {
    font-size: clamp(37px, 11vw, 50px);
  }

  .x4t-gate,
  .x4t-team-summary,
  .x4t-team-form {
    border-radius: 22px;
  }

  .x4t-team-summary__head,
  .x4t-form-section,
  .x4t-form-section--identity {
    padding: 22px 18px;
  }

  .x4t-fields-grid,
  .x4t-fields-grid--optional {
    grid-template-columns: 1fr;
  }

  .x4t-roster__row,
  .x4t-roster__row:nth-child(2n) {
    grid-template-columns: minmax(88px, .55fr) minmax(0, 1fr);
    padding-right: 16px;
    padding-left: 16px;
  }

  .x4t-invite-list,
  .x4t-my-teams {
    grid-template-columns: 1fr;
  }

  .x4t-my-team {
    grid-template-columns: minmax(74px, .5fr) minmax(0, 1fr);
  }

  .x4t-my-team small {
    grid-column: 1 / -1;
    text-align: left;
  }

  .page-template-page-lk #gen-content > section > .mx-auto.max-w-\[460px\] {
    padding: 24px 18px;
    border-radius: 23px;
  }

  .page-template-page-lk #gen-content > section > .mx-auto.max-w-\[460px\] .flex.gap-3,
  .page-template-page-cashier #gen-content .flex.gap-3,
  .page-template-page-pos #gen-content .flex.gap-3 {
    flex-direction: column;
  }

  .page-template-page-shop #gen-content .grid.grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .x4-profile__esports-grid {
    animation: none;
  }
}

/* Unified account navigation and real WooCommerce order history. */
.x4-account-overview {
  display: flex;
  flex-direction: column;
}

.x4-account-overview > .x4-account-nav {
  order: 1;
  margin-top: 0;
}

.x4-account-overview > .x4-account-dashboard {
  order: 2;
  margin-top: 14px !important;
}

.x4-account-overview > .x4-profile {
  order: 3;
  margin-top: 18px;
}

.x4-account-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  padding: 1px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
}

.x4-account-nav a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: #101014;
  color: var(--text-secondary);
  font-size: 13px;
  transition: color 360ms var(--ease), background-color 360ms var(--ease);
}

.x4-account-nav a:hover {
  background: #17151d;
  color: var(--text-primary);
}

.x4-account-nav strong {
  overflow: hidden;
  color: var(--volt);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.x4-account-orders {
  margin-top: 74px;
  scroll-margin-top: 100px;
}

.x4-account-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.x4-account-section-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.x4-account-section-head span {
  color: var(--text-muted);
  font-size: 12px;
}

.x4-account-section-head h2 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.x4-account-section-head > a,
.x4-account-empty a {
  color: var(--volt);
  font-size: 12px;
  font-weight: 700;
}

.x4-order-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.x4-order-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 24px;
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.x4-order-card > summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  transition: background-color 360ms var(--ease);
}

.x4-order-card > summary::-webkit-details-marker {
  display: none;
}

.x4-order-card > summary:hover {
  background: rgba(255, 255, 255, .025);
}

.x4-order-card[open] > summary {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.x4-order-card > summary > div {
  display: grid;
  gap: 5px;
}

.x4-order-card > summary > div:first-child {
  flex: 1;
}

.x4-order-card > summary > div:nth-child(2) {
  justify-items: end;
  text-align: right;
}

.x4-order-card > summary span,
.x4-order-card > summary time {
  color: var(--text-muted);
  font-size: 11px;
}

.x4-order-card > summary strong {
  color: var(--text-primary);
  font-size: 17px;
}

.x4-order-chevron {
  width: 9px;
  height: 9px;
  flex: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 420ms var(--ease), color 360ms var(--ease);
}

.x4-order-card[open] .x4-order-chevron {
  color: var(--volt);
  transform: rotate(225deg) translate(-2px, -2px);
}

.x4-order-status {
  color: var(--text-secondary) !important;
}

.x4-order-status--processing,
.x4-order-status--completed {
  color: var(--volt) !important;
}

.x4-order-status--failed,
.x4-order-status--cancelled,
.x4-order-status--refunded {
  color: var(--accent-red) !important;
}

.x4-order-items {
  display: grid;
  gap: 10px;
  padding: 18px 22px;
}

.x4-order-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-secondary);
  font-size: 13px;
}

.x4-order-items strong {
  flex: none;
  color: var(--text-primary);
}

.x4-order-card__body > section {
  margin: 0;
  padding: 4px 22px 22px;
}

.x4-order-card__body > section > .grid > div {
  border-radius: 18px;
}

.x4-order-note,
.x4-account-empty {
  margin: 0;
  padding: 20px 22px;
  color: var(--text-muted);
  font-size: 13px;
}

.x4-account-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
}

.gen-cart-fab {
  display: none;
}

@media (max-width: 767px) {
  .gen-cart-fab {
    display: grid;
  }

  .x4-account-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .x4-account-nav a {
    padding: 14px;
  }

  .x4-account-orders {
    margin-top: 56px;
  }

  .x4-account-section-head {
    align-items: start;
  }

  .x4-account-section-head > div {
    align-items: baseline;
  }

  .x4-account-section-head h2 {
    max-width: 13ch;
    font-size: 20px;
  }

  .x4-order-card {
    border-radius: 20px;
  }

  .x4-order-card > summary {
    align-items: start;
    gap: 14px;
    padding: 17px 16px;
  }

  .x4-order-items {
    padding: 16px;
  }

  .x4-order-card__body > section {
    padding: 2px 16px 16px;
  }

  .x4-order-card__body > section .grid {
    grid-template-columns: 1fr;
  }

  .x4-account-empty {
    align-items: start;
    flex-direction: column;
    padding: 18px;
  }
}

/* Functional pages: shared layout rhythm and lightweight motion. */
.page-template-page-lk .x4-account-hero {
  padding-right: 6px;
  padding-left: 6px;
}

.page-template-page-lk .x4-account-hero form button,
.x4-account-dashboard a,
.x4-account-dashboard button,
.x4-account-ledger a,
.x4-account-redemptions a,
.x4-account-redemptions button {
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    opacity 360ms var(--ease),
    transform 360ms var(--ease);
}

.page-template-page-lk .x4-account-hero form button:hover,
.x4-account-dashboard a:hover,
.x4-account-dashboard button:hover,
.x4-account-ledger a:hover,
.x4-account-redemptions a:hover,
.x4-account-redemptions button:hover {
  color: var(--text-primary) !important;
}

.x4-account-dashboard {
  align-items: stretch;
}

.x4-account-pass,
.x4-account-wallet,
.x4-account-telegram,
.x4-account-status-grid > div,
.x4-account-redemptions .grid > div {
  border-color: rgba(255, 255, 255, .075) !important;
  background: rgba(255, 255, 255, .035) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  transition:
    border-color 480ms var(--ease),
    background-color 480ms var(--ease),
    box-shadow 480ms var(--ease),
    transform 480ms var(--ease);
}

.x4-account-pass {
  display: flex;
  min-height: 100%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  padding: clamp(26px, 3vw, 38px) !important;
}

.x4-account-pass__title {
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.x4-account-pass > .x4-account-pass__qr {
  width: min(100%, 324px);
  margin-top: 22px;
  padding: 12px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  line-height: 0;
}

.x4-account-pass__qr img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
}

.x4-account-pass__copy {
  max-width: 34ch;
  margin: 20px 0 0 !important;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  text-wrap: pretty;
}

.x4-account-pass__form {
  width: 100%;
  margin-top: 17px;
}

.x4-account-pass__form button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, .035);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition:
    color 360ms var(--ease),
    border-color 360ms var(--ease),
    background-color 360ms var(--ease),
    transform 360ms var(--ease);
}

.x4-account-pass__form button:hover {
  border-color: rgba(154, 104, 255, .5);
  background: rgba(154, 104, 255, .1);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.x4-account-side {
  min-width: 0;
}

.x4-account-status-grid {
  gap: 1px !important;
  overflow: hidden;
  padding: 1px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .075);
}

.x4-account-status-grid > div {
  border: 0 !important;
  border-radius: 19px !important;
}

.x4-account-ledger,
.x4-account-redemptions {
  scroll-margin-top: 108px;
}

.x4-account-ledger > div:first-child,
.x4-account-redemptions > div:first-child {
  min-height: 48px;
}

.x4-account-ledger > div:nth-child(2) > div,
.x4-account-redemptions .grid > div {
  transition:
    border-color 420ms var(--ease),
    background-color 420ms var(--ease),
    transform 420ms var(--ease);
}

.x4-account-ledger > div:nth-child(2) > div:hover {
  background: rgba(255, 255, 255, .025);
}

.x4-order-card__body {
  transform-origin: top center;
}

.x4-order-card[open] .x4-order-card__body {
  animation: gen-functional-panel-in 520ms var(--ease) both;
}

.gen-topup-page {
  width: min(100%, 620px);
  max-width: none;
}

.gen-topup-head {
  margin-bottom: 22px;
  padding: 0 6px 24px;
}

.gen-topup-head h1 {
  max-width: 10ch;
  font-size: clamp(38px, 5.2vw, 58px) !important;
  font-weight: 650;
  line-height: .96 !important;
  text-transform: none !important;
  text-wrap: balance;
}

.gen-topup-head p:last-child {
  max-width: 48ch;
  font-size: 14px;
}

.gen-topup-panel {
  padding: clamp(24px, 4vw, 34px) !important;
  border-radius: 24px !important;
  transition:
    border-color 460ms var(--ease),
    background-color 460ms var(--ease),
    box-shadow 460ms var(--ease),
    transform 460ms var(--ease);
}

.gen-topup-panel input {
  font-variant-numeric: tabular-nums;
}

.gen-cart-group,
.gen-cart-addons,
.gen-cart-recommendations,
.gen-cart-summary-column {
  will-change: auto;
}

.gen-cart-group,
.gen-cart-addon,
.gen-cart-recommendation,
.gen-cart-summary {
  transition:
    border-color 480ms var(--ease),
    background-color 480ms var(--ease),
    box-shadow 480ms var(--ease),
    transform 480ms var(--ease);
}

.gen-cart-group:hover,
.gen-cart-addon:hover,
.gen-cart-recommendation:hover {
  border-color: rgba(154, 104, 255, .3) !important;
  background: rgba(255, 255, 255, .045) !important;
}

.gen-cart-clear,
.gen-cart-remove,
.gen-cart-qty button,
.gen-checkout-btn,
.gen-checkout-form button,
.gen-checkout-form a {
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    opacity 360ms var(--ease),
    transform 360ms var(--ease) !important;
}

.gen-cart-clear:active,
.gen-cart-remove:active,
.gen-cart-qty button:active,
.gen-checkout-btn:active,
.gen-checkout-form button:active {
  transform: scale(.975);
}

.gen-checkout-grid.is-reveal-pending .gen-checkout-left,
.gen-checkout-grid.is-reveal-pending .gen-checkout-right {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.gen-checkout-grid .gen-checkout-left,
.gen-checkout-grid .gen-checkout-right {
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

.gen-checkout-grid.is-revealed .gen-checkout-right {
  transition-delay: 90ms;
}

.gen-checkout-left .form-row input,
.gen-checkout-left .form-row textarea,
.gen-checkout-left .form-row select {
  transition:
    border-color 360ms var(--ease),
    background-color 360ms var(--ease),
    box-shadow 360ms var(--ease);
}

.woocommerce-order-received #gen-content > section.border-b > div > div,
.woocommerce-order-received #gen-content > .gen.mx-auto > section,
.woocommerce-order-received #gen-content > section.border-t > div {
  animation: gen-functional-page-in 760ms var(--ease) both;
}

.woocommerce-order-received #gen-content > section.border-b > div > div:nth-child(2),
.woocommerce-order-received #gen-content > .gen.mx-auto > section:nth-child(2),
.woocommerce-order-received #gen-content > section.border-t > div {
  animation-delay: 90ms;
}

@keyframes gen-functional-page-in {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes gen-functional-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .x4-account-pass:hover,
  .x4-account-wallet:hover,
  .x4-account-telegram:hover,
  .x4-account-redemptions .grid > div:hover,
  .gen-topup-panel:hover {
    border-color: rgba(154, 104, 255, .28) !important;
    background: rgba(255, 255, 255, .045) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .065),
      0 18px 48px rgba(0, 0, 0, .12);
    transform: translate3d(0, -3px, 0);
  }
}

@media (max-width: 767px) {
  .page-template-page-lk #gen-content > section {
    width: min(100% - 24px, 1440px);
    padding-top: 78px;
  }

  .x4-profile__head {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px;
  }

  .x4-profile__head h2 {
    margin-top: 5px;
    font-size: 34px;
    line-height: 1.15;
  }

  .x4-profile__head-actions {
    display: contents;
  }

  .x4-profile__mode-toggle,
  .x4-profile__logout button {
    min-height: 38px;
    font-size: 11px;
  }

  .x4-profile__mode-toggle {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    padding: 0 13px;
    text-align: left;
  }

  .x4-profile__logout {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .x4-profile__logout button {
    min-height: 32px;
    padding: 0 12px;
    border-color: transparent;
    background: transparent;
  }

  .x4-profile__grid,
  .x4-profile__esports-grid {
    gap: 12px;
    padding: 17px 18px;
  }

  .x4-profile__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .x4-profile__grid > .x4t-field:nth-child(3) {
    grid-column: 1 / -1;
  }

  .x4-profile__esports-grid {
    grid-template-columns: 1fr;
  }

  .x4-profile__esports-head {
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
  }

  .x4-profile__esports-head .x4-profile__steam-state {
    align-self: center;
    padding: 7px 8px;
    font-size: 8px;
  }

  .x4-profile__footer {
    min-height: 58px;
    padding: 8px 18px;
  }

  .x4-account-nav {
    margin-top: 14px;
  }

  .page-template-page-lk .x4-account-hero {
    min-height: 0 !important;
    align-items: flex-start !important;
    gap: 18px;
    padding: 0 2px 20px !important;
  }

  .page-template-page-lk .x4-account-hero h1 {
    max-width: 10ch !important;
    margin-top: 6px !important;
    font-size: clamp(31px, 10vw, 42px) !important;
    line-height: .96 !important;
  }

  .page-template-page-lk .x4-account-hero form button {
    min-height: 38px !important;
    padding: 0 13px !important;
  }

  .x4-account-dashboard {
    gap: 14px !important;
  }

  .x4-account-pass,
  .x4-account-wallet,
  .x4-account-telegram {
    padding: 22px !important;
  }

  .x4-account-pass > .x4-account-pass__qr {
    width: min(100%, 280px);
    margin-top: 18px;
    padding: 10px;
  }

  .x4-account-pass__title {
    font-size: 18px;
  }

  .x4-account-pass__copy {
    margin-top: 18px !important;
  }

  .x4-account-pass__form {
    margin-top: 15px;
  }

  .x4-account-pass {
    padding: 22px 16px !important;
  }

  .x4-account-side {
    gap: 14px !important;
  }

  .x4-account-status-grid {
    gap: 1px !important;
  }

  .x4-account-status-grid > div {
    min-width: 0;
    padding: 16px !important;
  }

  .x4-account-status-grid > div > div:last-child {
    overflow-wrap: anywhere;
  }

  .x4-account-ledger,
  .x4-account-redemptions {
    margin-top: 48px !important;
  }

  .gen-topup-page {
    width: min(100% - 24px, 620px);
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .gen-topup-head {
    padding-right: 2px;
    padding-left: 2px;
  }

  .gen-topup-panel {
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }

  .gen-cart-group:hover,
  .gen-cart-addon:hover,
  .gen-cart-recommendation:hover {
    border-color: var(--border-subtle) !important;
    transform: none;
  }

  .gen-checkout-grid.is-revealed .gen-checkout-right {
    transition-delay: 40ms;
  }
}

@media (max-width: 340px) {
  .x4-profile__grid input {
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .x4-order-card[open] .x4-order-card__body,
  .woocommerce-order-received #gen-content > section.border-b > div > div,
  .woocommerce-order-received #gen-content > .gen.mx-auto > section,
  .woocommerce-order-received #gen-content > section.border-t > div {
    animation: none;
  }

  .gen-checkout-grid .gen-checkout-left,
  .gen-checkout-grid .gen-checkout-right {
    opacity: 1;
    transform: none;
  }
}

/* Customer QA: readable mobile hero and collision-proof event cards. */
@media (max-width: 760px) {
  .home .gen-hero__shade {
    background:
      radial-gradient(ellipse 82% 56% at 50% 46%, rgba(3, 3, 4, .66) 0%, rgba(3, 3, 4, .5) 46%, rgba(3, 3, 4, .2) 76%, rgba(3, 3, 4, .58) 100%),
      linear-gradient(180deg, rgba(3, 3, 4, .3), rgba(3, 3, 4, .9));
    opacity: calc(.42 + var(--hero-progress) * .58);
  }

  .home .gen-hero h1 {
    text-shadow: 0 3px 24px rgba(0, 0, 0, .92), 0 1px 2px rgba(0, 0, 0, .96);
  }

  .home .gen-hero__content > p {
    color: rgba(255, 255, 255, .98);
    line-height: 1.52;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .98), 0 1px 2px #000;
  }

  .gen-event-card__headline,
  .gen-home-afisha-grid .gen-event-card__headline,
  .gen-listing-grid .gen-event-card__headline {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start !important;
    align-items: start !important;
    gap: 10px !important;
    width: 100%;
    min-width: 0;
  }

  .gen-event-card__headline h3,
  .gen-home-afisha-grid .gen-event-card__headline h3,
  .gen-listing-grid .gen-event-card__headline h3 {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    overflow-wrap: anywhere;
  }

  .gen-event-card__side,
  .gen-home-afisha-grid .gen-event-card__side,
  .gen-listing-grid .gen-event-card__side {
    position: static !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .gen-event-card__side .font-display,
  .gen-home-afisha-grid .gen-event-card__side .font-display,
  .gen-listing-grid .gen-event-card__side .font-display {
    display: block;
    max-width: 100%;
    font-size: 16px !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  .gen-ticket-card__register {
    width: 100%;
  }
}
