:root {
    --bg: #0a0d11;
    --bg2: #0f1318;
    --panel: #12171d;
    --panel2: #161c23;
    --panel3: #1a2129;
    --line: #252d37;
    --line2: #333d48;
    --text: #f4f0e8;
    --muted: #9ca5af;
    --muted2: #737d88;
    --gold: #d6ad62;
    --gold2: #f1cf87;
    --gold-bg: rgba(214, 173, 98, .10);
    --danger: #e36b6b;
    --green: #68c88c;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 22px 70px rgba(0, 0, 0, .28);
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 50% -20%, #17202a 0, #0b0f14 38%, var(--bg) 72%);
    color: var(--text);
    font-family: var(--sans);
    min-height: 100vh
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .008) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 70%);
    z-index: -1
}

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

a {
    color: inherit
}

button, input {
    font: inherit
}

[hidden] {
    display: none !important
}

button {
    color: inherit
}

h1, h2, h3, p {
    margin-top: 0
}

h1, h2, h3 {
    line-height: 1.08
}

p {
    color: var(--muted);
    line-height: 1.7
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 80px;
    min-height: calc(100vh - 160px)
}

/* Header */
.topbar {
    height: 68px;
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(20px, calc((100vw - 1120px) / 2));
    background: rgba(10, 13, 17, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -.02em
}

.brand__logo {
    width: 38px;
    height: 38px;
    object-fit: contain
}

.brand strong {
    color: var(--gold2)
}

.nav {
    display: flex;
    gap: 6px
}

.nav a {
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--muted);
    font-size: .92rem
}

.nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .045)
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.35rem;
    padding: 10px
}

.footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 42px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--muted);
    font-size: .88rem
}

.footer__brand {
    display: grid;
    grid-template-columns:auto auto;
    gap: 3px 8px;
    align-items: center
}

.footer__brand span {
    grid-column: 2
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: flex-end
}

.footer a {
    text-decoration: none
}

.footer a:hover {
    color: var(--gold2)
}

/* Core */
.panel {
    background: linear-gradient(180deg, rgba(22, 28, 35, .98), rgba(16, 21, 27, .98));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .12)
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 12px;
    min-height: 46px;
    padding: 11px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 750;
    cursor: pointer;
    transition: transform .15s ease, background .15s, border-color .15s, color .15s
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px)
}

.btn:disabled {
    opacity: .42;
    cursor: not-allowed
}

.btn--gold {
    background: linear-gradient(180deg, var(--gold2), var(--gold));
    color: #1a1308
}

.btn--gold:hover:not(:disabled) {
    filter: brightness(1.05)
}

.btn--ghost {
    border-color: var(--line2);
    background: transparent;
    color: var(--text)
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .04)
}

.btn--soft {
    background: var(--gold-bg);
    border-color: rgba(214, 173, 98, .25);
    color: var(--gold2)
}

.btn--danger-ghost {
    border-color: rgba(227, 107, 107, .3);
    background: rgba(227, 107, 107, .06);
    color: #f0a0a0
}

.btn--full {
    width: 100%
}

.btn--compact {
    min-height: 38px;
    padding: 8px 12px;
    font-size: .86rem
}

.text-link {
    color: var(--gold2);
    text-decoration: none;
    font-weight: 700
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--muted);
    text-decoration: none
}

.back-link:hover {
    color: var(--text)
}

.micro-copy {
    font-size: .82rem;
    color: var(--muted2);
    margin: 0
}

.empty-state {
    padding: 26px;
    text-align: center;
    color: var(--muted2)
}

.field {
    display: grid;
    gap: 7px
}

.field > span {
    font-size: .78rem;
    color: var(--muted);
    font-weight: 700
}

.field input, .search-field input {
    width: 100%;
    border: 1px solid var(--line);
    background: #0d1217;
    color: var(--text);
    border-radius: 11px;
    outline: 0
}

.field input {
    min-height: 48px;
    padding: 0 13px
}

.field input:focus, .search-field input:focus {
    border-color: rgba(214, 173, 98, .65);
    box-shadow: 0 0 0 3px rgba(214, 173, 98, .08)
}

.form-stack {
    display: grid;
    gap: 16px
}

.inline-form {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 12px;
    align-items: end
}

.choice-row {
    display: grid;
    grid-template-columns:auto 1fr;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0e1318
}

.choice-row input {
    position: absolute;
    opacity: 0
}

.choice-row__visual {
    width: 38px;
    height: 22px;
    border-radius: 99px;
    background: #343c46;
    position: relative;
    margin-top: 2px
}

.choice-row__visual:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: .18s
}

