/*
  Windchill.UI theme: design tokens and base styles. Link it once in the app's <head>:
    <link rel="stylesheet" href="_content/Windchill.UI/windchill-ui.css" />

  The look follows the Minnesota Wind Chill visual identity guidelines: slate #71809A, black and white (plus tints of
  them), Areno Serif for titles and Montserrat for body text. Dark is the default. Set data-theme="light" on <html>
  (or on any element, for a subtree) for the light theme. Apps load the two fonts themselves; see README.md.

  Token names (--wc-*) are a contract with every app. Add new ones freely; renaming or removing one is a breaking change.
*/

:root,
[data-theme="dark"] {
    color-scheme: dark;

    /* Ground and surfaces: a soft black (not pure black) with slate tints. */
    --wc-color-bg: #0a0b0d;
    --wc-color-surface: #111317;
    --wc-color-surface-2: #191c21;
    --wc-color-raised: #1e2127;
    --wc-color-input: #07080a;
    --wc-color-border: #23272f;
    --wc-color-border-strong: #353c47;

    /* Text: white and tints of it. */
    --wc-color-text: #ffffff;
    --wc-color-text-muted: rgba(255, 255, 255, 0.74);
    --wc-color-text-subtle: rgba(255, 255, 255, 0.58);

    /* Brand slate. Slate fills carry black text (5.3:1). */
    --wc-color-brand: #71809a;
    --wc-color-on-brand: #000000;
    --wc-color-brand-soft: rgba(113, 128, 154, 0.22);
    --wc-color-brand-text: #8d99ae;
    --wc-color-selected: rgba(113, 128, 154, 0.16);

    /* Actions: the primary action is white on black; secondary is a slate-tinted fill. */
    --wc-color-primary: #ffffff;
    --wc-color-on-primary: #000000;
    --wc-color-secondary: #23272f;
    --wc-color-hover: rgba(255, 255, 255, 0.07);

    /* The highlight for "this one": the selected row, the dragged clip, first place. */
    --wc-color-mark: #ffffff;
    --wc-color-focus: #ffffff;

    /* Status colors, used only for errors, warnings and wins or losses. */
    --wc-color-danger: #f2777a;
    --wc-color-on-danger: #000000;
    --wc-color-danger-soft: rgba(242, 119, 122, 0.13);
    --wc-color-success: #5cc38f;
    --wc-color-success-soft: rgba(92, 195, 143, 0.13);
    --wc-color-warning: #f0b45b;
    --wc-color-warning-soft: rgba(240, 180, 91, 0.13);

    --wc-color-scrim: rgba(0, 0, 0, 0.65);
    --wc-color-inverse-bg: #ffffff;
    --wc-color-inverse-text: #000000;
    --wc-color-inverse-brand: #4f5a6c;
    --wc-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
    color-scheme: light;

    --wc-color-bg: #f4f5f7;
    --wc-color-surface: #ffffff;
    --wc-color-surface-2: #ebedf1;
    --wc-color-raised: #ffffff;
    --wc-color-input: #ffffff;
    --wc-color-border: #e0e3e9;
    --wc-color-border-strong: #c6ccd7;

    --wc-color-text: #000000;
    --wc-color-text-muted: rgba(0, 0, 0, 0.72);
    --wc-color-text-subtle: rgba(0, 0, 0, 0.58);

    --wc-color-brand: #71809a;
    --wc-color-on-brand: #000000;
    --wc-color-brand-soft: rgba(113, 128, 154, 0.16);
    --wc-color-brand-text: #4f5a6c;
    --wc-color-selected: rgba(113, 128, 154, 0.10);

    --wc-color-primary: #000000;
    --wc-color-on-primary: #ffffff;
    --wc-color-secondary: #e0e3e9;
    --wc-color-hover: rgba(0, 0, 0, 0.05);

    --wc-color-mark: #000000;
    --wc-color-focus: #000000;

    --wc-color-danger: #c2373c;
    --wc-color-on-danger: #ffffff;
    --wc-color-danger-soft: rgba(194, 55, 60, 0.08);
    --wc-color-success: #1f7a4d;
    --wc-color-success-soft: rgba(31, 122, 77, 0.09);
    --wc-color-warning: #8a5300;
    --wc-color-warning-soft: rgba(201, 132, 20, 0.12);

    --wc-color-scrim: rgba(0, 0, 0, 0.35);
    --wc-color-inverse-bg: #000000;
    --wc-color-inverse-text: #ffffff;
    --wc-color-inverse-brand: #a9b4c6;
    --wc-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

/* Theme-independent tokens. */
:root {
    --wc-font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wc-font-display: "Areno Serif", "Oswald", Impact, "Arial Narrow", sans-serif;

    --wc-text-xs: 0.75rem;
    --wc-text-sm: 0.8125rem;
    --wc-text-md: 0.875rem;
    --wc-text-lg: 1rem;
    --wc-title-sm: 1.375rem;
    --wc-title-md: 1.875rem;
    --wc-title-lg: 2.875rem;

    /* 4px spacing scale. */
    --wc-space-1: 0.25rem;
    --wc-space-2: 0.5rem;
    --wc-space-3: 0.75rem;
    --wc-space-4: 1rem;
    --wc-space-5: 1.25rem;
    --wc-space-6: 1.5rem;
    --wc-space-8: 2rem;
    --wc-space-10: 2.5rem;

    /* Shapes: clipped corners from the shield's letter. Inputs keep a small radius. */
    --wc-cut-sm: 4px;
    --wc-cut: 7px;
    --wc-cut-lg: 12px;
    --wc-radius: 4px;

    --wc-control-height: 2.25rem;
    --wc-control-height-sm: 1.875rem;
    --wc-control-height-touch: 2.75rem;

    --wc-duration: 150ms;
}

/* Base styles for the app shell. Put class="wc-app" on the element that hosts the new UI. */
.wc-app {
    background: var(--wc-color-bg);
    color: var(--wc-color-text);
    font-family: var(--wc-font-body);
    font-size: var(--wc-text-md);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.wc-app *,
.wc-app *::before,
.wc-app *::after {
    box-sizing: border-box;
}

/* Text styles. Titles use Areno Serif, always in capitals. */
.wc-title {
    font-family: var(--wc-font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 0.95;
    font-size: var(--wc-title-lg);
    margin: 0;
}

.wc-heading {
    font-family: var(--wc-font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    font-size: var(--wc-title-md);
    margin: 0;
}

.wc-subheading {
    font-family: var(--wc-font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    font-size: var(--wc-title-sm);
    margin: 0;
}

.wc-label {
    font-family: var(--wc-font-body);
    font-size: 0.65625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--wc-color-text-subtle);
    margin: 0;
}

.wc-caption {
    font-size: var(--wc-text-sm);
    color: var(--wc-color-text-muted);
    margin: 0;
}

/* Clipped corners (top left and bottom right). Set --wc-cut-size to change the cut; borders don't follow the cut,
   so bordered shapes draw the diagonal themselves (see Card). Clipping also hides outer focus rings: components
   draw focus inside the shape with .wc-focus-inset. */
.wc-cut {
    --_cut: var(--wc-cut-size, var(--wc-cut));
    clip-path: polygon(var(--_cut) 0, 100% 0, 100% calc(100% - var(--_cut)), calc(100% - var(--_cut)) 100%, 0 100%, 0 var(--_cut));
}

.wc-focus-inset:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--wc-color-bg), inset 0 0 0 4px var(--wc-color-focus);
}

.wc-numeric {
    font-variant-numeric: tabular-nums;
}

.wc-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --wc-duration: 0ms;
    }
}

