/* Red&Co: bundle "common", generated from src/ (support/bundles.php). Do not edit here: edit the sources. */

/* ===== src/elements/footer.css ===== */
/* Red&Co: styles of views/elements/footer.blade.php. Mobile / tablet rules (@media) at the end of the file. */

/* Areas that stay dark in light theme (footer, hero over a photo) */
.rc-keep-dark {
    --rc-fg: #fff;
    --rc-fg-rgb: 255, 255, 255;
    --rc-fg-2: rgba(255, 255, 255, .72);
    --rc-fg-3: rgba(255, 255, 255, .5);
    --rc-meta: rgb(158, 150, 145);
    --rc-hair: rgba(255, 255, 255, .12);
    --rc-success: rgb(90, 239, 134);
    --rc-gold-ink: rgb(246, 198, 84);
    --rc-red-ink: rgb(240, 100, 100);
    --rc-orange-ink: rgb(255, 136, 0);
    --rc-chip-border: rgba(255, 255, 255, .2);
    --rc-error: var(--rc-red-ink);
    color: #fff;
}
[data-bs-theme=light] .rc-keep-dark .rc-h1,
[data-bs-theme=light] .rc-keep-dark .rc-h2,
[data-bs-theme=light] .rc-keep-dark .rc-display { text-shadow: var(--shadow-sticker); }
/* "Terrain" footer: relief of stacked cubes + ground */
.rc-footer {
    position: relative;
    flex-shrink: 0;
    height: 470px;
    overflow: hidden;
    background: var(--rc-bg);
    color: #fff;
}
.rc-footer-terrain {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2304px;
    height: 100%;
    margin-left: -1152px;
}
.rc-footer-terrain .rc-cube {
    position: absolute;
    filter: none;
    /* the cube drawing keeps a margin in its 96 px frame: ~1 px empty between two columns, where the
       background showed (mostly in light theme) → cubes enlarged by 2.5 % so that the columns touch */
    transform: scale(1.025);
}
.rc-footer-ground {
    position: absolute;
    left: 0;
    right: 0;
    top: 372px;
    bottom: 0;
    background: var(--rc-ground);
}
.rc-footer-fade {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 240px;
    background: linear-gradient(rgb(var(--rc-bg-rgb)) 0%, rgb(var(--rc-bg-rgb)) 25%, rgba(var(--rc-bg-rgb), 0) 100%);
}
.rc-footer-bar {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 28px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.rc-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rc-footer-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.rc-footer-brand p {
    margin: 0;
    max-width: 480px;
    font: 500 14px/1.5 var(--font-ui);
    color: var(--rc-fg);
}
.rc-footer-unofficial {
    display: block;
    font: 500 12px/1.4 var(--font-ui);
    color: var(--rc-fg-3);
}
.rc-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.rc-footer-links a {
    font: 500 14px/1 var(--font-ui);
    color: var(--rc-fg-3);
    white-space: nowrap;
    transition: color var(--dur-fast);
}
.rc-footer-links a:hover { color: var(--rc-fg); }
.rc-footer-social {
    display: flex;
    gap: 8px;
}
.rc-footer-social a {
    width: var(--ctl);
    height: var(--ctl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--rc-chip-border);
    color: var(--rc-fg-2);
    font-size: 16px;
}
.rc-footer-social a:hover {
    color: var(--rc-fg);
    border-color: var(--rc-fg);
}
@media (max-width: 991.98px) {
/* "Terrain + ground" mobile footer: smaller relief, text on the ground strip, 44 px links */
.rc-footer { height: auto; padding-top: 248px; } /* off-token: layout */
.rc-footer-terrain { transform: scale(.667); transform-origin: 50% 0; }
.rc-footer-ground { top: 248px; }
.rc-footer-fade { height: 160px; }
.rc-footer-bar { position: relative; left: auto; right: auto; bottom: auto; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 16px 24px; }
.rc-footer-brand { gap: 12px; }
.rc-footer-brand img { width: 44px; height: 44px; }
.rc-footer-brand p { font-size: 12px; color: rgba(var(--rc-fg-rgb), .85); }
.rc-footer-links { gap: 0 20px; }
.rc-footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--rc-fg-2); }
}
/* ---------- Footer in light theme (it stayed black, with a beige fade at the top) ---------- */
[data-bs-theme=light] .rc-footer.rc-keep-dark {
    --rc-fg: var(--rc-coal);
    --rc-fg-rgb: var(--rc-coal-rgb);
    --rc-fg-2: rgba(var(--rc-coal-rgb), .74);
    --rc-fg-3: rgba(var(--rc-coal-rgb), .65);
    --rc-meta: rgb(108, 100, 95);
    --rc-hair: rgba(var(--rc-coal-rgb), .12);
    background: var(--rc-bg);
    color: var(--rc-coal);
}
[data-bs-theme=light] .rc-footer-ground { background: linear-gradient(var(--rc-light-300) 0%, var(--rc-light-400) 100%); }
@media (max-width: 767.98px) {
/* ---------- Footer A "Terrain + ground": 188 px relief (64 px cubes, base 140), 112 px fade ---------- */
.rc-footer { padding-top: 188px; } /* off-token: layout */
.rc-footer-terrain { top: -60px; }
.rc-footer-ground { top: 188px; }
.rc-footer-fade { height: 112px; background: linear-gradient(rgb(var(--rc-bg-rgb)) 0%, rgb(var(--rc-bg-rgb)) 20%, rgba(var(--rc-bg-rgb), 0) 100%); }
/* theme background (warm black), not pure black */
.rc-footer-bar { padding: 20px 16px 24px; gap: 12px; }
.rc-footer-brand p { font: 500 12px/1.5 var(--font-ui); color: rgba(var(--rc-fg-rgb), .85); }
.rc-footer-links { gap: 0 20px; }
.rc-footer-social { display: none; }
/* Footer in light theme */
[data-bs-theme=light] .rc-footer-fade { background: linear-gradient(var(--rc-bg) 0%, var(--rc-bg) 20%, rgba(var(--rc-bg-rgb), 0) 100%); }
}

/* ===== src/layouts/base.css ===== */
/* Red&Co: styles of views/layouts/base.blade.php. Mobile / tablet rules (@media) at the end of the file. */

body.rc-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--rc-bg);
    color: var(--rc-fg);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
/* ---------- 4. Bootstrap skin ----------
   Plugin pages (and the Azuriom views not overridden)
   use the Bootstrap classes: we restyle them in Red&Co colors. */
.rc-body {
    --bs-body-bg: var(--rc-bg);
    --bs-body-color: var(--rc-fg);
    --bs-body-font-family: var(--font-ui);
    --bs-body-font-weight: 500;
    --bs-emphasis-color: var(--rc-fg);
    --bs-secondary-color: var(--rc-fg-3);
    --bs-tertiary-color: var(--rc-meta);
    --bs-secondary-bg: var(--rc-raised);
    --bs-tertiary-bg: var(--rc-modal);
    --bs-border-color: var(--rc-hair);
    --bs-border-color-translucent: var(--rc-hair);
    --bs-border-radius: var(--radius-md);
    --bs-border-radius-sm: 10px;
    --bs-border-radius-lg: 20px;
    --bs-border-radius-xl: 25px;
    --bs-primary: var(--rc-red);
    --bs-primary-rgb: var(--rc-red-rgb);
    --bs-danger: var(--rc-red);
    --bs-danger-rgb: var(--rc-red-rgb);
    --bs-success-rgb: 16, 222, 85;
    --bs-warning-rgb: 255, 136, 0;
    --bs-link-color: var(--rc-fg);
    --bs-link-color-rgb: var(--rc-fg-rgb);
    --bs-link-hover-color: var(--rc-fg);
    --bs-link-hover-color-rgb: var(--rc-fg-rgb);
    --bs-heading-color: var(--rc-fg);
    --bs-focus-ring-color: rgba(var(--rc-fg-rgb), .35);
}
.rc-body h1,
.rc-body .h1,
.rc-body h2,
.rc-body .h2 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: var(--lh-title);
}
.rc-body h3,
.rc-body .h3,
.rc-body h4,
.rc-body .h4,
.rc-body h5,
.rc-body .h5 {
    font-family: var(--font-ui);
    font-weight: 700;
}
.rc-body h3.card-title,
.rc-body .card-title {
    text-transform: uppercase;
    letter-spacing: .04em;
}
.rc-body .text-body-secondary,
.rc-body .text-muted {
    color: var(--rc-meta) !important;
}
.rc-body .text-primary { color: var(--rc-red) !important; }
.rc-body .bg-primary { background-color: var(--rc-red) !important; }
/* Cards */
.rc-body .card {
    --bs-card-bg: var(--rc-surface);
    --bs-card-color: var(--rc-fg);
    --bs-card-border-color: var(--rc-hair);
    --bs-card-border-radius: var(--radius-lg);
    --bs-card-inner-border-radius: calc(var(--radius-lg) - 1px);
    --bs-card-cap-bg: transparent;
    --bs-card-spacer-y: 20px;
    --bs-card-spacer-x: 20px;
    border: var(--rc-card-border);
    box-shadow: var(--rc-card-shadow);
}
.rc-body .card-header {
    border-bottom: 1px solid var(--rc-hair);
    font-weight: 700;
}
.rc-body .card-footer {
    border-top: 1px solid var(--rc-hair);
    color: var(--rc-meta);
}
.rc-body .card-img-top {
    border-radius: var(--radius-md);
    width: calc(100% - 24px);
    margin: 12px 12px 0;
}
/* Bootstrap buttons (plugin pages): same sizes as .rc-btn (_core/components.css) — 44 px, 14 px, .08em;
   small 38 px / 12 px; large 62 px / 20 px */
.rc-body .btn {
    --bs-btn-font-family: var(--font-ui);
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: 14px;
    --bs-btn-line-height: 1;
    --bs-btn-padding-x: 24px;
    --bs-btn-padding-y: 0;
    --bs-btn-border-radius: var(--radius-pill);
    --bs-btn-focus-box-shadow: 0 0 0 3px rgba(var(--rc-fg-rgb), .3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--ctl-md);
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), filter var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast);
}
.rc-body .btn:active {
    transform: scale(.97);
}
.rc-body .btn-sm {
    --bs-btn-padding-x: 16px;
    --bs-btn-font-size: 14px;
    min-height: var(--ctl-btn-sm);
}
.rc-body .btn-lg {
    --bs-btn-padding-x: 32px;
    --bs-btn-font-size: 20px;
    min-height: var(--ctl-xl);
}
/* Primary button = raised (one single main action per screen) */
.rc-body .btn-primary,
.rc-btn-primary {
    --bs-btn-color: var(--cta-fg);
    --bs-btn-bg: var(--cta-bg);
    --bs-btn-border-color: var(--cta-edge);
    --bs-btn-hover-color: var(--cta-fg);
    --bs-btn-hover-bg: var(--cta-hover);
    --bs-btn-hover-border-color: var(--cta-edge);
    --bs-btn-active-color: var(--cta-fg);
    --bs-btn-active-bg: var(--cta-bg);
    --bs-btn-active-border-color: var(--cta-edge);
    --bs-btn-disabled-color: var(--cta-fg);
    --bs-btn-disabled-bg: var(--cta-bg);
    --bs-btn-disabled-border-color: var(--cta-edge);
    border-width: 3px;
    box-shadow: 0 var(--cta-depth) 0 var(--cta-shadow);
    margin-bottom: var(--cta-depth);
}
.rc-body .btn-primary:active,
.rc-body .btn-primary.active,
.rc-btn-primary:active {
    transform: translateY(calc(var(--cta-depth) - 2px));
    box-shadow: 0 2px 0 var(--cta-shadow);
}
[data-bs-theme=light].rc-body .btn-primary,
[data-bs-theme=light] .rc-btn.rc-btn-primary {
    border-width: 2px;
}
/* Secondary = flat, outline only */
.rc-body .btn-secondary,
.rc-body .btn-outline-primary,
.rc-body .btn-outline-secondary,
.rc-body .btn-light,
.rc-body .btn-dark,
.rc-body .btn-info,
.rc-body .btn-outline-info {
    --bs-btn-color: var(--rc-fg);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(var(--rc-fg-rgb), .5);
    --bs-btn-hover-color: var(--rc-fg);
    --bs-btn-hover-bg: rgba(var(--rc-fg-rgb), .08);
    --bs-btn-hover-border-color: var(--rc-fg);
    --bs-btn-active-color: var(--rc-fg);
    --bs-btn-active-bg: rgba(var(--rc-fg-rgb), .12);
    --bs-btn-active-border-color: var(--rc-fg);
    --bs-btn-disabled-color: var(--rc-fg-3);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--rc-hair);
}
.rc-body .btn-success {
    --bs-btn-color: #000;
    --bs-btn-bg: var(--rc-green);
    --bs-btn-border-color: var(--rc-green);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--rc-success);
    --bs-btn-hover-border-color: var(--rc-success);
}
.rc-body .btn-warning {
    --bs-btn-color: #000;
    --bs-btn-bg: var(--rc-orange);
    --bs-btn-border-color: var(--rc-orange);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--rc-orange-hover);
    --bs-btn-hover-border-color: var(--rc-orange-hover);
}
/* Destructive = text link ("Delete my account") */
.rc-body .btn-danger,
.rc-body .btn-outline-danger {
    --bs-btn-color: var(--rc-error);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(240, 100, 100, .5);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rc-red);
    --bs-btn-hover-border-color: var(--rc-red);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--rc-red);
    --bs-btn-active-border-color: var(--rc-red);
}
.rc-body .btn-link {
    --bs-btn-color: var(--rc-fg-2);
    --bs-btn-hover-color: var(--rc-fg);
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
}
/* Forms — same rendering as the TextField component */
.rc-body .form-control,
.rc-body .form-select {
    min-height: var(--ctl-lg);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background-color: var(--rc-input-bg);
    border: 1px solid var(--rc-input-border);
    color: var(--rc-fg);
    font: 500 16px/1.5 var(--font-ui);
    transition: border-color var(--dur-fast);
}
.rc-body textarea.form-control {
    min-height: 120px;
}
.rc-body .form-control-sm,
.rc-body .form-select-sm {
    min-height: var(--ctl-btn-sm);
    padding: 4px 12px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}