.choice-row input:checked + .choice-row__visual {
    background: var(--gold)
}

.choice-row input:checked + .choice-row__visual:after {
    transform: translateX(16px)
}

.choice-row strong, .choice-row small {
    display: block
}

.choice-row small {
    margin-top: 3px;
    color: var(--muted);
    line-height: 1.4
}

.panel-actions {
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 18px
}

/* Home */
.home-play {
    min-height: min(560px, 72vh);
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 18px;
    align-content: center
}

.home-mode-button {
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px 28px;
    background: linear-gradient(145deg, rgba(24, 31, 39, .96), rgba(15, 20, 26, .96));
    text-decoration: none;
    display: grid;
    grid-template-columns:auto 1fr auto;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow);
    transition: .18s ease
}

.home-mode-button:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 173, 98, .46);
    background: linear-gradient(145deg, rgba(29, 36, 44, .98), rgba(17, 22, 28, .98))
}

.home-mode-button strong {
    font-family: var(--serif);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 500;
    letter-spacing: -.035em
}

.home-mode-button > span:last-child {
    font-size: 1.5rem;
    color: var(--gold)
}

.home-mode-button__icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--gold-bg);
    border: 1px solid rgba(214, 173, 98, .24);
    color: var(--gold2);
    font-size: 1.35rem
}

.seo-home-copy {
    border-top: 1px solid var(--line);
    padding-top: 70px
}

.seo-home-copy__intro {
    max-width: 760px
}

.seo-home-copy__intro h1, .article-hero h1, .compact-page-head h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 6vw, 4.3rem);
    font-weight: 500;
    letter-spacing: -.055em;
    margin-bottom: 18px
}

.seo-home-copy__intro p {
    font-size: 1.05rem
}

.seo-feature-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px;
    margin: 32px 0
}

.seo-feature-grid article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
    display: flex;
    align-items: baseline;
    gap: 9px
}

.seo-feature-grid strong {
    font-size: 1.45rem;
    color: var(--gold2)
}

.seo-feature-grid span {
    color: var(--muted)
}

.seo-link-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px
}

.seo-link-grid a {
    min-height: 110px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.seo-link-grid a:hover {
    border-color: rgba(214, 173, 98, .4)
}

.seo-link-grid span {
    color: var(--muted);
    font-size: .86rem
}

.seo-link-grid strong {
    font-size: 1rem
}

/* Setup */
.setup-shell, .single-phone-shell {
    width: min(760px, 100%);
    margin: 0 auto
}

.compact-page-head {
    margin-bottom: 28px
}

.compact-page-head--wide {
    max-width: 820px
}

.compact-page-head h1 {
    font-size: clamp(2rem, 5vw, 3.3rem);
    margin-bottom: 10px
}

.compact-page-head p:last-child {
    margin-bottom: 0
}

.setup-tabs {
    display: grid;
    grid-template-columns:1fr 1fr;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #0d1116;
    margin-bottom: 12px
}

.setup-tab, .catalog-tab, .filter-chip {
    border: 0;
    background: transparent;
    color: var(--muted);
    border-radius: 9px;
    cursor: pointer;
    font-weight: 750
}

.setup-tab {
    padding: 11px
}

.setup-tab.is-active, .catalog-tab.is-active, .filter-chip.is-active {
    background: var(--gold-bg);
    color: var(--gold2)
}

.setup-card {
    padding: 24px
}

.quiet-guide-link {
    display: block;
    text-align: center;
    margin: 18px 0;
    color: var(--muted);
    font-size: .86rem
}

.quiet-guide-link a {
    color: inherit
}

/* Game top / lobby */
.admin-shell, .room-shell {
    display: grid;
    gap: 14px
}

.game-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 2px 12px
}

.game-topline h1 {
    font-family: var(--serif);
    font-size: 2.25rem;
    margin: 0
}

.game-topline p {
    margin-bottom: 0
}

.game-topline__actions {
    display: flex;
    gap: 8px
}

.connection-pill, .room-pill, .round-pill, .count-badge {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .025);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700
}

.connection-pill {
    padding: 9px 12px
}

.connection-pill span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(104, 200, 140, .12);
    margin-right: 4px
}

.count-badge, .round-pill {
    padding: 7px 10px
}

.share-panel {
    overflow: hidden
}

.share-panel summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.share-panel summary::-webkit-details-marker {
    display: none
}

.share-panel summary span {
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600
}

.share-panel[open] summary {
    border-bottom: 1px solid var(--line)
}

.share-panel__body {
    padding: 18px;
    display: grid;
    grid-template-columns:150px 1fr;
    gap: 22px;
    align-items: center
}