/* Form fields: the label, box, help and error shared by TextField and Select. */
.wc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wc-field-label {
    font-size: var(--wc-text-sm);
    font-weight: 600;
    color: var(--wc-color-text);
}

.wc-input {
    position: relative;
    display: flex;
    align-items: center;
    height: calc(var(--wc-control-height) + 2px);
    border: 1px solid var(--wc-color-border-strong);
    border-radius: var(--wc-radius);
    background: var(--wc-color-input);
    transition: border-color var(--wc-duration), box-shadow var(--wc-duration);
}

.wc-input:focus-within {
    border-color: var(--wc-color-focus);
    box-shadow: 0 0 0 3px var(--wc-color-brand-soft);
}

.wc-input-error,
.wc-input-error:focus-within {
    border-color: var(--wc-color-danger);
}

.wc-input-disabled {
    opacity: 0.5;
}

.wc-input input,
.wc-input select {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 var(--wc-space-3);
    border: 0;
    outline: none;
    background: transparent;
    color: var(--wc-color-text);
    font-family: var(--wc-font-body);
    font-size: var(--wc-text-md);
}

.wc-input select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 2.25rem;
    cursor: pointer;
}

.wc-input select option {
    background: var(--wc-color-raised);
    color: var(--wc-color-text);
}

.wc-input input::placeholder,
.wc-input textarea::placeholder {
    color: var(--wc-color-text-subtle);
}