/* room for the arrow: the text of a select never goes under it (auto width included) */
.rc-body .form-select { padding-right: 48px; }
.rc-body .form-select-sm { padding-right: 32px; }
/* options of the open select: theme background and text (otherwise light text on the system white background) */
.rc-body .form-select { color-scheme: dark; }
.rc-body[data-bs-theme=light] .form-select { color-scheme: light; }
.rc-body .form-select :is(option, optgroup) { background-color: var(--rc-modal); color: var(--rc-fg); }
.rc-body .form-control::placeholder {
    color: var(--rc-fg-3);
}
.rc-body .form-control:focus,
.rc-body .form-select:focus {
    background-color: var(--rc-input-bg);
    border-color: var(--rc-fg);
    color: var(--rc-fg);
    box-shadow: none;
}
.rc-body .form-control.is-invalid,
.rc-body .form-select.is-invalid {
    border-color: var(--rc-error);
    background-image: none;
    padding-right: 16px;
}
.rc-body .invalid-feedback {
    color: var(--rc-error);
    font-size: 14px;
}
.rc-body .invalid-feedback::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    vertical-align: -.15em;
    background: currentColor;
    -webkit-mask: var(--rc-error-icon) center / contain no-repeat;
    mask: var(--rc-error-icon) center / contain no-repeat;
}
.rc-body .form-label,
.rc-body .col-form-label {
    font: 700 12px/1 var(--font-ui);
    color: var(--rc-label);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 8px;
}
.rc-body .form-text {
    color: var(--rc-meta);
    font-size: 14px;
}
.rc-body .form-check-input {
    background-color: var(--rc-input-bg);
    border-color: var(--rc-input-border);
}
.rc-body .form-check-input:checked {
    background-color: var(--rc-red);
    border-color: var(--rc-red);
}
.rc-body .form-check-input:focus {
    box-shadow: var(--ring-red);
    border-color: var(--rc-red);
}
.rc-body .input-group-text {
    background: var(--rc-raised);
    border-color: var(--rc-input-border);
    color: var(--rc-fg-2);
    border-radius: var(--radius-md);
}
.rc-body .input-group > .btn {
    margin-bottom: 0;
    box-shadow: none;
}
/* Alerts, badges, lists, tables */
.rc-body .alert {
    --bs-alert-border-radius: var(--radius-md);
    --bs-alert-padding-x: 16px;
    --bs-alert-padding-y: 12px;
    background: var(--rc-surface);
    color: var(--rc-fg);
    border: var(--rc-card-border);
    border-left: 4px solid var(--rc-fg-3);
    box-shadow: var(--rc-card-shadow);
}
.rc-body .alert-success { border-left-color: var(--rc-green); }
.rc-body .alert-danger { border-left-color: var(--rc-red); }
.rc-body .alert-warning { border-left-color: var(--rc-orange); }
.rc-body .alert-info,
.rc-body .alert-primary { border-left-color: var(--rc-teal); }
.rc-body .alert :is(.bi, .rc-inline-icon) { margin-right: 4px; }
.rc-body .alert-link { color: inherit; text-decoration: underline; }
.rc-body .badge {
    border-radius: var(--radius-sm);
    font: 700 12px/1 var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 8px;
    border: 1px solid var(--rc-tag-border);
}
.rc-body .list-group {
    --bs-list-group-bg: var(--rc-surface);
    --bs-list-group-color: var(--rc-fg);
    --bs-list-group-border-color: var(--rc-hair);
    --bs-list-group-border-radius: var(--radius-md);
    --bs-list-group-action-color: var(--rc-fg-2);
    --bs-list-group-action-hover-color: var(--rc-fg);
    --bs-list-group-action-hover-bg: rgba(var(--rc-fg-rgb), .05);
    --bs-list-group-action-active-color: var(--rc-fg);
    --bs-list-group-action-active-bg: rgba(var(--rc-fg-rgb), .08);
    --bs-list-group-active-bg: transparent;
    --bs-list-group-active-color: var(--rc-fg);
    --bs-list-group-active-border-color: var(--rc-hair);
}
.rc-body .list-group-item.active {
    box-shadow: inset 3px 0 0 var(--rc-red);
    font-weight: 700;
}
.rc-body .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--rc-fg);
    --bs-table-border-color: var(--rc-hair);
    --bs-table-striped-bg: rgba(var(--rc-fg-rgb), .03);
    --bs-table-hover-bg: rgba(var(--rc-fg-rgb), .05);
    --bs-table-hover-color: var(--rc-fg);
}
.rc-body .table th {
    font: 700 12px/1.2 var(--font-ui);
    color: var(--rc-label);
    text-transform: uppercase;
    letter-spacing: .12em;
}
/* Tabs = Tabs component (red underline) */
.rc-body .nav-tabs {
    --bs-nav-tabs-border-color: var(--rc-hair);
    --bs-nav-tabs-link-active-bg: transparent;
    --bs-nav-tabs-link-active-color: var(--rc-fg);
    --bs-nav-tabs-link-active-border-color: transparent;
    --bs-nav-tabs-link-hover-border-color: transparent;
    gap: 24px;
}
.rc-body .nav-tabs .nav-link {
    position: relative;
    padding: 12px 2px;
    border: none;
    color: var(--rc-fg-3);
    font: 800 16px/1 var(--font-ui);
}
.rc-body .nav-tabs .nav-link:hover { color: var(--rc-fg); }
.rc-body .nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: var(--radius-2xs);
    background: var(--rc-red);
}
.rc-body .nav-pills {
    --bs-nav-pills-border-radius: var(--radius-md);
    --bs-nav-pills-link-active-bg: rgba(var(--rc-fg-rgb), .1);
    --bs-nav-pills-link-active-color: var(--rc-fg);
    --bs-nav-link-color: var(--rc-fg-2);
    --bs-nav-link-hover-color: var(--rc-fg);
}
/* Pagination */
.rc-body .pagination {
    --bs-pagination-bg: transparent;
    --bs-pagination-color: var(--rc-fg-2);
    --bs-pagination-border-color: var(--rc-hair);
    --bs-pagination-hover-bg: rgba(var(--rc-fg-rgb), .06);
    --bs-pagination-hover-color: var(--rc-fg);
    --bs-pagination-hover-border-color: var(--rc-hair);
    --bs-pagination-active-bg: var(--rc-red);
    --bs-pagination-active-border-color: var(--rc-red);
    --bs-pagination-active-color: #fff;
    --bs-pagination-disabled-bg: transparent;
    --bs-pagination-disabled-color: var(--rc-fg-3);
    --bs-pagination-disabled-border-color: var(--rc-hair);
    --bs-pagination-focus-box-shadow: none;
    gap: 4px;
    justify-content: center;
}
.rc-body .page-link {
    border-radius: var(--radius-sm) !important;
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}
/* Dropdown menus */
.rc-body .dropdown-menu {
    --bs-dropdown-bg: var(--rc-modal);
    --bs-dropdown-color: var(--rc-fg);
    --bs-dropdown-border-color: var(--rc-hair);
    --bs-dropdown-border-radius: var(--radius-md);
    --bs-dropdown-link-color: var(--rc-fg-2);
    --bs-dropdown-link-hover-color: var(--rc-fg);
    --bs-dropdown-link-hover-bg: rgba(var(--rc-fg-rgb), .06);
    --bs-dropdown-link-active-color: var(--rc-fg);
    --bs-dropdown-link-active-bg: rgba(var(--rc-fg-rgb), .1);
    --bs-dropdown-header-color: var(--rc-label);
    --bs-dropdown-divider-bg: var(--rc-hair);
    --bs-dropdown-item-padding-x: 12px;
    --bs-dropdown-item-padding-y: 8px;
    padding: 8px;
    box-shadow: var(--shadow-pop);
    font-size: 14px;
}
.rc-body .dropdown-item,
.rc-body .dropdown-item-text {   /* -text: row without a link (notification without an address) */
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Modals */
.rc-body .modal {
    --bs-modal-bg: var(--rc-modal);
    --bs-modal-color: var(--rc-fg);
    --bs-modal-border-color: var(--rc-outline);
    --bs-modal-border-width: 4px;
    --bs-modal-border-radius: var(--radius-xl);
    --bs-modal-inner-border-radius: var(--radius-lg);
    --bs-modal-header-border-color: var(--rc-hair);
    --bs-modal-footer-border-color: var(--rc-hair);
    --bs-modal-padding: 24px;
    --bs-modal-header-padding: 20px 24px;
}
.rc-body .modal-content {
    box-shadow: var(--shadow-panel);
}
/* header: title on the left, close button (.rc-close) on the right. Bootstrap only pushes its .btn-close to the right */
.rc-body .modal-header { gap: var(--space-4); }
.rc-body .modal-header .rc-close { margin-left: auto; }
.rc-body .modal-title {
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.15;
}
/* footer: a real gap between the elements, instead of the Bootstrap margins (which added to the gap and made
   an element at 100 % width overflow); buttons on the right, like Bootstrap */
.rc-body .modal-footer {
    gap: var(--space-3);
    padding: var(--space-4) var(--bs-modal-padding);
}
.rc-body .modal-footer > * { margin: 0; }
/* rich content in a modal: no margin before the first block nor after the last */
.rc-body .modal-body > :first-child { margin-top: 0; }
.rc-body .modal-body > :last-child { margin-bottom: 0; }
.rc-body .modal-backdrop.show {
    opacity: .78;   /* Bootstrap black backdrop: same veil as --rc-overlay */
}
.rc-body .btn-close {
    filter: var(--rc-close-filter, invert(1));
}
.rc-body .progress {
    --bs-progress-bg: rgba(var(--rc-fg-rgb), .1);
    --bs-progress-bar-bg: var(--rc-red);
    --bs-progress-border-radius: var(--radius-sm);
}
.rc-body .tooltip {
    --bs-tooltip-bg: var(--rc-modal);
    --bs-tooltip-color: var(--rc-fg);
}
.rc-body hr {
    border-color: var(--rc-hair);
    opacity: 1;
}
.rc-body blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--rc-red);
    color: var(--rc-fg-2);
}
/* Spinner, select, etc. */
.rc-body .form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239e9691' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.rc-body .rc-lang-menu { min-width: 220px; padding: 8px; }
.rc-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
/* Markdown editor (EasyMDE) in the theme colors */
.rc-body .EasyMDEContainer .CodeMirror {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-color: var(--rc-input-border);
    background: var(--rc-input-bg);
    color: var(--rc-fg);
    font: 500 16px/1.5 var(--font-ui);
}
.rc-body .EasyMDEContainer .CodeMirror-cursor { border-color: var(--rc-fg); }
.rc-body .EasyMDEContainer .CodeMirror-selected { background: rgba(var(--rc-red-rgb), .35) !important; }
.rc-body .editor-toolbar {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-color: var(--rc-input-border);
    background: var(--rc-raised);
    opacity: 1;
}
.rc-body .editor-toolbar button { color: var(--rc-fg-2) !important; }
.rc-body .editor-toolbar button:hover,
.rc-body .editor-toolbar button.active {
    background: rgba(var(--rc-fg-rgb), var(--fill-2));
    border-color: transparent;
}
.rc-body .editor-toolbar i.separator { border-color: var(--rc-hair); }
.rc-body .editor-preview,
.rc-body .editor-preview-side { background: var(--rc-surface); color: var(--rc-fg); }
.rc-body .editor-statusbar { color: var(--rc-meta); }
@media (max-width: 575.98px) {
body.rc-body { font-size: 14px; }
}
@media (max-width: 767.98px) {
/* no page may scroll horizontally (scrolling rows handle their own) */
body.rc-body { overflow-x: clip; }
}