.qr-image {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 12px;
    padding: 7px
}

.share-panel__body strong {
    font-size: 1.2rem
}

.share-panel__body p {
    margin: 6px 0 8px
}

.share-panel__body small {
    color: var(--muted)
}

.compact-roster {
    padding: 18px
}

.section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px
}

.section-head--compact h2 {
    font-size: 1.25rem;
    margin: 0
}

.section-head--compact .eyebrow {
    margin-bottom: 5px
}

.player-list {
    display: grid;
    gap: 8px
}

.player-list--compact {
    grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
    margin-top: 14px
}

.player-row {
    min-height: 56px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #0f1419;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.player-row__identity {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0
}

.player-row__identity div {
    min-width: 0
}

.player-row strong, .player-row small {
    display: block
}

.player-row strong {
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.player-row small {
    font-size: .72rem;
    color: var(--muted2);
    margin-top: 2px
}

.presence-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(104, 200, 140, .1);
    flex: 0 0 auto
}

.presence-dot.is-offline {
    background: #59616a;
    box-shadow: none
}

.icon-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    cursor: pointer
}

.icon-btn--danger {
    color: #d98b8b
}

.expiry-box {
    margin-top: 14px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    color: var(--muted2);
    font-size: .8rem
}

/* Role selector */
.role-config {
    padding: 20px
}

.role-config__header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start
}

.role-config__header h2 {
    font-size: 1.45rem;
    margin-bottom: 7px
}

.role-config__header p {
    margin: 0
}

.role-total {
    min-width: 75px;
    text-align: right
}

.role-total strong {
    font-size: 1.65rem;
    color: var(--gold2)
}

.role-total span {
    display: block;
    font-size: .78rem;
    color: var(--muted)
}

.preset-bar {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 8px;
    margin: 18px 0
}

.preset-btn {
    position: relative;
    min-height: 76px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0f1419;
    color: var(--text);
    padding: 12px 13px;
    cursor: pointer
}

.preset-btn:hover:not(:disabled) {
    border-color: rgba(214, 173, 98, .38)
}

.preset-btn strong, .preset-btn span {
    display: block
}

.preset-btn strong {
    font-size: .9rem
}

.preset-btn span {
    font-size: .72rem;
    color: var(--muted);
    margin-top: 4px
}

.preset-btn em {
    position: absolute;
    right: 8px;
    top: 7px;
    font-style: normal;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold)
}

.preset-btn--recommended {
    border-color: rgba(214, 173, 98, .25)
}

.selected-role-summary {
    min-height: 38px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin
}

.selected-role-summary > span {
    font-size: .78rem;
    color: var(--muted2);
    padding: 8px 0
}

.selected-role-summary button {
    white-space: nowrap;
    border: 1px solid var(--line);
    background: #0e1318;
    color: var(--muted);
    border-radius: 999px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: .75rem
}

.selected-role-summary b {
    color: var(--gold2)
}

.catalog-tabs {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 4px;
    background: #0d1116;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px;
    margin: 8px 0
}

.catalog-tab {
    padding: 10px
}

.search-field {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #0d1217;
    padding: 0 10px
}

.search-field span {
    color: var(--muted2)
}

.search-field input {
    min-height: 44px;
    border: 0 !important;
    background: transparent;
    box-shadow: none !important;
    padding: 0
}

.search-field--compact {
    margin: 9px 0
}

.role-selector--compact {
    display: grid;
    gap: 7px;
    max-height: 480px;
    overflow: auto;
    padding-right: 3px;
    overscroll-behavior: contain;
    scrollbar-color: #38424d transparent
}

.role-item {
    height: 70px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0e1318;
    display: grid;
    grid-template-columns:44px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 7px 9px;
    transition: border-color .15s, background .15s
}

.role-item.is-selected {
    border-color: rgba(214, 173, 98, .42);
    background: rgba(214, 173, 98, .055)
}

.role-thumb {
    width: 44px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    overflow: hidden;
    background: #080b0e;
    cursor: pointer
}

.role-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.role-item__copy {
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 0;
    text-align: left;
    cursor: pointer;
    min-width: 0
}

.role-item__copy strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .92rem
}

.role-item__copy small {
    display: block;
    color: var(--muted2);
    font-size: .69rem;
    margin-top: 4px
}

.stepper {
    display: grid;
    grid-template-columns:32px 26px 32px;
    align-items: center;
    gap: 3px
}

.stepper button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #151b22;
    color: var(--text);
    font-weight: 800;
    cursor: pointer
}

