:root{
      --ink:#253041;--muted:#5f6b7b;--line:#e3e7ed;--paper:#f5f6f8;--card:#fff;--brand:#c51d2b;--brand-soft:#fff0f2;
      --badminton:#2c776e;--esport:#625b9b;--softball:#a56648;--voli:#9b792e;
      --futsal:#477699;--basket:#a75d6a;--ocl:#b82031;
      font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);
    }
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper)}
    button,select{font:inherit}button{cursor:pointer}a{color:#9f2330}a:hover{text-decoration-thickness:2px}
    .site-bar{background:#fff;border-bottom:1px solid var(--line)}
    .site-bar-inner{max-width:1280px;margin:auto;padding:11px 28px;display:flex;align-items:center;gap:12px}
    .site-logo{width:42px;height:42px;object-fit:contain;flex:none}
    .site-brand{display:flex;flex-direction:column;line-height:1.2}.site-brand strong{font-size:13px;letter-spacing:-.01em}.site-brand span{font-size:11px;color:var(--muted);margin-top:3px}
    .site-label{margin-left:auto;font-size:11px;font-weight:800;color:var(--brand);background:var(--brand-soft);padding:8px 11px;border-radius:999px}
    .shell{max-width:1280px;margin:auto;padding:24px 28px 70px}
    .hero{position:relative;display:flex;justify-content:space-between;gap:28px;align-items:end;background:linear-gradient(120deg,#fff 39%,#fff2f4 100%);border:1px solid #ece1e4;border-radius:22px;padding:34px 36px;overflow:hidden}
    .hero::after{content:"";position:absolute;right:-76px;bottom:-128px;width:320px;height:320px;border:1px solid rgba(197,29,43,.12);border-radius:50%;pointer-events:none}
    .hero>div{position:relative;z-index:1}
    .eyebrow{font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:#ad2431;margin-bottom:11px}
    h1{font-family:"Bricolage Grotesque",Inter,Arial,sans-serif;font-size:clamp(33px,4vw,53px);letter-spacing:-.05em;line-height:1.04;margin:0;max-width:660px;font-weight:800}
    .lead{color:var(--muted);margin:14px 0 0;max-width:720px;line-height:1.55;font-size:15px}
    .hero-side{text-align:right;min-width:165px;color:var(--muted);font-size:12px;line-height:1.55}
    .hero-side strong{display:block;color:var(--ink);font-size:15px}
    .button{border:1px solid #dfc3c7;background:#fff;color:var(--brand);border-radius:12px;padding:11px 16px;font-size:12px;font-weight:800}
    .button:hover{border-color:var(--brand);background:var(--brand-soft)}.button:focus-visible,.day:focus-visible,.filter:focus-visible{outline:3px solid #e6828c;outline-offset:2px}
    .print-button{margin-top:12px}
    .manage-link{display:block;margin-top:10px;color:#9f2330;font-size:11px;font-weight:750;text-decoration:none}.manage-link:hover{text-decoration:underline}
    .venue-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 29px}
    .venue{background:var(--card);border:1px solid var(--line);border-radius:17px;padding:15px 17px;min-height:77px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 4px 20px rgba(30,45,65,.035)}
    .venue::before{content:"";width:22px;height:3px;background:var(--brand);border-radius:3px;margin-bottom:8px;opacity:.72}
    .venue b{font-size:12px}.venue span{font-size:12px;color:var(--muted);margin-top:3px}
    .section-top{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:18px 0 13px}
    h2{font-family:"Bricolage Grotesque",Inter,Arial,sans-serif;font-size:26px;letter-spacing:-.035em;margin:0}h3{font-family:"Bricolage Grotesque",Inter,Arial,sans-serif;font-size:19px;letter-spacing:-.025em;margin:0}
    .subtle{font-size:12px;color:var(--muted);line-height:1.5}
    .month-controls{display:flex;align-items:center;gap:8px}.month-controls button{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}
    .month-controls button:disabled{opacity:.35;cursor:default}
    .filter-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:12px 0 16px}
    .filter{border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);padding:7px 10px;font-size:12px;font-weight:700}
    .filter:hover{background:#f0e7e9}.filter[aria-pressed=true]{background:var(--brand);color:#fff}
    .calendar{background:var(--card);border:1px solid var(--line);border-radius:19px;overflow:hidden;box-shadow:0 5px 24px rgba(30,45,65,.04)}
    .weekdays,.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
    .weekdays{background:#f3f5f7;border-bottom:1px solid var(--line)}
    .weekdays span{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:11px 12px;color:#617177}
    .day{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;text-align:left;min-width:0;min-height:134px;padding:10px 9px;display:flex;flex-direction:column;gap:5px;color:var(--ink);transition:background .15s}
    .day:nth-child(7n){border-right:0}.day:hover{background:#fffbfb}.day.selected{background:#fff3f4;box-shadow:inset 0 0 0 2px var(--brand)}.day.outside{background:#f7f8f9;color:#9aa5ad}
    .day-top{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:23px}
    .day-num{font-size:16px;font-weight:750}.day.selected .day-num{color:var(--brand)}
    .day-count{font-size:10px;color:var(--muted);white-space:nowrap}
    .event-chip{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:6px;padding:4px 6px;font-size:11px;line-height:1.25;background:color-mix(in srgb,var(--sport-color) 11%,white);color:var(--sport-color);font-weight:750}
    [data-sport="OCL"]{--sport-color:var(--ocl)}[data-sport="Badminton"]{--sport-color:var(--badminton)}[data-sport="Esport"]{--sport-color:var(--esport)}[data-sport="Softball"]{--sport-color:var(--softball)}[data-sport="Voli"]{--sport-color:var(--voli)}[data-sport="Futsal"]{--sport-color:var(--futsal)}[data-sport="Basket"]{--sport-color:var(--basket)}
    .event-chip.range{opacity:.72;border:1px dashed color-mix(in srgb,var(--sport-color) 38%,white)}
    .more{font-size:10px;color:var(--muted);padding-left:3px}
    .detail{margin-top:28px;scroll-margin-top:20px}
    .sync-notice{margin:12px 0;padding:12px 15px;border:1px solid #e7c58a;border-radius:12px;background:#fff8e9;color:#76501c;font-size:12px;line-height:1.5}
    .detail-header{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:15px}
    .detail-header p{margin:5px 0 0}.agenda-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .sport-card{border:1px solid var(--line);background:var(--card);border-radius:15px;overflow:hidden}
    .sport-card-head{padding:16px 18px 14px;border-left:4px solid var(--sport-color)}
    .sport-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
    .sport-title{display:flex;align-items:center;gap:8px;font-weight:800;font-size:17px}
    .dot{width:9px;height:9px;border-radius:50%;background:var(--sport-color);flex:none}
    .sport-time{font-variant-numeric:tabular-nums;font-size:12px;font-weight:700;color:var(--sport-color);white-space:nowrap}
    .venue-line{font-size:12px;color:var(--muted);margin-top:5px;padding-left:17px}
    .sport-highlights{font-size:13px;line-height:1.5;margin:9px 0 0;color:#38495d}
    details{border-top:1px solid var(--line)}summary{list-style:none;padding:10px 18px;font-size:12px;font-weight:800;color:#aa2c3a;cursor:pointer}
    summary::-webkit-details-marker{display:none}summary::after{content:"↓";float:right}details[open] summary::after{content:"↑"}
    .rows{padding:0 18px 13px}.row{display:grid;grid-template-columns:96px 1fr;gap:13px;padding:9px 0;border-top:1px solid #eef1f1;font-size:12px;line-height:1.4}
    .row time{font-variant-numeric:tabular-nums;color:#577075;font-weight:750;white-space:normal;overflow-wrap:anywhere;min-width:0}
    .row strong{font-weight:650}.row small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
    @media(max-width:820px){.site-bar-inner{padding:10px 15px}.shell{padding:17px 15px 45px}.hero{align-items:start;padding:28px}.hero-side{min-width:auto}.venue-strip{grid-template-columns:repeat(2,1fr)}.day{min-height:115px}.agenda-grid{grid-template-columns:1fr}}
    @media(max-width:560px){.site-label{font-size:10px}.hero{display:block;padding:25px 21px}.hero-side{text-align:left;margin-top:14px}.print-button{margin-top:8px}.venue-strip{gap:7px}.venue{padding:11px;min-height:67px}.venue b,.venue span{font-size:11px}.weekdays span{font-size:10px;text-align:center;padding:8px 0}.day{min-height:78px;padding:5px 3px;gap:3px}.day-num{font-size:13px}.day-count{display:none}.event-chip{font-size:9px;padding:3px 3px;letter-spacing:-.02em}.more{font-size:9px}.section-top{align-items:center}.month-controls{gap:4px}.month-controls button{width:29px;height:29px}.filter{font-size:11px;padding:6px 7px}.row{grid-template-columns:87px 1fr;gap:8px}}
    @media print{body{background:white}.site-bar{display:none}.shell{max-width:none;padding:0}.hero{padding:14px;border:0}.hero-side,.filter-row,.month-controls,.print-button{display:none!important}.venue-strip{margin:14px 0}.day{min-height:92px;break-inside:avoid}.calendar,.sport-card{box-shadow:none}.detail{break-before:page;margin-top:0}.sport-card{break-inside:avoid}details .rows{display:block!important}summary{display:none}@page{size:A4 landscape;margin:12mm}}

/* Public calendar only. Shared admin styles retain their existing layout. */
.calendar-page{background:#f7f8fa;color:#293344;--muted:#697382;--line:#e6e9ef;font-size:14px}
.calendar-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:-80px;z-index:10;background:#fff;padding:14px;border-radius:10px}.skip-link:focus{top:8px}
.calendar-page button,.calendar-page a{touch-action:manipulation}
.calendar-page :is(button,a,summary):focus-visible{outline:3px solid #a72535;outline-offset:3px}
.calendar-page .site-bar{background:#fff;border-bottom:1px solid var(--line)}
.calendar-page .site-bar-inner{max-width:1480px;padding:18px 32px;gap:18px;justify-content:space-between}
.brand-home{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.calendar-page .site-logo{width:44px;height:34px}
.calendar-page .site-brand strong{font-size:18px;letter-spacing:-.04em}.calendar-page .site-brand .brand-year{display:inline;color:#a62c3b;font-size:18px;margin:0}.calendar-page .site-brand>span{font-size:12px;margin-top:4px}
.header-actions{display:flex;align-items:center;gap:10px}.utility-button,.admin-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:10px 15px;font-size:12px;font-weight:650;text-decoration:none;border:1px solid var(--line);background:#fff;color:#4e5968}.admin-button{color:#a32b3b;background:#fff3f4;border-color:#f3dfe3}.header-actions :is(a,button):hover{background:#f7e8ec}
.calendar-page .shell{max-width:1480px;padding:28px 32px 24px}
.calendar-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(330px,1fr);gap:28px;align-items:start}
.calendar-panel{min-width:0}.calendar-page .section-top{margin:0 0 20px;align-items:center}.calendar-page .eyebrow{color:#77818e;font-size:10px;letter-spacing:.13em;font-weight:650;margin-bottom:8px}.timezone{font-size:10px;letter-spacing:0;background:#e9edf2;border-radius:5px;padding:3px 5px;margin-left:5px;color:#677484}
.calendar-page h2{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:27px;letter-spacing:-.045em;line-height:1.25}
.calendar-page .month-controls{gap:6px}.calendar-page .month-controls button{height:42px;width:42px;border-radius:11px;font-size:23px}.calendar-page .month-controls #today{width:auto;padding:0 12px;font-size:12px;font-weight:600}.calendar-page .month-controls button:disabled{opacity:.35}
.calendar-page .filter-row{gap:6px;margin:0 0 18px;flex-wrap:wrap}.calendar-page .filter{min-height:38px;font-size:11px;font-weight:600;border:1px solid #e7e9ef;border-radius:999px;background:white;color:#566172;padding:8px 11px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.calendar-page .filter[data-sport]:not([data-sport="Semua"])::before{content:"";height:6px;width:6px;flex:none;background:var(--sport-color);border-radius:50%}.calendar-page .filter[aria-pressed=true]{background:#303b4c;border-color:#303b4c;color:white}.calendar-page .filter:hover{border-color:#9ca6b4}
.calendar-page .calendar{border-radius:18px;box-shadow:0 6px 25px #29334404;border-color:#e3e7ed}.calendar-page .weekdays{background:#fafbfc}.calendar-page .weekdays span{padding:15px 10px;text-align:center;font-size:10px;font-weight:600;letter-spacing:.05em}.calendar-page .weekdays span:nth-last-child(-n+2){color:#a65562}
.calendar-page .day{min-height:108px;padding:8px 6px;gap:5px;border-color:#edf0f4;position:relative}.calendar-page .day:hover{background:#f8f9fc}.calendar-page .day.selected{background:#fff3f4;box-shadow:inset 0 0 0 2px #bb4456}.calendar-page .day.selected .day-num{background:#b73144;color:white;border-radius:8px}.calendar-page .day-num{font-size:13px;min-width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center}.calendar-page .day[aria-current=date] .day-num{border:1px solid #b73144;border-radius:8px}.calendar-page .day-count{font-size:9px;color:#798291}.calendar-page .day.outside{background:#fafbfc;color:#aeb5c0}.calendar-page .day.outside .event-chip{opacity:.45}.calendar-page .event-chip{font-size:10px;font-weight:600;border-radius:5px;line-height:1.35;padding:3px 5px}.calendar-page .more{font-size:9px}.calendar-hint{font-size:11px;color:#77818f;margin:13px 2px 0;line-height:1.5}.calendar-hint span{color:#b73144;font-size:8px;margin-right:4px}
.calendar-page .detail{margin:0;padding-top:2px;scroll-margin-top:18px;min-width:0}.calendar-page .detail-header{margin-bottom:20px;min-height:60px}.calendar-page .detail-header h2{font-size:20px;letter-spacing:-.035em}.calendar-page .detail-header .subtle{font-size:11px;margin-top:8px}.calendar-page .agenda-grid{grid-template-columns:1fr;gap:14px}.calendar-page .sport-card{border-radius:16px;border-color:#e4e8ee;box-shadow:0 3px 16px #1f314003}.calendar-page .sport-card-head{padding:17px 18px;border-left-width:3px}.calendar-page .sport-title{font-size:15px;font-weight:700}.calendar-page .sport-time{font-size:11px}.calendar-page .sport-top{align-items:start;flex-wrap:wrap}.calendar-page .venue-line{font-size:12px;line-height:1.5;padding-left:0;margin-top:8px}.calendar-page .sport-highlights{font-size:12px;color:#667080;line-height:1.65;margin-top:10px}.calendar-page summary{padding:13px 18px;font-size:11px;font-weight:600;color:#6f4c56;background:#fcfcfd}.calendar-page .row{grid-template-columns:77px minmax(0,1fr);font-size:12px;line-height:1.6;gap:12px;padding:13px 0}.calendar-page .row time{color:#516071;font-size:11px}.calendar-page .row small{font-size:10px;line-height:1.5}.calendar-page .rows{padding:0 18px 6px}.empty-agenda{padding:28px 22px;background:white;border:1px dashed #d9dee7;border-radius:16px;color:#78818e;font-size:13px;line-height:1.7}
.calendar-footer{border-top:1px solid var(--line);padding-top:22px;margin-top:32px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:11px;line-height:1.6;color:#7a8492}.calendar-footer a{color:#754d58;text-decoration:none;font-weight:600}
@media(max-width:1050px){.calendar-layout{grid-template-columns:1fr;gap:30px}.calendar-page .day{min-height:105px}.calendar-page .agenda-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-page .detail-header{min-height:0}.calendar-page .site-bar-inner,.calendar-page .shell{padding-left:22px;padding-right:22px}}
@media(max-width:600px){.calendar-page .site-bar-inner{padding:13px 16px;gap:8px}.brand-home{gap:8px}.calendar-page .site-logo{width:32px;height:28px}.calendar-page .site-brand strong,.calendar-page .site-brand .brand-year{font-size:16px}.calendar-page .site-brand>span{font-size:10px;max-width:155px}.header-actions{gap:6px}.utility-button{font-size:10px;padding:8px;min-height:40px}.admin-button{font-size:11px;padding:9px 10px;min-height:40px}.calendar-page .shell{padding:23px 14px 22px}.calendar-page .section-top{margin-bottom:15px;gap:7px}.calendar-page h2{font-size:24px}.calendar-page .month-controls{gap:4px}.calendar-page .month-controls button{width:35px;height:40px}.calendar-page .month-controls #today{font-size:10px;padding:0 9px}.calendar-page .filter-row{gap:6px;margin-bottom:14px}.calendar-page .filter{min-height:34px;padding:7px 10px;font-size:10px}.calendar-page .calendar{border-radius:14px}.calendar-page .weekdays span{padding:12px 0;font-size:10px}.calendar-page .day{display:block;min-height:65px;height:65px;padding:6px 3px;text-align:center}.calendar-page .day-top{display:flex;justify-content:center;min-height:27px;gap:0}.calendar-page .day-num{font-size:13px;min-width:26px;height:26px}.calendar-page .day-count{display:none}.calendar-page .day .event-chip{display:inline-block;width:5px;height:5px;padding:0;margin:5px 2px 0;border:0;border-radius:50%;font-size:0;background:var(--sport-color);vertical-align:top}.calendar-page .day .more{display:inline-block;font-size:8px;padding:0;line-height:13px;vertical-align:top;margin-top:2px}.calendar-page .calendar-hint{font-size:10px;margin-top:11px}.calendar-page .agenda-grid{grid-template-columns:1fr}.calendar-layout{gap:25px}.calendar-page .detail-header{margin-bottom:14px}.calendar-page .detail-header h2{font-size:20px}.calendar-footer{font-size:10px;margin-top:24px;padding-top:18px}.calendar-footer>span{max-width:240px}}
@media(max-width:360px){.calendar-page .site-brand>span{max-width:105px}.utility-button{padding:7px 5px}.admin-button{padding:7px}.calendar-page .site-bar-inner{padding-left:12px;padding-right:12px}.calendar-page .filter{padding:7px 8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.calendar-page *{transition:none!important}}
@media print{.calendar-page .site-bar,.calendar-page .calendar-footer,.calendar-page .calendar-hint,.calendar-page .skip-link{display:none}.calendar-page .shell{max-width:none;padding:0}.calendar-page .calendar-layout{display:block}.calendar-page .day{display:flex;min-height:90px;height:auto;text-align:left}.calendar-page .event-chip{display:block!important;font-size:9px!important;width:auto!important;height:auto!important;padding:2px 4px!important;background:#f5f5f5!important}.calendar-page .detail{break-before:page}.calendar-page .agenda-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-page details .rows{display:block!important}.calendar-page summary{display:none}.calendar-page .sport-card{break-inside:avoid}.calendar-page .calendar{box-shadow:none}}

@media(max-width:600px){.calendar-page .admin-button{white-space:nowrap}.calendar-page .utility-button{min-width:40px}.calendar-page .day .more{font-size:0;line-height:12px;margin:3px 1px 0}.calendar-page .day .more::after{content:attr(data-count);font-size:9px}.calendar-page .site-brand>span{max-width:135px}}