/* ===== src/elements/join-modal.css ===== */
/* Red&Co: styles of views/elements/join-modal.blade.php. Mobile / tablet rules (@media) at the end of the file. */

.rc-join-dialog {
    position: relative;
    width: 100%;
    max-width: 1040px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: var(--radius-xl);
    background: var(--rc-modal);
    border: 4px solid var(--rc-outline);
    outline: 1px solid var(--rc-hair);
    outline-offset: -5px;
    box-shadow: var(--shadow-panel);
    animation: rcFadeUp var(--dur-slow) var(--ease);
}
.rc-join-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}
.rc-join-grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 520px;
}
.rc-join-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 12px 24px 12px;
    border-right: 1px solid var(--rc-hair);
}
.rc-join-side > .rc-label,
.rc-join-side > .rc-join-status {
    padding: 0 16px;
}
.rc-sheet-handle { display: none; }
.rc-join-status { margin-top: auto; }
.rc-join-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rc-join-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--rc-fg);
    text-align: left;
    cursor: pointer;
}
.rc-join-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: var(--radius-2xs);
    background: transparent;
    transition: background var(--dur);
}
.rc-join-tab:hover::before { background: rgba(var(--rc-fg-rgb), .3); }
.rc-join-tab[aria-selected=true]::before { background: var(--rc-red); }
.rc-join-tab-name {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rc-join-tab-icons {
    display: inline-flex;
    gap: 8px;
    opacity: .5;
    transition: opacity var(--dur);
}
.rc-join-tab-label {
    font: 400 var(--fs-title-s)/1 var(--font-display);
    color: var(--rc-fg-3);
    transition: color var(--dur);
}
.rc-join-tab-sub {
    font: 500 14px/1 var(--font-ui);
    color: var(--rc-fg-3);
}
.rc-join-tab:hover .rc-join-tab-icons,
.rc-join-tab[aria-selected=true] .rc-join-tab-icons { opacity: 1; }
.rc-join-tab:hover .rc-join-tab-label,
.rc-join-tab[aria-selected=true] .rc-join-tab-label { color: var(--rc-fg); }
.rc-join-tab[aria-selected=true] .rc-join-tab-sub { color: var(--rc-fg-2); }
.rc-join-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 32px 32px 32px;
}
.rc-join-main h2 {
    padding-right: 48px;
    font-size: var(--fs-title-xl);
}
.rc-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rc-step;
}
.rc-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 500 16px/1.5 var(--font-ui);
    text-wrap: pretty;
    counter-increment: rc-step;
}
.rc-steps li::before {
    content: counter(rc-step);
    --step-bg: var(--rc-orange);
    --step-border: 2px solid var(--rc-outline);
    --step-fg: var(--rc-coal);
}
.rc-join-foot {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--rc-hair);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}
.rc-join-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.rc-join-panel[hidden] { display: none; }
@media (max-width: 991.98px) {
.rc-join-grid { grid-template-columns: 1fr; min-height: 0; }
.rc-join-side { border-right: none; border-bottom: 1px solid var(--rc-hair); padding: 24px 12px 16px; }
.rc-join-tabs { flex-direction: row; overflow-x: auto; }
.rc-join-tab { padding: 12px 12px; }
.rc-join-tab::before { left: 12px; right: 12px; top: auto; bottom: 0; width: auto; height: 3px; }
.rc-join-status { display: none; }
.rc-join-main { padding: 24px 20px; }
.rc-join-main h2 { font-size: var(--fs-title-l); }
}
/* A single active platform (Admin → Theme): Join modal without the choice column */
.rc-join-grid.is-single { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.rc-join-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: -10px; }
.rc-join-meta-platform { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.2 var(--font-ui); color: var(--rc-fg-2); }
.rc-join-meta-platform strong { font-weight: 700; color: var(--rc-fg); }
@media (max-width: 767.98px) {
.rc-join-dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border-width: 4px 0 0;
    outline: none;
    box-shadow: var(--shadow-sheet);
    animation: rcSheetUp var(--dur-slow) var(--ease);
}
.rc-sheet-handle { position: sticky; top: 0; z-index: 2; display: flex; justify-content: center; align-items: center; height: 30px; background: var(--rc-modal); }
.rc-sheet-handle::before { content: ""; width: 44px; height: 5px; border-radius: var(--radius-2xs); background: rgba(var(--rc-fg-rgb), .3); }
.rc-join-close {
    top: 14px;
    right: 14px;
    z-index: 3;
}
/* ---------- Content of the "Join" sheet (MoJoin): title + state, platforms in 3 equal tabs, steps, address ---------- */
.rc-join-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    padding: 4px 20px 32px;
}
.rc-join-side,
.rc-join-main { display: contents; }
.rc-join-side > .rc-label { display: none; }
.rc-join-main h2 { order: 1; margin: 0; padding-right: 48px; font-size: var(--fs-title-l); }
.rc-join-status { order: 2; display: block; margin-top: -10px; }
.rc-join-tabs {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    border-bottom: 1px solid var(--rc-hair);
}
.rc-join-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 0 12px;
    border: none;
    background: transparent;
    text-align: center;
}
.rc-join-tab::before { left: 10px; right: 10px; top: auto; bottom: -1px; width: auto; height: 3px; border-radius: var(--radius-2xs); }
.rc-join-tab-name { flex-direction: column; align-items: center; gap: 8px; }
.rc-join-tab-icons { opacity: .5; }
.rc-join-tab[aria-selected=true] .rc-join-tab-icons { opacity: 1; }
.rc-join-tab-label { font-size: var(--fs-title-s); }
.rc-join-tab-sub { display: none; }
.rc-join-panel { order: 4; }
.rc-join-meta { order: 2; margin-top: -8px; }
}

/* ===== src/_core/base.css ===== */
/* Red&Co: core: tokens (colors, radii, fonts…), dark and light themes, base, small text components. Mobile / tablet rules (@media) at the end of the file. */

/* =========================================================
   Red&Co — Azuriom theme
   Source: design system "Red&Co Design System" (Claude Design)
   Styles are laid out like the views (assets/css/src/), bundled automatically (assets/css/src/_bundles.php).
   1. Tokens   2. Dark / light themes   3. Base
   4. Bootstrap skin (plugin pages)   5. Components
   6. Layout (navbar, footer)   7. Pages
   ========================================================= */
