:root{--bg:#0a0d14;--panel:#0f131c;--cell:#111620;--cell-off:#0b0e15;--line:#1a2030;--text:#e8ecf4;--muted:#6b7488;--dim:#3a4256;--accent:#10b981;--accent-bg:#0d2118;--blue:#3b82f6}*{box-sizing:border-box;margin:0}html,body{height:100%}body{background:var(--bg);color:var(--text);font:13px/1.4 Inter,system-ui,Segoe UI,sans-serif;display:flex;flex-direction:column}header{display:flex;align-items:center;gap:16px;padding:12px 16px;flex-wrap:wrap}.nav{display:flex;gap:4px}button{font:inherit;color:inherit;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:6px 10px;cursor:pointer}button:hover{border-color:var(--dim)}.title{font-size:18px;font-weight:700}.week{font-size:11px;color:var(--blue);margin-left:8px;font-weight:500}.search{flex:1;max-width:420px;margin:0 auto}.search input{width:100%;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px 12px;color:var(--text);font:inherit;outline:none}.search input:focus{border-color:var(--accent)}.views{display:flex;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px}.views button{border:0;background:none;padding:5px 12px;color:var(--muted)}.views button.on{background:var(--accent-bg);color:var(--accent);box-shadow:inset 0 0 0 1px #14543b}.primary{background:var(--accent);border-color:var(--accent);color:#04130c;font-weight:600}main{flex:1;min-height:0;display:flex;flex-direction:column;border-top:1px solid var(--line)}.dow{display:grid;grid-template-columns:repeat(7,1fr);background:var(--panel);border-bottom:1px solid var(--line)}.dow .s{display:none}.dow div{padding:10px;text-align:center;font-size:11px;letter-spacing:.08em;color:var(--muted);font-weight:600;text-transform:uppercase}.grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(7,1fr);gap:8px;padding:8px;overflow:auto}.grid.m{grid-auto-rows:minmax(110px,1fr)}.cell{background:var(--cell);border:1px solid var(--line);border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:4px;cursor:pointer;position:relative;min-width:0;overflow:hidden}.cell:hover{border-color:var(--dim)}.cell.off{background:var(--cell-off);color:var(--dim)}.cell.off .n{color:var(--dim);font-weight:500}.cell.today{background:var(--accent-bg);border-color:var(--accent);box-shadow:0 0 14px #10b98133}.n{font-weight:700;font-size:12px;display:flex;align-items:center;gap:6px}.today .n span.d{background:var(--accent);color:#04130c;border-radius:50%;width:22px;height:22px;display:grid;place-items:center}.tag{font-size:9px;border:1px solid #14543b;color:var(--accent);background:#0a2a1c;border-radius:4px;padding:0 5px;letter-spacing:.05em}.plus{position:absolute;top:6px;right:10px;color:var(--muted);opacity:0}.ev{font-size:11px;padding:2px 6px;border-radius:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;cursor:pointer}.more{font-size:10px;color:var(--muted)}.list{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:8px;max-width:760px;width:100%;margin:0 auto}.row{display:flex;gap:12px;align-items:center;background:var(--cell);border:1px solid var(--line);border-radius:12px;padding:10px 14px;cursor:pointer}.row:hover{border-color:var(--dim)}.row .dt{width:110px;color:var(--muted);font-size:12px}.row .dot{width:10px;height:10px;border-radius:50%}.empty{color:var(--muted);text-align:center;padding:40px}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:20px;width:min(380px,92vw)}dialog::backdrop{background:#000a}dialog h3{margin-bottom:12px}dialog label{display:block;font-size:11px;color:var(--muted);margin:10px 0 4px}dialog input,dialog select{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px;color:var(--text);font:inherit}.colors{display:flex;gap:8px}.colors input{display:none}.colors span{width:22px;height:22px;border-radius:50%;display:block;cursor:pointer;border:2px solid transparent}.colors input:checked+span{border-color:#fff}.actions{display:flex;gap:8px;margin-top:16px;justify-content:flex-end}.danger{color:#f87171;margin-right:auto}.ev{display:flex;align-items:center;gap:4px}.ev img,.ev video,.th{width:18px;height:18px;border-radius:4px;object-fit:cover;flex:none;background:#000}.row .th{width:56px;height:56px;border-radius:10px}.row .info{flex:1;min-width:0}.row .info small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{font-size:10px;padding:1px 6px;border-radius:99px;background:#1a2030;color:var(--muted);margin-left:6px}.seg{display:flex;gap:6px}.seg input{display:none}.seg span{display:block;padding:6px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer;color:var(--muted)}.seg input:checked+span{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}textarea{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px;color:var(--text);font:inherit;min-height:80px;resize:vertical}#prev_media{margin-top:8px}#prev_media img,#prev_media video{width:100%;max-height:220px;object-fit:contain;border-radius:10px;background:#000}.dayhead{display:flex;justify-content:space-between;align-items:center}dialog{max-height:92vh;overflow:auto}@media (max-width:700px){.dow div{padding:8px 0;font-size:11px;letter-spacing:0}.dow .f{display:none}.grid{gap:4px;padding:4px}.cell{padding:4px;border-radius:10px;gap:3px}.cell .ev{padding:0;background:none!important}.cell .ev .t{display:none}.cell .ev .th{width:100%;height:auto;aspect-ratio:1}.cell .ev:not(:has(.th)){width:8px;height:8px;border-radius:50%;background:var(--c)!important}.plus,.tag{display:none}header{gap:8px}.title{font-size:16px}.row .dt{width:auto}}@media (max-width:700px){.search{order:5;max-width:none;flex-basis:100%}.grid.m{grid-auto-rows:minmax(70px,1fr)}.ev{font-size:10px}}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000a;display:grid;place-items:center;padding:12px;z-index:10}.sheet{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px;width:min(420px,100%);max-height:92vh;overflow:auto}.sheet h3{margin:8px 0}.sheet label{display:block;font-size:11px;color:var(--muted);margin:10px 0 4px}.sheet input:not([type=radio]),.sheet textarea{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px;color:var(--text);font:inherit}.sheet-head{display:flex;align-items:center;gap:8px}.sheet-head .x{margin-left:auto;padding:2px 8px}.sheet-head .muted{font-size:20px;font-weight:600;color:var(--text)}@media (max-width:700px){.sheet-head .muted{font-size:17px}}.muted{color:var(--muted)}.big{width:100%;max-height:50vh;object-fit:contain;border-radius:12px;background:#000;margin-top:10px}.caption{white-space:pre-wrap;color:var(--text);margin-bottom:6px}.actions.wrap{flex-wrap:wrap;justify-content:flex-start}.actions.wrap .primary{flex:1 1 100%;padding:10px}.actions.wrap button{flex:1}button:disabled{opacity:.4;cursor:default}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:var(--accent);color:#04130c;font-weight:600;padding:10px 16px;border-radius:10px;z-index:20;max-width:90vw;text-align:center}.ev video.th,.ev img.th{pointer-events:none}@media (max-width:700px){.overlay{align-items:end;padding:0}.sheet{border-radius:16px 16px 0 0;width:100%}}.sheet label.drop{display:flex;align-items:center;gap:10px;margin:0;padding:14px;border:1.5px dashed var(--dim);border-radius:12px;color:var(--text);font-size:13px;cursor:pointer;background:var(--bg);overflow:hidden}.sheet label.drop:hover{border-color:var(--accent);color:var(--accent)}.drop-ico{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--accent-bg);color:var(--accent);flex:none}.drop span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet input[type=date],.sheet input[type=time]{color-scheme:dark}.sheet.wide{width:min(820px,100%)}.cols{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.cols .col>label:first-child{margin-top:0}.sheet.wide #prev_media img,.sheet.wide #prev_media video{max-height:60vh}.sheet.wide textarea{min-height:140px}.sheet.wide .big{max-height:70vh;margin-top:0}.sheet.wide .cols .caption{margin-top:0}@media (max-width:700px){.sheet.wide .big{max-height:42vh}}@media (max-width:700px){.cols{grid-template-columns:1fr;gap:0}.cols .col+.col{margin-top:6px}.sheet.wide #prev_media img,.sheet.wide #prev_media video{max-height:280px}}.seg{flex-wrap:wrap}.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.th-item{position:relative;aspect-ratio:4/5;border-radius:10px;overflow:hidden;background:#000;border:1px solid var(--line)}.th-item img{width:100%;height:100%;object-fit:cover;display:block}.th-n{position:absolute;top:4px;left:4px;background:var(--accent);color:#04130c;font-weight:700;font-size:11px;border-radius:6px;padding:1px 6px}.th-size{position:absolute;top:4px;right:4px;background:#000a;color:#fff;font-size:10px;border-radius:6px;padding:1px 5px}.th-bar{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:2px;padding:4px;background:linear-gradient(transparent,#000c)}.th-bar button{padding:0 8px;line-height:22px;min-width:26px}.hint{font-size:11px;color:var(--muted);margin:8px 0 0}.car-main{position:relative}.car-nav{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;padding:0;font-size:20px;background:#000a;border:1px solid var(--line);color:#fff}.car-nav.l{left:8px}.car-nav.r{right:8px}.car-count{position:absolute;top:8px;right:8px;background:#000a;color:#fff;font-size:12px;border-radius:8px;padding:2px 8px}.car-thumbs{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.car-thumbs button{padding:0;width:52px;height:52px;border-radius:8px;overflow:hidden;opacity:.55;border:1px solid var(--line);background:#000}.car-thumbs button.on{opacity:1;border-color:var(--accent)}.car-thumbs img{width:100%;height:100%;object-fit:cover;display:block}.evs{display:flex;flex-wrap:wrap;gap:6px;align-content:flex-start}.cell .ev{position:relative;display:block;width:58px;aspect-ratio:9/16;padding:0;border-radius:8px;overflow:hidden;white-space:normal}.cell .ev .th{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border-radius:0;object-fit:cover}.cell .ev .t{position:absolute;left:0;right:0;bottom:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:9px;line-height:1.2;padding:12px 4px 3px;color:#fff;background:linear-gradient(transparent,#000c)}.cell .ev:not(:has(.th)) .t{top:0;display:flex;align-items:center;justify-content:center;text-align:center;background:none;padding:4px}@media (max-width:700px){.cell .ev{width:100%}.cell .ev .t{display:none}.cell .ev:not(:has(.th)){aspect-ratio:auto;height:8px;width:8px;border-radius:50%;background:var(--c)!important}}html,body,#root{height:100%}.app{display:flex;height:100vh;height:100dvh}.content{flex:1;min-width:0;display:flex;flex-direction:column}.side{width:220px;flex:none;background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:16px 12px;gap:12px;overflow:auto}.brand{display:grid;place-items:center;padding:6px 0 10px;border-bottom:1px solid var(--line)}.brand img{max-width:150px;max-height:80px;object-fit:contain}.yearnav{display:flex;align-items:center;justify-content:space-between}.yearnav b{font-size:15px}.months{display:flex;flex-direction:column;gap:2px}.mbtn{display:flex;justify-content:space-between;align-items:center;text-align:left;border:0;background:none;padding:9px 12px;border-radius:10px;color:var(--muted)}.mbtn:hover{background:var(--cell);color:var(--text)}.mbtn.on{background:var(--accent-bg);color:var(--accent);box-shadow:inset 0 0 0 1px #14543b;font-weight:600}.mbtn.now span:after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-left:8px}.mbtn em{font-style:normal;font-size:10px;background:#1a2030;color:var(--text);border-radius:99px;padding:1px 7px}.burger,.scrim{display:none}@media (max-width:900px){.side{position:fixed;inset:0 auto 0 0;z-index:30;transform:translate(-100%);transition:transform .2s;width:240px}.side.open{transform:none}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#000a;z-index:25}.burger{display:block}}.cell .ev:not(:has(.th)) .t{font-size:18px;font-weight:700}.cell .ev:not(:has(.th)){width:40px}@media (max-width:700px){.cell .ev:not(:has(.th)) .t{display:none}}.evs{flex-wrap:nowrap;gap:4px}.cell .ev,.cell .ev:not(:has(.th)){flex:1 1 0;min-width:0;max-width:44px;width:auto}.cell .ev:not(:has(.th)) .t{font-size:clamp(9px,1.4vw,18px)}@media (max-width:700px){.cell .ev:not(:has(.th)){aspect-ratio:9/16;height:auto;border-radius:6px;background:var(--c)!important}}.cell .evs{flex:1;min-height:0;display:flex;flex-wrap:nowrap;gap:6px;align-items:stretch}.cell .ev,.cell .ev:not(:has(.th)){flex:1 1 0;min-width:0;max-width:none;width:auto;height:auto;aspect-ratio:auto;border-radius:10px;background:var(--c)!important}.cell .ev .t,.cell .ev:not(:has(.th)) .t{display:flex!important;position:absolute;top:0;right:0;bottom:0;left:0;align-items:center;justify-content:center;font-size:clamp(11px,1.8vw,22px);font-weight:700;padding:0;background:none}.cell .n{min-height:44px;flex:none}.cell .plus{top:6px;right:8px;width:32px;height:32px;display:grid;place-items:center;font-size:22px;line-height:1;border-radius:50%;background:var(--accent-bg);color:var(--accent);border:1px solid #14543b}.cell:hover .plus{opacity:1}.cell .plus:hover{background:var(--accent);color:#04130c}@media (max-width:700px){.plus{display:none}}.cell .plus{border-radius:8px}.cell .plus{font-size:0;position:absolute}.cell .plus:before,.cell .plus:after{content:"";position:absolute;left:50%;top:50%;background:currentColor;border-radius:1px;transform:translate(-50%,-50%)}.cell .plus:before{width:14px;height:2px}.cell .plus:after{width:2px;height:14px}.pop-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.pop-list .row{flex-wrap:wrap}.pop-list .row .th{width:56px;height:80px;aspect-ratio:auto}@media (max-width:700px){.cell .evs,.cell .more{display:none}.cell .n{min-height:0;justify-content:center;padding:6px 0}.cell{align-items:center;justify-content:center}}.wd,.cnt{display:none}@media (max-width:700px){.dow{display:none}.grid,.grid.m{display:flex;flex-direction:column;gap:6px;padding:8px;grid-auto-rows:auto}.cell.off{display:none}.cell{flex-direction:row;align-items:center;justify-content:flex-start;min-height:52px;padding:0 14px;gap:12px;border-radius:12px;flex:none}.cell .n{min-height:0;padding:0;gap:10px;justify-content:flex-start}.cell .n .d{min-width:24px;font-size:16px}.wd{display:block;font-size:11px;letter-spacing:.06em;color:var(--muted);font-weight:600}.cell.today .n span.d{width:30px;height:30px;font-size:15px}.cnt{display:block;margin-left:auto;font-size:11px;background:#1a2030;color:var(--text);border-radius:99px;padding:2px 9px}.cell.today .cnt{background:var(--accent);color:#04130c;font-weight:700}}@media (max-width:700px){.cell{aspect-ratio:1;min-height:0;width:100%;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:12px;border-radius:16px;position:relative}.cell .n{flex-direction:column;gap:6px;align-items:center;justify-content:center}.cell .n .d{font-size:56px;line-height:1;font-weight:800;min-width:0}.cell.today .n span.d{width:auto;height:auto;background:none;border-radius:0;color:var(--accent);font-size:56px}.wd{font-size:13px}.cnt{position:absolute;top:12px;right:12px;margin:0;font-size:13px;padding:3px 11px}.cell .tag{display:block}}@media (max-width:700px){.grid,.grid.m{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:8px;grid-auto-rows:auto}.cell{aspect-ratio:1;padding:4px;gap:2px;border-radius:12px}.cell .n{gap:2px}.cell .n .d,.cell.today .n span.d{font-size:22px}.wd{font-size:9px;letter-spacing:.04em}.cnt{top:3px;right:3px;font-size:9px;padding:1px 6px}.cell .tag{display:none}}@media (max-width:700px){.grid,.grid.m{align-content:start}}@media (max-width:700px){.grid,.grid.m{grid-auto-rows:auto!important}}@media (min-width:701px){.cell .n{min-height:0;flex:none}.cell .evs{flex:none;display:flex;flex-direction:column;flex-wrap:nowrap;gap:4px;align-items:stretch}.cell .ev,.cell .ev:not(:has(.th)){position:static;display:block;flex:none;width:auto;max-width:none;height:auto;aspect-ratio:auto;border-radius:6px;padding:2px 8px;background:var(--c)!important;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell .ev .t,.cell .ev:not(:has(.th)) .t{display:block!important;position:static;inset:auto;font-size:11px;font-weight:500;padding:0;background:none;color:#fff;overflow:hidden;text-overflow:ellipsis}.cell .plus{top:8px;right:10px;width:auto;height:auto;font-size:16px;border:0;background:none;border-radius:0;color:var(--muted);display:block}.cell .plus:before,.cell .plus:after{content:none}.cell .plus:hover{background:none;color:var(--accent)}.cell .more{display:block}}.full{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:var(--bg);display:flex;flex-direction:column}.full-head{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line);background:var(--panel)}.full-head b{flex:1;font-size:15px}.full-body{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:16px}.pcard{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:12px}.pcard .big{max-height:none;width:100%;object-fit:contain}.sheet .pcard{border:0;padding:0;background:none}.toast{z-index:60}.full .pcard .sheet-head{justify-content:center;gap:12px;padding:6px 0 12px}.full .pcard .sheet-head .badge{font-size:16px;padding:5px 14px}.full .pcard .sheet-head .muted{font-size:22px;font-weight:700;color:var(--text)}.capcard{position:relative;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:14px 48px 14px 14px;margin:12px 0}.capcard .caption{margin:0;line-height:1.5}.copy-ico{position:absolute;top:8px;right:8px;width:34px;height:34px;padding:0;display:grid;place-items:center;border-radius:10px;color:var(--muted)}.copy-ico:hover{color:var(--accent);border-color:var(--accent)}.actions.wrap button{flex:1 1 40%}
