/* ─────────────────────────────────────────────────────────
   Plairsoft Public Styles
   CSS variables injected from WP admin appearance settings
   ───────────────────────────────────────────────────────── */

:root {
    --plairsoft-primary:      #9A8866;
    --plairsoft-secondary:    #080A09;
    --plairsoft-bg:           #ffffff;
    --plairsoft-text:         #1a1a1a;
    --plairsoft-radius:       8px;
    --plairsoft-font-heading: inherit;
    --plairsoft-font-body:    inherit;
}

/* Global border-radius override — applies to all plairsoft elements */
.plairsoft-calendar [class*="plairsoft-"],
.plairsoft-game-detail [class*="plairsoft-"],
[class*="plairsoft-gc"],
[class*="plairsoft-list__"],
[class*="plairsoft-month__"],
[class*="plairsoft-sidebar__"],
[class*="plairsoft-card-"],
[class*="plairsoft-power-"] {
    border-radius: var(--plairsoft-radius) !important;
}
/* Exceptions — these override the global radius */
.plairsoft-gc__date-badge { border-radius: 50% !important; }
.plairsoft-gc--date-circle .plairsoft-gc__date-badge { border-radius: 50% !important; }
.plairsoft-gc--date-square .plairsoft-gc__date-badge { border-radius: 4px !important; }
.plairsoft-gc--date-rounded .plairsoft-gc__date-badge { border-radius: 12px !important; }
.plairsoft-gc--date-none .plairsoft-gc__date-badge { display: none !important; }
/* Hero never gets global radius */
.plairsoft-game-detail__hero { border-radius: var(--plairsoft-radius) !important; overflow: hidden !important; }
.plairsoft-game-detail__hero-img,
.plairsoft-game-detail__hero-overlay,
.plairsoft-game-detail__hero-content { border-radius: 0 !important; }
.plairsoft-game-detail__person-avatar,
.plairsoft-game-detail__person-avatar img,
.plairsoft-game-detail__person-avatar span,
.plairsoft-um__avatar,
.plairsoft-um__avatar img,
.plairsoft-game-detail__user-bar img,
.plairsoft-nav__avatar,
.plairsoft-nav__avatar img,
.plairsoft-sidebar__field-logo,
[class*="plairsoft-"] img[style*="border-radius:50%"] { border-radius: 50% !important; }
.plairsoft-game-detail__hero-field-logo { border-radius: 4px !important; }
.plairsoft-game-detail__progress-bar,
.plairsoft-game-detail__progress-fill,
.plairsoft-gc__progress-bar,
.plairsoft-gc__progress-fill,
.plairsoft-power-bar,
.plairsoft-power-bar__track { border-radius: 99px !important; }

/* ── Shared ──────────────────────────────────────────── */
.plairsoft-calendar,
.plairsoft-game-detail {
    font-family: var(--plairsoft-font-body);
    color: var(--plairsoft-text);
    width: 100%;
    max-width: var(--plairsoft-content-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.plairsoft-notice {
    padding: 12px 16px;
    border-radius: var(--plairsoft-radius);
    font-size: 14px;
    border-left: 4px solid var(--plairsoft-primary);
    background: #fdf6ec;
    margin: 16px 0;
}
.plairsoft-notice--error { border-color: #d63638; background: #fce8e8; }
.plairsoft-notice--warning { border-color: #dba617; background: #fff8e5; }

/* ── Calendar ────────────────────────────────────────── */
.plairsoft-calendar__title {
    font-size: 28px;
    font-weight: 500;
    font-family: var(--plairsoft-font-heading);
    color: var(--plairsoft-text);
    margin: 0 0 24px;
    padding: 0;
    letter-spacing: -0.02em;
}

.plairsoft-calendar__empty {
    text-align: center;
    padding: 60px 0;
    color: #888;
}

.plairsoft-calendar__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* ── Game card (calendar) ─────────────────────────────── */
.plairsoft-gc,
.plairsoft-gc:link,
.plairsoft-gc:visited,
.plairsoft-gc:hover,
.plairsoft-gc:active,
.plairsoft-gc *,
.plairsoft-gc *:link,
.plairsoft-gc *:visited {
    text-decoration: none !important;
}
.plairsoft-gc {
    display: flex;
    flex-direction: column;
    background: var(--plairsoft-bg);
    border-radius: var(--plairsoft-radius);
    overflow: hidden;
    color: var(--plairsoft-text);
    border: 1px solid rgba(0,0,0,.08);
    transition: box-shadow .25s, transform .25s;
}
.plairsoft-gc:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
    transform: translateY(-3px);
    color: var(--plairsoft-text);
}
.plairsoft-gc--cancelled { opacity: .55; filter: grayscale(.4); }
.plairsoft-gc--finished  { opacity: .7; }

/* Cover */
.plairsoft-gc__cover {
    position: relative;
    height: 180px;
    background: #1a1a1a;
    overflow: hidden;
}
.plairsoft-gc__cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.plairsoft-gc__cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.5) 100%);
}

