* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #8cff00;
    --black: #080808;
    --panel: #101010;
    --line: #222;
    --white: #fff;
    --muted: #888;
}

html {
    background: #000;
}

body {
    min-height: 100vh;
    background: #080808;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   MAXIMUM SITE WIDTH
   ========================= */

.site-shell,
.header-inner,
.mobile-nav {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, .97);
    border-bottom: 1px solid #1d1d1d;
}

.header-inner {
    height: 68px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.7px;
}

.logo span {
    color: var(--green);
}

/* Right side: flags + hamburger */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   LANGUAGE FLAGS
   ========================= */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-switcher button {
    width: 34px;
    height: 25px;
    padding: 2px;

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

    border: 2px solid transparent;
    border-radius: 4px;

    background: transparent;
    cursor: pointer;

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

.language-switcher button img {
    display: block;
    width: 28px;
    height: 19px;
    object-fit: cover;
    border-radius: 2px;
}

.language-switcher button:hover {
    opacity: .85;
}

/* Current language */

.language-switcher button.active-language {
    border-color: var(--green);
}

/* Also works if JS uses class="active" */

.language-switcher button.active {
    border-color: var(--green);
}

/* =========================
   HAMBURGER
   ========================= */

.menu-toggle {
    width: 38px;
    height: 38px;

    border: 1px solid #292929;
    background: #111;

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

    gap: 5px;
    padding: 9px;

    cursor: pointer;
}

.menu-toggle span {
    height: 2px;
    width: 100%;
    background: #fff;
}

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

.mobile-nav {
    display: none;
    padding: 6px 16px 16px;
    background: #080808;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 15px 4px;

    border-bottom: 1px solid #1d1d1d;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}
.mobile-nav a.active-page {
    color: var(--green);
}

.mobile-nav a:hover {
    color: var(--green);
}

/* =========================
   HERO
   ========================= */

.hero {
    padding: 62px 18px 52px;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(140, 255, 0, .08),
            transparent 38%
        );
}

.eyebrow {
    margin-bottom: 10px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

.hero h1,
.section-header h2 {
    font-weight: 900;
    line-height: .95;
}

.hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    margin-bottom: 20px;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero h1 .white,
.section-header .white {
    color: #fff;
}

.hero-copy {
    max-width: 390px;

    color: #aaa;

    font-size: 14px;
    line-height: 1.55;

    margin-bottom: 25px;
}

.primary-button {
    display: block;
    width: 100%;

    padding: 17px;

    background: var(--green);
    color: #080808;

    text-align: center;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

/* =========================
   HOME SECTIONS
   ========================= */

.home-section {
    padding: 38px 18px;
}

.home-section + .home-section {
    border-top: 1px solid #181818;
}

.section-header {
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(28px, 8vw, 36px);
}

.section-header h2 span:not(.white) {
    color: var(--green);
}

/* =========================
   CARDS
   ========================= */

.card-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.program-card {
    position: relative;

    width: 82%;
    margin: 0 auto;

    min-height: 230px;

    overflow: hidden;

    background: #000;
    border: 1px solid #1e1e1e;
}

.program-card img {
    width: 100%;
    height: 230px;
    object-fit: contain;
}

.card-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 16px 15px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, .96)
        );
}