.stepper button:disabled {
    opacity: .3
}

.stepper output {
    text-align: center;
    font-weight: 800
}

.distribution-bar {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px
}

.distribution-bar span, .distribution-bar small {
    display: block
}

.distribution-bar span {
    font-weight: 750
}

.distribution-bar small {
    margin-top: 4px;
    color: var(--muted2);
    font-size: .74rem
}

.round-controls {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.round-controls h2 {
    margin: 0
}

.round-controls__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.skeleton-list {
    display: grid;
    gap: 7px
}

.skeleton-list span {
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(90deg, #11171d, #19212a, #11171d);
    background-size: 200% 100%;
    animation: skeleton 1.4s infinite
}

@keyframes skeleton {
    to {
        background-position: -200% 0
    }
}

/* Single phone */
.single-stepper {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 6px;
    margin: 0 0 14px
}

.single-stepper span {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted2);
    font-size: .78rem
}

.single-stepper b {
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #1b222a;
    margin-right: 4px
}

.single-stepper .is-active {
    color: var(--gold2);
    border-color: rgba(214, 173, 98, .3);
    background: var(--gold-bg)
}

.single-stepper .is-complete {
    color: var(--text)
}

.single-panel {
    padding: 22px
}

.single-panel h2 {
    font-size: 1.5rem
}

.name-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px
}

.name-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #0e1318;
    padding: 6px 8px 6px 10px;
    font-size: .82rem
}

.name-chip b {
    color: var(--gold2)
}

.name-chip button {
    border: 0;
    background: #1a2128;
    color: var(--muted);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer
}

.single-confirm-panel {
    padding: 24px;
    text-align: center
}

.single-progress-head {
    display: flex;
    justify-content: space-between;
    text-align: left;
    gap: 10px
}

.single-progress-head h2 {
    margin: 0
}

.single-progress {
    height: 4px;
    background: #252d36;
    border-radius: 99px;
    overflow: hidden;
    margin: 16px 0 24px
}

.single-progress span {
    display: block;
    height: 100%;
    background: var(--gold);
    transition: width .25s
}

.single-handoff-panel > p {
    margin-bottom: 22px
}

.single-finish-panel {
    padding: 30px;
    text-align: center
}

.success-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    background: rgba(104, 200, 140, .1);
    border: 1px solid rgba(104, 200, 140, .3);
    color: var(--green);
    font-size: 1.5rem
}

.single-finish-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px
}

/* Stable card experience */
.room-grid {
    display: grid;
    grid-template-columns:minmax(0, 520px) minmax(250px, 1fr);
    gap: 14px;
    align-items: start
}

.game-card-panel {
    padding: 18px;
    overflow: hidden
}

.game-card-header {
    height: 65px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start
}

.game-card-header h2 {
    font-size: 1.35rem;
    margin: 0;
    min-height: 1.4em
}

.game-card-stage {
    height: min(58vh, 520px);
    min-height: 390px;
    display: grid;
    place-items: center;
    padding: 8px 0
}

.game-card-stage--small {
    height: 440px;
    min-height: 360px
}

.card-flip {
    width: auto;
    height: 100%;
    aspect-ratio: 2/3;
    max-width: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .48s cubic-bezier(.2, .75, .2, 1);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .28))
}

.card-flip.is-flipped {
    transform: rotateY(180deg)
}

.card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    background: #080b0e
}

.card-face--front {
    transform: rotateY(180deg)
}

.card-face img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #080b0e
}

.card-placeholder {
    position: absolute;
    inset: auto 12px 16px;
    background: rgba(7, 9, 12, .75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 9px;
    text-align: center;
    font-size: .78rem;
    color: var(--muted)
}

.card-actions {
    display: grid;
    gap: 8px
}

.card-actions--stable {
    height: 108px;
    min-height: 108px;
    grid-template-columns:1fr 1fr;
    align-content: start
}

.card-actions--stable .btn:first-child:last-child {
    grid-column: 1/-1
}

.privacy-note {
    margin: 8px 0 0;
    font-size: .75rem;
    text-align: center
}

.admin-own-card {
    max-width: 480px
}

.lobby-panel {
    padding: 18px;
    position: sticky;
    top: 82px
}

/* Rules */
.rules-order-card {
    padding: 20px;
    margin-bottom: 24px
}

.rules-order-columns {
    display: grid;
    grid-template-columns:.55fr 1.45fr;
    gap: 18px
}

.rules-order-columns > div {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #0e1318
}

.rules-order-columns h3 {
    font-size: 1rem;
    color: var(--gold2)
}

.rules-order-columns ol {
    columns: 2;
    column-gap: 26px;
    padding-left: 24px;
    margin: 0
}

.rules-order-columns > div:first-child ol {
    columns: 1
}

.rules-order-columns li {
    break-inside: avoid;
    padding: 5px 0;
    color: var(--muted);
    font-size: .84rem
}

.rules-toolbar-shell {
    position: sticky;
    top: 78px;
    z-index: 20;
    padding: 9px;
    background: rgba(10, 13, 17, .9);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 22px;
    display: grid;
    grid-template-columns:1fr auto;
    gap: 10px
}

.team-filters {
    display: flex;
    gap: 4px
}

.filter-chip {
    padding: 9px 12px
}

.rule-group {
    margin: 28px 0
}

.rule-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.rule-group__head h2 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500;
    margin: 0
}