/* Date badge */
.plairsoft-gc__date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.plairsoft-gc__date-month {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #666;
    line-height: 1;
}
.plairsoft-gc__date-day {
    font-size: 20px;
    font-weight: 800;
    color: var(--plairsoft-text);
    line-height: 1.1;
}

/* Attendees */
.plairsoft-gc__attendees {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* Body */
.plairsoft-gc__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plairsoft-gc__name {
    font-size: 18px;
    font-weight: 500;
    font-family: var(--plairsoft-font-heading);
    margin: 0;
    line-height: 1.25;
    color: var(--plairsoft-text);
}

.plairsoft-gc__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plairsoft-gc__detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}
.plairsoft-gc__detail svg {
    flex-shrink: 0;
    opacity: .5;
}

/* Tags */
.plairsoft-gc__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}
.plairsoft-gc__tag {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}
.plairsoft-gc__tag--price {
    background: var(--plairsoft-primary);
    color: #fff;
}
.plairsoft-gc__tag--free {
    background: #16a34a;
    color: #fff;
}
.plairsoft-gc__tag--offer {
    background: #dc2626;
    color: #fff;
}

/* Status */
.plairsoft-gc__status {
    font-size: 13px;
    font-weight: 600;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.plairsoft-gc__status--open       { color: var(--plairsoft-status-open, #16a34a); }
.plairsoft-gc__status--inscribed  { color: #16a34a; font-weight: 700; }
.plairsoft-gc__status--in-progress{ color: #2563eb; }
.plairsoft-gc__status--full       { color: var(--plairsoft-status-closed, #dc2626); }
.plairsoft-gc__status--finished   { color: #6b7280; }
.plairsoft-gc__status--cancelled  { color: var(--plairsoft-status-closed, #dc2626); }

/* ── Pagination ──────────────────────────────────────── */
.plairsoft-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,.08);
}
.plairsoft-pagination__btn {
    padding: 8px 20px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: var(--plairsoft-radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--plairsoft-text);
    text-decoration: none;
    transition: all .15s;
}
.plairsoft-pagination__btn:hover {
    background: var(--plairsoft-primary);
    border-color: var(--plairsoft-primary);
    color: #fff;
}
.plairsoft-pagination__info { font-size: 13px; color: #888; }

/* ── Game detail ─────────────────────────────────────── */
.plairsoft-game-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    margin-bottom: 24px;
}
.plairsoft-game-detail__back:hover { color: var(--plairsoft-primary); }

/* ── Hero (game detail) ───────────────────────────────── */
.plairsoft-game-detail__hero {
    position: relative;
    border-radius: var(--plairsoft-radius);
    overflow: hidden;
    margin-bottom: 28px;
    height: 220px;
    background: #1a1a1a;
}
@media (max-width: 768px) {
    .plairsoft-game-detail__hero { height: 180px; }
}

.plairsoft-game-detail__hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.2);
}

.plairsoft-game-detail__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.15) 100%);
}

.plairsoft-game-detail__hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 24px 28px;
}

.plairsoft-game-detail__hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.plairsoft-game-detail__title {
    font-size: 26px;
    font-weight: 500;
    font-family: var(--plairsoft-font-heading);
    margin: 0;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.plairsoft-game-detail__hero-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.plairsoft-game-detail__hero-field-logo {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.2);
}
.plairsoft-game-detail__hero-field-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
}
.plairsoft-game-detail__hero-rating {
    font-size: 12px;
    color: #facc15;
    font-weight: 600;
}
.plairsoft-game-detail__hero-reviews {
    font-size: 11px;
    color: rgba(255,255,255,.45);
}

.plairsoft-game-detail__hero-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    padding: 5px 14px;
    border-radius: 6px;
    border: 1px solid #16a34a;
    color: #fff;
    width: fit-content;
}

.plairsoft-game-detail__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 768px) {
    .plairsoft-game-detail__layout { grid-template-columns: 1fr; }
}

/* Sections */
.plairsoft-game-detail__section {
    margin-bottom: 28px;
}
.plairsoft-game-detail__section h2 {
    font-size: 22px;
    font-weight: 500;
    font-family: var(--plairsoft-font-heading);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,.06);
    color: var(--plairsoft-text);
    letter-spacing: -0.01em;
}
.plairsoft-game-detail__text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.plairsoft-game-detail__cancelled-notice {
    background: #fee2e2;
    border-left: 4px solid #dc2626;
    padding: 12px 16px;
    border-radius: var(--plairsoft-radius);
    margin-bottom: 24px;
    font-size: 14px;
    color: #991b1b;
}

/* Power gauge grid */
.plairsoft-power-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.plairsoft-power-item {
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plairsoft-power-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 500;
}

.plairsoft-power-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--plairsoft-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.plairsoft-power-bar {
    position: relative;
    height: 6px;
    margin-top: 8px;
    border-radius: 99px;
    overflow: visible;
}