/* Search boxes look and size like the other boxes (Safari's own search styling can push past a narrow box), and text
   or a placeholder too long for the box ends in "…" instead of being cut mid-word. */
.wc-input input[type="search"] {
    -webkit-appearance: none;
    appearance: none;
}

.wc-input input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

.wc-input input {
    text-overflow: ellipsis;
}

/* A multi-line box (TextField Lines > 1) grows with its rows instead of the control height. */
.wc-input-multiline {
    height: auto;
    align-items: stretch;
}

.wc-input textarea {
    flex: 1 1 auto;
    min-width: 0;
    padding: var(--wc-space-2) var(--wc-space-3);
    border: 0;
    outline: none;
    background: transparent;
    color: var(--wc-color-text);
    font-family: var(--wc-font-body);
    font-size: var(--wc-text-md);
    line-height: 1.5;
    resize: vertical;
}

.wc-input-has-icon input {
    padding-left: 0;
}

.wc-input .wc-input-icon {
    margin: 0 var(--wc-space-2) 0 var(--wc-space-3);
    color: var(--wc-color-text-subtle);
}

.wc-input .wc-select-chevron {
    position: absolute;
    right: var(--wc-space-3);
    color: var(--wc-color-text-muted);
    pointer-events: none;
}

.wc-field-help {
    font-size: var(--wc-text-xs);
    color: var(--wc-color-text-subtle);
}

.wc-field-error {
    color: var(--wc-color-danger);
}

/* 16px text on phones stops iOS zooming into the box. */
@media (pointer: coarse) {
    .wc-input { height: var(--wc-control-height-touch); }
    .wc-input-multiline { height: auto; }
    .wc-input input,
    .wc-input select,
    .wc-input textarea { font-size: 1rem; }
}

/* Brand backgrounds: a photo fading into the page behind its title, and snow settled at the bottom (denser low,
   fading upward). PageHeader and Snow use these; see Foundation/README.md. */
