body.basic:has(.dailybuzz) {
    --buzz-ink: #edf2e8;
    --buzz-muted: #a4b7aa;
    --buzz-line: #3a4b41;
    --buzz-surface: #1c2821;
    --buzz-hover: #2b3c30;
    --buzz-yellow: #f5cb42;
    color-scheme: dark;
    background: #131b16;
    color: var(--buzz-ink);
    background-image: radial-gradient(#334437 0.7px, transparent 0.7px);
    background-size: 19px 19px;
}

.dailybuzz,
.dailybuzz * {
    box-sizing: border-box;
}

.dailybuzz {
    max-width: 1600px;
    min-height: 100svh;
    margin: 0 auto;
    padding: 0 24px env(safe-area-inset-bottom, 0px);
    font: 16px/1.5 "DM Sans", sans-serif;
    letter-spacing: 0;
    color: var(--buzz-ink);
}

.dailybuzz h1,
.dailybuzz h2,
.buzz-brand,
.buzz-stats dd {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--buzz-ink);
}

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

.dailybuzz button {
    font: inherit;
    margin: 0;
    cursor: pointer;
    touch-action: manipulation;
    opacity: 1;
}

.dailybuzz button:disabled {
    opacity: 1 !important;
    background-color: transparent !important;
    color: #7e8d83 !important;
    border-color: #344138;
    cursor: default;
}

.dailybuzz button .fa {
    display: inline-block;
    width: 1em;
    margin: 0;
    padding: 0;
    line-height: 1;
    text-align: center;
}

.dailybuzz [hidden] {
    display: none !important;
}

.dailybuzz button:focus-visible,
.dailybuzz a:focus-visible {
    outline: 3px solid var(--buzz-yellow);
    outline-offset: 4px;
}

.buzz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--buzz-line);
}

.dailybuzz .buzz-title {
    margin: 0;
    min-width: 0;
    font-size: 24px;
    line-height: 1.3;
    text-transform: none;
    color: #fff;
}

.dailybuzz .buzz-brand,
.dailybuzz .buzz-brand:hover,
.dailybuzz .buzz-brand:focus {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font: inherit;
    text-decoration: none;
    border-bottom: 0;
    background: transparent;
}

.buzz-brand img {
    flex-shrink: 0;
}

#buzz-title {
    overflow-wrap: anywhere;
    color: #fff;
}

.buzz-eyebrow,
.buzz-live,
.buzz-status-label {
    font-size: 10px;
    font-weight: 700;
}

.dailybuzz .buzz-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    padding: 0;
    color: var(--buzz-ink);
    background: transparent;
    border: 1px solid var(--buzz-line);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
}

.dailybuzz .buzz-icon:hover:not(:disabled) {
    background: var(--buzz-hover);
}

.buzz-game {
    padding-top: 8px;
}

.buzz-eyebrow {
    color: var(--buzz-muted);
    margin: 0 0 9px;
}

.buzz-play-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 24px;
    align-items: center;
    padding: 0 0 12px;
}

.buzz-board-area {
    min-width: 0;
}

.buzz-board-wrap {
    position: relative;
    width: 100%;
    max-width: calc((100svh - 200px - env(safe-area-inset-bottom, 0px)) * 556 / 442);
    margin-inline: auto;
    aspect-ratio: 556/442;
}

#buzz-board {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    -webkit-touch-callout: none;
}

.buzz-cell {
    fill: #223127;
    stroke: #4a6050;
    stroke-width: 1;
}

.buzz-cell-lane {
    fill: #343c29;
}

.buzz-cell-reachable {
    fill: #3b5541;
    stroke: #9ac78b;
    cursor: pointer;
    outline: none;
}

.buzz-cell-reachable:hover,
.buzz-cell-reachable:focus-visible {
    fill: #506b42;
    stroke: var(--buzz-yellow);
    stroke-width: 2;
}

.buzz-cell-center {
    fill: #526b55;
    stroke: none;
}

.buzz-piece {
    cursor: grab;
    outline: none;
    touch-action: none;
}

.buzz-piece:active {
    cursor: grabbing;
}

.buzz-piece-body {
    stroke: #315246;
    stroke-width: 1.5;
    transition: filter .15s, stroke-width .15s;
}

.buzz-piece:hover .buzz-piece-body {
    filter: brightness(1.05);
    stroke-width: 2.5;
}