.plairsoft-power-bar__track {
    position: absolute;
    inset: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #22c55e 0%, #22c55e 33%, #eab308 33%, #eab308 50%, #ef4444 50%, #ef4444 100%);
    opacity: .7;
}

.plairsoft-power-bar__indicator {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 4px rgba(0,0,0,.4);
    transition: left .4s ease;
}

/* Teams */
.plairsoft-game-detail__teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.plairsoft-game-detail__team-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafb;
    padding: 12px 16px;
    border-radius: var(--plairsoft-radius);
    border: 1px solid rgba(0,0,0,.06);
}
.plairsoft-game-detail__team-name { font-weight: 600; font-size: 14px; }
.plairsoft-game-detail__team-slots { font-size: 12px; color: #888; }

/* Video */
.plairsoft-game-detail__video {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--plairsoft-radius);
    overflow: hidden;
}
.plairsoft-game-detail__video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Sidebar card */
.plairsoft-game-detail__card {
    background: var(--plairsoft-bg);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--plairsoft-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 80px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.plairsoft-game-detail__price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.plairsoft-game-detail__price-final {
    font-size: 28px;
    font-weight: 800;
    color: var(--plairsoft-primary);
}
.plairsoft-game-detail__price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}
.plairsoft-game-detail__price-offer {
    font-size: 12px;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 8px;
    border-radius: 4px;
}
.plairsoft-game-detail__price-note {
    font-size: 12px;
    color: #999;
}

.plairsoft-game-detail__divider {
    border: none;
    border-top: 1px solid rgba(0,0,0,.06);
    margin: 4px 0;
}

.plairsoft-game-detail__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.plairsoft-game-detail__label { color: #888; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.plairsoft-game-detail__label svg { opacity: .5; flex-shrink: 0; }
.plairsoft-game-detail__value { font-weight: 600; }

.plairsoft-game-detail__progress-bar {
    height: 6px;
    background: rgba(0,0,0,.06);
    border-radius: 99px;
    overflow: hidden;
}
.plairsoft-game-detail__progress-fill {
    height: 100%;
    background: var(--plairsoft-primary);
    border-radius: 99px;
    transition: width .4s;
}
.plairsoft-game-detail__progress-fill--full { background: #dc2626; }

.plairsoft-game-detail__slots {
    font-size: 12px;
    color: #888;
    margin: -4px 0 0;
}
.plairsoft-game-detail__slots--full { color: #dc2626; font-weight: 600; }

.plairsoft-game-detail__status {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}
.plairsoft-game-detail__status--open       { background: #16a34a; color: #fff; }
.plairsoft-game-detail__status--in-progress{ background: #2563eb; color: #fff; }
.plairsoft-game-detail__status--finished   { background: #6b7280; color: #fff; }
.plairsoft-game-detail__status--cancelled  { background: #dc2626; color: #fff; }

.plairsoft-game-detail__badge-row { text-align: center; }
.plairsoft-game-detail__badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: var(--plairsoft-radius);
}
.plairsoft-game-detail__badge--password {
    background: #fef3c7;
    color: #92400e;
}

.plairsoft-game-detail__field-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.plairsoft-game-detail__field-name { font-weight: 600; font-size: 14px; }
.plairsoft-game-detail__field-location { font-size: 12px; color: #888; }

/* ── Field card (main content) ───────────────────────── */
.plairsoft-game-detail__field-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f9fafb;
    border-radius: var(--plairsoft-radius);
    border: 1px solid rgba(0,0,0,.06);
}
.plairsoft-game-detail__field-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.08);
}
.plairsoft-game-detail__field-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.plairsoft-game-detail__field-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--plairsoft-text);
}
.plairsoft-game-detail__field-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--plairsoft-text);
}
.plairsoft-game-detail__field-card-stars {
    color: #facc15;
    letter-spacing: 1px;
}
.plairsoft-game-detail__field-card-reviews {
    font-weight: 400;
    color: #888;
    font-size: 12px;
}
.plairsoft-game-detail__field-card-address {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
}
.plairsoft-game-detail__field-card-address svg {
    flex-shrink: 0;
    opacity: .5;
}

/* ── CTA Join button — inherits theme styles, only forces width ── */
.plairsoft-game-detail__cta-join,
.plairsoft-game-detail__register-btn {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    padding: 12px 20px;
    font-size: inherit;
    font-family: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--plairsoft-radius);
}
.plairsoft-game-detail__cta-join:disabled,
.plairsoft-game-detail__register-btn:disabled {
    opacity: .5;
    cursor: wait;
}
.plairsoft-game-detail__register-btn--disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}
.plairsoft-game-detail__cta-note {
    font-size: 12px;
    color: inherit;
    opacity: .6;
    text-align: center;
    margin: 8px 0 0;
    line-height: 1.6;
}
.plairsoft-game-detail__register-note {
    font-size: 12px;
    color: inherit;
    opacity: .6;
    text-align: center;
    margin: 8px 0 0;
}