.rule-group__head span {
    color: var(--muted2);
    font-size: .8rem
}

.rule-list {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 8px
}

.rule-row {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--panel);
    overflow: hidden
}

.rule-row__main {
    width: 100%;
    height: 100%;
    min-height: 106px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: inherit;
    display: grid;
    grid-template-columns:58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer
}

.rule-row__main:hover {
    background: rgba(255, 255, 255, .025)
}

.rule-row__main img {
    width: 58px;
    height: 88px;
    object-fit: cover;
    border-radius: 7px
}

.rule-row__copy {
    min-width: 0
}

.rule-row__copy strong, .rule-row__copy small, .rule-row__copy span {
    display: block
}

.rule-row__copy strong {
    font-size: .96rem
}

.rule-row__copy small {
    color: var(--muted);
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.rule-row__copy span {
    color: var(--muted2);
    font-size: .7rem;
    margin-top: 6px
}

.rule-row__main > b {
    color: var(--gold);
    padding-right: 8px
}

.rule-row__seo {
    position: absolute;
    right: 12px;
    bottom: 8px;
    font-size: .66rem;
    color: transparent;
    text-decoration: none;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.rule-row__seo:focus {
    color: var(--gold2);
    width: auto;
    height: auto;
    background: #11161b;
    padding: 4px
}

/* Articles and SEO */
.article-shell {
    width: min(900px, 100%);
    margin: 0 auto
}

.article-hero {
    padding: 20px 0 32px;
    max-width: 820px
}

.article-hero h1 {
    margin-bottom: 18px
}

.article-hero > p:last-child {
    font-size: 1.05rem
}

.article-sections {
    display: grid;
    gap: 10px
}

.article-section {
    padding: 22px
}

.article-section h2 {
    font-size: 1.35rem;
    margin-bottom: 8px
}

.article-section p {
    margin: 0
}

.article-faq {
    padding: 22px;
    margin-top: 10px
}

.article-faq details, .faq-list details {
    border-top: 1px solid var(--line);
    padding: 13px 0
}

.article-faq summary, .faq-list summary {
    cursor: pointer;
    font-weight: 800
}

.article-faq details p, .faq-list details p {
    margin: 8px 0 0
}

.article-cta {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin: 22px 0
}

.article-related {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--line)
}

.article-related a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 11px;
    text-decoration: none;
    color: var(--muted);
    font-size: .82rem
}

.config-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 22px
}

.config-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--panel);
    text-decoration: none;
    padding: 15px;
    display: grid;
    grid-template-columns:48px 1fr auto;
    gap: 12px;
    align-items: center
}

.config-card:hover {
    border-color: rgba(214, 173, 98, .4)
}

.config-card__number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-bg);
    color: var(--gold2);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 850
}

.config-card strong, .config-card small {
    display: block
}

.config-card small {
    color: var(--muted);
    margin-top: 3px
}

.config-card > b {
    color: var(--gold)
}

.deck-style-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px
}

.deck-style-card {
    padding: 18px
}

.deck-style-card.is-featured {
    border-color: rgba(214, 173, 98, .43)
}

.deck-style-card__head {
    display: flex;
    justify-content: space-between;
    gap: 8px
}

.deck-style-card__head > span {
    font-size: .65rem;
    color: var(--gold2);
    text-transform: uppercase;
    letter-spacing: .1em
}

.deck-style-card h2 {
    font-size: 1.1rem
}

.deck-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0
}

.deck-list li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: .82rem
}

.deck-list strong {
    color: var(--gold2)
}

.table-card {
    padding: 8px 16px 16px
}

.responsive-table {
    overflow: auto
}

.responsive-table table {
    width: 100%;
    border-collapse: collapse
}

.responsive-table th, .responsive-table td {
    text-align: left;
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    font-size: .84rem
}