/* ---------- 1. Tokens ---------- */
:root {
    --rc-red: rgb(168, 41, 43);
    --rc-red-rgb: 168, 41, 43;
    --rc-red-deep: rgb(98, 22, 24);          /* dark red: button depth, gauge background */
    --rc-blood: rgb(66, 16, 17);
    --rc-green: rgb(16, 222, 85);
    --rc-orange: rgb(255, 136, 0);
    --rc-orange-rgb: 255, 136, 0;
    --rc-orange-hover: rgb(255, 160, 50);
    --rc-yellow: rgb(247, 255, 0);
    --rc-purple: rgb(162, 64, 237);
    --rc-teal: rgb(20, 116, 107);
    --rc-error: rgb(240, 100, 100);
    /* neutrals: a single warm family (black barely tinted with brown; no more bluish greys). Fixed: an element that
       stays dark (or light) whatever the theme uses them directly; the themes below use them too */
    --rc-coal: rgb(28, 22, 20);             /* interface ink: light theme text, outlines in light */
    --rc-coal-rgb: 28, 22, 20;
    --rc-dark-900: rgb(12, 10, 9);          /* the deepest: mobile menu */
    --rc-dark-800: rgb(20, 17, 16);         /* dark theme background */
    --rc-dark-700: rgb(31, 27, 25);         /* surface (cards) */
    --rc-dark-600: rgb(37, 32, 30);         /* raised */
    --rc-dark-500: rgb(44, 38, 35);         /* modals, top of gradients */
    --rc-light-100: rgb(243, 240, 235);     /* light theme background */
    --rc-light-100-rgb: 243, 240, 235;
    --rc-light-200: rgb(236, 232, 226);     /* raised in light */
    --rc-light-300: rgb(228, 221, 211);     /* footer ground in light */
    --rc-light-400: rgb(214, 205, 194);
    /* Discord (their brand color, for the "Join the Discord" banners) */
    --discord: rgb(88, 101, 242);
    /* error message icon: the error has the brand red, the icon tells it apart from brand text */
    --rc-error-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M8 4.6v4' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.3' r='1.05'/%3E%3C/svg%3E");

    /* secondary brand reds */
    --rc-red-hover: rgb(190, 52, 54);
    --rc-red-bright: rgb(214, 48, 52);      /* bright accents: bars, rarity, sparkles */
    --rc-red-bright-rgb: 214, 48, 52;
    --rc-seal: var(--rc-red);               /* wax seal (lore): the brand red */
    --rc-seal-grad: radial-gradient(circle at 38% 34%, var(--rc-red-hover), var(--rc-red) 60%, var(--rc-red-deep));
    /* gold: the given-back share, rarities, reputation (text: --rc-gold-ink, per theme) */
    --rc-gold: rgb(236, 176, 40);
    --rc-gold-rgb: 236, 176, 40;
    /* lore cream laid on a dark background (handwritten titles, dotted rules) */
    --rc-cream: rgb(232, 214, 178);
    --rc-cream-rgb: 232, 214, 178;

    /* lore paper (assets/css/src/features/paper.css, letter.css): same colors in both themes, it is an object */
    --paper: rgb(244, 234, 214);
    --paper-edge: rgb(226, 211, 182);
    --paper-photo: rgb(251, 247, 239);
    --ink: rgb(58, 41, 28);
    --ink-rgb: 58, 41, 28;
    --ink-soft: rgb(112, 86, 62);
    --seal: var(--rc-seal);
    --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

    --grad-blood: linear-gradient(var(--rc-red) 0%, var(--rc-blood) 100%);
    --grad-accent-card: linear-gradient(var(--rc-dark-500) 0%, var(--rc-dark-700) calc(100% - 5px), var(--rc-red) calc(100% - 5px));

    --shadow-sticker: 0 10px 4px rgba(0, 0, 0, .35);  /* solid "sticker" shadow (raised texts, panels) */
    /* titles (font --font-display): six steps, ratio ~1.25 from one to the next; never below 20 px (below:
       Inter 800). Line heights: 1 (one line), 1.1 (several lines), 1.2 (small titles on several lines).
       On mobile, large titles drop one or two steps (@media rules or clamp()).
       Text (Inter): 12 (labels, spaced capitals), 14 (small text), 16 (body text, line height 1.5),
       18 (leads, quotes); 20 for a few article leads and the large buttons. */
    --fs-title-s: 20px;
    --fs-title-m: 24px;
    --fs-title-l: 30px;
    --fs-title-xl: 40px;
    --fs-title-2xl: 52px;
    --fs-title-hero: 72px;
    /* line heights: 1 (one-line title), 1.1 (multi-line title), 1.3 (tight text, labels), 1.5 (body text) */
    --lh-tight: 1;
    --lh-title: 1.1;
    --lh-snug: 1.3;
    --lh-body: 1.5;
    /* control heights: pill 22, small pill 34, small button 38, filter pill / close 40,
       button 44, field 52, large button 62 */
    --ctl-xs: 22px;
    --ctl-sm: 34px;
    --ctl-btn-sm: 38px;
    --ctl: 40px;
    --ctl-md: 44px;
    --ctl-lg: 52px;
    --ctl-xl: 62px;
    /* icons: 16 (in text), 20 (buttons, rows), 24 (tiles), 32 (illustrations) */
    --icon-s: 16px;
    --icon-m: 20px;
    --icon-l: 24px;
    --icon-xl: 32px;
    /* spacing: 4/8/12/16/20/24/32/48/64 (old even values are still tolerated, odd ones are banned) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 48px;
    --space-9: 64px;
    --pad-card: 20px;       /* card padding */
    /* background fills: opacities of the text color, used as rgba(var(--rc-fg-rgb), var(--fill-n)) — the color
       thus follows the area (top bar over the photo, footer…): .04 (field, pill), .08 (hover), .12 (pressed) */
    --fill-1: .04;
    --fill-2: .08;
    --fill-3: .12;
    --pad-card-lg: 24px;    /* padding of a large card, of a rank */
    /* durations and easings: .15s (hover), .2s (move), .3s (appear), .45s (switch: theme, card), .6s (reveal
       of a block on scroll); --ease-wave: back-and-forth of looping animations (float, pulse) */
    --dur-fast: .15s;
    --dur: .2s;
    --dur-slow: .3s;
    --dur-long: .45s;
    --dur-reveal: .6s;
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --ease-wave: ease-in-out;
    /* hero heights: small (service pages), medium (content pages), large (section home pages) */
    --hero-s: 280px;
    --hero-m: 440px;
    --hero-l: 520px;
    /* stacking planes of the global layers (small values 1 to 40 stay local to their component) */
    --z-sticky: 20;          /* sticky bars: top bar, shop tabs */
    --z-menu: 1050;          /* mobile menu */
    --z-overlay: 1060;       /* modals: "Join", cart drawer */
    --z-letter: 1090;        /* welcome letter */
    --z-transition: 2100;    /* intro and page transition (set by features/motion.js) */
    --z-fullscreen: 2500;    /* full-screen Wrapped "Mining" */
    --z-dev: 3000;           /* dev mode panel */
    --shadow-pop: 0 16px 30px rgba(0, 0, 0, .4);      /* floating elements: cards, photos, dropdown menus */
    --shadow-panel: 0 16px 6px rgba(0, 0, 0, .45);    /* floating "sticker" panels: modals, login, cart summary */
    --shadow-sheet: 0 -10px 0 rgba(0, 0, 0, .35);     /* sheet rising from the bottom on mobile ("Join", cart) */
    --ring-red: 0 0 0 3px rgba(var(--rc-red-rgb), .3); /* red hover ring (thumbnails, goals) */

    /* radii: a short scale (the very small 1–4 px radii of photos and paper stay as they are) */
    --radius-2xs: 2px;      /* rules, bars, underlines */
    --radius-xs: 6px;       /* small elements: badges, square pills */
    --radius-sm: 10px;      /* fields, small buttons, thumbnails */
    --radius-md: 14px;      /* compact cards, rows, callouts */
    --radius-lg: 20px;      /* large panels, main cards */
    --radius-xl: 28px;      /* modals */
    --radius-pill: 999px;   /* rounded buttons and pills */
    --radius-round: 50%;    /* dots, avatars */

    --font-display: "Bowlby One", "Heroes Legend", Impact, system-ui, sans-serif;
    --font-ui: "Inter", "YouTube Sans", system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --ease: cubic-bezier(.2, .8, .2, 1);
    --page-w: 1120px;
    --gutter: 40px;
}
/* ---------- 2. Themes ---------- */
/* dark theme: "warm" black (barely tinted with brown), echoing the off-white of the light theme */
body,
[data-bs-theme=dark] {
    --rc-bg: var(--rc-dark-800);
    --rc-bg-rgb: 20, 17, 16;
    --rc-fg: #fff;
    --rc-fg-rgb: 255, 255, 255;
    --rc-fg-2: rgba(255, 255, 255, .72);
    --rc-fg-3: rgba(255, 255, 255, .5);
    --rc-meta: rgb(158, 150, 145);           /* warm grey, 6.5:1 on the background */
    --rc-label: rgba(255, 255, 255, .55);
    --rc-surface: var(--rc-dark-700);
    --rc-raised: var(--rc-dark-600);
    --rc-modal: var(--rc-dark-500);            /* modals, menus, tooltips: the highest plane is the lightest */
    --rc-hair: rgba(255, 255, 255, .12);
    --rc-hair-strong: rgba(255, 255, 255, .33);
    --rc-card-border: 1px solid var(--rc-hair);
    --rc-card-shadow: none;
    --rc-input-bg: rgba(255, 255, 255, .04);
    --rc-input-border: rgba(255, 255, 255, .4);    /* field outline: contrast ≥ 3:1 (the only cue of the field) */
    --rc-featured-bg: var(--grad-accent-card);
    --rc-featured-fg: #fff;
    --rc-outline: #000;                     /* "sticker" outline (raised button, panels, modals): rims a shape, does not detach it from the background */
    --rc-sticker-border: 4px solid var(--rc-outline);   /* featured panel (featured article, Discord callout, shop home…) */
    --rc-sticker-shadow: var(--shadow-sticker);
    --rc-panel-shadow: var(--shadow-panel);             /* floating panel (login, cart summary) */
    --rc-focus: #fff;                       /* keyboard focus ring (2 px, offset by 3 px) */
    --rc-overlay: rgba(0, 0, 0, .78);       /* veil behind modals and the cart */
    --rc-ground: linear-gradient(var(--rc-dark-500) 0%, var(--rc-dark-800) 100%);
    --rc-soft-shadow: none;
    /* state colors readable on the theme background (light theme: dark versions, contrast ≥ 4.5) */
    --rc-success: rgb(90, 239, 134);
    --rc-gold-ink: rgb(246, 198, 84);
    --rc-red-ink: rgb(240, 100, 100);       /* red text (labels, errors): ≥ 4.5:1 even on modals */
    --rc-orange-ink: rgb(255, 136, 0);      /* orange text (maintenance, 503 error): dark in light theme */
    --rc-chip-border: rgba(var(--rc-fg-rgb), .2);   /* pill outline (filters, languages…) */
    --rc-tag-border: rgba(255, 255, 255, .33);      /* outline of solid labels (tags, badges, server pill, Shop) */
    /* states (.rc-state badge, Status page, tickets, orders): bright in dark, dark in light (contrast) */
    --state-ok: var(--rc-green);
    --state-degraded: var(--rc-gold);
    --state-warn: var(--rc-orange);
    --state-bad: var(--rc-red-ink);
    --state-muted: var(--rc-meta);
    --rc-error: var(--rc-red-ink);
}
[data-bs-theme=light] {
    --rc-bg: var(--rc-light-100);
    --rc-bg-rgb: 243, 240, 235;
    --rc-fg: var(--rc-coal);
    --rc-fg-rgb: var(--rc-coal-rgb);
    --rc-fg-2: rgba(var(--rc-coal-rgb), .74);
    --rc-fg-3: rgba(var(--rc-coal-rgb), .65);       /* 5.3:1 on the background (4.5 minimum) */
    --rc-meta: rgb(108, 100, 95);
    --rc-label: rgba(var(--rc-coal-rgb), .64);
    --rc-surface: #fff;
    --rc-raised: var(--rc-light-200);
    --rc-modal: #fff;
    --rc-hair: rgba(var(--rc-coal-rgb), .14);
    --rc-hair-strong: rgba(var(--rc-coal-rgb), .3);
    --rc-card-border: 1px solid rgba(var(--rc-coal-rgb), .16);
    --rc-card-shadow: none;
    --rc-soft-shadow: 0 10px 24px rgba(var(--rc-coal-rgb), .09);
    --rc-input-bg: #fff;
    --rc-input-border: rgba(var(--rc-coal-rgb), .52);
    --rc-featured-bg: linear-gradient(#fff 0%, #fff calc(100% - 5px), var(--rc-red) calc(100% - 5px));
    --rc-featured-fg: var(--rc-coal);
    --rc-outline: var(--rc-coal);
    --rc-sticker-border: 2px solid var(--rc-outline);
    --rc-sticker-shadow: var(--rc-soft-shadow);
    --rc-panel-shadow: var(--rc-soft-shadow);
    --rc-focus: var(--rc-coal);
    --rc-ground: linear-gradient(var(--rc-dark-500) 0%, var(--rc-dark-800) 100%);
    --rc-success: rgb(16, 120, 52);
    --rc-gold-ink: rgb(132, 84, 0);
    --rc-red-ink: var(--rc-red);
    --rc-orange-ink: rgb(166, 78, 0);
    --rc-chip-border: rgba(var(--rc-fg-rgb), .2);
    --rc-tag-border: rgba(var(--rc-coal-rgb), .2);
    --state-ok: var(--rc-success);
    --state-degraded: var(--rc-gold-ink);
    --state-warn: var(--rc-orange-ink);
    --state-bad: var(--rc-red-ink);
    --state-muted: var(--rc-meta);
    --rc-error: var(--rc-red-ink);
}
/* Raised primary button: red (variant A of the "CTA" mockup, chosen on 2026-10-11) */
/* depth = outline + solid shadow in a dark shade of the button; light theme: 2 px ink outline */
body {
    --cta-bg: var(--rc-red);
    --cta-hover: var(--rc-red-hover);
    --cta-fg: #fff;
    --cta-edge: var(--rc-red-deep);
    --cta-shadow: var(--rc-red-deep);
    --cta-depth: 6px;
    --cta-depth-sm: 3px;   /* small primary button (.rc-btn-sm): shadow and press */
}
body[data-bs-theme=light] { --cta-edge: var(--rc-coal); --cta-shadow: var(--rc-coal); --cta-depth: 3px; }
@media (max-width: 767.98px) {
body:not([data-bs-theme=light]) { --cta-depth: 4px; }
}
/* ---------- 3. Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
#app {
    flex: 1 0 auto;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
[hidden] {
    display: none !important;
}
::selection {
    background: rgba(var(--rc-red-rgb), .6);
    color: #fff;
}
:focus-visible {
    outline: 2px solid var(--rc-focus);
    outline-offset: 3px;
}
/* Page and section titles (title font, "sticker" shadow in dark) */
.rc-display,
.rc-h1,
.rc-h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1;
    color: var(--rc-fg);
    text-shadow: var(--shadow-sticker);
    text-wrap: balance;
}
.rc-h2 { font-size: clamp(var(--fs-title-l), 3.4vw, var(--fs-title-xl)); }
[data-bs-theme=light] .rc-h1,
[data-bs-theme=light] .rc-h2,
[data-bs-theme=light] .rc-display { text-shadow: none; }
.rc-h1 { font-size: clamp(var(--fs-title-xl), 5vw, var(--fs-title-2xl)); }
.rc-display { font-size: clamp(var(--fs-title-l), 4vw, var(--fs-title-xl)); text-transform: uppercase; line-height: var(--lh-title); }
.rc-label {
    font: 700 12px/1 var(--font-ui);
    color: var(--rc-label);
    text-transform: uppercase;
    letter-spacing: .12em;
}
.rc-meta {
    font: 500 14px/1.3 var(--font-ui);
    color: var(--rc-meta);
}
/* Dotted "note" callout: examples visible to the team only, "Soon", prototypes… */
.rc-note {
    margin: 0;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--rc-hair-strong);
    font: 600 14px/1.5 var(--font-ui);
    color: var(--rc-fg-2);
}
.rc-note.is-small { padding: 4px 12px; font-size: 12px; line-height: 1.4; }
/* .is-lg: dotted content callout (closed ticket, invitation to log in, end of the news) */
.rc-note.is-lg { padding: 20px 20px; border-radius: var(--radius-lg); font: 500 16px/1.5 var(--font-ui); }
.rc-container {
    width: 100%;
    max-width: calc(var(--page-w) + 2 * 24px);
    margin: 0 auto;
    padding: 0 24px;
}
.rc-container-narrow {
    max-width: calc(860px + 2 * 24px);
}
.rc-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* « Aller au contenu »: off screen until the keyboard reaches it (layouts/base) */
.rc-skip {
    position: fixed;
    top: var(--space-2);
    left: var(--space-2);
    z-index: var(--z-dev);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--rc-fg);
    color: var(--rc-bg);
    font: 600 14px/1.2 var(--font-ui);
    transform: translateY(-200%);
}
.rc-skip:focus-visible { transform: none; }
#rc-content:focus { outline: none; }
/* Name written during the intro */
.rc-word {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font: 400 var(--fs-title-l)/1 var(--font-display);
    color: #fff;
    white-space: nowrap;
    text-shadow: var(--shadow-sticker);
}
[data-bs-theme=light] .rc-word { color: var(--rc-coal); text-shadow: none; }
@media (prefers-reduced-motion: reduce) {
*,
    *::before,
    *::after {
        animation-duration: .01ms !important;   /* off-token: animations off (reduced motion) */
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;   /* off-token: same */
        scroll-behavior: auto !important;
    }
}

/* ===== src/layouts/app.css ===== */
/* Red&Co: styles of views/layouts/app.blade.php. Mobile / tablet rules (@media) at the end of the file. */

.rc-main {
    padding: 48px 0 110px; /* off-token: layout */
}
@media (max-width: 575.98px) {
.rc-main { padding: 32px 0 80px; } /* off-token: layout */
}

/* ===== src/_core/keyframes.css ===== */
/* Red&Co: animations (@keyframes) used across the site. Mobile / tablet rules (@media) at the end of the file. */