/* ── People grid (players + referees) ─────────────────── */
.plairsoft-game-detail__count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 99px;
    background: var(--plairsoft-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
}

.plairsoft-game-detail__people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.plairsoft-game-detail__person-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--plairsoft-radius) !important;
    transition: border-color .15s;
}

.plairsoft-game-detail__person-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #888;
}
.plairsoft-game-detail__person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.plairsoft-game-detail__person-avatar--referee {
    background: transparent;
    color: var(--plairsoft-primary);
}

.plairsoft-game-detail__person-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}
.plairsoft-game-detail__person-name {
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--plairsoft-text);
}
.plairsoft-game-detail__person-role {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}
.plairsoft-game-detail__person-role--referee {
    color: var(--plairsoft-primary);
    font-weight: 600;
}

/* ── Teams detail ────────────────────────────────────── */
.plairsoft-game-detail__teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.plairsoft-game-detail__team-card {
    background: #f9fafb;
    padding: 14px 16px;
    border-radius: var(--plairsoft-radius);
    border: 1px solid rgba(0,0,0,.06);
}
.plairsoft-game-detail__team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.plairsoft-game-detail__team-name { font-weight: 500; font-size: 14px; }
.plairsoft-game-detail__team-slots { font-size: 12px; color: #888; }
.plairsoft-game-detail__team-players {
    margin: 0;
    padding: 0 0 0 16px;
    font-size: 13px;
    color: #555;
}
.plairsoft-game-detail__team-players li {
    padding: 2px 0;
}

/* ── Payment methods ─────────────────────────────────── */
.plairsoft-game-detail__payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.plairsoft-game-detail__payment-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #555;
    font-weight: 500;
}