:root,
[data-theme="dark"] {
    --wc-photo-fade: linear-gradient(180deg, rgba(10, 11, 13, 0.3) 0%, rgba(10, 11, 13, 0.62) 50%, #0a0b0d 100%);
    --wc-snow-small: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27360%27%20height%3D%27360%27%3E%3Cdefs%3E%3Cg%20id%3D%27a%27%3E%3Cpath%20d%3D%27M0-10V10M-3-7.5L0-4.5L3-7.5M-3%207.5L0%204.5L3%207.5%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27f%27%3E%3Cuse%20href%3D%27%23a%27%2F%3E%3Cuse%20href%3D%27%23a%27%20transform%3D%27rotate(60)%27%2F%3E%3Cuse%20href%3D%27%23a%27%20transform%3D%27rotate(120)%27%2F%3E%3C%2Fg%3E%3C%2Fdefs%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23FFFFFF%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27round%27%20opacity%3D%270.15%27%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(46%2062)%20rotate(10)%20scale(0.7)%27%20stroke-opacity%3D%271%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(214%2034)%20rotate(25)%20scale(0.42)%27%20stroke-opacity%3D%270.8%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(304%20146)%20rotate(18)%20scale(0.95)%27%20stroke-opacity%3D%271%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(122%20206)%20rotate(40)%20scale(0.5)%27%20stroke-opacity%3D%270.85%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(262%20292)%20rotate(5)%20scale(0.75)%27%20stroke-opacity%3D%270.95%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(32%20304)%20rotate(30)%20scale(0.38)%27%20stroke-opacity%3D%270.7%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23FFFFFF%27%20opacity%3D%270.15%27%3E%3Ccircle%20cx%3D%2792%27%20cy%3D%27128%27%20r%3D%271.3%27%20fill-opacity%3D%270.9%27%2F%3E%3Ccircle%20cx%3D%27172%27%20cy%3D%27318%27%20r%3D%271.1%27%20fill-opacity%3D%270.7%27%2F%3E%3Ccircle%20cx%3D%27334%27%20cy%3D%2742%27%20r%3D%271.2%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27204%27%20cy%3D%27168%27%20r%3D%271%27%20fill-opacity%3D%270.6%27%2F%3E%3Ccircle%20cx%3D%2718%27%20cy%3D%27182%27%20r%3D%271.2%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27300%27%20cy%3D%27222%27%20r%3D%271%27%20fill-opacity%3D%270.6%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    --wc-snow-large: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27520%27%20height%3D%27520%27%3E%3Cdefs%3E%3Cg%20id%3D%27a%27%3E%3Cpath%20d%3D%27M0-10V10M-3-7.5L0-4.5L3-7.5M-3%207.5L0%204.5L3%207.5%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27f%27%3E%3Cuse%20href%3D%27%23a%27%2F%3E%3Cuse%20href%3D%27%23a%27%20transform%3D%27rotate(60)%27%2F%3E%3Cuse%20href%3D%27%23a%27%20transform%3D%27rotate(120)%27%2F%3E%3C%2Fg%3E%3C%2Fdefs%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23FFFFFF%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27round%27%20opacity%3D%270.15%27%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(90%20120)%20rotate(12)%20scale(1.15)%27%20stroke-opacity%3D%271%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(380%2070)%20rotate(33)%20scale(0.6)%27%20stroke-opacity%3D%270.9%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(460%20330)%20rotate(20)%20scale(0.85)%27%20stroke-opacity%3D%271%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(230%20420)%20rotate(8)%20scale(0.5)%27%20stroke-opacity%3D%270.8%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(60%20470)%20rotate(44)%20scale(0.7)%27%20stroke-opacity%3D%270.9%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(300%20240)%20rotate(15)%20scale(0.4)%27%20stroke-opacity%3D%270.7%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23FFFFFF%27%20opacity%3D%270.15%27%3E%3Ccircle%20cx%3D%27180%27%20cy%3D%2740%27%20r%3D%271.4%27%20fill-opacity%3D%270.9%27%2F%3E%3Ccircle%20cx%3D%27420%27%20cy%3D%27200%27%20r%3D%271.2%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27130%27%20cy%3D%27300%27%20r%3D%271.1%27%20fill-opacity%3D%270.7%27%2F%3E%3Ccircle%20cx%3D%27500%27%20cy%3D%27480%27%20r%3D%271.3%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27340%27%20cy%3D%27500%27%20r%3D%271%27%20fill-opacity%3D%270.6%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
[data-theme="light"] {
    --wc-photo-fade: linear-gradient(180deg, rgba(244, 245, 247, 0.45) 0%, rgba(244, 245, 247, 0.84) 50%, #f4f5f7 100%);
    --wc-snow-small: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27360%27%20height%3D%27360%27%3E%3Cdefs%3E%3Cg%20id%3D%27a%27%3E%3Cpath%20d%3D%27M0-10V10M-3-7.5L0-4.5L3-7.5M-3%207.5L0%204.5L3%207.5%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27f%27%3E%3Cuse%20href%3D%27%23a%27%2F%3E%3Cuse%20href%3D%27%23a%27%20transform%3D%27rotate(60)%27%2F%3E%3Cuse%20href%3D%27%23a%27%20transform%3D%27rotate(120)%27%2F%3E%3C%2Fg%3E%3C%2Fdefs%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%2371809A%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27round%27%20opacity%3D%270.12%27%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(46%2062)%20rotate(10)%20scale(0.7)%27%20stroke-opacity%3D%271%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(214%2034)%20rotate(25)%20scale(0.42)%27%20stroke-opacity%3D%270.8%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(304%20146)%20rotate(18)%20scale(0.95)%27%20stroke-opacity%3D%271%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(122%20206)%20rotate(40)%20scale(0.5)%27%20stroke-opacity%3D%270.85%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(262%20292)%20rotate(5)%20scale(0.75)%27%20stroke-opacity%3D%270.95%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(32%20304)%20rotate(30)%20scale(0.38)%27%20stroke-opacity%3D%270.7%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%2371809A%27%20opacity%3D%270.12%27%3E%3Ccircle%20cx%3D%2792%27%20cy%3D%27128%27%20r%3D%271.3%27%20fill-opacity%3D%270.9%27%2F%3E%3Ccircle%20cx%3D%27172%27%20cy%3D%27318%27%20r%3D%271.1%27%20fill-opacity%3D%270.7%27%2F%3E%3Ccircle%20cx%3D%27334%27%20cy%3D%2742%27%20r%3D%271.2%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27204%27%20cy%3D%27168%27%20r%3D%271%27%20fill-opacity%3D%270.6%27%2F%3E%3Ccircle%20cx%3D%2718%27%20cy%3D%27182%27%20r%3D%271.2%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27300%27%20cy%3D%27222%27%20r%3D%271%27%20fill-opacity%3D%270.6%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    --wc-snow-large: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27520%27%20height%3D%27520%27%3E%3Cdefs%3E%3Cg%20id%3D%27a%27%3E%3Cpath%20d%3D%27M0-10V10M-3-7.5L0-4.5L3-7.5M-3%207.5L0%204.5L3%207.5%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27f%27%3E%3Cuse%20href%3D%27%23a%27%2F%3E%3Cuse%20href%3D%27%23a%27%20transform%3D%27rotate(60)%27%2F%3E%3Cuse%20href%3D%27%23a%27%20transform%3D%27rotate(120)%27%2F%3E%3C%2Fg%3E%3C%2Fdefs%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%2371809A%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27round%27%20opacity%3D%270.12%27%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(90%20120)%20rotate(12)%20scale(1.15)%27%20stroke-opacity%3D%271%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(380%2070)%20rotate(33)%20scale(0.6)%27%20stroke-opacity%3D%270.9%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(460%20330)%20rotate(20)%20scale(0.85)%27%20stroke-opacity%3D%271%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(230%20420)%20rotate(8)%20scale(0.5)%27%20stroke-opacity%3D%270.8%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(60%20470)%20rotate(44)%20scale(0.7)%27%20stroke-opacity%3D%270.9%27%2F%3E%3Cuse%20href%3D%27%23f%27%20transform%3D%27translate(300%20240)%20rotate(15)%20scale(0.4)%27%20stroke-opacity%3D%270.7%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%2371809A%27%20opacity%3D%270.12%27%3E%3Ccircle%20cx%3D%27180%27%20cy%3D%2740%27%20r%3D%271.4%27%20fill-opacity%3D%270.9%27%2F%3E%3Ccircle%20cx%3D%27420%27%20cy%3D%27200%27%20r%3D%271.2%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27130%27%20cy%3D%27300%27%20r%3D%271.1%27%20fill-opacity%3D%270.7%27%2F%3E%3Ccircle%20cx%3D%27500%27%20cy%3D%27480%27%20r%3D%271.3%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27340%27%20cy%3D%27500%27%20r%3D%271%27%20fill-opacity%3D%270.6%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.wc-snow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.wc-snow::before,
.wc-snow::after {
    content: "";
    position: absolute;
    inset: 0;
}

.wc-snow::before {
    background: var(--wc-snow-small) 0 0 / 360px 360px;
    -webkit-mask-image: linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.2) 100%);
    mask-image: linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.2) 100%);
}