@keyframes rcCubeFloat {
    from { transform: translateY(-4px); }
    to { transform: translateY(6px); }
}
@keyframes rcHeadSway {
    from { transform: rotateX(-20deg) rotateY(14deg); }
    to { transform: rotateX(-16deg) rotateY(34deg); }
}
@keyframes rcBob {
    from { transform: translate(-50%, -50%) translateY(-6px); }
    to { transform: translate(-50%, -50%) translateY(6px); }
}
@keyframes rcSheetUp {
    from { transform: translateY(100%); }
    to { transform: none; }
}
@keyframes rcFadeUp {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to { opacity: 1; transform: none; }
}
@keyframes rcThemeSpin {
    from { transform: rotate(-120deg) scale(.6); opacity: 0; }
    to { transform: none; opacity: 1; }
}
@keyframes rcGhost {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}
@keyframes rcHover503 {
    from { transform: translateY(-46px); }
    to { transform: translateY(-62px); }
}
/* blinking state pill (alert: .rc-state.is-alert, Status pill) */
@keyframes rcStatusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

/* ===== src/_core/bootstrap.css ===== */
/* Red&Co: Bootstrap skin (plugin pages). Mobile / tablet rules (@media) at the end of the file. */

[data-bs-theme=light] .btn-close { --rc-close-filter: none; }

/* ===== src/_core/components.css ===== */
/* Red&Co: shared components (buttons, pills, cards…). Mobile / tablet rules (@media) at the end of the file. */

/* ---------- 5. Components ---------- */
/* Button (outside Bootstrap) */
.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--ctl-md);
    padding: 0 24px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(var(--rc-fg-rgb), .5);
    background: transparent;
    color: var(--rc-fg);
    font: 600 14px/1 var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), filter var(--dur-fast), background-color var(--dur-fast), border-color var(--dur-fast);
}
.rc-btn:hover {
    color: var(--rc-fg);
    background: rgba(var(--rc-fg-rgb), var(--fill-2));
    border-color: var(--rc-fg);
}
.rc-btn:active { transform: scale(.97); }
/* "Copied!" (server address, article link): green outline and text, on every button */
.rc-btn[data-copied],
.rc-btn[data-copied]:hover { border-color: var(--rc-success); color: var(--rc-success); }
.rc-btn-lg {
    height: var(--ctl-xl);
    padding: 0 32px;
    font-size: 20px;
}
.rc-btn-sm {
    height: var(--ctl-btn-sm);
    padding: 0 16px;
    font-size: 14px;
}
.rc-btn.rc-btn-primary.rc-btn-sm { --cta-depth: var(--cta-depth-sm); }   /* shadow and press (:active) follow the same depth */
.rc-btn.rc-btn-primary {
    background: var(--cta-bg);
    color: var(--cta-fg);
    border: 3px solid var(--cta-edge);
    box-shadow: 0 var(--cta-depth) 0 var(--cta-shadow);
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast);
}
.rc-btn.rc-btn-primary:hover {
    background: var(--cta-hover);
    border-color: var(--cta-edge);
    color: var(--cta-fg);
}
.rc-btn.rc-btn-primary:active {
    transform: translateY(calc(var(--cta-depth) - 2px));
    box-shadow: 0 2px 0 var(--cta-shadow);
}
/* destructive action (delete a comment): red outline and text, like .rc-link-danger */
.rc-btn.rc-btn-danger { border-color: var(--rc-error); color: var(--rc-error); }
.rc-btn.rc-btn-danger:hover { border-color: var(--rc-error); background: rgba(var(--rc-red-rgb), var(--fill-2)); color: var(--rc-error); }
.rc-btn[disabled],
.rc-btn.disabled {
    opacity: .5;
    pointer-events: none;
}
.rc-btn .rc-check { flex-shrink: 0; }
/* Small icon in a line of text (reading time…): aligned with the text */
.rc-inline-icon { display: inline-block; vertical-align: -.2em; }
/* Star of a required field (tickets, forms) */
.rc-required { color: var(--rc-error); }
/* Text link with arrow ("Read more →") */
.rc-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 700 12px/1 var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--rc-fg-3);
    white-space: nowrap;
    transition: color var(--dur-fast);
}
.rc-more span { transition: transform var(--dur-fast); }
.rc-more:hover { color: var(--rc-fg); }
.rc-more:hover span { transform: translateX(3px); }
/* Single back link */
.rc-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 14px/1 var(--font-ui);
    color: var(--rc-fg-2);
    transition: color var(--dur-fast);
}
.rc-back:hover { color: var(--rc-fg); }
/* Category tag */
.rc-tag {
    display: inline-flex;
    align-items: center;
    height: var(--ctl-xs);
    padding: 0 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--rc-tag-border);
    background: var(--tag-bg, var(--rc-red));
    color: var(--tag-fg, #fff);
    font: 700 12px/1 var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.rc-tag-announcement { --tag-bg: var(--rc-red); --tag-fg: #fff; }
.rc-tag-update { --tag-bg: var(--rc-green); --tag-fg: #000; }
.rc-tag-event { --tag-bg: var(--rc-orange); --tag-fg: #000; }
.rc-tag-minigame { --tag-bg: var(--rc-purple); --tag-fg: #fff; }
.rc-tag-shop { --tag-bg: var(--rc-yellow); --tag-fg: #000; }
.rc-tag-chronicle { --tag-bg: var(--rc-cream); --tag-fg: var(--ink); }
/* Isometric cube */
.rc-cube {
    display: block;
    overflow: visible;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4));
}
/* Author + date */
.rc-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rc-author-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font: 500 14px/1 var(--font-ui);
}
.rc-author-text strong {
    font-weight: 700;
    color: var(--rc-fg);
}
.rc-author-text span { color: var(--rc-meta); }
/* Section title with cube */
.rc-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}
.rc-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
}
/* Page photo hero (image + veil in a single element) */
.rc-page-hero {
    position: relative;
    height: var(--hero-h, 380px);
    overflow: hidden;
}
.rc-veil {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(var(--rc-bg-rgb)) 0%, rgba(var(--rc-bg-rgb), .2) 50%, rgb(var(--rc-bg-rgb)) 100%),
        var(--hero-img, var(--grad-blood));
    background-size: 100% 100%, cover;
    background-position: 0 0, var(--hero-pos, center 45%);
    background-repeat: no-repeat;
}
.rc-page-hero-inner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}
.rc-page-hero-inner > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rc-page-hero-sub {
    margin: 0;
    font: 500 16px/1.5 var(--font-ui);
    color: var(--rc-fg-2);
    max-width: 640px;
}
/* Card: theme surface, thin outline, radius --radius-lg (articles, categories, tiles, callouts) */
.rc-card {
    background: var(--rc-surface);
    border: var(--rc-card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--rc-card-shadow);
}
/* Clickable card: one single hover across the site (red outline, the card lifts by 3 px) */
.rc-link-card {
    color: var(--rc-fg);
    transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.rc-link-card:hover {
    color: var(--rc-fg);
    border-color: var(--rc-red);
    transform: translateY(-3px);
}
.rc-post-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: var(--media-h, 160px);
    border-radius: var(--media-r, var(--radius-md));
    overflow: hidden;
    background: var(--grad-blood);
}
.rc-post-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rc-post-media .rc-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}
.rc-post-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}
.rc-post-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 4px 4px;
}
.rc-post-card h3 {
    margin: 0;
    font: 600 16px/1.2 var(--font-ui);
    text-transform: uppercase;
    text-wrap: pretty;
}
.rc-post-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    padding: 16px;
    border-radius: var(--radius-xl);
    background: var(--rc-featured-bg);
    border: var(--rc-sticker-border);
    box-shadow: var(--rc-sticker-shadow);
    color: var(--rc-featured-fg);
}
.rc-post-featured .rc-post-media {
    --media-h: 340px;
    --media-r: 15px;
}
.rc-post-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 8px 12px 8px 0;
}
.rc-post-featured-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 700 12px/1 var(--font-ui);
    color: var(--rc-fg-2);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.rc-post-featured :is(h2, h3) a:hover { color: inherit; }
.rc-post-excerpt {
    margin: 0;
    font: 500 16px/1.5 var(--font-ui);
    color: rgba(var(--rc-fg-rgb), .88);
    text-wrap: pretty;
}
.rc-post-featured-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}
.rc-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
/* "Join the adventure" modal */
.rc-join {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--rc-overlay);
}
.rc-join.is-open {
    display: flex;
}
/* Theme switch: circle spreading from the toggle (View Transitions), otherwise a color fade */
html.rc-vt-theme::view-transition-old(root),
html.rc-vt-theme::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}
html.rc-vt-theme::view-transition-new(root) { z-index: 2; }
/* During the theme switch, no CSS transition: everything flips at once with the circle
   (otherwise navbar, links, cards… faded and seemed to follow the theme late) */
html.rc-theme-switching *:not(.rc-tt-knob),
html.rc-theme-switching *::before,
html.rc-theme-switching *::after { transition: none !important; }
html.rc-theme-fade *,
html.rc-theme-fade *::before,
html.rc-theme-fade *::after {
    transition: background-color var(--dur-long) var(--ease), color var(--dur-long) var(--ease), border-color var(--dur-long) var(--ease), fill var(--dur-long) var(--ease) !important;
}

/* ---------- Discord callout (support, news desktop and mobile) ----------
   A single color (--discord, the Discord brand one), "sticker" outline like the other callouts,
   Discord logo before the title, white button with Discord-colored text. The layout (banner, card, link) is up to the page. */
.rc-discord {
    border-radius: var(--radius-lg);
    background: var(--discord);
    border: var(--rc-sticker-border);
    box-shadow: var(--rc-sticker-shadow);
    color: #fff;
}
a.rc-discord { transition: background-color var(--dur-fast); }
a.rc-discord:hover { color: #fff; background: color-mix(in srgb, var(--discord), #000 12%); }
.rc-discord-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 400 var(--fs-title-s)/1 var(--font-display);
}
.rc-discord-title :is(.bi, svg) { font-size: var(--icon-l); line-height: 1; flex-shrink: 0; }
.rc-discord-text { font: 500 14px/1.5 var(--font-ui); color: rgba(255, 255, 255, .9); }
.rc-discord-join {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--discord);
    font: 600 14px/1 var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
    transition: background-color var(--dur-fast);
}
.rc-discord-join:hover { color: var(--discord); background: color-mix(in srgb, #fff 85%, var(--discord)); }

/* ---------- Pills (filters, choices): news, calendar, ticket category, donation amounts ----------
   A single pill; selected = brand red (tinted background, red outline), everywhere. */
.rc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.rc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--ctl);
    padding: 0 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--rc-chip-border);
    background: transparent;
    color: var(--rc-fg);
    font: 600 14px/1 var(--font-ui);
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--dur-fast), border-color var(--dur-fast);
}
.rc-chip:hover { color: var(--rc-fg); border-color: rgba(var(--rc-fg-rgb), .4); }
.rc-chip.is-on { background: rgba(var(--rc-red-rgb), .18); border-color: var(--rc-red); }
.rc-chip span { color: var(--rc-fg-3); }
.rc-chip i { width: 8px; height: 8px; border-radius: var(--radius-2xs); background: var(--tag-bg); }

/* ---------- State badge (tickets, orders, Status services) ----------
   Colored dot + label; .is-ok / .is-degraded / .is-warn / .is-bad / .is-muted; .is-boxed: as a pill;
   .is-alert: label in the state color, pulsing dot (outage, maintenance, live). */
.rc-state {
    --c: var(--state-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 14px/1.2 var(--font-ui);
    color: var(--rc-fg-2);
    white-space: nowrap;
}
.rc-state::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: var(--radius-round);
    background: var(--c);
}
.rc-state.is-ok { --c: var(--state-ok); }
.rc-state.is-degraded { --c: var(--state-degraded); }
.rc-state.is-warn { --c: var(--state-warn); }
.rc-state.is-bad { --c: var(--state-bad); }
.rc-state.is-muted { --c: var(--state-muted); }
.rc-state.is-boxed {
    height: var(--ctl-xs);
    padding: 0 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--rc-chip-border);
    font-size: 12px;
}
.rc-state.is-alert { color: var(--c); }
.rc-state.is-alert::before { animation: rcStatusPulse 1.8s var(--ease-wave) infinite; }

/* ---------- Column title ("Upcoming", "My tickets", "Recent payments", cart summary…) ---------- */
.rc-side-title {
    margin: 0;
    font: 400 var(--fs-title-m)/1 var(--font-display);
}
@media (max-width: 767.98px) {
/* .rc-btn-sm-m: normal button on desktop, small (.rc-btn-sm) on mobile */
.rc-btn-sm-m { height: var(--ctl-btn-sm); padding: 0 16px; font-size: 14px; }
.rc-btn.rc-btn-primary.rc-btn-sm-m { --cta-depth: var(--cta-depth-sm); }
}
@media (max-width: 767.98px) {
.rc-side-title { font-size: var(--fs-title-s); }
}