.responsive-table th {
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.responsive-table td a {
    color: var(--gold2)
}

.night-order-grid {
    display: grid;
    grid-template-columns:.65fr 1.35fr;
    gap: 10px
}

.night-order-grid > .panel {
    padding: 20px
}

.big-order-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: grid;
    gap: 4px
}

.big-order-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 9px;
    background: #0e1318;
    color: var(--muted);
    font-size: .84rem
}

.big-order-list li span {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: var(--gold-bg);
    color: var(--gold2);
    font-size: .7rem;
    font-weight: 800
}

.rules-hero {
    max-width: 800px;
    margin-bottom: 24px
}

.rules-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 500
}

.guide-mode-head {
    margin: 34px 0 12px
}

.steps-grid, .seo-longform {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px
}

.step-card, .seo-copy-card {
    padding: 19px
}

.step-card > span {
    color: var(--gold);
    font-weight: 900;
    font-size: .75rem
}

.step-card h3 {
    margin: 8px 0;
    font-size: 1rem
}

.local-guide, .faq-copy {
    padding: 22px;
    margin-top: 18px
}

.hero-cta-row, .role-seo-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap
}

.seo-bottom-cta {
    text-align: center;
    padding: 50px 0
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .8rem;
    margin-bottom: 20px
}

.breadcrumbs a {
    text-decoration: none
}

.role-seo-layout {
    display: grid;
    grid-template-columns:minmax(220px, 340px) 1fr;
    gap: 30px;
    align-items: start
}

.role-seo-card img {
    border-radius: 16px;
    box-shadow: var(--shadow);
    height: auto;
}

.role-seo-copy {
    padding-top: 10px
}

.role-seo-copy h1 {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 8px
}

.role-seo-lead {
    font-size: 1.08rem;
    color: var(--text) !important
}

.role-detail__facts {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 8px;
    margin: 18px 0
}

.fact {
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 11px;
    background: #0e1318
}

.fact span, .fact strong {
    display: block
}

.fact span {
    font-size: .68rem;
    color: var(--muted2);
    text-transform: uppercase;
    letter-spacing: .08em
}

.fact strong {
    margin-top: 3px
}

.role-source-note {
    padding: 20px;
    margin-top: 20px
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 5, 7, .78);
    backdrop-filter: blur(6px);
    width: 100%;
    height: 100%
}

.modal__panel {
    position: relative;
    width: min(760px, calc(100% - 24px));
    max-height: 88vh;
    overflow: auto;
    margin: 6vh auto 0;
    background: #12181f;
    border: 1px solid var(--line2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .55)
}

.modal__close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #0d1217;
    color: var(--muted);
    cursor: pointer;
    z-index: 2
}

.role-detail {
    display: grid;
    grid-template-columns:220px 1fr;
    gap: 24px
}

.role-detail__card img {
    border-radius: 12px
}

.role-detail__body h2 {
    font-family: var(--serif);
    font-size: 2rem
}

.role-detail__summary {
    color: var(--text);
    font-weight: 700
}

.role-detail__description {
    font-size: .92rem
}

.assignments {
    display: grid;
    gap: 6px;
    margin-top: 16px
}

.assignment-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px
}

.assignment-row span {
    color: var(--muted)
}

/* Toast */
.toast-stack {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 120;
    display: grid;
    gap: 8px
}

.toast {
    max-width: 360px;
    padding: 12px 14px;
    border: 1px solid var(--line2);
    border-radius: 11px;
    background: #171e25;
    color: var(--text);
    box-shadow: var(--shadow);
    animation: toastIn .18s ease
}

.toast--error {
    border-color: rgba(227, 107, 107, .4)
}

.toast--success {
    border-color: rgba(104, 200, 140, .35)
}

.toast.is-leaving {
    opacity: 0;
    transform: translateY(5px)
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(8px)
    }
}

/* Join / error */
.narrow-wrap {
    width: min(520px, 100%);
    margin: 40px auto
}

.join-panel, .error-panel {
    padding: 28px;
    text-align: center
}

.join-panel .form-stack {
    text-align: left;
    margin-top: 22px
}

.panel__icon--large {
    font-size: 2rem;
    color: var(--gold2)
}

.room-pill {
    display: inline-flex;
    padding: 7px 10px;
    margin-bottom: 18px
}

.status-banner {
    padding: 12px;
    border-radius: 10px;
    margin-top: 14px
}

.status-banner--danger {
    background: rgba(227, 107, 107, .09);
    border: 1px solid rgba(227, 107, 107, .3);
    color: #f0a0a0
}