.wc-snow::after {
    background: var(--wc-snow-large) 150px 90px / 520px 520px;
    -webkit-mask-image: linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0.5) 22%, transparent 48%);
    mask-image: linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0.5) 22%, transparent 48%);
}

/* Swipe targets stay separate from player controls and allow vertical scrolling. */
.wc-swipe-tab {
    position: fixed;
    right: 0;
    top: 35%;
    transform: translateY(-50%);
    width: 22px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 8px 2px;
    writing-mode: vertical-rl;
    white-space: nowrap;
    border: 1px solid var(--wc-color-border);
    border-right: 0;
    border-radius: 9px 0 0 9px;
    background: var(--wc-color-surface);
    color: var(--wc-color-text-muted);
    font: 600 var(--wc-text-xs)/1 var(--wc-font-body);
    cursor: pointer;
}
.wc-swipe-tab-left {
    right: auto;
    left: 0;
    border: 1px solid var(--wc-color-border);
    border-left: 0;
    border-radius: 0 9px 9px 0;
}
.wc-swipe-tab-left span { transform: rotate(180deg); }
.wc-swipe-tab:hover, .wc-swipe-tab:focus-visible {
    background: var(--wc-color-hover);
    color: var(--wc-color-text);
}
.wc-swipe-tab:focus-visible {
    outline: 2px solid var(--wc-color-focus);
    outline-offset: -2px;
}
.wc-swipe-tab::before {
    content: "";
    position: absolute;
    inset: -14px 0 -14px -22px;
}
.wc-swipe-tab-left::before { inset: -14px -22px -14px 0; }
[data-swipe-drawers][data-wc-swipe], [data-swipe-drawer], .wc-swipe-tab { touch-action: pan-y; }
.is-swiping-drawer { user-select: none; }

[data-swipe-drawer][inert]:not([data-wc-dragging]) { visibility: hidden; }