.buzz-piece[aria-pressed="true"] .buzz-piece-body,
.buzz-piece:focus-visible .buzz-piece-body {
    stroke: #fff3ae;
    stroke-width: 4;
    filter: drop-shadow(0 0 3px #f5cb4266);
}

.buzz-piece-mark {
    fill: #234a3b;
    opacity: .7;
}

.buzz-crown {
    fill: #fff9db;
    stroke: #51451d;
    stroke-width: 1.7;
}

.buzz-exit {
    cursor: pointer;
    outline: none;
}

.buzz-exit circle {
    fill: var(--buzz-surface);
    stroke: #78937a;
    stroke-width: 1.4;
}

.buzz-exit path {
    stroke: var(--buzz-ink);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.buzz-exit:focus-visible circle {
    stroke: var(--buzz-yellow);
    stroke-width: 4;
}

.buzz-exit-ready circle {
    fill: var(--buzz-yellow);
    stroke: #a48a30;
}

.buzz-exit-ready path {
    stroke: #203f35;
}

.buzz-exit .buzz-exit-hit {
    fill: transparent;
    stroke: none;
}

.buzz-board-label {
    font: 700 10px "DM Sans", sans-serif;
    fill: var(--buzz-muted);
}

.buzz-loading {
    position: absolute;
    inset: 45% 0 auto;
    text-align: center;
    color: var(--buzz-muted);
    font-size: 14px;
}

.buzz-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding-top: 6px;
}

.buzz-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 16px;
    background: transparent;
    border: 0;
    color: var(--buzz-ink);
    font-size: 13px !important;
    border-radius: 4px;
}

.buzz-tool:hover:not(:disabled) {
    background: var(--buzz-hover);
}

.buzz-tool .fa {
    font-size: 17px;
}

.dailybuzz .buzz-sidebar {
    position: static;
    grid-area: auto;
    width: auto;
    max-height: none;
    overflow: visible;
    transform: none;
    will-change: auto;
    transition: none;
    align-self: stretch;
    padding: 48px 0 20px;
    min-width: 0;
}

.buzz-hive-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

.dailybuzz .buzz-day-controls {
    display: flex;
    flex-direction: row;
    gap: 6px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.buzz-live {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--buzz-ink);
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}

.buzz-live>span[aria-hidden] {
    width: 6px;
    height: 6px;
    background: #9ac78b;
    border-radius: 50%;
    flex-shrink: 0;
}

.buzz-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 22px 0 24px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--buzz-line);
}

.buzz-stats dt {
    font-size: 12px;
    font-weight: 500;
    color: var(--buzz-muted);
    margin-bottom: 3px;
}

.buzz-stats dd {
    font-size: 31px;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    margin: 0;
}

.buzz-status-label {
    color: var(--buzz-muted);
}

.buzz-status-block .buzz-goal {
    font-size: 16px;
    line-height: 1.5;
    color: var(--buzz-ink);
    margin: 0;
}

#buzz-status {
    font-size: 13px;
    color: var(--buzz-muted);
    margin: 8px 0 0;
}

#buzz-status:empty {
    display: none;
}

.buzz-selection {
    border-top: 1px solid var(--buzz-line);
    padding-top: 14px;
    margin-top: 20px;
}

.buzz-selection>span {
    font-size: 12px;
    font-weight: 600;
    min-width: 0;
    overflow-wrap: anywhere;
}

.buzz-slide-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.buzz-axis {
    font-size: 24px;
    color: var(--buzz-muted);
}

.buzz-slide-controls[data-free="true"] {
    display: grid;
    width: 160px;
    grid-template-columns: repeat(3, 48px);
    grid-template-rows: repeat(3, 48px);
    gap: 8px;
    justify-items: center;
    align-items: center;
}

[data-free="true"] #buzz-northwest {
    grid-area: 1 / 1;
}

[data-free="true"] #buzz-northeast {
    grid-area: 1 / 3;
}

[data-free="true"] #buzz-backward {
    grid-area: 2 / 1;
}

[data-free="true"] #buzz-axis {
    grid-area: 2 / 2;
}

[data-free="true"] #buzz-forward {
    grid-area: 2 / 3;
}

[data-free="true"] #buzz-southwest {
    grid-area: 3 / 1;
}

[data-free="true"] #buzz-southeast {
    grid-area: 3 / 3;
}

#buzz-northwest i,
#buzz-southeast i {
    transform: rotate(-30deg);
}

#buzz-northeast i,
#buzz-southwest i {
    transform: rotate(30deg);
}

.buzz-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--buzz-yellow);
    border-radius: 5px;
    background: var(--buzz-yellow);
    color: #203f35;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.buzz-primary:hover {
    background: #ffe085;
}