/* ---------- Key figure (Status, Our history): figure in title font, label below ----------
   .is-boxed: in a card (.rc-card), 40 px figure (30 on mobile); .is-small: column, 24 px figure */
.rc-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.rc-stat b { font: 400 var(--fs-title-l)/1 var(--font-display); color: var(--rc-fg); font-variant-numeric: tabular-nums; }
.rc-stat span { font: 500 14px/1.4 var(--font-ui); color: var(--rc-fg-2); }
.rc-stat.is-boxed { padding: 20px 20px; }
.rc-stat.is-boxed b { font-size: var(--fs-title-xl); }
.rc-stat.is-small b { font-size: var(--fs-title-m); }
.rc-stat.is-small span { font-size: 12px; color: var(--rc-meta); }
@media (max-width: 767.98px) {
.rc-stat.is-boxed { padding: 16px; }
.rc-stat.is-boxed b { font-size: var(--fs-title-l); }
}

/* ---------- Close button ("Join" modal, cart, mobile menu, Bootstrap modals): 40 px box ---------- */
.rc-close {
    width: var(--ctl);
    height: var(--ctl);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--rc-chip-border);
    background: rgba(var(--rc-fg-rgb), var(--fill-2));
    color: var(--rc-fg);
    cursor: pointer;
    transition: border-color var(--dur-fast);
}
.rc-close:hover { border-color: rgba(var(--rc-fg-rgb), .4); }

/* ---------- Icon box (support tiles, account sections, steps, planned maintenance, cart rows) ----------
   44 px, 1.5 px outline; .is-lg: 52 px (step header) */
.rc-icon-box {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--rc-hair-strong);
    color: var(--rc-fg);
}
.rc-icon-box.is-lg { width: var(--ctl-lg); height: var(--ctl-lg); }

/* ---------- Underlined tabs (login / register, shop categories) ----------
   Titles in 20 px title font, discreet; the current tab (aria-current) turns white, underlined in red. */
.rc-tabs {
    display: flex;
    gap: var(--space-7);
}
.rc-tabs a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font: 400 var(--fs-title-s)/1 var(--font-display);
    color: var(--rc-fg-3);
    transition: color var(--dur-fast);
}
.rc-tabs a:hover,
.rc-tabs a[aria-current] { color: var(--rc-fg); }
.rc-tabs a[aria-current]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: var(--radius-2xs);
    background: var(--rc-red);
}

/* ---------- Step number ("Join" steps, creator code, article outline) ----------
   30 px square; adjustable colors: --step-bg, --step-fg, --step-border (thin outline by default). */
.rc-step-num,
.rc-steps li::before {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xs);
    background: var(--step-bg, var(--rc-bg));
    border: var(--step-border, 1.5px solid var(--rc-chip-border));
    font: 800 14px/1 var(--font-ui);
    color: var(--step-fg, var(--rc-fg-3));
    transition: background var(--dur), border-color var(--dur), color var(--dur);
}

/* ===== src/elements/status-pill.css ===== */
/* Red&Co: styles of views/elements/status-pill.blade.php. Mobile / tablet rules (@media) at the end of the file. */

/* Server state pill (home, login, support, menu, "Join" modal, Status hero).
   --pill: state color (green by default); .is-alert: the dot pulses */
.rc-pill {
    --pill: var(--rc-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: var(--ctl-xs);
    padding: 0 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--rc-tag-border);
    background: color-mix(in srgb, var(--pill) 50%, transparent);
    color: #fff;
    font: 500 14px/1 var(--font-ui);
    white-space: nowrap;
}
.rc-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: var(--radius-round);
    background: var(--pill);
    box-shadow: 0 0 6px var(--pill);
}
.rc-pill-offline { --pill: var(--rc-red); }
.rc-pill.is-alert::before { animation: rcStatusPulse 1.8s var(--ease-wave) infinite; }
[data-bs-theme=light] .rc-pill { color: var(--rc-coal); }

/* ===== src/elements/player-head.css ===== */
/* Red&Co: styles of views/elements/player-head.blade.php. Mobile / tablet rules (@media) at the end of the file. */

/* 3D player head (skin texture, mc-heads.net) */
.rc-head {
    --size: 40px;
    --s: calc(var(--size) * .6);
    --u: calc(var(--s) / 8);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--size);
    height: var(--size);
    flex-shrink: 0;
    vertical-align: middle;
    perspective: none;
}
.rc-head::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70%;
    height: 14%;
    transform: translateX(-50%);
    border-radius: var(--radius-round);
    background: radial-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 70%);
}
.rc-head-cube {
    position: relative;
    z-index: 1;
    display: block;
    width: var(--s);
    height: var(--s);
    margin-top: calc(var(--size) * -.06);
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(26deg);
}
.rc-head-animated .rc-head-cube {
    animation: rcHeadSway 5s var(--ease-wave) infinite alternate;
}
.rc-head-layer {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}
.rc-head-layer.hat {
    transform: scale3d(1.125, 1.125, 1.125);
}
.rc-head-nohat .rc-head-layer.hat { display: none; }
.rc-head-layer i {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background-image: var(--skin);
    background-size: calc(var(--u) * 64) auto;
    image-rendering: pixelated;
    /* faces shaded by an inset shadow rather than a filter (much lighter to repaint) */
}
.rc-head-layer i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); background-position: calc(var(--u) * -8) calc(var(--u) * -8); }
.rc-head-layer i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); background-position: calc(var(--u) * -24) calc(var(--u) * -8); box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .3); }
.rc-head-layer i:nth-child(3) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background-position: 0 calc(var(--u) * -8); box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .2); }
.rc-head-layer i:nth-child(4) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background-position: calc(var(--u) * -16) calc(var(--u) * -8); box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .38); }
.rc-head-layer i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background-position: calc(var(--u) * -8) 0; box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .1); }
.rc-head-layer i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background-position: calc(var(--u) * -16) 0; box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .5); }
/* the hat has transparent pixels: no inset shadow (it would fill the face) */
.rc-head-layer.hat i { box-shadow: none; }
.rc-head-layer.hat i:nth-child(1) { background-position: calc(var(--u) * -40) calc(var(--u) * -8); }
.rc-head-layer.hat i:nth-child(2) { background-position: calc(var(--u) * -56) calc(var(--u) * -8); }
.rc-head-layer.hat i:nth-child(3) { background-position: calc(var(--u) * -32) calc(var(--u) * -8); }
.rc-head-layer.hat i:nth-child(4) { background-position: calc(var(--u) * -48) calc(var(--u) * -8); }
.rc-head-layer.hat i:nth-child(5) { background-position: calc(var(--u) * -40) 0; }
.rc-head-layer.hat i:nth-child(6) { background-position: calc(var(--u) * -48) 0; }
/* skin that does not load (the site's /skin/ address does not answer: maintenance, outage; elements/player-head.js): a
   head of our own, graphite with two red pixel eyes, never Mojang's Steve (their textures never go in the repository) */
.rc-head-unknown .rc-head-layer.hat { display: none; }
.rc-head-unknown .rc-head-layer i { background: var(--rc-dark-600); }
.rc-head-unknown .rc-head-layer i:nth-child(1) {
    background:
        linear-gradient(var(--rc-red), var(--rc-red)) calc(var(--u) * 2) calc(var(--u) * 4) / var(--u) var(--u) no-repeat,
        linear-gradient(var(--rc-red), var(--rc-red)) calc(var(--u) * 5) calc(var(--u) * 4) / var(--u) var(--u) no-repeat,
        var(--rc-dark-600);
}

/* ===== src/elements/copy-address.css ===== */
/* Red&Co: styles of views/elements/copy-address.blade.php. Mobile / tablet rules (@media) at the end of the file. */

/* Copyable address */
.rc-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.rc-copy-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.rc-copy-address {
    font: 400 var(--copy-size, 24px)/1 var(--font-display);
    color: var(--rc-fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 575.98px) {
.rc-copy-address { --copy-size: 20px; }
}

/* ===== src/elements/theme-toggle.css ===== */
/* Red&Co: styles of views/elements/theme-toggle.blade.php. Mobile / tablet rules (@media) at the end of the file. */

/* Light / dark theme toggle (ThemeToggle of the design system): 58 × 32, 24 px knob sliding with a bounce,
   solid icon of the active theme in the knob, icon of the other theme as a watermark. Checked = light theme.
   The look follows the theme actually shown (attribute of the <body>), not the checked state, so it never gets out of sync. */
.rc-theme-toggle {
    --tt-w: 58px;
    --tt-h: 32px;
    --tt-knob: calc(var(--tt-h) - 8px);
    --tt-ink: 255, 255, 255;
    position: relative;
    flex-shrink: 0;
    width: var(--tt-w);
    height: var(--tt-h);
    padding: 0;
    border-radius: var(--tt-h);
    border: 1px solid rgba(var(--tt-ink), .25);
    background: rgba(var(--tt-ink), .06);
    cursor: pointer;
}
[data-bs-theme=light] .rc-theme-toggle { --tt-ink: var(--rc-coal-rgb); }
.rc-theme-toggle:focus-visible { outline: 2px solid var(--rc-focus); outline-offset: 3px; }
.rc-tt-ghost {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    color: rgb(var(--tt-ink));
    opacity: .45;
}
.rc-tt-ghost svg { display: block; }
.rc-tt-ghost-sun { left: 9px; }
.rc-tt-ghost-moon { right: 9px; }
/* dark: we offer the sun (on the left); light: the moon (on the right) */
body:not([data-bs-theme=light]) .rc-tt-ghost-moon,
[data-bs-theme=light] .rc-tt-ghost-sun { display: none; }
.rc-tt-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: var(--tt-knob);
    height: var(--tt-knob);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-round);
    background: #fff;
    color: var(--rc-dark-900);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);   /* off-token: depth of the toggle knob */
    transform: translateX(calc(var(--tt-w) - var(--tt-knob) - 8px));
    transition: transform var(--dur-long) var(--ease-spring);
}
[data-bs-theme=light] .rc-tt-knob {
    background: var(--rc-coal);
    color: #fff;
    transform: translateX(0);
}
.rc-tt-sun,
.rc-tt-moon { display: block; }
body:not([data-bs-theme=light]) .rc-tt-sun,
[data-bs-theme=light] .rc-tt-moon { display: none; }
/* the icon comes in rotating, only after a click (not on load) */
.rc-theme-toggle.is-flipped .rc-tt-knob svg { animation: rcThemeSpin var(--dur-long) var(--ease-spring); }
@media (prefers-reduced-motion: reduce) {
.rc-tt-knob { transition: none; }
.rc-theme-toggle.is-flipped .rc-tt-knob svg { animation: none; }
}

/* ===== src/elements/lang-switcher.css ===== */
/* Red&Co: styles of views/elements/lang-switcher.blade.php. Mobile / tablet rules (@media) at the end of the file. */

/* Language switcher (language-switcher plugin): elements/lang-switcher.blade.php */
.rc-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--ctl-sm);
    padding: 0 8px 0 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--rc-chip-border);
    background: rgba(var(--rc-fg-rgb), var(--fill-1));
    color: var(--rc-fg);
    font: 700 12px/1 var(--font-ui);
    letter-spacing: .08em;
    cursor: pointer;
    transition: border-color var(--dur-fast), background var(--dur-fast);
}
.rc-lang-btn:hover, .rc-lang-btn[aria-expanded=true] { border-color: var(--rc-hair-strong); background: rgba(var(--rc-fg-rgb), var(--fill-2)); }
.rc-lang-btn svg { opacity: .7; transition: transform var(--dur); }
.rc-lang-btn[aria-expanded=true] svg { transform: rotate(180deg); }
/* flags: rounded corners and a light rim for flags with a white background */
.rc-lang-flag {
    display: inline-block;
    flex: none;
    width: 22px;
    height: 16px;
    border-radius: var(--radius-2xs);
    object-fit: cover;   /* the theme's flags (assets/img/flags) */
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .12);   /* off-token: flag rim, on every color */
}
.rc-lang-flag.is-lg { width: 30px; height: 22px; border-radius: var(--radius-2xs); }
.rc-lang-flag.is-none { display: grid; place-items: center; background: var(--rc-raised); font: 700 10px/1 var(--font-ui); color: var(--rc-fg-2); }   /* off-token: letters in a 20 × 14 flag */
.rc-lang-menu form { margin: 0; }
.rc-lang-title { display: block; padding: 4px 8px 8px; font: 700 12px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--rc-fg-2); }
.rc-lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--rc-fg);
    font: 600 14px/1.2 var(--font-ui);
    text-align: left;
    cursor: pointer;
}
.rc-lang-item:hover, .rc-lang-item:focus-visible { background: rgba(var(--rc-fg-rgb), var(--fill-2)); outline: none; }
.rc-lang-item.is-current { background: rgba(var(--rc-red-rgb), .14); }
.rc-lang-name { flex: 1; }
.rc-lang-check { flex: none; color: var(--rc-red); }
[data-bs-theme=dark] .rc-lang-check { color: var(--rc-red-ink); }
/* mobile menu: a row of flags */
.rc-lang-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rc-lang-row form { margin: 0; }
.rc-lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--ctl);
    padding: 0 12px 0 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--rc-chip-border);
    background: rgba(var(--rc-fg-rgb), var(--fill-1));
    color: var(--rc-fg);
    font: 600 14px/1 var(--font-ui);
    letter-spacing: .04em;
    cursor: pointer;
}
.rc-lang-chip.is-current { border-color: var(--rc-red); background: rgba(var(--rc-red-rgb), .16); }

