/* mini-matt-seasons 1.0.0 (APP-LOCAL, appmatt build 9): playground view-seasons seasons.css, every rule scoped under .mattx-seasons (prep-views150-build9.py). */
.mattx-seasons{--ink:#14171f;--ivory:#fdfcf6;--muted:#4a4f5c;--navy:#122c4f;--line:#d9d4c0;--focus:#b07d00;--blue:#1d5a8a;--stone:#3a3f4c;--mint:#1f7a55;--night:#0e1626}
.mattx-seasons,.mattx-seasons *{box-sizing:border-box}
.mattx-seasons{margin:0;background:var(--ivory);color:var(--ink);font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.mattx-seasons .bar{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:8px 16px;border-bottom:1px solid var(--line)}
.mattx-seasons .bar h1{font-size:1.05rem;margin:0}
.mattx-seasons .ver{font-weight:400;color:var(--muted);font-size:.85rem}
.mattx-seasons .mode{color:var(--navy);font-size:.85rem;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
.mattx-seasons .notice{margin:4px 16px;padding:2px 10px;background:#fff4d6;font-size:.8rem;border:1px solid #e8d9a8;border-radius:999px;
  display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 32px)}
.mattx-seasons .ck-host{position:absolute;left:8px;right:8px;top:8px;z-index:3}
.mattx-seasons .ck{padding:0 12px;border:1px solid #7a5a2e;border-radius:12px;background:rgba(253,252,246,.96);box-shadow:0 1px 4px rgba(20,23,31,.3);max-height:calc(62vh - 24px);overflow:auto}
.mattx-seasons .ck-sum{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;cursor:pointer;font-weight:700;font-size:.95rem}
.mattx-seasons .ck-sum::-webkit-details-marker{display:none}
.mattx-seasons .ck-chev{flex:0 0 auto;font-size:.8rem;font-weight:600;color:var(--navy)}
.mattx-seasons .ck-chev::after{content:" \25BE"}
.mattx-seasons .ck[open] .ck-chev::after{content:" \25B4"}
.mattx-seasons .ck[open]{padding-bottom:10px}
.mattx-seasons .ck-sum:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.mattx-seasons .ck-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.mattx-seasons .ck-h{font-size:1.05rem;margin:0}
.mattx-seasons .ck-date{font-size:.85rem;color:var(--muted)}
.mattx-seasons .ck-grid{display:flex;flex-direction:column;gap:4px;margin:6px 0}
.mattx-seasons .ck-row{font:inherit;display:flex;gap:8px;align-items:center;min-height:44px;padding:4px 10px;border:1px solid var(--line);border-radius:8px;background:var(--ivory);color:var(--ink);text-align:left;cursor:pointer}
.mattx-seasons .ck-row:disabled{cursor:default;opacity:1}
.mattx-seasons .ck-k{flex:0 0 6.6em;font-weight:700;font-size:.85rem;color:var(--navy)}
.mattx-seasons .ck-v{font-size:.92rem}
.mattx-seasons .ck-h3{font-size:.9rem;margin:6px 0 2px}
.mattx-seasons .ck-list{list-style:none;margin:0;padding:0;font-size:.88rem}
.mattx-seasons .ck-list li{display:flex;gap:6px;align-items:baseline;margin:2px 0}
.mattx-seasons .ck-tag{flex:0 0 auto;font-size:.72rem;font-weight:700;border-radius:999px;padding:0 7px;border:1px solid var(--muted);color:var(--ink);background:#fff}
.mattx-seasons .ck-eid{border-color:#b8892a}
.mattx-seasons .ck-bid{border-color:var(--blue);border-style:dashed}
.mattx-seasons .ck-log{border-color:#2a8a7a}
.mattx-seasons .ck-none{color:var(--muted)}
.mattx-seasons .stops{display:flex;gap:6px;overflow-x:auto;padding:6px 16px 8px}
.mattx-seasons .s-stop{flex:0 0 auto;font:inherit;font-size:.92rem;min-height:44px;padding:4px 12px;border-radius:10px;border:1px solid var(--navy);background:#fff;color:var(--navy);cursor:pointer}
.mattx-seasons .s-stop[aria-pressed=true]{background:var(--navy);color:#fff}
.mattx-seasons .s-stop:focus-visible,.mattx-seasons .s-item:focus-visible,.mattx-seasons .s-btn:focus-visible,.mattx-seasons .ck-row:focus-visible,.mattx-seasons .sets input:focus-visible,.mattx-seasons .mode:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.mattx-seasons .stage{position:relative;height:62vh;min-height:360px;background:linear-gradient(#3f8fd8,#8cc6ee 55%,#eaf4f8)}
[data-matt-mode=night] .mattx-seasons .stage{background:var(--night)}
.mattx-seasons #cv{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
.mattx-seasons .fallback{position:absolute;inset:16px;display:flex;align-items:center;justify-content:center}
.mattx-seasons .fallback p{background:var(--ivory);color:var(--ink);padding:16px;border-radius:10px;max-width:28em;margin:0}
.mattx-seasons .hint{position:absolute;left:16px;right:16px;bottom:8px;margin:0;font-size:.8rem;color:var(--ink);background:rgba(253,252,246,.85);border-radius:8px;padding:2px 8px;pointer-events:none}
.mattx-seasons .panel{padding:12px 16px;border-top:1px solid var(--line)}
.mattx-seasons .panel h2{font-size:1rem;margin:0 0 4px}
.mattx-seasons .sub{margin:0 0 8px;color:var(--muted);font-size:.9rem}
.mattx-seasons .sets{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 14px}
.mattx-seasons .sets legend{font-weight:700;font-size:.9rem;padding:0;float:left;width:100%}
.mattx-seasons .sets label{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:.92rem;cursor:pointer}
.mattx-seasons .sets input{width:20px;height:20px}
.mattx-seasons .who{margin:4px 0 0;font-size:.88rem;color:var(--muted)}
.mattx-seasons .who b{color:var(--ink)}
.mattx-seasons .bardLines{margin:0;padding:0;list-style:none}
.mattx-seasons .bardLines li{margin:0 0 8px;padding:8px 10px;border-left:4px solid #c08a3e;background:#fff;border-radius:6px}
.mattx-seasons .s-bardT{display:block}
.mattx-seasons .s-src{display:block;font-size:.78rem;color:var(--muted);word-break:break-word;margin-top:2px}
.mattx-seasons .s-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.mattx-seasons .s-list li{display:flex;flex-direction:column;gap:4px}
.mattx-seasons .s-item{font:inherit;width:100%;min-height:44px;padding:6px 12px;border-radius:8px;border:1px solid var(--line);border-left:6px solid var(--ink);background:#fff;color:var(--ink);cursor:pointer;text-align:left}
.mattx-seasons .s-item small{display:block;font-size:.78rem;color:var(--muted)}
.mattx-seasons .s-item.eid{border-left-color:#b8892a}
.mattx-seasons .s-item.hard{border-left-color:var(--stone);border-left-width:10px;background:#f1efe8}
.mattx-seasons .s-item.bid{border-left-color:var(--blue);border-left-style:dashed}
.mattx-seasons .s-item.bid.child{border-left-color:var(--mint)}
.mattx-seasons .s-item.st-not_for_me{color:var(--muted)}
.mattx-seasons .s-item.opened{border-left-color:#3aa57a;margin-left:14px;width:calc(100% - 14px)}
.mattx-seasons .s-item.cal{border-left-color:var(--navy);border-left-style:double}
.mattx-seasons .s-item.passage{border-left-color:#6fa8c8;border-left-width:10px}
.mattx-seasons .s-empty{color:var(--muted);font-size:.92rem}
.mattx-seasons .legend{margin:0;padding-left:20px;font-size:.92rem}
.mattx-seasons .legend li{margin:0 0 4px}
.mattx-seasons .foot{padding:10px 16px;border-top:1px solid var(--line);font-size:.82rem;color:var(--muted)}
.mattx-seasons .foot p{margin:0}
.mattx-seasons [hidden]{display:none!important}
.mattx-seasons .s-acts{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}
.mattx-seasons .s-actsP{font-weight:700;margin:0 0 6px}
.mattx-seasons .s-actsRow{display:flex;flex-wrap:wrap;gap:8px}
.mattx-seasons .s-btn{font:inherit;font-weight:600;min-height:44px;padding:8px 14px;border-radius:8px;border:2px solid var(--ink);background:#fff;color:var(--ink);cursor:pointer}
.mattx-seasons .s-btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}
.mattx-seasons .s-actsNote{font-size:.8rem;color:var(--muted);margin:6px 0 0}
.mattx-seasons .m3-scrim{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:rgba(20,30,50,.18)}
[data-matt-mode=night] .mattx-seasons .m3-scrim{background:rgba(5,9,18,.35)}
.mattx-seasons .m3-scrim[hidden]{display:none}
.mattx-seasons .m3-card{width:100%;max-width:420px;background:#f4efe0;border:1px solid #b9b298;border-radius:14px;padding:12px;box-shadow:0 10px 30px rgba(20,23,31,.25)}
[data-matt-mode=night] .mattx-seasons .m3-card{background:#1a2338;border-color:#3a4a6a;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.mattx-seasons .m3-cardTop{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.mattx-seasons .m3-kind{font-size:.8rem;font-weight:700;letter-spacing:.04em;background:#fdfcf6;color:#14171f;border:1px solid #b9b298;border-radius:6px;padding:2px 8px}
.mattx-seasons .m3-x{min-width:44px;min-height:44px;border:1px solid #b9b298;border-radius:8px;background:#fdfcf6;color:#14171f;font-size:1.4rem;cursor:pointer}
.mattx-seasons .m3-x:focus-visible{outline:3px solid #b07d00;outline-offset:2px}
.mattx-seasons .m3-read{background:#fdfcf6;color:#14171f;border-radius:10px;padding:12px}
.mattx-seasons .m3-read h3{margin:0 0 6px;font-size:1.05rem}
.mattx-seasons .m3-read p{margin:0 0 6px}
.mattx-seasons .m3-cite{font-size:.82rem;color:#3c4250;word-break:break-word}
.mattx-seasons .m3-labels{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.mattx-seasons .m3-label{position:absolute;left:0;top:0;display:none;white-space:nowrap;font:600 14px/18px ;padding:3px 8px;border:1px solid #7a5a2e;border-radius:999px;background:rgba(253,252,246,.96);color:#14171f;box-shadow:0 1px 3px rgba(20,23,31,.35);will-change:transform}
.mattx-seasons .m3-labels.m3-wide .m3-label{font-size:15px;line-height:19px}
.mattx-seasons .m3-label.m3-sel{border:2px solid #b07d00;padding:2px 7px}
.mattx-seasons .m3-read{max-height:46vh;overflow:auto}