#buzz-share {
    width: 100%;
    margin-top: 18px;
}

.buzz-next {
    color: var(--buzz-muted);
    font-size: 11px;
    margin: 22px 0 0;
    font-variant-numeric: tabular-nums;
}

.buzz-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--buzz-line);
    padding: 12px 0;
    font-size: 11px;
    color: var(--buzz-muted);
}

.buzz-footer a {
    color: var(--buzz-muted);
    text-decoration: none;
}

.buzz-footer .fa {
    margin-left: 4px;
    font-size: 10px;
}

.buzz-dialog {
    position: fixed;
    inset: 0;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100svh - 40px);
    margin: auto;
    padding: 32px;
    border: 1px solid var(--buzz-line);
    border-radius: 8px;
    background: var(--buzz-surface);
    color: var(--buzz-ink);
    box-shadow: 0 20px 70px #00000066;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.buzz-dialog::backdrop {
    background: #070d0ad9;
    backdrop-filter: blur(4px);
}

.buzz-dialog-close {
    position: absolute;
    right: 16px;
    top: 16px;
}

.buzz-dialog>img {
    margin-bottom: 16px;
}

.buzz-dialog h2 {
    font-size: 27px;
    margin: 0 0 20px;
}

.buzz-dialog p:not(.buzz-eyebrow) {
    font-size: 14px;
    line-height: 1.7;
    color: var(--buzz-muted);
}

.buzz-dialog .buzz-primary {
    margin-top: 12px;
}

.buzz-no-script {
    padding: 20px;
    text-align: center;
}

.buzz-won .buzz-piece {
    opacity: .45;
    pointer-events: none;
}

.buzz-won .buzz-piece-queen {
    opacity: 1;
    translate: 100px 0;
    transition: translate .7s ease, opacity .7s;
}

@keyframes buzz-arrive {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.buzz-game {
    animation: buzz-arrive .6s ease both;
}

@media (max-width: 900px) {
    .dailybuzz {
        max-width: 900px;
        padding: 0 max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-left));
    }

    .buzz-header {
        padding: 8px 0;
    }

    .dailybuzz .buzz-title {
        font-size: 20px;
    }

    .dailybuzz .buzz-brand {
        gap: 8px;
    }

    .buzz-brand img {
        width: 40px;
        height: 40px;
    }

    .buzz-game {
        padding-top: 4px;
    }

    .buzz-board-wrap {
        max-width: none;
    }

    .buzz-play-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding-top: 0;
    }

    .buzz-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px 16px;
        padding: 14px 0 0;
        border-top: 1px solid var(--buzz-line);
    }

    .buzz-hive-nav {
        grid-column: 1/-1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 12px;
    }

    .buzz-stats {
        margin: 0;
        padding: 0;
        border: 0;
        gap: 15px;
        align-self: center;
    }

    .buzz-stats dd {
        font-size: 27px;
    }

    .buzz-status-block {
        min-width: 0;
        border-left: 1px solid var(--buzz-line);
        padding-left: 16px;
    }

    .buzz-status-block .buzz-goal {
        font-size: 14px;
    }

    .buzz-status-label {
        font-size: 9px;
    }

    .buzz-selection {
        grid-column: 1/-1;
        grid-row: 1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 160px;
        gap: 12px;
        align-items: center;
        margin-top: 0;
        min-height: 72px;
        padding: 10px 12px;
        background: var(--buzz-surface);
        border: 1px solid var(--buzz-line);
        border-radius: 6px;
    }

    .buzz-slide-controls {
        width: 144px;
        margin-top: 0;
    }

    .buzz-next {
        margin: 0;
        grid-column: 1/-1;
        font-size: 10px;
    }

    #buzz-share {
        grid-column: 1/-1;
        margin: 0;
    }

    .buzz-toolbar {
        padding-top: 0;
        gap: 12px;
    }

    .buzz-toolbar .buzz-tool {
        min-width: 112px;
    }

    .buzz-dialog {
        padding: 24px;
        max-height: calc(100svh - 24px);
    }

    .buzz-footer {
        padding-top: 15px;
        font-size: 10px;
        flex-wrap: wrap;
    }
}

@media (max-width: 360px) {
    .dailybuzz {
        padding-inline: max(6px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-right));
    }

    .dailybuzz .buzz-title {
        font-size: 18px;
    }

    .buzz-stats dd {
        font-size: 23px;
    }

    .buzz-footer {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {

    .dailybuzz *,
    .dailybuzz *::before {
        animation: none !important;
        transition: none !important;
    }
}