/* ===== src/_core/layout.css ===== */
/* Red&Co: layout (top bar, menu, footer): shared rules. Mobile / tablet rules (@media) at the end of the file. */

.rc-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: none;
    background: none;
    font: 500 14px/1 var(--font-ui);
    color: var(--rc-fg-3);
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--dur-fast);
}
.rc-nav-link:hover,
.rc-nav-link.active,
.rc-nav-link[aria-expanded=true] {
    color: var(--rc-fg);
}
/* Light theme: at 50 % the dark text was too pale on the light background (contrast 3.3) → 72 % (6.7) */
[data-bs-theme=light] .rc-nav-link { color: var(--rc-fg-2); }
[data-bs-theme=light] .rc-nav-link:hover,
[data-bs-theme=light] .rc-nav-link.active,
[data-bs-theme=light] .rc-nav-link[aria-expanded=true] { color: var(--rc-fg); }

/* ===== src/elements/navbar.css ===== */
/* Red&Co: styles of views/elements/navbar.blade.php. Mobile / tablet rules (@media) at the end of the file. */

/* ---------- 6. Layout ---------- */
/* Navigation bar */
.rc-nav {
    position: relative;
    z-index: var(--z-sticky);
    padding: 32px var(--gutter) 0;
}
.rc-nav-inner {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.rc-nav-left,
.rc-nav-right {
    display: flex;
    align-items: center;
}
.rc-nav-left { gap: 48px; min-width: 0; }
.rc-nav-right { gap: 32px; }
.rc-nav-logo {
    display: inline-flex;
    flex-shrink: 0;
}
.rc-nav-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.rc-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* "Shop" pill (top bar and mobile menu): brand gold, ink text — readable on the hero gradient
   as on the light background (≈ 9:1), in both themes */
.rc-nav-shop,
.rc-nav-mobile-pill {
    height: var(--ctl-xs);
    padding: 0 8px;
    border-radius: var(--radius-sm);
    background: var(--rc-gold);
    border: 1px solid rgba(var(--rc-coal-rgb), .35);
    color: var(--rc-coal);
    font-weight: 600;
}
.rc-nav-shop:hover,
.rc-nav-shop.active {
    background: color-mix(in srgb, var(--rc-gold) 85%, #fff);
    color: var(--rc-coal);
}
.rc-nav .dropdown-toggle::after { display: none; }   /* chevron: the common icon (elements.icon chevron-down), like the language switcher */
.rc-nav-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    color: var(--rc-fg);
    cursor: pointer;
}
.rc-nav-user::after { display: none; }
.rc-nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid rgba(var(--rc-fg-rgb), .2);
    background: rgba(0, 0, 0, .35);
    color: var(--rc-fg);
    cursor: pointer;
}
.rc-nav-mobile {
    display: none;
}
@media (max-width: 1199.98px) {
/* ---------- Responsive ---------- */
.rc-nav-left { gap: 32px; }
.rc-nav-links { gap: 24px; }
.rc-nav-right { gap: 20px; }
}
@media (max-width: 991.98px) {
.rc-nav { padding-top: 48px; padding-left: 16px; padding-right: 16px; }
.rc-nav-inner { height: 48px; }
.rc-nav-logo img { width: 40px; height: 40px; }
.rc-nav-links,
    .rc-nav-right > :not(.rc-nav-burger):not(.rc-theme-toggle) { display: none !important; }
.rc-nav-right { gap: 8px; }
.rc-nav-right .rc-theme-toggle { --tt-w: 54px; --tt-h: 30px; }
.rc-nav-burger { display: inline-flex; border-color: rgba(var(--rc-fg-rgb), .25); }
.rc-nav-mobile {
        position: fixed;
        inset: 0;
        z-index: var(--z-menu);
        flex-direction: column;
        padding: 48px 20px 24px;
        overflow: hidden auto;
        background: var(--rc-dark-900);
        color: #fff;
        --rc-fg: #fff;
        --rc-fg-rgb: 255, 255, 255;
        --rc-hair: rgba(255, 255, 255, .12);
    }
[data-bs-theme=light] .rc-nav-mobile {
        background: var(--rc-bg);
        color: var(--rc-coal);
        --rc-fg: var(--rc-coal);
        --rc-fg-rgb: var(--rc-coal-rgb);
        --rc-hair: rgba(var(--rc-coal-rgb), .14);
    }
.rc-nav-mobile.is-open { display: flex; }
.rc-nav-mobile-cube {
        position: absolute;
        left: -40px;
        bottom: -30px;
        opacity: .18;
        pointer-events: none;
    }
.rc-nav-mobile-head {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 44px;
    }
.rc-nav-mobile-close { margin: 2px; }
.rc-nav-mobile ul {
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        list-style: none;
    }
.rc-nav-mobile-links { margin-top: 32px !important; }
.rc-nav-mobile ul a,
.rc-nav-mobile-group {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0 16px 16px;
        border-top: 1px solid var(--rc-hair);
        font: 400 var(--fs-title-l)/1 var(--font-display);
        color: var(--rc-fg-3);
    }
.rc-nav-mobile ul a::before,
.rc-nav-mobile-group::before {
        content: "";
        position: absolute;
        left: 0;
        top: 14px;
        bottom: 14px;
        width: 3px;
        border-radius: var(--radius-2xs);
        background: transparent;
    }
.rc-nav-mobile ul a.active,
    .rc-nav-mobile ul a:hover,
    .rc-nav-mobile-group.active { color: var(--rc-fg); }
.rc-nav-mobile ul a.active::before,
.rc-nav-mobile-group.active::before { background: var(--rc-red); }
.rc-nav-mobile ul ul a {
        padding-left: 32px;
        font: 600 14px/1 var(--font-ui);
    }
.rc-nav-mobile-pill {
        display: inline-flex;
        align-items: center;
        font: 600 12px/1 var(--font-ui);
    }
[data-bs-theme=light] .rc-nav-mobile-cube { opacity: .08; }
.rc-nav-mobile-foot {
        position: relative;
        margin-top: auto;
        padding-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
.rc-nav-mobile-account {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-top: 16px;
        border-top: 1px solid var(--rc-hair);
    }
.rc-nav-mobile-account a {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--rc-fg);
    }
.rc-nav-mobile-account a span {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
.rc-nav-mobile-account b { font: 700 14px/1 var(--font-ui); }
/* the account opens its list (the avatar menu of a computer): « Mon compte », notifications, account pages, admin, log
   out; 44 px rows to touch */
.rc-nav-mobile-account { align-items: flex-start; }
.rc-nav-mobile-me { flex: 1 1 auto; min-width: 0; }
.rc-nav-mobile-me summary {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--rc-fg);
        cursor: pointer;
        list-style: none;
    }
.rc-nav-mobile-me summary::-webkit-details-marker { display: none; }
.rc-nav-mobile-me summary span { display: flex; flex-direction: column; gap: 4px; }
.rc-nav-mobile-me-chevron { color: var(--rc-meta); transition: transform var(--dur-fast); }
.rc-nav-mobile-me[open] .rc-nav-mobile-me-chevron { transform: rotate(180deg); }
.rc-nav-mobile-me-list {
        display: flex;
        flex-direction: column;
        margin-top: var(--space-2);
        padding-left: 52px;   /* off-token: layout, under the name (the 40 px head and its 12 px gap) */
    }
.rc-nav-mobile-me-list a {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        min-height: 44px;
        font: 500 14px/1 var(--font-ui);
        color: var(--rc-fg-2);
    }
.rc-nav-mobile-me-list a:hover { color: var(--rc-fg); }
.rc-nav-mobile-me-list .badge { margin-left: auto; }
.rc-nav-mobile-me-list .is-logout { margin-top: var(--space-1); border-top: 1px solid var(--rc-hair); }
.rc-nav-mobile-account small { font: 500 14px/1 var(--font-ui); color: var(--rc-meta); }
}
@media (max-width: 767.98px) {
/* ---------- Top bar ---------- */
.rc-nav-burger { background: rgba(0, 0, 0, .35); }
[data-bs-theme=light] .rc-nav-burger { background: rgba(255, 255, 255, .6); }
/* Language: on mobile, in the menu (row of flags) rather than in the top bar */
.rc-nav-right .rc-lang { display: none; }
.rc-nav-mobile-foot .rc-lang-row { margin-top: 2px; }
}

/* ===== src/elements/notifications.css ===== */
/* Red&Co: styles of views/elements/notifications.blade.php. Mobile / tablet rules (@media) at the end of the file. */

.rc-nav-bell {
    position: relative;
    color: var(--rc-fg-3);
    font-size: var(--icon-m);
}
.rc-nav-bell svg { display: block; }
/* notifications menu of the bar */
.rc-notif-menu { width: 340px; }
.rc-notif-menu-icon { margin-top: 2px; }
.rc-notif-menu-text { white-space: normal; }
.rc-nav-bell .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    padding: 4px 4px;
    font-size: 12px;
    border: 2px solid var(--rc-bg);
    background: var(--rc-red) !important;
}

/* ===== src/elements/admin-notice.css ===== */
/* Red&Co: styles of views/elements/admin-notice.blade.php (team banners: maintenance, required plugin, preview mode, stacked). */

.rc-admin-notices {
    position: fixed;
    left: var(--space-4);
    bottom: var(--space-4);
    z-index: var(--z-overlay);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    max-width: calc(100% - 2 * var(--space-4));
    pointer-events: none;   /* the space between two banners does not block the page */
}
.rc-admin-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
    max-width: 100%;
    padding: 8px 16px;
    border: 2px solid var(--rc-orange);
    border-radius: var(--radius-md);
    background: var(--rc-surface);
    box-shadow: var(--shadow-pop);
    font: 600 14px/1.4 var(--font-ui);
    color: var(--rc-fg);
    pointer-events: auto;
}
.rc-admin-notice svg { flex-shrink: 0; }
.rc-admin-notice.is-alert { border-color: var(--rc-red); }
.rc-admin-notice a { color: var(--rc-orange-ink); font-weight: 700; }

/* ===== src/_core/shared.css ===== */
/* Red&Co: rules shared by several pages (with no view of their own). Mobile / tablet rules (@media) at the end of the file. */

.rc-hero-cubes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.rc-hero-cubes span {
    position: absolute;
    animation: rcCubeFloat var(--d, 6s) var(--ease-wave) var(--delay, 0s) infinite alternate;
}
/* Rich content (articles, pages) */
.rc-prose {
    font: 500 16px/1.7 var(--font-ui);
    color: var(--rc-fg-2);
    overflow-wrap: anywhere;
}
.rc-prose h2,
.rc-prose h3,
.rc-prose h4 {
    margin: 1.8em 0 .6em;
    color: var(--rc-fg);
}
.rc-prose h2 { font: 400 var(--fs-title-l)/1.1 var(--font-display); }
.rc-prose h3 { font: 700 20px/1.2 var(--font-ui); text-transform: uppercase; }
.rc-prose p { margin: 0 0 1.1em; }
.rc-prose strong { color: var(--rc-fg); }
.rc-prose a:not(.rc-btn) { color: var(--rc-fg); text-decoration: underline; text-decoration-color: var(--rc-red); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.rc-prose img { border-radius: var(--radius-md); margin: 12px 0; }
.rc-prose ul,
.rc-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.rc-prose li { margin-bottom: .35em; }
.rc-prose li::marker { color: var(--rc-red); }
.rc-prose code { color: var(--rc-fg); background: rgba(var(--rc-fg-rgb), var(--fill-2)); border-radius: var(--radius-xs); padding: 2px 4px; }
.rc-prose table { width: 100%; margin-bottom: 1.1em; }
.rc-prose table td,
.rc-prose table th { border-bottom: 1px solid var(--rc-hair); padding: 8px 8px; }
.rc-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 32px 0;
    color: var(--rc-fg-3);
}
.rc-empty h2 {
    margin: 0;
    font: 400 var(--fs-title-m)/1.1 var(--font-display);
    color: var(--rc-fg);
}
.rc-empty p { margin: 0; }
/* empty state: always a visual (cube or icon of the subject), a title, an optional text and action;
   .is-compact: in a list or a column, one sentence under a rule */