.card-overlay p {
    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.card-overlay h3 {
    font-size: 21px;
    margin: 4px 0;
}

.card-overlay span {
    color: #aaa;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.view-all {
    display: block;

    margin-top: 18px;

    text-align: right;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.placeholder-card {
    padding: 34px 18px;

    border: 1px solid #222;
    background: #101010;

    text-align: center;

    color: #888;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    border-top: 1px solid #1d1d1d;
}

.site-footer .site-shell {
    padding: 30px 18px;
    text-align: center;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 10px;
}

.site-footer p {
    color: #777;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.site-footer small {
    color: #444;
    font-size: 11px;
}

/* =========================
   SMALL PHONES
   ========================= */

@media (max-width: 380px) {

    .hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .program-card {
        width: 86%;
    }

    .language-switcher {
        gap: 4px;
    }

    .language-switcher button {
        width: 32px;
        height: 24px;
    }

    .language-switcher button img {
        width: 26px;
        height: 18px;
    }
}
/* =========================
   LATEST VIDEO
   ========================= */

.video-card {
    width: 82%;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border: 1px solid #1e1e1e;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 15px 16px 17px;
}

.video-info p {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.video-info h3 {
    margin: 5px 0;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}

.video-info span {
    color: #aaa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 380px) {
    .video-card {
        width: 86%;
    }
}
/* =========================
   EXERCISES PAGE
   ========================= */

.exercises-page {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.exercises-hero {
    padding: 45px 18px 35px;
}

.exercises-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    font-weight: 900;
    line-height: .95;
}

.exercises-hero h1 span {
    display: block;
    color: var(--green);
}

.exercises-hero h1 .white {
    color: #fff;
}

.exercises-intro {
    margin-top: 18px;
    max-width: 390px;
    color: #999;
    font-size: 13px;
    line-height: 1.55;
}


/* CATEGORY */

.exercise-category {
    padding: 30px 18px 40px;
    border-top: 1px solid #181818;
}

.category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.category-title h2 {
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.5px;
}

.category-title span {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
}


/* EXERCISE CARDS */

.exercise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.exercise-card {
    display: grid;
    grid-template-columns: 115px 1fr;

    min-height: 115px;

    overflow: hidden;

    background: #0d0d0d;
    border: 1px solid #1e1e1e;
}

.exercise-card img {
    width: 115px;
    height: 115px;

    object-fit: contain;

    background: #000;
}

.exercise-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 12px 14px;
}

.exercise-card-info p {
    margin-bottom: 5px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.exercise-card-info h3 {
    margin-bottom: 10px;

    color: #fff;

    font-size: 17px;
    font-weight: 900;
}

.exercise-card-info span {
    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.exercise-card:hover {
    border-color: var(--green);
}


/* EMPTY CATEGORY */

.category-empty {
    padding: 25px 15px;

    background: #0d0d0d;
    border: 1px solid #1e1e1e;

    color: #555;

    text-align: center;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}
/* =========================
   EXERCISE FILTERS
   ========================= */

.exercise-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    width: 100%;
    padding: 0 18px;
    margin: 0 auto 30px;
}

.filter-button {
    padding: 10px 13px;

    background: #101010;
    border: 1px solid #252525;

    color: #888;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.2s ease;
}

.filter-button:hover {
    color: #fff;
    border-color: var(--green);
}

.filter-button.active {
    background: var(--green);
    border-color: var(--green);
    color: #080808;
}

/* Used by the category filter */
.exercise-category.hidden {
    display: none;
}
/* =========================================================
   EXERCISE PLAYER
   ========================================================= */

.exercise-player {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 60px;
}


/* HEADER */

.exercise-player-header {
    padding: 35px 18px 20px;
}

.exercise-player-header h1 {
    margin-top: 6px;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}


/* ANIMATION */

/* =========================================================
   EXERCISE IMAGE + ACTION BUTTON
   ========================================================= */

.exercise-visual {
    width: 82%;
    margin: 0 auto 22px;
}

.exercise-animation {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 260px;

    margin: 0;

    overflow: hidden;

    background: #000;

    border: 1px solid #1e1e1e;
    border-bottom: 0;
}

.exercise-animation img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* BUTTON TOUCHING IMAGE */

.image-action-button {
    display: block;

    width: 100%;

    margin: 0;
    padding: 16px;

    background: var(--green);

    border: 0;

    color: #050505;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    cursor: pointer;
}

.image-action-secondary {
    background: #151515;

    border: 1px solid #292929;
    border-top: 0;

    color: #fff;
}

.image-action-button:hover {
    opacity: .9;
}


@media (max-width: 380px) {

    .exercise-visual {
        width: 86%;
    }

}

/* SETUP */

.exercise-setup {
    width: 82%;
    margin: 0 auto;
}


/* =========================================================
   BACK
   ========================================================= */

.exercise-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin: 20px 18px 0;

    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    transition: 0.2s ease;
}

.exercise-back:hover {
    color: var(--green);
}


/* =========================================================
   SETTINGS
   ========================================================= */

.exercise-setup {
    width: 82%;
    margin: 0 auto;
}

.exercise-setting {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;

    padding: 13px 0;

    border-bottom: 1px solid #202020;
}

.setting-label {
    color: #888;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* CONTROL */

.setting-control.setting-touch {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-width: 105px;

    padding: 0 12px;

    background: #101010;

    border: 1px solid #292929;
}

.setting-input {
    width: 65px;
    height: 42px;

    padding: 0;

    background: transparent;
    border: 0;
    outline: 0;

    color: #fff;

    font-family: inherit;
    font-size: 19px;
    font-weight: 900;
    text-align: right;

    appearance: textfield;
    -moz-appearance: textfield;
}

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

.setting-input:focus {
    color: var(--green);
}

.setting-unit {
    margin-left: 5px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
}
/* =========================================================
   FINISH BUTTON
   ========================================================= */

.exercise-finish-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 25px;
    padding: 16px;

    background: var(--green);

    color: #050505;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;

    transition: 0.2s ease;
}

.exercise-finish-button:hover {
    opacity: 0.9;
}

/* MAIN BUTTON */

.exercise-main-button {
    width: 100%;

    margin-top: 25px;
    padding: 17px;

    background: var(--green);

    border: 0;

    color: #050505;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    cursor: pointer;
}


/* ACTIVE SET */

.active-exercise {
    width: 82%;

    margin: 0 auto;

    text-align: center;
}

.exercise-status {
    margin: 24px 0;

    color: var(--green);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.active-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin: 20px 0;

    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.active-numbers div {
    padding: 20px 10px;
}

.active-numbers div + div {
    border-left: 1px solid #222;
}

.active-numbers strong {
    display: block;

    color: #fff;

    font-size: 38px;
    font-weight: 900;
}

.active-numbers span {
    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* REST */

.rest-screen {
    width: 82%;

    margin: 30px auto 0;

    text-align: center;
}

.rest-timer {
    margin: 20px 0 12px;

    color: #fff;

    font-size: 68px;
    font-weight: 900;
    line-height: 1;
}

.next-set {
    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.secondary-exercise-button {
    width: 100%;

    margin-top: 25px;
    padding: 15px;

    background: #111;

    border: 1px solid #292929;

    color: #fff;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    cursor: pointer;
}


/* COMPLETE */

.exercise-complete {
    width: 82%;

    margin: 30px auto 0;

    text-align: center;
}

.exercise-complete h2 {
    margin: 8px 0 25px;

    color: #fff;

    font-size: 26px;
    font-weight: 900;
}

.exercise-results {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid #222;
    border-left: 1px solid #222;
}

.exercise-results div {
    padding: 18px 8px;

    border-right: 1px solid #222;
    border-bottom: 1px solid #222;
}

.exercise-results strong {
    display: block;

    color: #fff;

    font-size: 26px;
    font-weight: 900;
}

.exercise-results span {
    display: block;

    margin-top: 5px;

    color: #777;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.exercise-time {
    display: flex;
    justify-content: space-between;

    margin-top: 20px;

    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.exercise-time strong {
    color: var(--green);
}


/* IMPORTANT */

.hidden {
    display: none !important;
}


@media (max-width: 380px) {

    .exercise-animation,
    .exercise-setup,
    .active-exercise,
    .rest-screen,
    .exercise-complete {
        width: 86%;
    }

}
/* =========================================================
   WORKOUTS PAGE + WORKOUT PLAYER
   MY HOME GYM
   ========================================================= */


/* =========================================================
   WORKOUT PLAYER CONTAINER
   ========================================================= */

.full-workout {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #080808;
    color: #fff;
}


/* =========================================================
   START SCREEN
   ========================================================= */

.full-start-screen {
    width: 100%;
    padding: 42px 18px 50px;
}

.full-start-screen .workout-label {
    margin: 0 0 8px;
    color: #8cff00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.full-start-screen h1 {
    margin: 0 0 30px;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: .95;
    letter-spacing: -1px;
}

.workout-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.workout-summary > div {
    padding: 16px 8px;
    background: #101010;
    border: 1px solid #222;
    text-align: center;
}

.workout-summary strong {
    display: block;
    margin-bottom: 5px;
    color: #8cff00;
    font-size: 22px;
    font-weight: 900;
}

.workout-summary span {
    display: block;
    color: #888;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .7px;
}

.full-start-button {
    width: 100%;
    padding: 17px 12px;
    background: #8cff00;
    border: 0;
    color: #050505;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    cursor: pointer;
}


/* =========================================================
   PLAYER
   IMPORTANT: HIDDEN UNTIL START
   ========================================================= */

.full-player {
    display: none;
    width: 100%;
    padding: 22px 18px 40px;
}

.full-player.active {
    display: block;
}


/* =========================================================
   PLAYER TOP
   ========================================================= */

.full-player-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #222;
}

.full-player-top > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-label {
    color: #888;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

#roundStatus {
    color: #8cff00;
    font-size: 12px;
    font-weight: 900;
}

.exercise-counter {
    color: #888;
    font-size: 11px;
    font-weight: 900;
}

.exercise-counter #exerciseNumber {
    color: #fff;
}


/* =========================================================
   CURRENT EXERCISE
   ========================================================= */

.current-exercise {
    text-align: center;
}

.current-exercise > p {
    margin: 0 0 7px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.current-exercise h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
}

.barbell-weight {
    margin-top: 10px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.barbell-weight strong {
    margin-left: 5px;
    color: #8cff00;
    font-size: 11px;
}


/* =========================================================
   TIMER
   ========================================================= */

.exercise-timer {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
}

.exercise-timer span {
    color: #8cff00;
    font-size: 62px;
    font-weight: 900;
    line-height: 1;
}

.exercise-timer small {
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}


/* =========================================================
   EXERCISE IMAGE
   ========================================================= */

.full-exercise-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82%;
    height: 260px;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border: 1px solid #1e1e1e;
}

.full-exercise-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.workout-bottom {
    width: 82%;
    margin: 0 auto;
}

.pause-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 15px;
    background: #8cff00;
    border: 0;
    color: #050505;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;
    cursor: pointer;
}

.next-exercise {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 10px 12px;
    background: #101010;
    border: 1px solid #222;
    border-top: 0;
    cursor: pointer;
}

.next-exercise-text {
    min-width: 0;
    padding-right: 10px;
}

.next-exercise-text span {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.next-exercise-text strong {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
}

.next-exercise-image {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #000;
}


/* =========================================================
   REST SCREEN
   IMPORTANT: HIDDEN UNTIL REST
   ========================================================= */

.full-rest-screen {
    display: none;
    width: 100%;
    padding: 55px 18px;
    text-align: center;
}

.full-rest-screen.active {
    display: block;
}

.rest-round {
    margin: 0 0 8px;
    color: #8cff00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.full-rest-screen h2 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

.full-rest-time {
    margin: 20px 0 0;
    color: #8cff00;
    font-size: 76px;
    font-weight: 900;
    line-height: 1;
}

.rest-seconds {
    margin: 5px 0 28px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.rest-next {
    margin-bottom: 20px;
    padding: 16px;
    background: #101010;
    border: 1px solid #222;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.rest-next strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .5px;
}

.skip-rest-button {
    width: 100%;
    padding: 16px;
    background: #151515;
    border: 1px solid #292929;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    cursor: pointer;
}


/* =========================================================
   COMPLETE SCREEN
   IMPORTANT: HIDDEN UNTIL FINISHED
   ========================================================= */

.full-complete-screen {
    display: none;
    width: 100%;
    padding: 55px 18px;
    text-align: center;
}

.full-complete-screen.active {
    display: block;
}

.full-complete-screen > p {
    margin: 0 0 8px;
    color: #888;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.full-complete-screen h2 {
    margin: 0 0 30px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.full-complete-screen h2 span {
    color: #8cff00;
}

.workout-finished-time {
    margin-bottom: 24px;
    padding: 20px;
    background: #101010;
    border: 1px solid #222;
}

.workout-finished-time span {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.workout-finished-time strong {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
}

.full-complete-screen .back-link {
    display: block;
    width: 100%;
    padding: 16px;
    background: #8cff00;
    color: #050505;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


/* =========================================================
   WORKOUT CATALOG
   ========================================================= */

.workouts-page {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.workout-category.hidden {
    display: none;
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .full-start-screen h1 {
        font-size: 29px;
    }

    .workout-summary {
        gap: 5px;
    }

    .workout-summary strong {
        font-size: 19px;
    }

    .full-exercise-image,
    .workout-bottom {
        width: 86%;
    }

    .exercise-timer span {
        font-size: 54px;
    }
}
/* ========================================
   AUTH - REGISTER / LOGIN
======================================== */

.auth-page {
    padding: 35px 16px 50px;
}

.auth-card {
    background: #101010;
    border: 1px solid #222;
    padding: 28px 20px;
}

.auth-kicker {
    color: #8cff00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 8px;
}

.auth-card h1 {
    color: #fff;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 12px;
}

.auth-description {
    color: #888;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form label {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    margin-top: 10px;
}

.auth-form input {
    width: 100%;
    box-sizing: border-box;
    background: #080808;
    border: 1px solid #333;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    outline: none;
}

.auth-form input:focus {
    border-color: #8cff00;
}

.auth-submit {
    width: 100%;
    border: 0;
    background: #8cff00;
    color: #080808;
    padding: 15px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.auth-submit:hover {
    opacity: .9;
}

.auth-message {
    padding: 12px;
    margin: 18px 0;
    font-size: 13px;
    font-weight: 700;
}

.auth-error {
    border: 1px solid #ff4545;
    color: #ff7070;
    background: rgba(255, 69, 69, .08);
}

.auth-success {
    border: 1px solid #8cff00;
    color: #8cff00;
    background: rgba(140, 255, 0, .08);
}

.auth-login-link {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 25px;
}

.auth-login-link a {
    color: #8cff00;
    font-weight: 800;
    text-decoration: none;
}
/* ========================================
   ANTI BOT HONEYPOT
======================================== */

.bot-field {
    position: absolute !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #8cff00;
    --black: #080808;
    --panel: #101010;
    --line: #222;
    --white: #fff;
    --muted: #888;
}

html {
    background: #000;
}

body {
    min-height: 100vh;
    background: #080808;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   MAXIMUM SITE WIDTH
   ========================= */

.site-shell,
.header-inner,
.mobile-nav {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, .97);
    border-bottom: 1px solid #1d1d1d;
}

.header-inner {
    height: 68px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.7px;
}

.logo span {
    color: var(--green);
}

/* Right side: flags + hamburger */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   LANGUAGE FLAGS
   ========================= */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-switcher button {
    width: 34px;
    height: 25px;
    padding: 2px;

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

    border: 2px solid transparent;
    border-radius: 4px;

    background: transparent;
    cursor: pointer;

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

.language-switcher button img {
    display: block;
    width: 28px;
    height: 19px;
    object-fit: cover;
    border-radius: 2px;
}

.language-switcher button:hover {
    opacity: .85;
}

/* Current language */

.language-switcher button.active-language {
    border-color: var(--green);
}

/* Also works if JS uses class="active" */

.language-switcher button.active {
    border-color: var(--green);
}

/* =========================
   HAMBURGER
   ========================= */

.menu-toggle {
    width: 38px;
    height: 38px;

    border: 1px solid #292929;
    background: #111;

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

    gap: 5px;
    padding: 9px;

    cursor: pointer;
}

.menu-toggle span {
    height: 2px;
    width: 100%;
    background: #fff;
}

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

.mobile-nav {
    display: none;
    padding: 6px 16px 16px;
    background: #080808;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 15px 4px;

    border-bottom: 1px solid #1d1d1d;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}
.mobile-nav a.active-page {
    color: var(--green);
}

.mobile-nav a:hover {
    color: var(--green);
}

/* =========================
   HERO
   ========================= */

.hero {
    padding: 62px 18px 52px;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(140, 255, 0, .08),
            transparent 38%
        );
}

.eyebrow {
    margin-bottom: 10px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

.hero h1,
.section-header h2 {
    font-weight: 900;
    line-height: .95;
}

.hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    margin-bottom: 20px;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero h1 .white,
.section-header .white {
    color: #fff;
}

.hero-copy {
    max-width: 390px;

    color: #aaa;

    font-size: 14px;
    line-height: 1.55;

    margin-bottom: 25px;
}

.primary-button {
    display: block;
    width: 100%;

    padding: 17px;

    background: var(--green);
    color: #080808;

    text-align: center;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

/* =========================
   HOME SECTIONS
   ========================= */

.home-section {
    padding: 38px 18px;
}

.home-section + .home-section {
    border-top: 1px solid #181818;
}

.section-header {
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(28px, 8vw, 36px);
}

.section-header h2 span:not(.white) {
    color: var(--green);
}

/* =========================
   CARDS
   ========================= */

.card-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.program-card {
    position: relative;

    width: 82%;
    margin: 0 auto;

    min-height: 230px;

    overflow: hidden;

    background: #000;
    border: 1px solid #1e1e1e;
}

.program-card img {
    width: 100%;
    height: 230px;
    object-fit: contain;
}

.card-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 16px 15px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, .96)
        );
}

.card-overlay p {
    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.card-overlay h3 {
    font-size: 21px;
    margin: 4px 0;
}

.card-overlay span {
    color: #aaa;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.view-all {
    display: block;

    margin-top: 18px;

    text-align: right;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.placeholder-card {
    padding: 34px 18px;

    border: 1px solid #222;
    background: #101010;

    text-align: center;

    color: #888;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    border-top: 1px solid #1d1d1d;
}

.site-footer .site-shell {
    padding: 30px 18px;
    text-align: center;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 10px;
}

.site-footer p {
    color: #777;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.site-footer small {
    color: #444;
    font-size: 11px;
}

/* =========================
   SMALL PHONES
   ========================= */

@media (max-width: 380px) {

    .hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .program-card {
        width: 86%;
    }

    .language-switcher {
        gap: 4px;
    }

    .language-switcher button {
        width: 32px;
        height: 24px;
    }

    .language-switcher button img {
        width: 26px;
        height: 18px;
    }
}
/* =========================
   LATEST VIDEO
   ========================= */

.video-card {
    width: 82%;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border: 1px solid #1e1e1e;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 15px 16px 17px;
}

.video-info p {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.video-info h3 {
    margin: 5px 0;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}

.video-info span {
    color: #aaa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 380px) {
    .video-card {
        width: 86%;
    }
}
/* =========================
   EXERCISES PAGE
   ========================= */

.exercises-page {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.exercises-hero {
    padding: 45px 18px 35px;
}

.exercises-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    font-weight: 900;
    line-height: .95;
}

.exercises-hero h1 span {
    display: block;
    color: var(--green);
}

.exercises-hero h1 .white {
    color: #fff;
}

.exercises-intro {
    margin-top: 18px;
    max-width: 390px;
    color: #999;
    font-size: 13px;
    line-height: 1.55;
}


/* CATEGORY */

.exercise-category {
    padding: 30px 18px 40px;
    border-top: 1px solid #181818;
}

.category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.category-title h2 {
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.5px;
}

.category-title span {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
}


/* EXERCISE CARDS */

.exercise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.exercise-card {
    display: grid;
    grid-template-columns: 115px 1fr;

    min-height: 115px;

    overflow: hidden;

    background: #0d0d0d;
    border: 1px solid #1e1e1e;
}

.exercise-card img {
    width: 115px;
    height: 115px;

    object-fit: contain;

    background: #000;
}

.exercise-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 12px 14px;
}

.exercise-card-info p {
    margin-bottom: 5px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.exercise-card-info h3 {
    margin-bottom: 10px;

    color: #fff;

    font-size: 17px;
    font-weight: 900;
}

.exercise-card-info span {
    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.exercise-card:hover {
    border-color: var(--green);
}


/* EMPTY CATEGORY */

.category-empty {
    padding: 25px 15px;

    background: #0d0d0d;
    border: 1px solid #1e1e1e;

    color: #555;

    text-align: center;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}
/* =========================
   EXERCISE FILTERS
   ========================= */

.exercise-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    width: 100%;
    padding: 0 18px;
    margin: 0 auto 30px;
}

.filter-button {
    padding: 10px 13px;

    background: #101010;
    border: 1px solid #252525;

    color: #888;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.2s ease;
}

.filter-button:hover {
    color: #fff;
    border-color: var(--green);
}

.filter-button.active {
    background: var(--green);
    border-color: var(--green);
    color: #080808;
}

/* Used by the category filter */
.exercise-category.hidden {
    display: none;
}
/* =========================================================
   EXERCISE PLAYER
   ========================================================= */

.exercise-player {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 60px;
}


/* HEADER */

.exercise-player-header {
    padding: 35px 18px 20px;
}

.exercise-player-header h1 {
    margin-top: 6px;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}


/* ANIMATION */

/* =========================================================
   EXERCISE IMAGE + ACTION BUTTON
   ========================================================= */

.exercise-visual {
    width: 82%;
    margin: 0 auto 22px;
}

.exercise-animation {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 260px;

    margin: 0;

    overflow: hidden;

    background: #000;

    border: 1px solid #1e1e1e;
    border-bottom: 0;
}

.exercise-animation img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* BUTTON TOUCHING IMAGE */

.image-action-button {
    display: block;

    width: 100%;

    margin: 0;
    padding: 16px;

    background: var(--green);

    border: 0;

    color: #050505;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    cursor: pointer;
}

.image-action-secondary {
    background: #151515;

    border: 1px solid #292929;
    border-top: 0;

    color: #fff;
}

.image-action-button:hover {
    opacity: .9;
}


@media (max-width: 380px) {

    .exercise-visual {
        width: 86%;
    }

}

/* SETUP */

.exercise-setup {
    width: 82%;
    margin: 0 auto;
}


/* =========================================================
   BACK
   ========================================================= */

.exercise-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin: 20px 18px 0;

    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    transition: 0.2s ease;
}

.exercise-back:hover {
    color: var(--green);
}


/* =========================================================
   SETTINGS
   ========================================================= */

.exercise-setup {
    width: 82%;
    margin: 0 auto;
}

.exercise-setting {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;

    padding: 13px 0;

    border-bottom: 1px solid #202020;
}

.setting-label {
    color: #888;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* CONTROL */

.setting-control.setting-touch {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-width: 105px;

    padding: 0 12px;

    background: #101010;

    border: 1px solid #292929;
}

.setting-input {
    width: 65px;
    height: 42px;

    padding: 0;

    background: transparent;
    border: 0;
    outline: 0;

    color: #fff;

    font-family: inherit;
    font-size: 19px;
    font-weight: 900;
    text-align: right;

    appearance: textfield;
    -moz-appearance: textfield;
}

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

.setting-input:focus {
    color: var(--green);
}

.setting-unit {
    margin-left: 5px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
}
/* =========================================================
   FINISH BUTTON
   ========================================================= */

.exercise-finish-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 25px;
    padding: 16px;

    background: var(--green);

    color: #050505;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;

    transition: 0.2s ease;
}

.exercise-finish-button:hover {
    opacity: 0.9;
}

/* MAIN BUTTON */

.exercise-main-button {
    width: 100%;

    margin-top: 25px;
    padding: 17px;

    background: var(--green);

    border: 0;

    color: #050505;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    cursor: pointer;
}


/* ACTIVE SET */

.active-exercise {
    width: 82%;

    margin: 0 auto;

    text-align: center;
}

.exercise-status {
    margin: 24px 0;

    color: var(--green);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.active-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin: 20px 0;

    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.active-numbers div {
    padding: 20px 10px;
}

.active-numbers div + div {
    border-left: 1px solid #222;
}

.active-numbers strong {
    display: block;

    color: #fff;

    font-size: 38px;
    font-weight: 900;
}

.active-numbers span {
    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* REST */

.rest-screen {
    width: 82%;

    margin: 30px auto 0;

    text-align: center;
}

.rest-timer {
    margin: 20px 0 12px;

    color: #fff;

    font-size: 68px;
    font-weight: 900;
    line-height: 1;
}

.next-set {
    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.secondary-exercise-button {
    width: 100%;

    margin-top: 25px;
    padding: 15px;

    background: #111;

    border: 1px solid #292929;

    color: #fff;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    cursor: pointer;
}


/* COMPLETE */

.exercise-complete {
    width: 82%;

    margin: 30px auto 0;

    text-align: center;
}

.exercise-complete h2 {
    margin: 8px 0 25px;

    color: #fff;

    font-size: 26px;
    font-weight: 900;
}

.exercise-results {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid #222;
    border-left: 1px solid #222;
}

.exercise-results div {
    padding: 18px 8px;

    border-right: 1px solid #222;
    border-bottom: 1px solid #222;
}

.exercise-results strong {
    display: block;

    color: #fff;

    font-size: 26px;
    font-weight: 900;
}

.exercise-results span {
    display: block;

    margin-top: 5px;

    color: #777;

    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1px;
}

.exercise-time {
    display: flex;
    justify-content: space-between;

    margin-top: 20px;

    color: #777;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.exercise-time strong {
    color: var(--green);
}


/* IMPORTANT */

.hidden {
    display: none !important;
}


@media (max-width: 380px) {

    .exercise-animation,
    .exercise-setup,
    .active-exercise,
    .rest-screen,
    .exercise-complete {
        width: 86%;
    }

}
/* =========================================================
   WORKOUTS PAGE + WORKOUT PLAYER
   MY HOME GYM
   ========================================================= */


/* =========================================================
   WORKOUT PLAYER CONTAINER
   ========================================================= */

.full-workout {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #080808;
    color: #fff;
}


/* =========================================================
   START SCREEN
   ========================================================= */

.full-start-screen {
    width: 100%;
    padding: 42px 18px 50px;
}

.full-start-screen .workout-label {
    margin: 0 0 8px;
    color: #8cff00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.full-start-screen h1 {
    margin: 0 0 30px;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: .95;
    letter-spacing: -1px;
}

.workout-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.workout-summary > div {
    padding: 16px 8px;
    background: #101010;
    border: 1px solid #222;
    text-align: center;
}

.workout-summary strong {
    display: block;
    margin-bottom: 5px;
    color: #8cff00;
    font-size: 22px;
    font-weight: 900;
}

.workout-summary span {
    display: block;
    color: #888;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .7px;
}

.full-start-button {
    width: 100%;
    padding: 17px 12px;
    background: #8cff00;
    border: 0;
    color: #050505;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    cursor: pointer;
}


/* =========================================================
   PLAYER
   IMPORTANT: HIDDEN UNTIL START
   ========================================================= */

.full-player {
    display: none;
    width: 100%;
    padding: 22px 18px 40px;
}

.full-player.active {
    display: block;
}


/* =========================================================
   PLAYER TOP
   ========================================================= */

.full-player-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #222;
}

.full-player-top > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-label {
    color: #888;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

#roundStatus {
    color: #8cff00;
    font-size: 12px;
    font-weight: 900;
}

.exercise-counter {
    color: #888;
    font-size: 11px;
    font-weight: 900;
}

.exercise-counter #exerciseNumber {
    color: #fff;
}


/* =========================================================
   CURRENT EXERCISE
   ========================================================= */

.current-exercise {
    text-align: center;
}

.current-exercise > p {
    margin: 0 0 7px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.current-exercise h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
}

.barbell-weight {
    margin-top: 10px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.barbell-weight strong {
    margin-left: 5px;
    color: #8cff00;
    font-size: 11px;
}


/* =========================================================
   TIMER
   ========================================================= */

.exercise-timer {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
}

.exercise-timer span {
    color: #8cff00;
    font-size: 62px;
    font-weight: 900;
    line-height: 1;
}

.exercise-timer small {
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}


/* =========================================================
   EXERCISE IMAGE
   ========================================================= */

.full-exercise-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82%;
    height: 260px;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border: 1px solid #1e1e1e;
}

.full-exercise-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.workout-bottom {
    width: 82%;
    margin: 0 auto;
}

.pause-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 15px;
    background: #8cff00;
    border: 0;
    color: #050505;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;
    cursor: pointer;
}

.next-exercise {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 10px 12px;
    background: #101010;
    border: 1px solid #222;
    border-top: 0;
    cursor: pointer;
}

.next-exercise-text {
    min-width: 0;
    padding-right: 10px;
}

.next-exercise-text span {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.next-exercise-text strong {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
}

.next-exercise-image {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #000;
}


/* =========================================================
   REST SCREEN
   IMPORTANT: HIDDEN UNTIL REST
   ========================================================= */

.full-rest-screen {
    display: none;
    width: 100%;
    padding: 55px 18px;
    text-align: center;
}

.full-rest-screen.active {
    display: block;
}

.rest-round {
    margin: 0 0 8px;
    color: #8cff00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.full-rest-screen h2 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

.full-rest-time {
    margin: 20px 0 0;
    color: #8cff00;
    font-size: 76px;
    font-weight: 900;
    line-height: 1;
}

.rest-seconds {
    margin: 5px 0 28px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.rest-next {
    margin-bottom: 20px;
    padding: 16px;
    background: #101010;
    border: 1px solid #222;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.rest-next strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .5px;
}

.skip-rest-button {
    width: 100%;
    padding: 16px;
    background: #151515;
    border: 1px solid #292929;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    cursor: pointer;
}


/* =========================================================
   COMPLETE SCREEN
   IMPORTANT: HIDDEN UNTIL FINISHED
   ========================================================= */

.full-complete-screen {
    display: none;
    width: 100%;
    padding: 55px 18px;
    text-align: center;
}

.full-complete-screen.active {
    display: block;
}

.full-complete-screen > p {
    margin: 0 0 8px;
    color: #888;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.full-complete-screen h2 {
    margin: 0 0 30px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.full-complete-screen h2 span {
    color: #8cff00;
}

.workout-finished-time {
    margin-bottom: 24px;
    padding: 20px;
    background: #101010;
    border: 1px solid #222;
}

.workout-finished-time span {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.workout-finished-time strong {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
}

.full-complete-screen .back-link {
    display: block;
    width: 100%;
    padding: 16px;
    background: #8cff00;
    color: #050505;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
	margin-top: 25px;
}


/* =========================================================
   WORKOUT CATALOG
   ========================================================= */

.workouts-page {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.workout-category.hidden {
    display: none;
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .full-start-screen h1 {
        font-size: 29px;
    }

    .workout-summary {
        gap: 5px;
    }

    .workout-summary strong {
        font-size: 19px;
    }

    .full-exercise-image,
    .workout-bottom {
        width: 86%;
    }

    .exercise-timer span {
        font-size: 54px;
    }
}
/* ========================================
   AUTH - REGISTER / LOGIN
======================================== */

.auth-page {
    padding: 35px 16px 50px;
}

.auth-card {
    background: #101010;
    border: 1px solid #222;
    padding: 28px 20px;
}

.auth-kicker {
    color: #8cff00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 8px;
}

.auth-card h1 {
    color: #fff;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 12px;
}

.auth-description {
    color: #888;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form label {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    margin-top: 10px;
}

.auth-form input {
    width: 100%;
    box-sizing: border-box;
    background: #080808;
    border: 1px solid #333;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    outline: none;
}

.auth-form input:focus {
    border-color: #8cff00;
}

.auth-submit {
    width: 100%;
    border: 0;
    background: #8cff00;
    color: #080808;
    padding: 15px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.auth-submit:hover {
    opacity: .9;
}

.auth-message {
    padding: 12px;
    margin: 18px 0;
    font-size: 13px;
    font-weight: 700;
}

.auth-error {
    border: 1px solid #ff4545;
    color: #ff7070;
    background: rgba(255, 69, 69, .08);
}

.auth-success {
    border: 1px solid #8cff00;
    color: #8cff00;
    background: rgba(140, 255, 0, .08);
}

.auth-login-link {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 25px;
}

.auth-login-link a {
    color: #8cff00;
    font-weight: 800;
    text-decoration: none;
}
/* ========================================
   ANTI BOT HONEYPOT
======================================== */

.bot-field {
    position: absolute !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* =========================================================
   PROFILE
   ========================================================= */
.profile-page { width:100%; max-width:500px; margin:0 auto; padding:35px 16px 50px; }
.profile-card { padding:28px 20px; background:var(--panel); border:1px solid var(--line); }
.profile-kicker { margin-bottom:8px; color:var(--green); font-size:10px; font-weight:900; letter-spacing:2px; }
.profile-card > h1 { margin-bottom:10px; color:var(--white); font-size:32px; font-weight:900; line-height:1; }
.profile-welcome { color:var(--muted); font-size:11px; font-weight:800; letter-spacing:1px; }
.profile-name { margin:5px 0 28px; color:var(--green); font-size:22px; font-weight:900; }
.profile-section { margin-top:18px; border-top:1px solid var(--line); }
.profile-section h3 { padding:18px 0 8px; color:var(--white); font-size:12px; font-weight:900; letter-spacing:1.5px; }
.profile-row { display:grid; grid-template-columns:42% 58%; gap:8px; align-items:center; padding:13px 0; border-bottom:1px solid #1d1d1d; }
.profile-label { color:var(--muted); font-size: 11px; font-weight:900; letter-spacing:1px; }
.profile-value { min-width:0; color:var(--white); font-size:11px; font-weight:800; text-align:right; overflow-wrap:anywhere; }
.profile-stats { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.profile-stat { padding:18px 8px; background:var(--black); border:1px solid var(--line); text-align:center; }
.profile-stat strong { display:block; margin-bottom:5px; color:var(--green); font-size:28px; font-weight:900; }
.profile-stat span { color:var(--muted); font-size: 11px; font-weight:900; letter-spacing:1px; }
.profile-button,.profile-logout { display:block; width:100%; padding:15px; text-align:center; font-size:10px; font-weight:900; letter-spacing:1.4px; }
.profile-button { margin-top:26px; background:var(--green); color:var(--black); }
.profile-logout { margin-top:9px; background:#151515; border:1px solid #292929; color:var(--white); }
.profile-button:hover,.profile-logout:hover { opacity:.9; }
@media (max-width:380px) {
  .profile-page { padding-left:14px; padding-right:14px; }
  .profile-card { padding-left:16px; padding-right:16px; }
}
/* =========================================================
   HEADER USER
   ========================================================= */

.header-user {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;

    background: #101010;
    border: 1px solid #2a2a2a;
    border-radius: 50%;

    color: var(--white);
    text-decoration: none;

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

.header-user svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-user:hover {
    color: var(--green);
    border-color: var(--green);
    background: #151515;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* =========================================================
   USER DASHBOARD
   ========================================================= */

.dashboard-page {
    width:100%;
    max-width:500px;
    margin:0 auto;
    padding:28px 16px 50px;
}

.dashboard-hero {
    padding:26px 20px;
    background:var(--panel);
    border:1px solid var(--line);
}

.dashboard-kicker,
.dashboard-section-title p {
    margin:0 0 8px;
    color:var(--green);
    font-size: 11px;
    font-weight:900;
    letter-spacing:2px;
}

.dashboard-hero h1 {
    margin:0;
    color:var(--white);
    font-size:27px;
    font-weight:900;
    line-height:1.05;
}

.dashboard-user-data {
    margin-top:24px;
    padding-top:20px;
    border-top:1px solid var(--line);
}

.dashboard-user-data > strong {
    display:block;
    color:var(--white);
    font-size:19px;
    font-weight:900;
}

.dashboard-body-data {
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:7px;
    color:var(--green);
    font-size:12px;
    font-weight:900;
    letter-spacing:1px;
}

.dashboard-dot {
    color:var(--muted);
}

.dashboard-member {
    margin:9px 0 0;
    color:var(--muted);
    font-size: 11px;
    font-weight:800;
    letter-spacing:.8px;
}

.dashboard-profile-button {
    display:block;
    width:100%;
    margin-top:22px;
    padding:14px;
    background:var(--green);
    color:var(--black);
    text-align:center;
    font-size:10px;
    font-weight:900;
    letter-spacing:1.4px;
}

.dashboard-section {
    margin-top:14px;
    padding:22px 20px;
    background:var(--panel);
    border:1px solid var(--line);
}

.dashboard-section-title h2 {
    margin:0 0 17px;
    color:var(--white);
    font-size:20px;
    font-weight:900;
}

.dashboard-stats {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}

.dashboard-stat {
    min-width:0;
    padding:17px 8px;
    background:var(--black);
    border:1px solid var(--line);
    text-align:center;
}

.dashboard-stat strong {
    display:block;
    margin-bottom:5px;
    color:var(--green);
    font-size:24px;
    font-weight:900;
    line-height:1;
}

.dashboard-stat span {
    color:var(--muted);
    font-size: 11px;
    font-weight:900;
    letter-spacing:1px;
}

.muscle-progress-list {
    border-top:1px solid var(--line);
}

.muscle-progress-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:13px 0;
    border-bottom:1px solid #1d1d1d;
}

.muscle-progress-row span {
    color:var(--muted);
    font-size: 11px;
    font-weight:900;
    letter-spacing:1px;
}

.muscle-progress-row strong {
    color:var(--green);
    font-size:11px;
    font-weight:900;
}

.dashboard-last {
    margin-bottom:0;
}

@media (max-width:380px) {
    .dashboard-page {
        padding-left:14px;
        padding-right:14px;
    }

    .dashboard-hero,
    .dashboard-section {
        padding-left:16px;
        padding-right:16px;
    }

    .dashboard-hero h1 {
        font-size:24px;
    }
}

/* =========================================================
   DASHBOARD RECENT ACTIVITY
   ========================================================= */

.dashboard-activity-list {
    display:flex;
    flex-direction:column;
    gap:8px;
}

.dashboard-activity-item {
    display:block;
    padding:14px;
    background:var(--black);
    border:1px solid var(--line);
    text-decoration:none;
}

.dashboard-activity-top {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
}

.dashboard-activity-top strong {
    color:var(--white);
    font-size:11px;
    font-weight:900;
    line-height:1.3;
}

.dashboard-activity-top time {
    flex:0 0 auto;
    color:var(--muted);
    font-size: 11px;
    font-weight:800;
}

.dashboard-activity-meta,
.dashboard-activity-bottom {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:9px;
    color:var(--muted);
    font-size: 11px;
    font-weight:900;
    letter-spacing:.5px;
}

.dashboard-activity-bottom {
    padding-top:9px;
    border-top:1px solid var(--line);
    color:var(--green);
}

.dashboard-empty {
    margin:0;
    padding:20px;
    background:var(--black);
    border:1px solid var(--line);
    color:var(--muted);
    text-align:center;
    font-size: 11px;
    font-weight:900;
    letter-spacing:1px;
}
/* =========================================================
   CUSTOM WORKOUT BUILDER
   ========================================================= */

.custom-workout-page {
    width:100%;
    max-width:500px;
    margin:0 auto;
    padding-bottom:50px;
}

.builder-name-card,
.builder-selected {
    margin:0 16px 18px;
    padding:18px;
    background:var(--panel);
    border:1px solid var(--line);
}

.builder-name-card label {
    display:block;
    margin-bottom:9px;
    color:var(--green);
    font-size: 11px;
    font-weight:900;
    letter-spacing:1px;
}

.builder-name-card input {
    width:100%;
    padding:14px;
    background:var(--black);
    border:1px solid var(--line);
    color:var(--white);
    font:inherit;
    font-weight:900;
    outline:none;
}

.builder-name-card input:focus {
    border-color:var(--green);
}

.builder-category {
    margin-bottom:22px;
}

.builder-exercise-list {
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:0 16px;
}

.builder-exercise-option {
    width:100%;
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px;
    background:var(--panel);
    border:1px solid var(--line);
    color:var(--white);
    text-align:left;
    cursor:pointer;
}

.builder-exercise-option.selected {
    border-color:var(--green);
}

.builder-check {
    width:28px;
    height:28px;
    flex:0 0 28px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--black);
    border:1px solid var(--line);
    color:var(--green);
    font-size:17px;
    font-weight:900;
}

.builder-option-text {
    min-width:0;
}

.builder-option-text strong,
.builder-option-text small {
    display:block;
}

.builder-option-text strong {
    font-size:10px;
    font-weight:900;
}

.builder-option-text small {
    margin-top:4px;
    color:var(--muted);
    font-size: 11px;
    font-weight:800;
}

.builder-selected-item {
    margin-top:9px;
    padding:14px;
    background:var(--black);
    border:1px solid var(--line);
}

.builder-selected-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.builder-selected-head strong {
    color:var(--white);
    font-size:10px;
    font-weight:900;
}

.builder-remove {
    border:0;
    background:transparent;
    color:var(--muted);
    font-size:22px;
    cursor:pointer;
}

.builder-settings {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:12px;
}

.builder-settings label {
    position:relative;
    color:var(--muted);
    font-size: 11px;
    font-weight:900;
}

.builder-settings input {
    width:100%;
    margin-top:5px;
    padding:10px 34px 10px 9px;
    background:var(--panel);
    border:1px solid var(--line);
    color:var(--white);
    font-weight:900;
}

.builder-settings small {
    position:absolute;
    right:8px;
    bottom:11px;
    color:var(--green);
    font-size: 11px;
}

.builder-save {
    width:calc(100% - 32px);
    margin:0 16px;
}

.builder-error {
    margin:0 16px 16px;
    padding:12px;
    border:1px solid #7b2525;
    color:#ff8d8d;
    font-size: 11px;
    font-weight:900;
}
/* =========================================================
   CREATE YOUR WORKOUT
   ========================================================= */

.custom-workouts-page {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 50px;
}


/* HERO */

.custom-workouts-hero {
    padding: 45px 18px 28px;
}

.custom-workouts-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    font-weight: 900;
    line-height: .95;
}

.custom-workouts-hero h1 span {
    display: block;
    color: var(--green);
}

.custom-workouts-hero h1 .white {
    color: #fff;
}

.custom-workouts-intro {
    max-width: 390px;
    margin-top: 18px;

    color: #999;

    font-size: 13px;
    line-height: 1.55;
}


/* CREATE NEW */

.custom-workouts-create {
    padding: 0 18px 35px;
}

.create-workout-card {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 13px;

    width: 100%;
    padding: 16px;

    background: #101010;
    border: 1px solid #292929;

    transition: .2s ease;
}

.create-workout-card:hover {
    border-color: var(--green);
}

.create-workout-plus {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    background: var(--green);
    color: #050505;

    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.create-workout-card-text {
    min-width: 0;
}

.create-workout-card-text span {
    display: block;

    color: #fff;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.create-workout-card-text small {
    display: block;

    margin-top: 5px;

    color: #777;

    font-size: 11px;
    font-weight: 700;
}

.create-workout-arrow {
    color: var(--green);

    font-size: 30px;
    font-weight: 900;
}


/* YOUR WORKOUTS */

.your-workouts-section {
    padding: 30px 18px 40px;

    border-top: 1px solid #181818;
}

.your-workouts-title {
    margin-bottom: 18px;
}

.your-workouts-title p {
    margin-bottom: 5px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.your-workouts-title h2 {
    color: #fff;

    font-size: 27px;
    font-weight: 900;
}


/* EMPTY */

.custom-workouts-empty {
    padding: 28px 18px;

    background: #101010;
    border: 1px solid #222;

    text-align: center;
}

.custom-workouts-empty strong {
    display: block;

    color: #fff;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.custom-workouts-empty p {
    margin-top: 8px;

    color: #777;

    font-size: 12px;
    line-height: 1.5;
}

.custom-workout-login {
    display: block;

    width: 100%;

    margin-top: 20px;
    padding: 15px;

    background: var(--green);
    color: #050505;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}


/* WORKOUT LIST */

.custom-workout-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.custom-workout-card {
    overflow: hidden;

    background: #101010;
    border: 1px solid #222;
}

.custom-workout-card-top {
    padding: 18px;
}

.custom-workout-card-top p {
    margin-bottom: 6px;

    color: var(--green);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.custom-workout-card-top h3 {
    color: #fff;

    font-size: 21px;
    font-weight: 900;
    line-height: 1.05;
}


/* STATS */

.custom-workout-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.custom-workout-stats > div {
    padding: 15px 6px;

    text-align: center;
}

.custom-workout-stats > div + div {
    border-left: 1px solid #222;
}

.custom-workout-stats strong {
    display: block;

    margin-bottom: 5px;

    color: var(--green);

    font-size: 22px;
    font-weight: 900;
}

.custom-workout-stats span {
    display: block;

    color: #777;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
}


/* START */

.custom-workout-start {
    display: block;

    width: calc(100% - 32px);

    margin: 16px;
    padding: 15px;

    background: var(--green);
    color: #050505;

    text-align: center;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.custom-workout-start:hover {
    opacity: .9;
}


/* EDIT / DELETE */

.custom-workout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid #222;
}

.custom-workout-actions a,
.custom-workout-actions button {
    padding: 14px;

    background: #0d0d0d;
    border: 0;

    color: #888;

    font-family: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;

    text-align: center;
    cursor: pointer;
}

.custom-workout-actions button {
    border-left: 1px solid #222;
}

.custom-workout-actions a:hover {
    color: var(--green);
}

.custom-workout-actions button:hover {
    color: #ff6262;
}


/* SMALL PHONES */

@media (max-width: 380px) {

    .custom-workouts-hero,
    .custom-workouts-create,
    .your-workouts-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .create-workout-card {
        grid-template-columns: 46px 1fr auto;
    }

    .create-workout-plus {
        width: 46px;
        height: 46px;
    }

}
/* =========================================================
   CUSTOM WORKOUT BUILDER
   ========================================================= */

.workout-builder-page {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 55px;
}

.workout-builder-hero {
    padding: 30px 18px 25px;
}

.workout-builder-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    font-weight: 900;
    line-height: .95;
}

.workout-builder-hero h1 span {
    display: block;
    color: var(--green);
}

.workout-builder-hero h1 .white {
    color: #fff;
}

.workout-builder-hero > p:last-child {
    max-width: 390px;
    margin-top: 16px;
    color: #999;
    font-size: 13px;
    line-height: 1.5;
}

.workout-builder-error {
    margin: 0 18px 20px;
    padding: 13px;
    border: 1px solid #ff5252;
    background: rgba(255, 82, 82, .08);
    color: #ff7474;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}


/* NAME */

.builder-name-section {
    padding: 0 18px 30px;
}

.builder-name-section label,
.builder-add-panel > label {
    display: block;
    margin: 0 0 8px;
    color: #888;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.builder-name-section input,
.builder-add-panel select {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    background: #101010;
    border: 1px solid #292929;
    outline: 0;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
}

.builder-name-section input:focus,
.builder-add-panel select:focus {
    border-color: var(--green);
}

.builder-add-panel select:disabled {
    opacity: .4;
}


/* DAYS */

.builder-days {
    padding: 25px 18px 30px;
    border-top: 1px solid #181818;
}

.builder-section-title {
    margin-bottom: 15px;
}

.builder-section-title p {
    margin-bottom: 4px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.builder-section-title h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.builder-day-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.builder-day-button {
    position: relative;
    min-height: 48px;
    padding: 10px 4px;
    background: #101010;
    border: 1px solid #292929;
    color: #777;
    font-family: inherit;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.builder-day-button.active {
    background: var(--green);
    border-color: var(--green);
    color: #050505;
}

.builder-day-count {
    position: absolute;
    top: -6px;
    right: -5px;

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

    min-width: 18px;
    height: 18px;
    padding: 0 4px;

    border-radius: 20px;
    background: #fff;
    color: #050505;

    font-size: 9px;
    font-weight: 900;
}

.builder-day-count.has-exercises {
    display: flex;
}


/* CURRENT DAY */

.builder-current-day {
    padding: 28px 18px;
    border-top: 1px solid #181818;
}

.builder-current-day-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.builder-current-day-title p {
    margin-bottom: 4px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.builder-current-day-title h2 {
    color: #fff;
    font-size: 27px;
    font-weight: 900;
}

#currentDayExerciseCount {
    padding-bottom: 3px;
    color: #777;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


/* EMPTY DAY */

.builder-day-empty {
    margin-bottom: 18px;
    padding: 24px 12px;
    background: #0d0d0d;
    border: 1px dashed #292929;
    color: #555;
    text-align: center;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;
}


/* SELECTED EXERCISE */

.builder-exercise-list {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.builder-selected-exercise {
    overflow: hidden;
    background: #101010;
    border: 1px solid #252525;
}

.builder-selected-top {
    display: grid;
    grid-template-columns: 82px 1fr 38px;
    align-items: center;
    min-height: 82px;
}

.builder-selected-top > img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    background: #000;
}

.builder-selected-info {
    min-width: 0;
    padding: 10px 12px;
}

.builder-selected-info small {
    display: block;
    margin-bottom: 4px;
    color: var(--green);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.builder-selected-info strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
}

.builder-selected-info span {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 9px;
    font-weight: 900;
}

.builder-remove-exercise {
    align-self: stretch;
    background: #0d0d0d;
    border: 0;
    border-left: 1px solid #252525;
    color: #777;
    font-size: 23px;
    cursor: pointer;
}

.builder-remove-exercise:hover {
    color: #ff6262;
}


/* EXERCISE SETTINGS */

.builder-exercise-settings {
    border-top: 1px solid #222;
}

.builder-exercise-settings > label {
    display: grid;
    grid-template-columns: 1fr 105px;
    align-items: center;
    min-height: 54px;
    padding: 8px 12px;
    border-bottom: 1px solid #1d1d1d;
}

.builder-exercise-settings > label:last-child {
    border-bottom: 0;
}

.builder-exercise-settings > label > span {
    padding-right: 10px;
    color: #888;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.builder-exercise-settings input {
    width: 100%;
    height: 38px;
    padding: 0 9px;
    background: #080808;
    border: 1px solid #292929;
    outline: 0;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    text-align: right;
}

.builder-exercise-settings input:focus {
    border-color: var(--green);
}

.builder-input-unit {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    background: #080808;
    border: 1px solid #292929;
}

.builder-input-unit input {
    border: 0;
}

.builder-input-unit small {
    padding-right: 8px;
    color: var(--green);
    font-size: 9px;
    font-weight: 900;
}


/* ADD PANEL */

.builder-add-panel {
    padding: 16px;
    background: #0d0d0d;
    border: 1px solid #292929;
}

.builder-add-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.builder-add-title span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--green);
    color: #050505;
    font-size: 20px;
    font-weight: 900;
}

.builder-add-title strong {
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.builder-add-panel > label:not(:first-of-type) {
    margin-top: 15px;
}


/* PREVIEW */

.builder-exercise-preview {
    display: grid;
    grid-template-columns: 75px 1fr;
    align-items: center;
    margin-top: 16px;
    background: #080808;
    border: 1px solid #222;
}

.builder-exercise-preview img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    background: #000;
}

.builder-exercise-preview > div {
    padding: 10px 12px;
}

.builder-exercise-preview small {
    display: block;
    margin-bottom: 4px;
    color: var(--green);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.builder-exercise-preview strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.builder-add-button {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    background: var(--green);
    border: 0;
    color: #050505;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;
    cursor: pointer;
}

.builder-add-button:disabled {
    opacity: .25;
    cursor: default;
}


/* SAVE */

.builder-save-section {
    padding: 28px 18px;
    border-top: 1px solid #181818;
}

.builder-workout-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 16px;
    border: 1px solid #222;
}

.builder-workout-summary > div {
    padding: 15px;
    text-align: center;
}

.builder-workout-summary > div + div {
    border-left: 1px solid #222;
}

.builder-workout-summary strong {
    display: block;
    color: var(--green);
    font-size: 23px;
    font-weight: 900;
}

.builder-workout-summary span {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.builder-save-button {
    width: 100%;
    padding: 17px;
    background: var(--green);
    border: 0;
    color: #050505;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.builder-save-button:hover {
    opacity: .9;
}


@media (max-width: 380px) {

    .workout-builder-hero,
    .builder-name-section,
    .builder-days,
    .builder-current-day,
    .builder-save-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .builder-day-buttons {
        gap: 5px;
    }

    .builder-exercise-settings > label {
        grid-template-columns: 1fr 100px;
    }
}