/* Calendar-specific styles: native Pawetta typography, white surfaces, violet controls. */
.sc-hero{margin-bottom:28px}
.sc-calendar{border:1px solid var(--border);border-radius:20px;padding:26px;background:#fff;margin-bottom:56px;min-width:0}
.sc-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.steam-main .sc-calendar-toolbar h2{font-size:36px;line-height:1;margin:0;letter-spacing:-1px;display:flex;align-items:center;gap:14px}
.sc-calendar-toolbar h2>span{font-size:13px;font-weight:500;letter-spacing:0;color:var(--muted)}
.sc-calendar-toolbar p{font-size:12px;color:var(--muted);margin:10px 0 0}
.sc-year-switch{display:flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:12px}
.sc-year-switch a{padding:10px 18px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:600}
.sc-year-switch a[aria-current]{background:var(--brand);color:white}
.sc-calendar-key{display:flex;align-items:center;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:20px;font-size:12px}
.sc-legend-item{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}
.sc-legend-item i{width:8px;height:8px;border-radius:3px;background:var(--sc-color)}
.sc-sale{--sc-color:#3b4fd8;--sc-bg:#edf0ff;--sc-ink:#293dbb}
.sc-fest{--sc-color:#c88232;--sc-bg:#fff3df;--sc-ink:#805018}
.sc-demo{--sc-color:#8e5dc7;--sc-bg:#f4eafa;--sc-ink:#7844af}
.sc-calendar-key>a{margin-left:auto;color:var(--muted);text-decoration:none}
.sc-month-jumps{display:flex;gap:4px;margin:16px 0 22px;overflow:auto;scrollbar-width:none}
.sc-month-jumps a{flex:1;text-align:center;padding:8px 5px;border-radius:8px;min-width:45px;text-decoration:none;font-size:12px;white-space:nowrap;color:var(--muted)}
.sc-month-jumps a:hover,.sc-month-jumps a[aria-current]{background:var(--brand-bg);color:var(--brand)}
.sc-year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start;min-width:0}
.sc-month{border:1px solid var(--border);border-radius:12px;overflow:hidden;min-width:0;scroll-margin-top:90px;background:white}
.sc-current-month{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.sc-month>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 14px 12px}
.steam-main .sc-month h3{font-size:16px;line-height:1.25;margin:0;letter-spacing:-.02em}
.sc-month>header>span{font-size:10px;color:var(--muted)}
.sc-current-month>header>span{color:var(--brand)}
.sc-weekdays,.sc-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0 10px;gap:3px}
.sc-weekdays{margin-bottom:6px;font-size:9px;color:var(--muted);text-align:center;line-height:22px}
.sc-day{height:25px;display:flex;align-items:center;justify-content:center;min-width:0;font-size:11px;font-weight:500;border-radius:5px;text-decoration:none;position:relative;color:var(--ink)}
.sc-date-event{background:var(--sc-bg);color:var(--sc-ink)}
.sc-date-event:hover{box-shadow:inset 0 0 0 1px var(--sc-color)}
.sc-day.sc-today{background:var(--ink);color:#fff;font-weight:700}
.sc-overlap{position:absolute;bottom:2px;width:3px;height:3px;border-radius:50%;background:currentColor}
.sc-month-events{display:flex;flex-direction:column;gap:2px;padding:12px 8px 8px;min-width:0}
.sc-month-event{display:flex;align-items:center;gap:8px;border-radius:7px;padding:7px 4px;text-decoration:none;min-width:0}
.sc-month-event:hover{background:var(--sc-bg)}
.sc-mini-art{width:45px;height:34px;flex-shrink:0;border-radius:5px;overflow:hidden;background:var(--sc-bg)}
.sc-mini-art img{width:100%;height:100%;object-fit:cover;display:block}
.sc-mini-body{flex:1;min-width:0}
.sc-mini-body>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.4;font-weight:600;color:var(--ink)}
.sc-mini-body>span{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.sc-interest{display:inline-flex;gap:5px;align-items:center;flex-shrink:0;color:var(--muted);font-size:11px;white-space:nowrap}
.sc-interest b{font-weight:600;color:var(--ink);font-size:11px}
.sc-interest small{font-size:10px}
.sc-interest-bars{display:flex;gap:2px;align-items:flex-end;height:13px}
.sc-interest-bars i{width:3px;height:5px;background:var(--border);border-radius:1px}
.sc-interest-bars i:nth-child(2){height:7px}.sc-interest-bars i:nth-child(3){height:9px}.sc-interest-bars i:nth-child(4){height:11px}.sc-interest-bars i:nth-child(5){height:13px}
.sc-interest-bars i.on{background:var(--brand)}
.sc-month-event .sc-interest{align-self:flex-end;gap:3px;margin-bottom:3px}
.sc-month-event .sc-interest-bars{display:none}
.sc-month-event .sc-interest b{font-size:10px;color:var(--muted);font-weight:500}
.sc-month-empty{font-size:11px;color:var(--muted);margin:6px 6px 12px;line-height:1.5}
.sc-calendar-hint{font-size:11px;line-height:1.6;color:var(--muted);margin:18px 0 0}
.sc-events-section{margin:0 0 40px;min-width:0}
.sc-eyebrow{font-size:12px;color:var(--brand);margin:0 0 10px;font-weight:600}
.sc-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0;margin-bottom:20px}
.sc-filters>label{display:flex;flex-direction:column;gap:8px;flex:1;min-width:160px;font-size:12px;font-weight:500}
.sc-filters .sc-check{flex-direction:row;align-items:center;min-height:44px;font-size:13px;font-weight:400}
.sc-check input{width:17px;height:17px;accent-color:var(--brand)}
.sc-list-count{font-size:12px;color:var(--muted);margin:0 0 20px}
.sc-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sc-event-card{border:1px solid var(--border);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;background:#fff;min-width:0;scroll-margin-top:90px}
.sc-event-card:target{outline:2px solid var(--brand);outline-offset:3px}
.sc-event-art{position:relative;aspect-ratio:460/215;overflow:hidden;background:var(--sc-bg)}
.sc-event-art>img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.sc-event-card:hover .sc-event-art>img{transform:scale(1.025)}
.sc-type{position:absolute;bottom:12px;left:12px;font-size:10px;font-weight:500;padding:6px 9px;background:#ffffffed;border:1px solid #ffffff66;border-radius:6px;color:#25252b;backdrop-filter:blur(8px)}
.sc-event-body{padding:22px;display:flex;flex:1;flex-direction:column;min-width:0}
.sc-event-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px;flex-wrap:wrap}
.sc-event-topline>span:first-child{font-size:11px;color:var(--muted)}
.steam-main .sc-event-card h3{font-size:22px;line-height:1.25;margin:0 0 12px;letter-spacing:-.03em}
.sc-event-date{font-size:13px;font-weight:500;margin:0 0 12px;color:var(--brand)}
.sc-event-desc{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 20px}
.sc-event-bottom{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);border-top:1px solid var(--border);padding-top:15px;margin-top:auto}
.sc-event-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.sc-event-actions .kbtn{font-size:12px;padding:10px 12px;min-height:40px;flex:1;white-space:nowrap;justify-content:center}
.sc-method{border-top:1px solid var(--border);padding:32px 0 12px;margin:20px 0;scroll-margin-top:90px}
.steam-main .sc-method h2{font-size:23px;line-height:1.3;margin:0 0 16px}
.sc-method p{font-size:13px;line-height:1.7;max-width:850px;color:var(--muted)}
.sc-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}
.sc-scale>span{font-size:12px;line-height:1.5;color:var(--muted);padding-left:12px;border-left:2px solid var(--border)}
.sc-scale b{display:block;color:var(--brand);font-size:17px;margin-bottom:5px}
.sc-event-templates{display:none}
.sc-dialog{border:0;padding:0;width:min(600px,calc(100vw - 32px));max-width:600px;max-height:calc(100dvh - 48px);border-radius:18px;box-shadow:0 24px 80px #11122250;color:var(--ink);background:white;overflow:auto;overscroll-behavior:contain}
.sc-dialog::backdrop{background:#12141a99;backdrop-filter:blur(5px)}
.sc-dialog-content{display:flex;flex-direction:column;gap:20px}
.sc-dialog .sc-event-card{border:0;border-radius:0}
.sc-dialog .sc-event-body{padding:28px}
.sc-dialog .sc-event-art{aspect-ratio:460/195}
.sc-dialog .sc-event-card h3{font-size:28px}
.sc-dialog .sc-event-desc{font-size:14px}
.sc-dialog .sc-event-topline .sc-interest small{font-size:11px}
.sc-dialog-close{position:sticky;top:12px;float:right;margin:12px 12px -48px 0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:25px;line-height:1;background:white;border:1px solid var(--border);border-radius:50%;z-index:2;cursor:pointer;box-shadow:0 2px 6px #0002}
.sc-calendar a:focus-visible,.sc-dialog button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(max-width:1150px){.sc-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sc-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .sc-hero{margin-bottom:22px}.sc-calendar{padding:18px 0 12px;border-radius:16px;margin-bottom:36px}.sc-calendar-toolbar{padding:0 16px;gap:12px;margin-bottom:16px;align-items:flex-start}.steam-main .sc-calendar-toolbar h2{font-size:30px}.sc-calendar-toolbar h2>span{display:none}.sc-calendar-toolbar p{font-size:10px;max-width:170px;line-height:1.5}.sc-year-switch{padding:3px}.sc-year-switch a{padding:8px 11px;font-size:12px}.sc-calendar-key{padding:0 16px 16px;gap:10px;font-size:10px}.sc-calendar-key>a{margin-left:0}.sc-month-jumps{margin:12px 0 18px;padding:0 14px;gap:2px}.sc-month-jumps a{min-width:42px;font-size:11px}
 .sc-year-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:2px 16px 16px;scroll-padding-left:16px;align-items:flex-start;overflow-y:hidden;scrollbar-width:thin}.sc-month{flex:0 0 calc(100% - 12px);scroll-snap-align:start}.sc-month>header{padding:18px 16px 14px}.steam-main .sc-month h3{font-size:20px}.sc-month>header>span{font-size:11px}.sc-weekdays,.sc-days{padding:0 14px;gap:4px}.sc-weekdays{font-size:10px}.sc-day{height:32px;font-size:12px}.sc-month-events{padding:12px}.sc-month-event{gap:10px;padding:9px 4px}.sc-mini-art{width:64px;height:38px}.sc-mini-body>strong{font-size:12px}.sc-mini-body>span{font-size:11px}.sc-month-event .sc-interest-bars{display:flex}.sc-month-event .sc-interest b{font-size:11px}.sc-calendar-hint{padding:0 16px;font-size:10px;margin-top:2px}
 .sc-event-grid{grid-template-columns:1fr;gap:20px}.sc-filters{gap:14px}.sc-filters>label{flex:1 1 100%;min-width:0}.sc-filters>button{width:100%}.sc-scale{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.sc-event-body{padding:20px}.steam-main .sc-event-card h3{font-size:23px}.sc-event-desc{font-size:14px}.sc-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);border-radius:14px}.sc-dialog .sc-event-body{padding:20px}.sc-dialog .sc-event-card h3{font-size:24px}.sc-dialog .sc-event-art{aspect-ratio:460/215}
}
@media(prefers-reduced-motion:reduce){.sc-event-art>img{transition:none}}
/* Explicit rules over the shared site's link and dialog reset. */
.steam-main a.sc-date-event{color:var(--sc-ink)}
.steam-main a.sc-day.sc-today,.steam-main a.sc-day.sc-today span{color:#fff}
.steam-main .sc-dialog{position:fixed;inset:0;margin:auto}