@media (max-width: 900px) {
    .seo-link-grid {
        grid-template-columns:1fr 1fr
    }

    .deck-style-grid {
        grid-template-columns:1fr
    }

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

    .lobby-panel {
        position: static
    }

    .steps-grid, .seo-longform {
        grid-template-columns:1fr 1fr
    }

    .rule-list {
        grid-template-columns:1fr
    }

    .night-order-grid {
        grid-template-columns:1fr
    }

    .role-seo-layout {
        grid-template-columns:280px 1fr
    }

    .rules-order-columns {
        grid-template-columns:1fr
    }

    .rules-order-columns ol {
        columns: 2
    }
}

@media (max-width: 700px) {
    .page-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 24px
    }

    .topbar {
        height: 60px;
        padding: 0 12px
    }

    .brand__logo {
        width: 34px;
        height: 34px
    }

    .nav-toggle {
        display: block
    }

    .nav {
        position: absolute;
        right: 10px;
        top: 56px;
        display: none;
        width: 220px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: #10151b;
        box-shadow: var(--shadow);
        flex-direction: column
    }

    .nav.is-open {
        display: flex
    }

    .nav a {
        padding: 11px 12px
    }

    .footer {
        width: calc(100% - 20px);
        flex-direction: column
    }

    .footer__links {
        justify-content: flex-start
    }

    .home-play {
        min-height: calc(100svh - 90px);
        grid-template-columns:1fr;
        gap: 10px;
        align-content: center
    }

    .home-mode-button {
        min-height: 135px;
        padding: 20px
    }

    .home-mode-button strong {
        font-size: 1.65rem
    }

    .home-mode-button__icon {
        width: 46px;
        height: 46px
    }

    .seo-home-copy {
        padding-top: 48px
    }

    .seo-feature-grid {
        grid-template-columns:1fr 1fr
    }

    .seo-link-grid {
        grid-template-columns:1fr
    }

    .setup-shell, .single-phone-shell {
        width: 100%
    }

    .inline-form {
        grid-template-columns:1fr
    }

    .game-topline {
        align-items: flex-start
    }

    .game-topline h1 {
        font-size: 1.9rem
    }

    .game-topline__actions {
        flex-direction: column
    }

    .share-panel__body {
        grid-template-columns:110px 1fr
    }

    .qr-image {
        width: 110px;
        height: 110px
    }

    .player-list--compact {
        grid-template-columns:1fr 1fr
    }

    .preset-bar {
        grid-template-columns:1fr 1fr
    }

    .preset-btn:last-child {
        grid-column: 1/-1
    }

    .role-config {
        padding: 14px
    }

    .role-config__header h2 {
        font-size: 1.25rem
    }

    .role-selector--compact {
        max-height: 430px
    }

    .role-item {
        grid-template-columns:42px minmax(0, 1fr) auto;
        height: 68px
    }

    .role-thumb {
        width: 42px;
        height: 54px
    }

    .distribution-bar {
        position: sticky;
        bottom: 8px;
        background: rgba(16, 21, 27, .96);
        backdrop-filter: blur(12px);
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 10px 11px;
        margin: 12px -4px -4px;
        z-index: 10
    }

    .distribution-bar .btn {
        min-width: 125px
    }

    .round-controls {
        align-items: flex-start;
        flex-direction: column
    }

    .game-card-stage {
        height: min(57svh, 490px);
        min-height: 360px
    }

    .game-card-stage--small {
        height: 430px
    }

    .card-actions--stable {
        min-height: 108px
    }

    .rules-toolbar-shell {
        top: 66px;
        grid-template-columns:1fr
    }

    .team-filters {
        overflow-x: auto
    }

    .filter-chip {
        white-space: nowrap
    }

    .rules-order-columns ol {
        columns: 1
    }

    .rule-group__head h2 {
        font-size: 1.65rem
    }

    .rule-row__main {
        grid-template-columns:54px minmax(0, 1fr) auto;
        min-height: 96px
    }

    .rule-row__main img {
        width: 54px;
        height: 80px
    }

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

    .article-hero h1 {
        font-size: 2.45rem
    }

    .steps-grid, .seo-longform {
        grid-template-columns:1fr
    }

    .role-seo-layout {
        grid-template-columns:1fr
    }

    .role-seo-card {
        width: min(310px, 82vw);
        margin: 0 auto
    }

    .role-seo-copy h1 {
        font-size: 2.35rem
    }

    .role-detail {
        grid-template-columns:1fr
    }

    .role-detail__card {
        width: 180px;
        margin: 0 auto
    }

    .modal__panel {
        padding: 20px 16px;
        margin-top: 3vh;
        max-height: 94vh
    }

    .single-stepper span {
        font-size: .69rem;
        padding: 8px 5px
    }

    .single-progress-head {
        align-items: flex-start
    }

    .single-finish-actions {
        display: grid
    }

    .single-finish-actions > * {
        width: 100%
    }
}