.rc-empty.is-compact {
    gap: 0;
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid var(--rc-hair);
    font: 500 16px/1.5 var(--font-ui);
    color: var(--rc-meta);
}
button.rc-more,
button.rc-link {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
.rc-prose-article {
    font-size: 18px;
    color: rgba(var(--rc-fg-rgb), .82);
}
.rc-prose-article h2 {
    margin-top: 48px;
    font-size: var(--fs-title-l);
    scroll-margin-top: 110px;
}
.rc-prose-article ul { list-style: none; padding-left: 0; }
.rc-prose-article ul li {
    position: relative;
    padding-left: 20px;
}
.rc-prose-article ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 8px;
    height: 8px;
    background: var(--rc-red);
}
.rc-prose-article blockquote {
    margin: 32px 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--rc-red);
    font: 400 var(--fs-title-m)/1.2 var(--font-display);
    color: var(--rc-fg);
    text-wrap: balance;
}
.rc-prose-article img { border-radius: var(--radius-lg); }
.rc-community-title {
    margin: 0;
    font: 400 var(--fs-title-l)/1.1 var(--font-display);
}
.rc-community-title span { color: var(--rc-fg-3); }
.rc-link {
    font: 600 14px/1 var(--font-ui);
    color: var(--rc-fg-2);
    text-decoration: underline;
    text-decoration-color: rgba(var(--rc-fg-rgb), .3);
    text-underline-offset: 4px;
    transition: color var(--dur-fast), text-decoration-color var(--dur-fast);
}
.rc-link:hover {
    color: var(--rc-fg);
    text-decoration-color: var(--rc-red);
}
/* Clickable row (news, upcoming events, calendar, tickets, account sections): on hover or keyboard
   focus, its title (.rc-row-title) gets a red underline, 2 px, offset by 4 px. One single rule for the whole site */
.rc-row-title {
    text-decoration: underline 2px transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color var(--dur-fast);
}
:is(a, button, summary):is(:hover, :focus-visible) .rc-row-title { text-decoration-color: var(--rc-red); }
/* Appear on scroll: [data-rc-appear] gets "is-in" on screen (assets/js/src/_core/utils.js; right away
   with reduced motion). Per-page settings: --appear-y (start offset), --appear-dur (duration), --appear-step
   (delay per rank --i of the block, to bring them in one after the other) */
[data-rc-appear] {
    opacity: 0;
    transform: translateY(var(--appear-y, 18px));
    transition: opacity var(--appear-dur, var(--dur-reveal)) var(--ease) calc(var(--i, 0) * var(--appear-step, 0ms)), transform var(--appear-dur, .6s) var(--ease) calc(var(--i, 0) * var(--appear-step, 0ms));
}
[data-rc-appear].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
[data-rc-appear] { opacity: 1; transform: none; transition: none; }
}
/* Checkbox */
.rc-check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font: 500 14px/1.4 var(--font-ui);
    color: var(--rc-fg-2);
    cursor: pointer;
}
.rc-check input {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
}
.rc-check-box {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: var(--radius-xs);
    border: 1.5px solid rgba(var(--rc-fg-rgb), .4);
    transition: border-color var(--dur-fast), background var(--dur-fast);
}
.rc-check input:checked + .rc-check-box {
    border-color: var(--rc-fg);
    background: rgba(var(--rc-fg-rgb), var(--fill-3)) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M5 12.5 L10 17.5 L19 7.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") center / 14px no-repeat;
}
[data-bs-theme=light] .rc-check input:checked + .rc-check-box {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M5 12.5 L10 17.5 L19 7.5' fill='none' stroke='%231c1614' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}
.rc-check input:focus-visible + .rc-check-box { outline: 2px solid var(--rc-fg); outline-offset: 2px; }
.rc-check.is-invalid .rc-check-box { border-color: var(--rc-error); }
.rc-link-danger {
    padding: 0;
    border: none;
    background: none;
    font: 600 14px/1 var(--font-ui);
    color: var(--rc-error);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}
/* Custom pages */
.rc-page {
    padding-top: 32px;
    padding-bottom: 120px; /* off-token: layout */
}
/* "Upcoming" block (News) */
.rc-label-red { color: var(--rc-red-ink); }
@media (max-width: 991.98px) {
:root { --gutter: 16px; }
}
@media (max-width: 575.98px) {
.rc-page-hero { --hero-h: 260px; }
.rc-page-hero-inner { flex-direction: column; align-items: flex-start; bottom: 24px; }
.rc-join { padding: 0; align-items: flex-end; background: var(--rc-overlay); }
.rc-prose-article { font-size: 16px; }
.rc-prose-article h2 { font-size: var(--fs-title-m); }
}
@media (min-width: 768px) {
/* Blocks specific to one version: .rc-m-only (mobile, < 768 px) and .rc-d-only (desktop) (take priority: !important) */
.rc-m-only { display: none !important; }
}
/* ---------- Hero veil in light theme: the mockup recipe (site-theme.js, LIGHT_VEIL) ---------- */
[data-bs-theme=light] .rc-veil {
    background-image:
        linear-gradient(var(--rc-light-100) 0%, rgba(var(--rc-light-100-rgb), .25) 45%, rgba(var(--rc-light-100-rgb), .72) 75%, var(--rc-light-100) 100%),
        var(--hero-img, var(--grad-blood));
}
/* Tabs without reload (shop, login): area being loaded */
.is-soft-loading { opacity: .55; pointer-events: none; transition: opacity var(--dur-fast) var(--dur-fast); }
/* During the intro (motion.js), the page animations, hidden behind it, are paused */
html.rc-intro-playing .rc-hero-cubes span,
html.rc-intro-playing .rc-ambiance-fx i,
html.rc-intro-playing .rc-ambiance-fx b,
html.rc-intro-playing .rc-ambiance-fx svg { animation-play-state: paused !important; }
@media (max-width: 767.98px) {
/* mobile/base.css: common elements (titles, heroes, section headers, footer, "Join" sheet,
   login / register, error pages). Mockups: m-shared.jsx, m-errors.jsx, "Connexion Mobile". */
.rc-d-only { display: none !important; }
/* ---------- Titles (MO_H1 / MO_H2) ---------- */
.rc-h1 { font-size: var(--fs-title-xl); line-height: var(--lh-tight); }
.rc-h2 { font-size: var(--fs-title-m); line-height: var(--lh-title); }
/* compact page title (status, help, login, error, article): one step lower on mobile */
.rc-h1.is-compact { font-size: var(--fs-title-l); text-wrap: balance; }
/* ---------- Page hero (MoHero): 360 px by default, each page sets its height ---------- */
.rc-page-hero { --hero-h: 360px; }
.rc-page-hero-inner { left: 18px; right: 18px; bottom: 22px; width: auto; max-width: none; padding: 0; }
/* ---------- "Join" sheet (MoSheet): from mobile mode on, not only below 576 px ---------- */
.rc-join { padding: 0; align-items: flex-end; background: var(--rc-overlay); }
/* Heroes (MoHero): image slightly darkened in dark theme, like the mockup (brightness .85) */
body:not([data-bs-theme=light]) .rc-veil { filter: brightness(.85); }
/* ---------- News: 280 px hero under the bar, h1 at the bottom ---------- */
.rc-news-hero { --hero-h: var(--hero-s); margin-top: -92px; }
.rc-prose-article { font-size: 16px; }
.rc-prose-article h2 { font-size: var(--fs-title-m); scroll-margin-top: 76px; }
.rc-prose-article blockquote { font-size: var(--fs-title-s); }
.rc-community-title { font: 400 var(--fs-title-m)/1 var(--font-display); }
.rc-cart-summary { position: static; padding: 20px; border-radius: var(--radius-lg); }
}

/* ===== src/features/ambiances.css ===== */
/* Red&Co: occasion ambiances (holidays, shop highlights, events), common part. Mobile / tablet rules (@media) at the end of the file. */

/*
 * The occasion of the day comes from the Red&Co plugin (Red&Co → Contenus du site → Ambiances): body[data-rc-ambiance=<key>]. Each ambiance is a
 * theme folder, assets/ambiances/<key>/ (ambiance.json, style.css, effects.js), loaded alone on that day: colors of the
 * brand cubes (variables of the #rc-cube symbol, views/elements/sprite.blade.php), --ambiance-accent / -on / -tint,
 * particles. Here: what they all share (hero veil, home tag, particles, animations).
 * Without an ambiance, nothing changes: the variables fall back to the original colors.
 */
/* ---------- Tinted veil over the heroes ---------- */
body[data-rc-ambiance] .rc-hero .rc-veil::after,
body[data-rc-ambiance] .rc-page-hero .rc-veil::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ambiance-tint);
    pointer-events: none;
    /* the tint fades at the top and bottom: the fade into the page stays intact */
    -webkit-mask-image: linear-gradient(transparent 0%, #000 22%, #000 62%, transparent 100%);
    mask-image: linear-gradient(transparent 0%, #000 22%, #000 62%, transparent 100%);
}
/* Light theme: the text is dark, so light and soft tints (each ambiance gives its own) */
[data-bs-theme=light][data-rc-ambiance] .rc-hero .rc-veil::after,
[data-bs-theme=light][data-rc-ambiance] .rc-page-hero .rc-veil::after { opacity: .7; }
/* ---------- Occasion tag (home, views/elements/ambiance-tag.blade.php) ---------- */
.rc-ambiance-tag { display: none; }
body[data-rc-ambiance] .rc-ambiance-tag:not(:empty) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--radius-lg);
    border: 2px solid #000;
    background: var(--ambiance-accent);
    box-shadow: 0 6px 3px rgba(0, 0, 0, .35);
    /* dark text on light colors (yellow, gold, green, orange), white on red, blue and pink (--ambiance-on) */
    color: var(--ambiance-on, var(--rc-coal));
    font: 700 12px/1 var(--font-ui);
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: rcAmbianceTag 2.4s var(--ease-wave) infinite alternate;
}
.rc-ambiance-tag svg { flex-shrink: 0; }
@keyframes rcAmbianceTag {
    from { transform: translateY(0) rotate(-1.5deg); }
    to { transform: translateY(-3px) rotate(1.5deg); }
}
/* pulsing "Shop" pill (shop highlights: black-friday/, sales/) */
@keyframes rcShopPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(247, 240, 40, 0); }
    50% { box-shadow: 0 0 0 5px rgba(247, 240, 40, .25); }
}
/* ---------- Particles (assets/js/src/features/ambiances.js + effects.js of each ambiance) ---------- */
.rc-ambiance-fx {
    /* no z-index: placed right after the image, it stays under the hero text */
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.rc-ambiance-fx i {
    position: absolute;
    display: block;
    width: var(--s, 8px);
    height: var(--s, 8px);
    opacity: var(--o, .9);
    animation: var(--anim, rcFxFall) var(--t, 10s) linear var(--d, 0s) infinite;
    will-change: transform;
}
.rc-ambiance-fx svg { display: block; width: 100%; height: 100%; }
/* confetti (New Year, anniversary: shared) */
.rc-fx-confetti { border-radius: var(--radius-2xs); background: var(--c); }
@keyframes rcFxFall {
    from { transform: translate3d(0, -12vh, 0) rotate(0deg); }
    50% { transform: translate3d(var(--sway, 30px), 50vh, 0) rotate(calc(var(--spin, 0deg) / 2)); }
    to { transform: translate3d(0, 115vh, 0) rotate(var(--spin, 0deg)); }
}
@keyframes rcFxRise {
    from { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
    15% { opacity: var(--o, .9); }
    to { transform: translate3d(var(--sway, 30px), -120vh, 0) scale(1.1); opacity: 0; }
}
@keyframes rcFxFly {
    from { transform: translate3d(-15vw, 0, 0); }
    20% { transform: translate3d(15vw, -26px, 0); }
    40% { transform: translate3d(45vw, 8px, 0); }
    60% { transform: translate3d(70vw, -18px, 0); }
    80% { transform: translate3d(98vw, 12px, 0); }
    to { transform: translate3d(125vw, -6px, 0); }
}
@media (prefers-reduced-motion: reduce) {
.rc-ambiance-fx { display: none; }
.rc-ambiance-tag { animation: none !important; }
}