/* ── User session bar ────────────────────────────────── */
.plairsoft-game-detail__user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 10px;
}
.plairsoft-game-detail__user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.plairsoft-game-detail__user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.plairsoft-game-detail__user-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.plairsoft-game-detail__logout-btn {
    font-size: 11px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: underline;
}
.plairsoft-game-detail__logout-btn:hover { color: #dc2626; }

/* ── Registered badge ────────────────────────────────── */
.plairsoft-game-detail__registered-badge {
    text-align: center;
    padding: 12px;
    border-radius: var(--plairsoft-radius);
    font-size: 14px;
    font-weight: 600;
}

.plairsoft-game-detail__leave-btn {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    padding: 10px;
    border-radius: var(--plairsoft-radius);
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    opacity: .7;
}
.plairsoft-game-detail__leave-btn:hover {
    opacity: 1;
}

/* ── Team select ─────────────────────────────────────── */
.plairsoft-game-detail__team-select {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plairsoft-game-detail__select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: var(--plairsoft-radius);
    font-size: 13px;
    background: #fff;
}

/* ── Feedback ────────────────────────────────────────── */
.plairsoft-game-detail__feedback {
    padding: 10px 14px;
    border-radius: var(--plairsoft-radius);
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}
.plairsoft-game-detail__feedback--success {
    background: #dcfce7;
    color: #166534;
}
.plairsoft-game-detail__feedback--error {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Mobile sticky bottom bar ────────────────────────── */
.plairsoft-game-detail__mobile-bar {
    display: none;
}
@media (max-width: 768px) {
    .plairsoft-game-detail__mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99998;
        background: var(--plairsoft-secondary, #0a0b0a);
        padding: 12px 20px;
        box-shadow: 0 -4px 20px rgba(0,0,0,.2);
    }
    .plairsoft-game-detail__mobile-bar-price {
        display: flex;
        flex-direction: column;
    }
    .plairsoft-game-detail__mobile-bar-label {
        font-size: 11px;
        color: rgba(255,255,255,.5);
    }
    .plairsoft-game-detail__mobile-bar-amount {
        font-size: 20px;
        font-weight: 800;
        color: #fff;
    }
    .plairsoft-game-detail__mobile-bar-btn {
        padding: 12px 28px;
        background: var(--plairsoft-primary, #9A8866);
        color: #fff !important;
        border: none;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: opacity .15s;
        white-space: nowrap;
    }
    .plairsoft-game-detail__mobile-bar-btn:hover { opacity: .85; }
    .plairsoft-game-detail__mobile-bar-btn--inscribed {
        background: #16a34a;
        cursor: default;
    }
    /* Add bottom padding to page so content isn't hidden behind the bar */
    .plairsoft-game-detail {
        padding-bottom: 80px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   WITH SIDEBAR LAYOUT
   ═══════════════════════════════════════════════════════ */
.plairsoft-calendar__content--with-sidebar {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.plairsoft-calendar__content--with-sidebar .plairsoft-calendar__main { flex: 1; min-width: 0; }
@media (max-width: 900px) {
    .plairsoft-calendar__content--with-sidebar { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════
   LIST VIEW
   ═══════════════════════════════════════════════════════ */
.plairsoft-list { display: flex; flex-direction: column; gap: 8px; }

.plairsoft-list__item,
.plairsoft-list__item:link,
.plairsoft-list__item:visited,
.plairsoft-list__item *  { text-decoration: none !important; }
.plairsoft-list__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--plairsoft-bg);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--plairsoft-radius);
    color: var(--plairsoft-text);
    transition: box-shadow .2s, border-color .2s;
}
.plairsoft-list__item:hover {
    border-color: var(--plairsoft-primary);
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    color: var(--plairsoft-text);
}
.plairsoft-list__item--cancelled { opacity: .5; }
.plairsoft-list__item--finished  { opacity: .7; }

.plairsoft-list__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    padding: 6px;
    background: #f3f4f6;
    border-radius: var(--plairsoft-radius);
}
.plairsoft-list__date-day { font-size: 22px; font-weight: 800; color: var(--plairsoft-text); line-height: 1; }
.plairsoft-list__date-month { font-size: 10px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .06em; }

.plairsoft-list__thumb {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.plairsoft-list__thumb img { width: 100%; height: 100%; object-fit: cover; }

.plairsoft-list__info { flex: 1; min-width: 0; }
.plairsoft-list__name { font-size: 15px; font-weight: 500; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plairsoft-list__meta { display: flex; gap: 12px; font-size: 12px; color: #888; margin-top: 3px; }

.plairsoft-list__price { font-size: 16px; font-weight: 800; color: var(--plairsoft-primary); white-space: nowrap; }

.plairsoft-list__status { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.plairsoft-list__status--open       { background: #dcfce7; color: #16a34a; }
.plairsoft-list__status--inscribed  { background: #dcfce7; color: #16a34a; font-weight: 700; }
.plairsoft-list__status--in-progress{ background: #dbeafe; color: #2563eb; }
.plairsoft-list__status--full       { background: #fee2e2; color: #dc2626; }
.plairsoft-list__status--finished   { background: #f3f4f6; color: #6b7280; }
.plairsoft-list__status--cancelled  { background: #fee2e2; color: #dc2626; }

@media (max-width: 640px) {
    .plairsoft-list__item { flex-wrap: wrap; gap: 10px; }
    .plairsoft-list__thumb { display: none; }
    .plairsoft-list__price { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════
   CALENDAR MONTH VIEW
   ═══════════════════════════════════════════════════════ */
.plairsoft-month__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.plairsoft-month__title {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--plairsoft-font-heading);
    margin: 0;
    text-transform: capitalize;
}
.plairsoft-month__nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--plairsoft-radius);
    border: 1px solid rgba(0,0,0,.1);
    text-decoration: none;
    color: var(--plairsoft-text);
    font-size: 18px;
    transition: background .15s;
}
.plairsoft-month__nav-btn:hover { background: #f3f4f6; }

.plairsoft-month__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--plairsoft-radius);
    overflow: hidden;
}

.plairsoft-month__header {
    padding: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    background: #f9fafb;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.plairsoft-month__cell {
    min-height: 90px;
    padding: 6px;
    border-right: 1px solid rgba(0,0,0,.04);
    border-bottom: 1px solid rgba(0,0,0,.04);
    background: var(--plairsoft-bg);
    position: relative;
}
.plairsoft-month__cell--empty { background: #fafafa; }
.plairsoft-month__cell--today { background: #fffbeb; }
.plairsoft-month__cell--has-games { background: #f0fdf4; }

.plairsoft-month__day {
    font-size: 12px;
    font-weight: 600;
    color: #888;
}
.plairsoft-month__cell--today .plairsoft-month__day {
    color: var(--plairsoft-primary);
    font-weight: 800;
}

.plairsoft-month__events {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 4px;
}

.plairsoft-month__event,
.plairsoft-month__event:link,
.plairsoft-month__event:visited { text-decoration: none !important; }
.plairsoft-month__event {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    background: var(--plairsoft-primary);
    color: #fff;
    transition: opacity .15s;
    overflow: hidden;
}
.plairsoft-month__event:hover { opacity: .8; color: #fff; }
.plairsoft-month__event--cancelled { background: #dc2626; opacity: .6; }
.plairsoft-month__event--inscribed { background: #16a34a; }
.plairsoft-month__event--finished { background: #6b7280; opacity: .7; }

.plairsoft-month__event-time { font-weight: 700; flex-shrink: 0; }
.plairsoft-month__event-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 640px) {
    .plairsoft-month__cell { min-height: 60px; padding: 4px; }
    .plairsoft-month__event-name { display: none; }
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════ */
.plairsoft-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}
@media (max-width: 900px) {
    .plairsoft-sidebar { width: 100%; position: static; }
}

.plairsoft-sidebar__card {
    background: var(--plairsoft-bg);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--plairsoft-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plairsoft-sidebar__field-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.plairsoft-sidebar__field-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.08);
}
.plairsoft-sidebar__field-name {
    font-size: 15px;
    display: block;
    color: var(--plairsoft-text);
}
.plairsoft-sidebar__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}
.plairsoft-sidebar__stars { color: #facc15; letter-spacing: 1px; }
.plairsoft-sidebar__reviews { font-weight: 400; color: #888; font-size: 12px; }

.plairsoft-sidebar__row {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--plairsoft-text);
    line-height: 1.5;
}
.plairsoft-sidebar__row svg { flex-shrink: 0; margin-top: 2px; opacity: .5; }
.plairsoft-sidebar__row a { color: var(--plairsoft-primary); text-decoration: none; }
.plairsoft-sidebar__row a:hover { text-decoration: underline; }
.plairsoft-sidebar__muted { color: #888; font-size: 12px; }

.plairsoft-sidebar__directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: var(--plairsoft-primary);
    color: #fff;
    border-radius: var(--plairsoft-radius);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
}
.plairsoft-sidebar__directions-btn:hover { opacity: .85; color: #fff; }

.plairsoft-sidebar__heading {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--plairsoft-text);
}

.plairsoft-sidebar__organizer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plairsoft-sidebar__organizer strong { font-size: 14px; }
.plairsoft-sidebar__org-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
}
.plairsoft-sidebar__org-detail:hover { color: var(--plairsoft-primary); }
.plairsoft-sidebar__org-detail svg { opacity: .5; }

.plairsoft-sidebar__share-text {
    font-size: 12px;
    color: #888;
    margin: 0;
}
.plairsoft-sidebar__share-btns {
    display: flex;
    gap: 8px;
}
.plairsoft-sidebar__share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--plairsoft-radius);
    border: 1px solid rgba(0,0,0,.08);
    background: var(--plairsoft-bg);
    color: #555;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
}
.plairsoft-sidebar__share-btn:hover { border-color: var(--plairsoft-primary); color: var(--plairsoft-primary); }
.plairsoft-sidebar__share-btn--wa:hover { color: #25d366; border-color: #25d366; }
.plairsoft-sidebar__share-btn--tw:hover { color: #1da1f2; border-color: #1da1f2; }
.plairsoft-sidebar__share-btn--fb:hover { color: #1877f2; border-color: #1877f2; }

/* Excerpt in grid card */
.plairsoft-gc__excerpt {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══ Card Design: Overlay ═══════════════════════════════ */
.plairsoft-card-overlay,
.plairsoft-card-overlay:link,
.plairsoft-card-overlay:visited,
.plairsoft-card-overlay *  { text-decoration: none !important; }
.plairsoft-card-overlay {
    display: block;
    position: relative;
    border-radius: var(--plairsoft-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    color: #fff;
    transition: transform .25s, box-shadow .25s;
}
.plairsoft-card-overlay:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(0,0,0,.15); }
.plairsoft-card-overlay__img { position: absolute; inset: 0; }
.plairsoft-card-overlay__img img { width: 100%; height: 100%; object-fit: cover; }
.plairsoft-card-overlay__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--plairsoft-overlay-color, #000) var(--plairsoft-overlay-opacity, 80)%, transparent) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.3) 100%); }
.plairsoft-card-overlay__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.plairsoft-card-overlay__top { display: flex; justify-content: space-between; align-items: flex-start; }
.plairsoft-card-overlay__players { font-size: 11px; font-weight: 600; background: rgba(255,255,255,.15); padding: 3px 10px; border-radius: 20px; backdrop-filter: blur(4px); }
.plairsoft-card-overlay__price { font-size: 18px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.4); color: var(--plairsoft-overlay-price, #fff); }
.plairsoft-card-overlay__bottom {}
.plairsoft-card-overlay__name { font-size: 18px; font-weight: 800; margin: 0 0 4px; line-height: 1.2; text-shadow: 0 1px 4px rgba(0,0,0,.4); color: #fff; }
.plairsoft-card-overlay__meta { display: flex; gap: 8px; font-size: 12px; color: rgba(255,255,255,.7); }
.plairsoft-card-overlay__rating { color: #facc15; font-weight: 600; }

/* ═══ Card Design: Event ════════════════════════════════ */
.plairsoft-card-event,
.plairsoft-card-event:link,
.plairsoft-card-event:visited,
.plairsoft-card-event *  { text-decoration: none !important; }
.plairsoft-card-event {
    display: flex;
    flex-direction: column;
    border-radius: var(--plairsoft-radius);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    background: var(--plairsoft-bg);
    color: var(--plairsoft-text);
    transition: transform .25s, box-shadow .25s;
}
.plairsoft-card-event:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(0,0,0,.1); color: var(--plairsoft-text); }
.plairsoft-card-event__img { position: relative; height: var(--plairsoft-event-cover-h, 200px); background: #1a1a1a; overflow: hidden; }
.plairsoft-card-event__img img { width: 100%; height: 100%; object-fit: cover; }
.plairsoft-card-event__gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.4)); }
.plairsoft-card-event__date-badge { position: absolute; top: 12px; right: 12px; width: 52px; height: 52px; border-radius: 8px; background: rgba(255,255,255,.95); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.plairsoft-card-event__date-month { font-size: 9px; font-weight: 700; color: var(--plairsoft-primary); letter-spacing: .08em; }
.plairsoft-card-event__date-day { font-size: 22px; font-weight: 800; color: var(--plairsoft-text); line-height: 1; }
.plairsoft-card-event__attendees { position: absolute; bottom: 10px; right: 12px; font-size: 13px; font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.plairsoft-card-event__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plairsoft-card-event__title { margin: 0; font-size: 17px; font-weight: 800; font-family: var(--plairsoft-font-heading); line-height: 1.3; }
.plairsoft-card-event__weekday { color: var(--plairsoft-event-weekday, var(--plairsoft-primary)); text-transform: uppercase; font-size: 14px; }
.plairsoft-card-event__date-line { font-size: 13px; color: #666; }
.plairsoft-card-event__location { font-size: 12px; color: #888; }
.plairsoft-card-event__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.plairsoft-card-event__tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--plairsoft-event-tag, var(--plairsoft-primary)); color: #fff; }
.plairsoft-card-event__tag--price { background: var(--plairsoft-event-price, #dc2626); }
.plairsoft-card-event__status { font-size: 13px; font-weight: 600; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.06); }
.plairsoft-card-event__status--open { color: #16a34a; }
.plairsoft-card-event__status--inscribed { color: #16a34a; font-weight: 700; }
.plairsoft-card-event__status--full { color: #dc2626; }
.plairsoft-card-event__status--finished { color: #6b7280; }
.plairsoft-card-event__status--cancelled { color: #dc2626; }

/* ═══ Card Design: Minimal ══════════════════════════════ */
.plairsoft-calendar__grid--minimal { grid-template-columns: 1fr !important; gap: 8px; }
.plairsoft-card-minimal,
.plairsoft-card-minimal:link,
.plairsoft-card-minimal:visited,
.plairsoft-card-minimal *  { text-decoration: none !important; }
.plairsoft-card-minimal {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--plairsoft-radius);
    border: 1px solid rgba(0,0,0,.06);
    background: var(--plairsoft-bg);
    color: var(--plairsoft-text);
    transition: border-color .2s, box-shadow .2s;
}
.plairsoft-card-minimal:hover { border-color: var(--plairsoft-primary); box-shadow: 0 4px 16px rgba(0,0,0,.06); color: var(--plairsoft-text); }
.plairsoft-card-minimal__left { flex-shrink: 0; }
.plairsoft-card-minimal__date { display: flex; flex-direction: column; align-items: center; min-width: 48px; padding: 8px; background: #f3f4f6; border-radius: var(--plairsoft-radius); }
.plairsoft-card-minimal__day { font-size: 24px; font-weight: 800; color: var(--plairsoft-text); line-height: 1; }
.plairsoft-card-minimal__month { font-size: 10px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .06em; }
.plairsoft-card-minimal__center { flex: 1; min-width: 0; }
.plairsoft-card-minimal__name { font-size: 16px; font-weight: 700; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--plairsoft-font-heading); }
.plairsoft-card-minimal__info { display: flex; gap: 12px; font-size: 13px; color: #888; }
.plairsoft-card-minimal__status { font-weight: 600; }
.plairsoft-card-minimal__status--open { color: #16a34a; }
.plairsoft-card-minimal__status--full { color: #dc2626; }
.plairsoft-card-minimal__status--finished { color: #6b7280; }
.plairsoft-card-minimal__status--cancelled { color: #dc2626; }
.plairsoft-card-minimal__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.plairsoft-card-minimal__price { font-size: 20px; font-weight: 800; color: var(--plairsoft-primary); }
.plairsoft-card-minimal__price--free { color: #16a34a; font-size: 14px; }
.plairsoft-card-minimal__thumb { width: 64px; height: 48px; border-radius: 6px; overflow: hidden; }
.plairsoft-card-minimal__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ═══ Card style variants (classic) ═════════════════════ */

/* Cover height via variable */
.plairsoft-gc__cover { height: var(--gc-cover-h, 180px); }

/* -- Date badge styles -- */
.plairsoft-gc--date-circle .plairsoft-gc__date-badge { border-radius: 50%; }
.plairsoft-gc--date-square .plairsoft-gc__date-badge { border-radius: 4px; }
.plairsoft-gc--date-rounded .plairsoft-gc__date-badge { border-radius: 10px; }
.plairsoft-gc--date-none .plairsoft-gc__date-badge { display: none; }

/* -- Price styles -- */
/* filled = default (already styled) */
.plairsoft-gc--price-outline .plairsoft-gc__tag--price {
    background: transparent;
    border: 1.5px solid var(--plairsoft-primary);
    color: var(--plairsoft-primary);
}
.plairsoft-gc--price-outline .plairsoft-gc__tag--free {
    background: transparent;
    border: 1.5px solid #16a34a;
    color: #16a34a;
}
.plairsoft-gc--price-minimal .plairsoft-gc__tag--price,
.plairsoft-gc--price-minimal .plairsoft-gc__tag--free {
    background: transparent;
    padding: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--plairsoft-primary);
}
.plairsoft-gc--price-minimal .plairsoft-gc__tag--free { color: #16a34a; }
.plairsoft-gc--price-none .plairsoft-gc__tags { display: none; }

/* -- Status styles -- */
/* text = default */
.plairsoft-gc--status-style-badge .plairsoft-gc__status {
    border-top: none;
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
}
.plairsoft-gc--status-style-badge .plairsoft-gc__status--open { background: #dcfce7; }
.plairsoft-gc--status-style-badge .plairsoft-gc__status--in-progress { background: #dbeafe; }
.plairsoft-gc--status-style-badge .plairsoft-gc__status--full { background: #fee2e2; }
.plairsoft-gc--status-style-badge .plairsoft-gc__status--finished { background: #f3f4f6; }
.plairsoft-gc--status-style-badge .plairsoft-gc__status--cancelled { background: #fee2e2; }

.plairsoft-gc--status-style-dot .plairsoft-gc__status::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.plairsoft-gc--status-style-dot .plairsoft-gc__status--open::before { background: #16a34a; }
.plairsoft-gc--status-style-dot .plairsoft-gc__status--in-progress::before { background: #2563eb; }
.plairsoft-gc--status-style-dot .plairsoft-gc__status--full::before { background: #dc2626; }
.plairsoft-gc--status-style-dot .plairsoft-gc__status--finished::before { background: #6b7280; }
.plairsoft-gc--status-style-dot .plairsoft-gc__status--cancelled::before { background: #dc2626; }

.plairsoft-gc--status-style-none .plairsoft-gc__status { display: none; }

/* -- Card container styles -- */
.plairsoft-gc--card-shadow { box-shadow: 0 4px 20px rgba(0,0,0,.06); border-color: transparent; }
.plairsoft-gc--card-shadow:hover { box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.plairsoft-gc--card-border { box-shadow: none; border: 1px solid rgba(0,0,0,.12); }
.plairsoft-gc--card-border:hover { border-color: var(--plairsoft-primary); box-shadow: none; }
.plairsoft-gc--card-flat { box-shadow: none; border: none; }
.plairsoft-gc--card-flat:hover { box-shadow: none; background: #f9fafb; }

/* ══ TYPOGRAPHY — inherit everything from theme ══ */
.plairsoft-calendar,
.plairsoft-calendar *,
.plairsoft-game-detail,
.plairsoft-game-detail *,
.plairsoft-sidebar,
.plairsoft-sidebar *,
.plairsoft-list,
.plairsoft-list *,
.plairsoft-month,
.plairsoft-month * {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
/* Only set size on the top containers so children inherit */
.plairsoft-calendar,
.plairsoft-game-detail { font-size: 15px; line-height: 1.6; }
/* Headings get slightly larger, no bold */
.plairsoft-calendar__title { font-size: 1.6em; }
.plairsoft-game-detail__section h2 { font-size: 1.3em; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,.06); }
.plairsoft-game-detail__title { font-size: 1.5em; color: #fff; }
/* Card names */
.plairsoft-gc__name { font-size: 1.1em; }
/* Small text */
.plairsoft-gc__detail,
.plairsoft-gc__excerpt,
.plairsoft-gc__attendees,
.plairsoft-gc__date-month,
.plairsoft-game-detail__label,
.plairsoft-game-detail__text,
.plairsoft-game-detail__person-role,
.plairsoft-game-detail__slots,
.plairsoft-sidebar__muted,
.plairsoft-sidebar__reviews,
.plairsoft-sidebar__org-detail,
.plairsoft-sidebar__share-text,
.plairsoft-list__meta,
.plairsoft-list__date-month,
.plairsoft-month__day,
.plairsoft-month__header,
.plairsoft-month__event-time,
.plairsoft-month__event-name,
.plairsoft-power-label { font-size: .8em; }
/* Medium text */
.plairsoft-gc__status,
.plairsoft-gc__tag,
.plairsoft-game-detail__person-name,
.plairsoft-game-detail__value,
.plairsoft-sidebar__field-name,
.plairsoft-sidebar__heading,
.plairsoft-list__name,
.plairsoft-month__title { font-size: .95em; }
/* Large accent text */
.plairsoft-gc__date-day,
.plairsoft-game-detail__price-final,
.plairsoft-list__price,
.plairsoft-list__date-day,
.plairsoft-power-value { font-size: 1.3em; }

/* ══ AVATARS — always circular, overrides everything ══ */
.plairsoft-game-detail__person-avatar,
.plairsoft-game-detail__person-avatar *,
.plairsoft-game-detail__user-bar img,
.plairsoft-um__avatar,
.plairsoft-um__avatar *,
.plairsoft-nav__avatar,
.plairsoft-nav__avatar * {
    border-radius: 50% !important;
}