@media (max-width: 430px) {
    .seo-feature-grid {
        grid-template-columns:1fr
    }

    .home-mode-button {
        grid-template-columns:auto 1fr auto
    }

    .player-list--compact {
        grid-template-columns:1fr
    }

    .preset-bar {
        grid-template-columns:1fr
    }

    .preset-btn:last-child {
        grid-column: auto
    }

    .role-item__copy small {
        display: none
    }

    .stepper {
        grid-template-columns:30px 23px 30px
    }

    .stepper button {
        width: 30px;
        height: 30px
    }

    .distribution-bar {
        display: grid;
        grid-template-columns:1fr auto
    }

    .distribution-bar small {
        display: none
    }

    .share-panel__body {
        grid-template-columns:1fr;
        text-align: center
    }

    .qr-image {
        margin: auto
    }

    .game-card-stage {
        min-height: 335px;
        height: 53svh
    }

    .card-actions--stable {
        grid-template-columns:1fr 1fr
    }

    .rule-row__copy small {
        max-width: 190px
    }

    .rules-order-card {
        padding: 14px
    }

    .compact-page-head h1 {
        font-size: 2.15rem
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important
    }
}

.reveal-on-load {
    animation: riseIn .42s ease both
}

.reveal-delay-1 {
    animation-delay: .05s
}

.reveal-delay-2 {
    animation-delay: .10s
}

.reveal-delay-3 {
    animation-delay: .15s
}

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

.game-card-header h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.deck-list a {
    text-decoration: none;
    color: var(--text)
}

.deck-list a:hover {
    color: var(--gold2)
}


/* V4.1 — single-phone reveal and stable actions */
.game-card-stage {
    perspective: 1200px
}

.card-flip {
    will-change: transform;
    -webkit-transform-style: preserve-3d
}

.card-face {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.single-card-actions .btn {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px
}

.single-card-actions.is-covered #single-reveal-card {
    grid-column: 1/-1
}

.single-card-actions.is-revealed #single-next-player,
.single-card-actions.is-hidden-after-reveal #single-next-player {
    grid-column: 1/-1
}

.single-card-actions #single-next-player {
    white-space: nowrap;
    font-size: .88rem
}

@media (max-width: 430px) {
    .single-card-actions .btn {
        font-size: .78rem;
        padding-left: 7px;
        padding-right: 7px
    }

    .single-card-actions #single-next-player {
        font-size: .84rem
    }
}

/* V5 — single-phone card renderer: one visible <img>, no 3D flip. */
.single-card-image-shell {
    width: auto;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 2/3;
    display: grid;
    place-items: center;
    border-radius: 14px;
    overflow: hidden;
    background: #080b0e;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .28));
    transition: opacity .18s ease, transform .18s ease;
}

.single-card-image-shell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #080b0e;
}

.single-card-image-shell.is-switching {
    opacity: .35;
    transform: scale(.992)
}

.single-card-image-shell.is-revealed {
    animation: singleCardReveal .22s ease both
}

@keyframes singleCardReveal {
    from {
        opacity: .72;
        transform: scale(.992)
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

.single-card-actions {
    height: 108px;
    min-height: 108px;
    grid-template-columns:1fr 1fr;
    align-content: start
}

.single-card-actions.is-covered #single-reveal-card {
    grid-column: 1/-1
}

.single-card-actions.is-revealed #single-next-player,
.single-card-actions.is-hidden-after-reveal #single-next-player {
    grid-column: 1/-1
}

.single-card-actions #single-next-player {
    white-space: nowrap;
    font-size: .88rem
}

@media (max-width: 430px) {
    .single-card-actions .btn {
        font-size: .78rem;
        padding-left: 7px;
        padding-right: 7px
    }

    .single-card-actions #single-next-player {
        font-size: .82rem
    }
}

/* Nuova partita sempre disponibile — modalità un telefono */

.single-phone-bottom-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    margin-top: 22px;
    padding-bottom: 30px;
}

.single-phone-bottom-actions .quiet-guide-link {
    margin: 0;
    text-align: center;
}

.single-restart-button {
    width: min(100%, 360px);

    border-color: rgba(255, 255, 255, .12);

    font-size: .86rem;
    font-weight: 700;
}

.single-restart-button:hover {
    border-color: rgba(227, 107, 107, .45);
}