:root{--bg:#f7f8fc;--surface:#fff;--ink:#222835;--muted:#687084;--line:#e2e6f0;--blue:#3e4cdb;--soft:#eceeff;--green:#288371;--gift:#bc6940;--mono:"Cascadia Code",Consolas,monospace;font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0}button,a{touch-action:manipulation;transition:background .18s,color .18s,box-shadow .18s,transform .18s}button:disabled{opacity:.5;cursor:wait}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}:focus-visible{outline:3px solid #737cef;outline-offset:4px}.topbar,main{max-width:1280px;margin:auto;padding-inline:48px}.topbar{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:-.9px}.brand-mark{display:grid;place-items:center;background:var(--blue);color:white;border-radius:11px;width:39px;height:39px}.brand-mark svg{width:29px;height:29px}.brand-light{font-size:9px;letter-spacing:2px;display:block;font-weight:650;margin-top:1px}.brand-edition{font-size:11px;letter-spacing:0;color:var(--muted);font-weight:400;margin-left:16px;padding-left:22px;border-left:1px solid #d9ddeb}.sponsor{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:600;padding:10px 14px;background:white;border:1px solid #e0e4ef;border-radius:9px}.ad-label{font-size:9px;color:#747d91;font-weight:400}.sponsor-arrow{font-size:18px;color:var(--blue)}.hero{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;padding:42px 0 37px}.eyebrow{display:flex;align-items:center;gap:8px;font:10px var(--mono);letter-spacing:1px;color:#647087}.availability-dot{height:6px;width:6px;border-radius:50%;background:#718a56}.hero h1{font-size:46px;line-height:1.4;font-weight:750;letter-spacing:-2px;margin:23px 0 18px}.ink-blue{color:var(--blue)}.hero-description{font-size:13px;line-height:2;color:var(--muted);max-width:430px}.latest-summary{display:flex;align-items:flex-start;gap:12px;margin:26px 0 23px}.summary-symbol{display:grid;place-items:center;background:#eaeefa;color:#6470c8;width:33px;height:33px;border-radius:50%;font-size:22px;margin-top:3px}.latest-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px}.latest-label>span{font-size:9px;color:#5c68b9;border:1px solid #d5daf4;padding:2px 5px;border-radius:4px}.latest-reading{font:38px/1.4 var(--mono);color:var(--ink);letter-spacing:-2px}.latest-reading small{font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:12px;letter-spacing:0;color:var(--muted);margin-left:8px}#receiver-date{font-size:10px;color:#727c90}.hero-actions{display:flex;gap:12px;align-items:center}.primary{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:42px;border-radius:7px;background:var(--blue);color:#fff;padding:12px 18px;font-size:12px;box-shadow:0 3px 8px #3e4cdb12}.primary:hover{background:#303dbf}.outline-button,.small-button{border:1px solid #dbe0ec;background:white;border-radius:6px;padding:10px 14px;font-size:12px;min-height:40px}.outline-button:hover,.small-button:hover{background:var(--soft)}.key-playground{position:relative;height:424px;border-radius:23px;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#f3f2ff,#e7eafa 70%);border:1px solid #e3e6f6}.key-playground::before{content:"";position:absolute;inset:0;background-image:linear-gradient(#5c68b809 1px,transparent 1px),linear-gradient(90deg,#5c68b809 1px,transparent 1px);background-size:27px 27px;z-index:-1}.playground-top,.playground-bottom{position:absolute;left:24px;right:24px;display:flex;justify-content:space-between;align-items:center;font:8px var(--mono);letter-spacing:.7px;color:#6972a1}.playground-top{top:22px}.playground-top>span:first-child{display:flex;gap:6px;align-items:center}.blue-dot{height:5px;width:5px;background:#636bd0;border-radius:50%}.playground-bottom{bottom:18px;font-size:7px}.key-orbit{position:absolute;top:53px;left:50%;border:1px solid #8791d62a;border-radius:50%;transform:translateX(-50%) rotate(-20deg);width:350px;height:245px;z-index:-1}.orbit-two{top:74px;width:385px;height:245px;transform:translateX(-50%) rotate(22deg);border-style:dashed}.float-note{position:absolute;color:#727dac;font:9px var(--mono);z-index:3;pointer-events:none}.note-code{left:25px;top:89px;transform:rotate(-9deg);background:#ffffffa8;padding:9px 10px;border:1px solid #dce2f6;border-radius:5px}.note-star{font-family:Georgia,serif;font-size:39px;right:25px;top:79px;color:#7781de;transform:rotate(15deg)}.note-token{right:20px;bottom:123px;transform:rotate(7deg);font-size:8px}.key-stage{position:absolute;left:50%;top:66px;transform:translateX(-50%);width:240px;height:253px;perspective:1000px}.key-shadow{position:absolute;inset:60px -25px 5px;transform:rotate(-14deg) skew(9deg);border-radius:60%;background:#7b86bd24;filter:blur(18px)}.reset-key{position:absolute;left:16px;top:13px;width:207px;height:196px;transform:rotate(-13deg) skewY(4deg);border-radius:29px 29px 35px 35px;background:linear-gradient(110deg,#c5cbed,#9fa9d4 65%,#b6bfe2);border:1px solid #b4bddf;box-shadow:inset -5px -6px 5px #8c98c688,0 13px 0 #97a3cb,0 14px 0 1px #8793bd,0 23px 18px #5f6b9b3d;transition:transform .15s,box-shadow .15s}.key-top{position:absolute;top:-3px;left:5px;right:5px;height:170px;display:block;border:1px solid #fff;border-bottom-color:#d1d8ef;border-radius:24px 24px 27px 27px;background:linear-gradient(140deg,#fff,#fafbff 55%,#e5e9f9);box-shadow:inset 1px 2px 2px #fff,inset -4px -3px 6px #ccd3eb70,0 3px 3px #8b97c74d;color:var(--blue)}.key-corner{position:absolute;left:20px;top:17px;font:9px var(--mono);font-weight:700;letter-spacing:2px}.key-arrow{position:absolute;width:87px;height:87px;top:34px;left:47px;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;filter:drop-shadow(0 1px 0 #fff)}.key-word{position:absolute;left:20px;right:20px;bottom:16px;font:700 17px var(--mono);letter-spacing:-.5px;display:flex;justify-content:space-between}.key-word>span{font-size:14px;font-weight:400}.key-front{position:absolute;bottom:7px;left:0;right:0;color:#4c5f9b;font:7px var(--mono);letter-spacing:2px;text-shadow:0 1px #d4dbf4}.reset-key:hover{transform:translateY(-3px) rotate(-13deg) skewY(4deg)}.reset-key:active{transform:translateY(9px) rotate(-13deg) skewY(4deg);box-shadow:inset -5px -6px 5px #8c98c688,0 4px 0 #97a3cb,0 5px 0 1px #8793bd,0 10px 12px #5f6b9b3d}.key-caption{position:absolute;bottom:51px;left:10px;right:10px;display:flex;flex-direction:column;align-items:center;gap:8px}.key-caption strong{font-weight:500;font-size:12px;color:#4c5680}.key-caption>span:last-child{font-size:9px;color:#6c7699}.key-caption-line{display:block;height:23px;width:1px;background:#a0a9d6;margin-bottom:2px}.key-ripple{position:absolute;width:160px;height:160px;top:53px;left:40px;border:1px solid #6d7ce2;border-radius:50%;opacity:0;pointer-events:none}.key-celebrating .key-ripple{animation:ripple .85s ease-out}.key-celebrating .reset-key{animation:key-bounce .55s cubic-bezier(.22,.8,.25,1)}.key-celebrating .note-star{animation:star-pop .65s ease-out}.key-celebrating .key-caption strong{color:var(--blue)}@keyframes ripple{0%{opacity:.8;transform:scale(.8)}100%{opacity:0;transform:scale(2.5)}}@keyframes key-bounce{0%,100%{transform:rotate(-13deg) skewY(4deg)}25%{transform:translateY(9px) rotate(-13deg) skewY(4deg)}60%{transform:translateY(-8px) rotate(-10deg) skewY(4deg)}}@keyframes star-pop{50%{transform:rotate(110deg) scale(1.3)}}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-block:1px solid var(--line);padding:23px 0;margin:12px 0 40px}.stats article{display:grid;grid-template-columns:1fr auto;gap:7px 12px;padding:0 28px;border-right:1px solid var(--line)}.stats article:first-child{padding-left:0}.stats article:last-child{border:0;padding-right:0}.label{font-size:11px;color:var(--muted)}.stats strong{grid-column:2;grid-row:1/3;font:30px var(--mono);align-self:center;letter-spacing:-1.5px;color:#48536a;white-space:nowrap}.stats small{font:10px "Segoe UI","Microsoft YaHei",sans-serif;color:var(--muted);margin-left:5px;letter-spacing:0}.stat-caption,.stats a{font:8px var(--mono);color:#69758c;letter-spacing:.5px}.stats a{color:#5663b1}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px}.calendar-index{grid-column:1/-1;display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:3px;gap:15px}.section-number{font:9px var(--mono);letter-spacing:1px;color:#66758b}h2{font-size:17px;font-weight:650}.calendar-index h2{font-size:23px;letter-spacing:-.6px;margin-top:10px}.legend{display:flex;align-items:center;gap:17px;font-size:10px;color:var(--muted)}.legend>span{display:flex;align-items:center;gap:6px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.reset{background:var(--green)}.gift{background:var(--gift);border-radius:2px}.note{background:#8490bf}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px}.calendar-panel{overflow:hidden;padding:0 20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 0}.calendar-title{display:flex;align-items:baseline;gap:10px}.calendar-title h2{font-size:16px}.muted{font-size:11px;color:var(--muted)}#month-en{font:8px var(--mono);letter-spacing:.8px}.calendar-actions{display:flex;align-items:center;gap:4px}.icon-button{min-width:34px;min-height:34px;border-radius:5px;font-size:23px}.icon-button:hover{background:var(--soft)}.small-button{padding:6px 11px;min-height:32px;font-size:11px}.weekdays,.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekdays{border-block:1px solid var(--line);padding:12px 0;text-align:center;font-size:10px;color:var(--muted)}.calendar .day{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;height:66px;padding:10px 4px;border-bottom:1px solid #edf0f6;border-radius:6px;position:relative}.day-number{font:13px var(--mono);line-height:18px}.day:hover{background:#f2f4ff}.day.selected{background:var(--soft);box-shadow:inset 0 0 0 1px #b9bff0;color:var(--blue)}.day.is-today .day-number{font-weight:700;color:var(--blue)}.day.is-today::after{content:"";position:absolute;top:10px;right:10px;background:var(--blue);height:3px;width:3px;border-radius:50%}.day.outside{color:#929bb0}.day-markers{display:flex;justify-content:center;align-items:center;gap:4px;min-height:8px}.day-markers .dot{width:7px;height:7px}.more-events{font:8px var(--mono);color:var(--muted)}.calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;color:var(--muted);font-size:9px}.today-dot{background:var(--blue);width:5px;height:5px;margin-right:5px;vertical-align:middle}.day-panel{padding:21px;background:#f0f2f9;border-color:#e3e7f1}.day-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid #dce1ed;padding-bottom:16px;margin-bottom:20px}.day-heading h2{font-size:15px}.pill{font-size:9px;color:#697893;border:1px solid #d7ddeb;padding:2px 5px;border-radius:4px}.day-heading .muted{width:100%;margin-top:3px;font-size:10px}.add-day{font-size:10px;color:var(--blue);padding:8px 0 0}.empty{padding:36px 15px;text-align:center;color:var(--muted)}.empty-mark{display:none}.empty strong{display:block;font-size:13px;font-weight:500}.empty p{font-size:11px;line-height:1.9;margin-top:8px}.day-panel .empty{padding:46px 0}.day-event{border-bottom:1px solid #dce1ed;padding:16px 0}.day-event:first-child{padding-top:0}.day-event:last-child{border:0}.type-label{font-size:10px;display:flex;align-items:center;gap:6px;color:#5f6f83}.type-label .dot{width:6px;height:6px}.day-event h3{font-size:13px;line-height:1.7;overflow-wrap:anywhere;margin:9px 0}.day-event p{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.event-bottom{display:flex;align-items:center;gap:12px;margin-top:13px}.tweet-link{font-size:11px;color:#5667b6}.edit-button{font-size:11px;color:var(--blue);padding:5px}.activity-panel{margin:22px 0 39px;background:transparent;border-inline:0;border-radius:0}summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:11px;color:var(--muted);padding:16px 0}summary::-webkit-details-marker{display:none}.details-indicator{font-size:18px;color:#7887a2}details[open] .details-indicator{transform:rotate(45deg)}.section-meta{font:9px var(--mono);color:#778398;font-weight:400;margin-left:10px}.heatmap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:15px;padding:5px 0 22px}.heat-month-label{font:9px var(--mono);color:var(--muted);margin-bottom:8px}.heat-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.heat-cell,.heat-key{padding:0;min-width:0;aspect-ratio:1;background:#e8ecf4;border:1px solid #e0e5f0;border-radius:2px}.heat-cell:hover{outline:1px solid var(--blue);outline-offset:2px}.heat-blank{visibility:hidden}.level-1{background:#c3cafa;border-color:#bbc4f6}.level-2{background:#919be7;border-color:#919be7}.level-3{background:#525fce;border-color:#525fce}.heat-key{width:9px;height:9px}.activity-footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);padding-bottom:18px;gap:12px}.activity-footer .legend{gap:5px;font-size:9px}.history-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:20px}.history-heading h2{font-size:23px;letter-spacing:-.5px;margin-top:10px}.data-actions{display:flex;align-items:center;gap:15px}.archive-caption{font-size:10px;color:var(--muted)}.text-button{font-size:10px;color:#626f86;padding:8px 0;min-height:32px}.text-button:hover{color:var(--blue)}.filters{display:flex;align-items:center;justify-content:space-between;gap:15px;border-block:1px solid var(--line);padding:12px 0}.tabs{display:flex;gap:5px;flex-wrap:wrap}.tabs button{font-size:11px;padding:8px 13px;min-height:32px;border-radius:5px;color:var(--muted)}.tabs .active{background:var(--soft);color:var(--blue)}.tabs button:hover{background:#eef1f9}.search{display:flex;align-items:center;gap:8px;color:#768499}.search svg{width:15px;height:15px}.search input{width:165px;background:transparent;border:0;border-radius:0;border-bottom:1px solid #cdd5e7;font-size:11px;padding:8px 0}.history-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px 24px;padding:25px 0 25px 25px;border-bottom:1px solid var(--line);scroll-margin-top:32px}.history-row::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);position:absolute;left:0;top:29px}.history-row:has(.gift)::before{background:var(--gift);border-radius:2px}.record-date{font:11px var(--mono);color:#67768e;grid-column:1}.history-row>.type-label{grid-column:1;grid-row:2}.record-content{grid-column:1;grid-row:3}.history-row h3{font-size:16px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.history-row p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.row-actions{grid-column:2;grid-row:1/4;display:flex;align-items:flex-start;gap:12px}.permalink{font:11px var(--mono);color:#7c8ba6;padding:0 4px}.history-row.link-highlight,.history-row:target{background:#eef0ff;box-shadow:-10px 0 #eef0ff,10px 0 #eef0ff}.history-row.link-highlight:focus{outline:1px solid #9ea7ef;outline-offset:6px}#history>.empty{padding:50px 15px 60px}#history>.empty::before{content:"GOOD THINGS TAKE A LITTLE TIME.";display:block;font:9px var(--mono);letter-spacing:1px;color:#6e7d97;margin-bottom:18px}footer{margin-top:20px;padding:28px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:9px;color:#72809a;line-height:1.9}footer b{font:9px var(--mono);color:#5b6b86;letter-spacing:.5px}.footer-divider{margin:0 10px}footer>span:nth-child(2){text-align:right}footer small{font-size:9px}dialog{width:min(540px,calc(100% - 32px));max-height:90dvh;overflow-y:auto;background:white;border:1px solid #e0e5f0;border-radius:13px;padding:28px;color:var(--ink);box-shadow:0 20px 100px #18244926}dialog::backdrop{background:#26325266;backdrop-filter:blur(4px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.dialog-title h2{font-size:22px;margin-top:8px}.dialog-title .eyebrow{font-size:8px;letter-spacing:1px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}form>label,.form-row>label{display:flex;flex-direction:column;font-size:12px;gap:8px;margin-bottom:17px}input,select,textarea{min-width:0;padding:11px;border:1px solid #d8dfec;border-radius:6px;background:#fcfdff;color:var(--ink)}input::placeholder,textarea::placeholder{color:#8491a7}textarea{resize:vertical}form small,.optional{font-size:10px;color:var(--muted)}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px}.danger{font-size:12px;color:#af3f40;margin-right:auto}.error,#login-error{font-size:12px;color:#af3f40;white-space:pre-wrap}.notice{padding:15px;background:#fff2e5;border:1px solid #e7c59f;border-radius:7px;font-size:12px;color:#976137;margin-bottom:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#293254;color:white;padding:13px 21px;border-radius:7px;font-size:12px;box-shadow:0 5px 20px #17214222;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}[hidden]{display:none!important}.skip-link{position:absolute;top:0;left:0;background:white;padding:12px;transform:translateY(-100%);z-index:200}.skip-link:focus{transform:none}
@media(max-width:1100px){.topbar,main{padding-inline:30px}.hero{gap:30px}.hero h1{font-size:38px}.hero-description{font-size:12px}.key-playground{height:410px}.workspace{grid-template-columns:minmax(0,1fr) 250px}.stats article{padding-inline:17px}.stats strong{font-size:26px}.heatmap{gap:10px}.archive-caption{display:none}.note-token{right:15px;font-size:7px}}
@media(max-width:760px){.topbar,main{padding-inline:20px}.topbar{min-height:83px}.brand{font-size:20px;gap:8px}.brand-mark{width:33px;height:33px;border-radius:9px}.brand-mark svg{width:26px;height:26px}.brand-edition{display:none}.sponsor{font-size:11px;padding:8px 10px;gap:8px}.ad-label{font-size:8px}.sponsor-arrow{font-size:17px}.hero{grid-template-columns:1fr;gap:27px;padding:23px 0 20px}.hero .eyebrow{font-size:9px}.hero h1{font-size:39px;letter-spacing:-1.8px;line-height:1.35;margin:18px 0 15px}.hero-description{font-size:12px;max-width:100%;line-height:1.9}.latest-summary{margin:19px 0 17px;gap:10px}.latest-reading{font-size:31px}.latest-label{font-size:10px}#receiver-date{font-size:9px}.hero-actions{gap:10px}.primary,.outline-button{font-size:11px;min-height:39px;padding:10px 14px}.key-playground{height:361px;border-radius:17px}.playground-top,.playground-bottom{left:17px;right:17px;font-size:7px}.playground-top{top:18px}.playground-bottom{bottom:16px;font-size:6px}.key-stage{top:35px;transform:translateX(-50%) scale(.88)}.key-orbit{top:47px;width:285px;height:200px}.orbit-two{top:62px;width:308px;height:210px}.note-code{left:15px;top:72px;font-size:8px;padding:7px 8px}.note-star{right:14px;top:65px;font-size:29px}.note-token{right:15px;bottom:110px;font-size:7px}.key-caption{bottom:45px;gap:7px}.key-caption strong{font-size:11px}.key-caption>span:last-child{font-size:9px}.key-caption-line{height:20px}.stats{grid-template-columns:repeat(2,1fr);gap:20px 0;padding:21px 0;margin:8px 0 31px}.stats article{padding-inline:17px}.stats article:nth-child(2){border:0;padding-right:0}.stats article:nth-child(3){padding-left:0}.stats strong{font-size:25px}.label{font-size:10px}.stat-caption,.stats a{font-size:7px}.workspace{grid-template-columns:1fr;gap:16px}.calendar-index{align-items:flex-start;flex-wrap:wrap;gap:13px;margin-bottom:4px}.calendar-index h2{font-size:21px;margin-top:8px}.section-number{font-size:8px}.legend{font-size:9px;gap:12px}.calendar-panel{padding:0 12px;border-radius:10px}.panel-head{padding:12px 0}.calendar-title h2{font-size:14px}#month-en{display:none}.calendar-actions{gap:0}.small-button{min-height:30px;padding:6px 8px;font-size:10px}.icon-button{min-width:31px;min-height:32px}.weekdays{padding:11px 0;font-size:9px}.calendar .day{height:54px;padding:8px 3px;gap:7px}.day-number{font-size:12px}.day.is-today::after{top:7px;right:6px}.calendar-footer{font-size:8px;padding:12px 0}.day-panel{padding:17px;border-radius:10px}.day-heading{padding-bottom:12px;margin-bottom:12px;gap:7px 9px}.day-heading h2{font-size:14px}.day-heading .muted{width:auto;font-size:9px;margin:0}.day-heading .add-day{padding:0;margin-left:auto}.day-panel .empty{padding:15px 0}.activity-panel{margin:20px 0 30px}summary{font-size:10px;padding:14px 0}.section-meta{font-size:8px;margin-left:7px}.heatmap{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.heat-month-grid{gap:4px}.activity-footer{font-size:9px}.history-heading h2{font-size:21px}.history-heading{gap:12px;margin-bottom:16px}.data-actions{gap:12px}.text-button{font-size:9px}.filters{flex-wrap:wrap;gap:13px;padding:11px 0}.tabs{gap:0}.tabs button{font-size:10px;padding:7px 10px}.search{width:100%;gap:9px}.search input{width:100%;font-size:12px}.search svg{width:14px;height:14px}.history-row{padding:23px 0 22px 18px;gap:11px 10px}.history-row::before{top:27px;width:6px;height:6px}.record-date{font-size:10px}.history-row h3{font-size:14px}.history-row p{font-size:13px}.row-actions{gap:8px}.row-actions .tweet-link,.edit-button{font-size:10px}.edit-button{padding:0}footer{flex-wrap:wrap;gap:13px;padding:24px 0;font-size:9px}footer>span:nth-child(2){text-align:left}footer #admin-toggle{margin-left:auto}input,select,textarea{font-size:16px}.form-row{gap:10px}dialog{padding:22px}.dialog-title h2{font-size:20px}.dialog-footer{gap:10px}.dialog-title .eyebrow{font-size:7px}.notice{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.notification-card{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 22px;margin:0 0 26px}.notification-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;color:var(--blue);background:var(--soft)}.notification-icon svg{width:21px;height:21px}.notification-copy{flex:1;min-width:0}.notification-copy h2{font-size:13px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.notification-copy p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:6px}#notifications-status{font-size:9px;font-weight:400;background:#f1f3f8;color:#65738a;padding:3px 6px;border-radius:4px}#notifications-status.enabled{color:#236d60;background:#e9f4f0}.notification-actions{display:flex;align-items:center;gap:15px;flex-shrink:0}.notification-actions button{font-size:11px}.notification-actions .outline-button{color:var(--blue)}@media(max-width:760px){.notification-card{padding:17px;gap:11px;flex-wrap:wrap;margin:5px 0 22px}.notification-copy{flex-basis:calc(100% - 50px)}.notification-copy h2{font-size:12px;gap:7px}.notification-copy p{font-size:10px}.notification-actions{margin-left:47px;flex-wrap:wrap;gap:16px}.notification-actions .outline-button{font-size:10px}}
.notification-card{flex-wrap:wrap}.notification-result{flex-basis:100%;margin:0 0 0 51px;padding:11px 13px;background:#f4f6ff;border:1px solid #e2e6f5;border-radius:6px;font-size:11px;line-height:1.9;color:#465574;overflow-wrap:anywhere}@media(max-width:760px){.notification-result{margin-left:0}.notification-actions{gap:10px}.notification-actions .text-button{font-size:10px}}
.history-row.tibo-event{display:block;padding:24px 0;border-bottom:1px solid var(--line)}.tibo-event:before{display:none}.event-meta{display:flex;align-items:center;gap:15px;margin-bottom:15px}.event-meta .row-actions{margin-left:auto;display:flex;gap:12px}.post-stack{display:grid;gap:14px;max-width:680px}.tibo-post{padding:20px;background:white;border:1px solid var(--line);border-radius:12px;min-width:0}.tibo-author{display:flex;align-items:center;gap:10px;margin-bottom:15px}.tibo-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#e5e9f6;color:#43517a;font:600 18px var(--mono)}.tibo-author strong{font-size:15px;display:block}.tibo-author a{font-size:11px;color:var(--muted);display:block;margin-top:3px}.x-wordmark{margin-left:auto;font-size:23px;color:#252b35}.tweet-embed{min-height:72px;font-size:12px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}.tweet-original{display:inline-flex;align-items:center;gap:15px;padding:9px 13px;border:1px solid #dbe0ef;border-radius:6px;color:var(--blue);font-size:11px;margin-top:15px}.tweet-original:hover{background:var(--soft)}.tweet-placeholder{display:block;padding:20px 0}.tweet-embed iframe{max-width:100%!important}.tibo-post:has(iframe) .tibo-author{display:none}.calendar-note{padding:15px 0}.calendar-note h3{font-size:14px}.calendar-note p{font-size:13px;white-space:pre-wrap}@media(max-width:760px){.post-stack{max-width:100%}.tibo-post{padding:16px}.event-meta{gap:10px}.tibo-author strong{font-size:14px}.tweet-original{font-size:11px}.tweet-embed{min-height:55px}.history-row.tibo-event{padding:20px 0}}

/* Readable supporting labels and notification controls. */
.latest-summary{display:block;width:100%;max-width:460px;margin:25px 0 23px;padding:19px 22px 20px;border-radius:14px;background:var(--blue);color:white;box-shadow:0 8px 24px #3e4cdb1c}
.reset-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.latest-summary .latest-label{display:flex;align-items:center;gap:8px;color:#f3f4ff;font-size:13px;font-weight:500}
.latest-label svg{width:18px;height:18px;stroke-width:1.8;flex-shrink:0}
#receiver-type{padding:4px 8px;background:#ffffff1f;border:1px solid #ffffff33;border-radius:5px;font-size:10px;color:white;white-space:nowrap}
.reset-card-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin-top:17px}
.latest-summary .latest-reading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;min-width:0;color:white;font:inherit;letter-spacing:0;line-height:1}
.reset-age-number{font:600 64px/.95 var(--mono);letter-spacing:-3px;font-variant-numeric:tabular-nums}
.reset-age-number.reset-today{font-family:inherit;font-size:43px;letter-spacing:0;line-height:1.3}
.latest-summary .latest-reading small{font-size:14px;color:#f0f2ff;letter-spacing:0;margin:0;line-height:1.7}
.reset-date-block{display:flex;flex-direction:column;gap:7px;padding:3px 0 3px 20px;border-left:1px solid #ffffff38}
.reset-date-block>span{font-size:11px;color:#dfe3ff}
.latest-summary #receiver-date{font:14px var(--mono);color:white;white-space:nowrap}
.reset-date-block>small{font-size:10px;color:#dfe3ff}
.stats .label{font-size:14px;line-height:1.6;color:#59657a}
.stats .stat-caption{font-size:11px;line-height:1.6;letter-spacing:.2px}
.stats a{font-size:12px;line-height:1.6;letter-spacing:0}
.stats article{row-gap:6px;min-width:0}
.stats small{font-size:12px}
.calendar-index .legend{font-size:13px;line-height:1.6;flex-wrap:wrap;gap:12px 18px}
.calendar-index .legend .dot{width:8px;height:8px}
.notification-copy h2{font-size:15px;line-height:1.6}
.notification-copy p{font-size:13px;line-height:1.8}
#notifications-status{font-size:11px}
.notification-actions button,.notification-actions .text-button,.notification-actions .outline-button{font-size:14px;line-height:1.5;min-height:40px}
.notification-actions{gap:16px}
.notification-result{font-size:13px}
@media(max-width:760px){
  .latest-summary{max-width:none;margin:22px 0 20px;padding:17px 18px 18px;border-radius:12px}
  .latest-summary .latest-label{font-size:12px}
  .reset-card-body{gap:15px;margin-top:17px}
  .reset-age-number{font-size:clamp(42px,8vw,56px);letter-spacing:-2px}
  .reset-age-number.reset-today{font-size:36px}
  .reset-date-block{padding-left:15px}
  .latest-summary #receiver-date{font-size:13px}
  .latest-summary .latest-reading small{font-size:12px}
  .stats .label{font-size:13px}
  .stats .stat-caption{font-size:10px}
  .stats a{font-size:11px}
  .stats small{font-size:11px}
  .calendar-index .legend{font-size:12px;gap:10px 15px}
  .notification-copy h2{font-size:14px}
  .notification-copy p{font-size:12px}
  .notification-actions button,.notification-actions .text-button,.notification-actions .outline-button{font-size:13px}
  .notification-actions{gap:8px 14px;max-width:calc(100% - 47px);min-width:0;flex-shrink:1}
  .notification-result{font-size:12px}
}

/* Reset ticket: an elapsed-time headline with a detachable date stub. */
.latest-summary.reset-ticket{--stub-width:142px;display:grid;align-items:stretch;grid-template-columns:minmax(0,1fr) var(--stub-width);max-width:480px;padding:0;position:relative;background:transparent;border-radius:14px;box-shadow:0 9px 25px #343d8714;isolation:isolate}
.reset-ticket::before,.reset-ticket::after{content:"";position:absolute;right:calc(var(--stub-width) - 10px);width:20px;height:20px;border-radius:50%;background:var(--bg);z-index:3}
.reset-ticket::before{top:-10px}.reset-ticket::after{bottom:-10px}
.ticket-main{position:relative;overflow:hidden;padding:19px 22px 17px;background:#2733a5;border-radius:14px 0 0 14px}
.reset-ticket .reset-card-top{position:relative;z-index:1;gap:8px;flex-wrap:wrap}
.reset-ticket .latest-label{font-size:12px;color:#eef0ff;letter-spacing:.2px}
.reset-ticket #receiver-type{border:0;background:#d9f99d;color:#2e4218;border-radius:4px;padding:3px 6px;font-size:9px;font-weight:600}
.reset-ticket .latest-reading{position:relative;z-index:1;gap:10px;margin-top:17px;min-height:76px;align-items:baseline}
.reset-ticket .reset-age-number{font-size:88px;line-height:.95;font-weight:600;letter-spacing:-5px;color:#fff}
.reset-ticket .latest-reading small{font-size:14px;color:#e4e8ff}
.reset-ticket .reset-age-number.reset-today{font-size:48px;line-height:1.4;letter-spacing:-2px}
.ticket-footer{position:relative;z-index:1;display:flex;align-items:center;gap:8px;margin-top:16px;color:#eef0ff;font-size:11px;letter-spacing:.5px}
.ticket-spark{color:#d9f99d;font-size:21px;line-height:1}
.ticket-watermark{position:absolute;right:-7px;bottom:20px;width:125px;height:125px;color:#ffffff0c;stroke-width:9;stroke-linecap:butt;stroke-linejoin:miter;transform:rotate(-14deg);pointer-events:none}
.ticket-stub{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:22px 10px 15px;background:#ecefff;border:1px solid #d7dcf8;border-left:2px dashed #9da8df;border-radius:0 14px 14px 0;color:#364476;min-width:0}
.ticket-stub-label{font-size:11px;color:#62709a}
.reset-ticket #receiver-date{font-size:13px;letter-spacing:-.3px;font-weight:600;color:#293778;margin-top:0}
.ticket-stub>small{font-size:9px;color:#62709a;white-space:nowrap}
.ticket-stamp{display:block;text-align:center;align-self:center;color:#4b5bbc;border:2px solid #8290d3;border-radius:5px;padding:5px 9px 4px;transform:rotate(-9deg);margin-top:6px;font:700 20px/1.1 var(--mono);letter-spacing:1.7px}
.ticket-stamp>span{display:block;font:7px/1.6 var(--mono);letter-spacing:.5px;margin-top:2px}
@media(max-width:760px){.latest-summary.reset-ticket{--stub-width:120px;max-width:none}.ticket-main{padding:17px 16px 16px}.reset-ticket .latest-label{font-size:11px}.reset-ticket #receiver-type{font-size:8px}.reset-ticket .reset-card-top{gap:7px}.reset-ticket .reset-age-number{font-size:clamp(48px,13vw,76px);letter-spacing:-3px}.reset-ticket .latest-reading{margin-top:15px;min-height:65px;gap:7px}.reset-ticket .latest-reading small{font-size:12px}.ticket-footer{font-size:10px;letter-spacing:0;margin-top:13px;gap:6px}.ticket-watermark{width:100px;height:100px;bottom:20px}.ticket-stub{padding:21px 7px 15px;gap:10px}.reset-ticket #receiver-date{font-size:12px}.ticket-stub-label{font-size:10px}.ticket-stub>small{font-size:8px}.ticket-stamp{font-size:18px;padding:5px 7px}.reset-ticket .reset-age-number.reset-today{font-size:35px;line-height:1.4;letter-spacing:0}}

/* Shared visual language: indigo tickets, pale stubs, lime accents. */
:root{--bg:#f5f6fc;--surface:#fff;--ink:#202746;--muted:#65708b;--line:#dbe0f2;--blue:#2733a5;--soft:#ecefff;--green:#2733a5;--gift:#798b2d;--lime:#d9f99d;--ticket-shadow:0 5px 18px #26348008}
.topbar{border-bottom:1px dashed #cbd2eb;min-height:108px}
.brand{color:#202b75;letter-spacing:-.7px}
.brand-mark{background:var(--blue);color:var(--lime);border-radius:9px}
.brand-edition{border-left-style:dashed;color:#647197}
.sponsor{position:relative;gap:13px;border:1px solid #cbd3ef;border-radius:6px;padding:0 13px 0 0;min-height:43px;overflow:hidden;background:#fff;box-shadow:2px 2px 0 #e1e6f6;color:var(--blue)}
.sponsor .ad-label{align-self:stretch;display:flex;align-items:center;padding:0 10px;background:var(--soft);border-right:1px dashed #aebae2;color:#56658e;font-size:10px}
.sponsor-arrow{display:grid;place-items:center;width:23px;height:23px;background:var(--lime);border-radius:50%;color:#354719;font-size:16px}
.hero{gap:55px;padding-top:40px}
.hero .eyebrow{color:#58658f}
.hero .availability-dot{background:#7d943d;box-shadow:0 0 0 3px #d9f99d6b}
.hero h1{color:#202746}
.primary{border-radius:5px;box-shadow:0 3px 0 #182373;min-height:43px}
.primary:hover{background:#1f2b8f;box-shadow:0 2px 0 #182373;transform:translateY(1px)}
.outline-button,.small-button{border-radius:5px;border-color:#c8d0eb;color:var(--blue)}
.hero-actions .outline-button{border-style:dashed}
.key-playground{border-radius:14px;background:#ecefff;border-color:#d5dcf4;box-shadow:var(--ticket-shadow)}
.key-playground::before{background-image:linear-gradient(#34479a07 1px,transparent 1px),linear-gradient(90deg,#34479a07 1px,transparent 1px);background-size:26px 26px}
.playground-top{top:0;left:0;right:0;padding:17px 21px;background:#e4e8fb;border-bottom:1px dashed #b9c4e6;font-size:9px;color:#4f6098}
.playground-top>span:first-child{font-weight:600}
.playground-top .blue-dot{background:#2733a5}
.playground-bottom{border-top:1px dashed #b9c4e6;left:20px;right:20px;bottom:0;padding:13px 0;font-size:8px;color:#52618e}
.note-code{background:#2733a5;color:#e5ffbe;border:1px solid #2733a5;border-radius:3px;box-shadow:2px 2px 0 #bdc6e9}
.note-star{color:#536aac;background:#d9f99d;display:grid;place-items:center;width:42px;height:42px;line-height:1;border-radius:50%;font-size:33px}
.note-token{color:#647197}
.key-caption strong{font-size:13px;color:#334782}
.key-caption>span:last-child{font-size:10px;color:#667599}
.key-top{color:#2733a5}
.key-corner{color:#35478c}
.key-front{color:#3c4f8d}

.notification-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px 17px;border:1px solid #d6def1;border-radius:10px;padding:20px 22px;background:#fff;box-shadow:var(--ticket-shadow);margin-bottom:25px}
.notification-icon{width:44px;height:44px;background:var(--blue);color:var(--lime);border-radius:9px}
.notification-icon svg{width:24px;height:24px}
.notification-copy{min-width:0}
.notification-copy h2{color:#253473;font-size:15px;gap:10px}
#notifications-status{border:1px solid #d3daec;border-radius:3px;background:#f6f7fc;font-size:10px}
#notifications-status.enabled{color:#35471b;background:var(--lime);border-color:#cfeb9e}
.notification-actions{padding-left:20px;border-left:1px dashed #c2cce9;gap:15px;margin-left:0;max-width:none;min-width:0;flex-wrap:wrap;max-width:430px}
.notification-actions .text-button{font-size:14px;min-height:40px;color:#4c5b85}
.notification-actions .outline-button{background:var(--lime);border-color:#cce695;color:#293c17;font-size:14px;font-weight:600;padding:10px 14px;min-height:41px}
.notification-actions .outline-button[aria-pressed=true]{background:#fff;color:var(--blue);border-color:#bbc7e8;font-weight:400}
.notification-actions .outline-button:hover{background:#e5f8c4}
.notification-result{grid-column:2/-1;margin:0;border:1px dashed #bbc8e8;background:#f3f5ff;border-radius:5px;color:#435780}

.stats{border:0;padding:0;margin:0 0 42px;gap:14px}
.stats article,.stats article:first-child,.stats article:last-child{position:relative;min-width:0;padding:19px 19px 17px;background:#fff;border:1px solid #d8dff1;border-bottom:3px solid #dfe5f5;border-radius:9px;gap:8px 12px;box-shadow:var(--ticket-shadow)}
.stats article::before{content:"";position:absolute;left:17px;top:-1px;width:32px;height:3px;background:#5363b8;border-radius:0 0 2px 2px}
.stats article:nth-child(2)::before{background:#a7be59}
.stats article:nth-child(3)::before{background:#8290c9}
.stats article:nth-child(4)::before{background:#5363b8}
.stats .label{color:#526083;font-size:14px;font-weight:500}
.stats strong{color:#25358d;font-size:31px;line-height:1.2}
.stats small{color:#6a7896;font-size:11px}
.stats .stat-caption,.stats a{font-size:11px;color:#65769c;letter-spacing:.2px;line-height:1.6}
.stats article:last-child .stat-caption{font-size:10px;letter-spacing:0}

.section-number{display:inline-flex;align-items:center;padding:4px 7px;background:#e6ebfc;border-left:3px solid #8495cf;border-radius:2px;font-size:9px;color:#4c608c;letter-spacing:.8px}
.calendar-index{margin-bottom:6px;align-items:flex-end}
.calendar-index h2,.history-heading h2{color:#243275;font-size:24px;letter-spacing:-.7px;margin-top:12px}
.calendar-index .legend{font-size:13px;color:#5f6e8b}
.calendar-panel{border-color:#c9d3ee;border-radius:10px;box-shadow:var(--ticket-shadow);overflow:hidden}
.calendar-panel .panel-head{margin-inline:-20px;padding:16px 20px;background:#2733a5;color:#fff;gap:8px}
.calendar-title h2{color:#fff;font-size:17px}
.calendar-title #month-en{color:#dce3ff;font-size:9px}
.calendar-panel .icon-button{color:#fff}
.calendar-panel .icon-button:hover{background:#ffffff18}
.calendar-panel .small-button{background:var(--lime);border:1px solid #cce994;color:#2c421c;font-size:12px}
.calendar-panel .weekdays{margin-inline:-20px;padding:13px 20px;background:#edf1fc;border-top:0;border-bottom:1px dashed #c1cce8;color:#58698f;font-size:11px}
.calendar .day{height:66px;border-bottom-color:#e8ecf7;border-radius:5px;gap:9px}
.day:hover{background:#eef2ff}
.day.selected{background:var(--blue);box-shadow:none;color:#fff}
.day.selected .day-number,.day.selected.is-today .day-number{color:white;font-weight:600}
.day.selected .dot.reset{background:#e3e8ff}
.day.selected .dot.gift{background:var(--lime)}
.day.selected .dot.note{background:#c9d4ff}
.day.selected.is-today::after{background:var(--lime)}
.day.selected .more-events{color:#fff}
.day.is-today:not(.selected) .day-number{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.day-number{font-size:14px}
.calendar-panel .calendar-footer{margin-inline:-20px;padding:13px 20px;background:#f1f4fd;border-top:1px dashed #c5d0e9;color:#5c6d90;font-size:10px}
.day-panel{position:relative;background:#ecefff;border:1px dashed #abbbe2;border-radius:10px;box-shadow:none;padding:22px}
.day-heading{border-bottom:1px dashed #b7c4e7;padding-bottom:17px}
.day-heading h2{color:#28397b;font-size:16px}
.day-heading .pill{background:#d9f99d;border:0;border-radius:3px;color:#3a4f21;font-size:10px}
.day-heading .muted{font-size:11px;color:#607398}
.day-event{border-bottom:1px dashed #b6c4e5}
.day-event h3{color:#30457b}
.day-event .type-label{color:#586a90}
.day-panel .edit-button{border:1px solid #c6d1eb;background:#fff;border-radius:4px;font-size:11px;padding:6px 9px}
.day-panel .empty{color:#67799d}

.activity-panel{margin-top:24px;margin-bottom:43px;background:#ecefff;border:1px dashed #bdc9e5;border-radius:6px;padding:0 17px}
.activity-panel summary{font-size:12px;color:#425a8a;padding:16px 0}
.details-indicator{color:#657bb1}
.activity-panel[open] summary{border-bottom:1px dashed #bdc9e5}
.activity-panel .panel-head{padding:13px 0}
.activity-panel .heat-cell{border-color:#ccd6ef;background:#dfe6f7}
.activity-panel .level-1{background:#b9c5ec;border-color:#adbee6}
.activity-panel .level-2{background:#7d92d5;border-color:#7d92d5}
.activity-panel .level-3{background:#3449ac;border-color:#3449ac}
.activity-panel .heat-key.level-0{background:#dfe6f7}
.activity-panel .heat-key.level-1{background:#b9c5ec}
.activity-panel .heat-key.level-2{background:#7d92d5}
.activity-panel .heat-key.level-3{background:#3449ac}

.history-heading{padding-bottom:3px}
.history-heading .data-actions{gap:16px}
.data-actions .text-button{font-size:12px;color:#4a6090}
.filters{border-top:1px dashed #c1cdeb;border-bottom:1px dashed #c1cdeb;padding:13px 0}
.tabs{gap:5px}
.tabs button{font-size:12px;padding:9px 14px;border-radius:4px;min-height:36px}
.tabs button.active{background:#2733a5;color:#fff;box-shadow:0 2px 0 #182875}
.tabs button:not(.active):hover{background:#e6ecfb;color:#30457f}
.search{border:1px solid #cbd5ee;padding:0 11px;border-radius:4px;background:#fff}
.search input{border:0;font-size:12px;width:180px;padding:10px 0}
.search svg{color:#657bb2}
.history-row.tibo-event{border-bottom:1px dashed #becae7;padding:27px 0}
.event-meta{gap:12px;margin-bottom:16px}
.event-meta .record-date{background:#e8edfc;color:#435c92;padding:5px 8px;border-radius:3px;font-size:11px}
.event-meta .type-label{color:#5a6c91;font-size:11px}
.event-meta .row-actions .edit-button{font-size:12px}
.tibo-post{position:relative;border:1px solid #cbd6ef;border-radius:8px;padding:20px;background:white;box-shadow:var(--ticket-shadow)}
.tibo-post::before{content:"";position:absolute;left:20px;top:-1px;width:35px;height:3px;background:#2733a5;border-radius:0 0 2px 2px}
.tibo-author{padding-bottom:14px;border-bottom:1px dashed #d2dcf0}
.tibo-avatar{background:#2733a5;color:var(--lime);border-radius:9px}
.tibo-author strong{color:#273a7b}
.tibo-author a{color:#687b9f;font-size:12px}
.x-wordmark{color:#384f88}
.tweet-original{background:#edf1fc;border:1px solid #c8d4ef;border-radius:4px;color:#273b8c;font-size:12px;padding:10px 14px}
.tweet-original:hover{background:#d9f99d;color:#314620;border-color:#c8e49a}
.history-row.link-highlight,.history-row:target{background:#e9eefc;box-shadow:-10px 0 #e9eefc,10px 0 #e9eefc}
.calendar-note{border-left:3px solid #a4b2d7;padding:10px 15px;color:#4c628b}

footer{border-top:1px dashed #bdcbe7;color:#6b7d9f;padding:26px 0;margin-top:27px;font-size:10px}
footer b{font-size:10px;color:#3d568b;font-weight:600;letter-spacing:.8px}
footer small{font-size:10px}
footer .footer-divider{color:#a4b3d5}
footer #admin-toggle{font-size:11px;color:#4e6496}
dialog{border:1px solid #b9c8e8;border-radius:9px;background:#fbfcff;padding:27px;box-shadow:0 18px 80px #1c2b682b}
.dialog-title{padding-bottom:17px;border-bottom:1px dashed #c6d2eb}
.dialog-title h2{color:#253880}
.dialog-title .eyebrow{color:#7385ac}
form>label,.form-row>label{font-size:13px;color:#455a84}
input,select,textarea{border-color:#c6d3ec;border-radius:4px;background:#fff}
input:focus,select:focus,textarea:focus{border-color:#7c91d4}
.dialog-footer{padding-top:17px;border-top:1px dashed #c6d2eb}
.dialog-footer .primary{background:#2733a5}
#toast{border-radius:5px;background:#263478;color:#fff;border:1px solid #455bb0}

@media(max-width:1000px){
  .hero{gap:30px}
  .notification-card{grid-template-columns:44px minmax(0,1fr);gap:13px 16px}
  .notification-actions{grid-column:2;justify-self:start;padding:12px 0 0;border-left:0;border-top:1px dashed #c2cce9;max-width:100%;width:100%;gap:10px 16px}
  .notification-result{grid-column:2}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .stats article,.stats article:first-child,.stats article:last-child{padding:18px 14px 16px;gap:8px}
  .stats .label{font-size:13px}
  .stats strong{font-size:27px}
  .stats .stat-caption,.stats a{font-size:10px}
}
@media(max-width:760px){
  .topbar{min-height:88px}
  .sponsor{min-height:37px;gap:9px;padding-right:10px}
  .sponsor .ad-label{font-size:9px;padding:0 8px}
  .sponsor-arrow{width:20px;height:20px;font-size:15px}
  .hero{padding-top:26px;gap:27px}
  .hero h1{font-size:38px}
  .hero-actions .primary,.hero-actions .outline-button{font-size:12px;min-height:41px}
  .key-playground{border-radius:12px}
  .playground-top{padding:15px 16px;font-size:8px}
  .playground-bottom{left:16px;right:16px;padding:12px 0;font-size:7px}
  .note-star{width:34px;height:34px;font-size:27px}
  .key-caption strong{font-size:12px}
  .key-caption>span:last-child{font-size:10px}
  .notification-card{padding:17px;grid-template-columns:37px minmax(0,1fr);gap:12px;margin-bottom:22px}
  .notification-icon{width:37px;height:37px;border-radius:7px}
  .notification-copy h2{font-size:14px;gap:7px}
  .notification-copy p{font-size:12px}
  .notification-actions{grid-column:1/-1;margin-left:0;justify-self:stretch;padding-top:11px;max-width:none;gap:8px 13px}
  .notification-actions .text-button,.notification-actions .outline-button{font-size:13px}
  .notification-result{grid-column:1/-1;font-size:12px;margin:0}
  .stats{gap:12px;margin-bottom:32px;padding:0}
  .stats article,.stats article:first-child,.stats article:last-child,.stats article:nth-child(2),.stats article:nth-child(3){padding:18px 13px 15px;border:1px solid #d8dff1;border-bottom:3px solid #dfe5f5;gap:7px}
  .stats .label{font-size:13px}
  .stats strong{font-size:26px}
  .stats .stat-caption,.stats a{font-size:10px}
  .stats article:last-child .stat-caption{font-size:10px;line-height:1.7}
  .section-number{font-size:8px;padding:4px 6px}
  .calendar-index h2,.history-heading h2{font-size:21px;margin-top:10px}
  .calendar-index .legend{font-size:12px;gap:10px 15px}
  .calendar-panel .panel-head{margin-inline:-12px;padding:13px 12px}
  .calendar-title h2{font-size:15px}
  .calendar-panel .small-button{font-size:11px}
  .calendar-panel .weekdays{margin-inline:-12px;padding:12px;font-size:10px}
  .calendar .day{height:55px;gap:7px}
  .day-number{font-size:13px}
  .calendar-panel .calendar-footer{margin-inline:-12px;padding:12px;font-size:9px}
  .day-panel{padding:17px}
  .day-heading{padding-bottom:13px}
  .day-heading h2{font-size:15px}
  .day-heading .muted{font-size:10px}
  .activity-panel{padding-inline:13px;margin:21px 0 32px}
  .activity-panel summary{font-size:11px}
  .history-heading{align-items:flex-end}
  .data-actions .text-button{font-size:11px}
  .history-heading .data-actions{gap:12px}
  .tabs{gap:3px}
  .tabs button{font-size:11px;padding:8px 10px;min-height:34px}
  .search{width:100%}
  .search input{width:100%;font-size:13px}
  .history-row.tibo-event{padding:22px 0}
  .event-meta .record-date{font-size:10px}
  .event-meta .type-label{font-size:10px}
  .tibo-post{padding:16px}
  .tweet-original{font-size:12px}
  footer{padding:24px 0;gap:13px}
  footer,footer small{font-size:9px}
  dialog{padding:22px}
  form>label,.form-row>label{font-size:12px}
  input,select,textarea{font-size:16px}
}

/* Local Chinese tweet cards and multi-post editor. */
.local-tweet .tibo-author{display:flex}
.local-tweet .tibo-handle{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.local-tweet .tweet-body{font-size:16px;line-height:1.95;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;margin:21px 0}
.tweet-english{border-top:1px dashed var(--line);padding-top:13px;margin-bottom:18px}
.tweet-english summary{font-size:12px;color:var(--muted);cursor:pointer;width:fit-content;padding:4px 0}
.tweet-english p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:14px;color:var(--muted);padding-top:12px}
.tweet-card-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-top:4px}
.tweet-card-footer time{font-size:11px;line-height:1.7;color:var(--muted)}
.tweet-card-footer .tweet-original{margin:0 0 0 auto;flex-shrink:0}
.tweet-english summary::after,.post-original-field summary::after{content:' ＋';color:var(--blue)}
.tweet-english[open] summary::after,.post-original-field[open] summary::after{content:' −'}
.legacy-tweet-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.post-editor{border-block:1px dashed var(--line);padding:18px 0;margin-top:21px}
.post-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.post-editor-heading h3{font-size:15px;color:var(--blue)}
.post-editor>.muted{line-height:1.8;margin:9px 0 13px;font-size:12px}
.post-field{position:relative;min-width:0;border:1px solid var(--line);border-radius:6px;background:var(--soft);padding:16px;margin:16px 0 0}
.post-field legend{font-size:12px;color:var(--blue);padding:0 6px}
.post-field .remove-post{position:absolute;right:10px;top:-15px;background:var(--soft);min-height:30px;padding:4px 8px;font-size:12px}
.post-field label{display:flex;flex-direction:column;gap:7px;margin:12px 0 0;font-size:13px;color:#455a84}
.post-field label:first-of-type{margin-top:0}
.post-field input,.post-field textarea{display:block;width:100%;min-width:0;font-size:14px}
.post-original-field{margin-top:15px}
.post-original-field summary{font-size:12px;color:var(--muted);cursor:pointer;padding-block:4px}
.post-original-field label{margin-top:10px!important}
@media(max-width:760px){
  .local-tweet .tweet-body{font-size:16px;line-height:1.9;margin:18px 0}
  .tweet-card-footer{gap:10px}
  .tweet-card-footer time{font-size:10px}
  .post-field{padding:12px}
  .post-field input,.post-field textarea{font-size:16px}
}

/* Keep the author photo local so it also works without access to X. */
img.tibo-avatar{display:block;object-fit:cover;border-radius:50%;flex-shrink:0}

/* Private Tibo watch desk, using the same ticket palette as the public calendar. */
.monitor-panel{margin:24px 0 38px;border:1px dashed #b7c3e9;background:var(--soft);overflow:hidden}
.monitor-panel>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:20px 24px;cursor:pointer;min-height:76px}
.monitor-panel>summary strong{display:block;font-size:19px;color:var(--blue);margin-top:9px}
.monitor-panel>summary::after{content:'＋';color:var(--blue);font-size:20px}
.monitor-panel[open]>summary::after{content:'−'}
.monitor-panel>summary .pill{margin-left:auto}
.monitor-content{padding:0 24px 24px;border-top:1px dashed #c5cfee}
.monitor-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-top:20px;margin-bottom:14px}
.monitor-toolbar .pill.enabled{background:var(--lime);border-color:#c9e596;color:#30412b}
.monitor-description{font-size:13px;line-height:1.9;color:var(--ink);margin-bottom:7px}
.monitor-content>.muted{line-height:1.9;font-size:12px;margin:5px 0}
.monitor-error,.review-warning{font-size:13px;line-height:1.8;color:#8e4a20;background:#fff5e8;border:1px solid #ecd4b8;padding:10px 12px;border-radius:5px;overflow-wrap:anywhere}
.monitor-error{margin:14px 0}
.monitor-tabs{margin:19px 0 16px}
#monitor-drafts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#monitor-drafts>.empty{grid-column:1/-1}
.review-card{padding:20px;background:white;border:1px solid #cbd5ee;border-radius:7px;min-width:0}
.review-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:11px;color:var(--muted)}
.review-meta time{margin-left:auto}
.review-card h3{font-size:17px;line-height:1.7;margin:14px 0 8px;color:var(--ink);overflow-wrap:anywhere}
.review-card>p{font-size:14px;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}
.review-card>.review-warning{font-size:12px;color:#8e4a20;margin-top:12px}
.review-links{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);padding:16px 0;border-bottom:1px dashed var(--line);margin-bottom:14px}
.review-links a{color:var(--blue)}
.review-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.review-actions .primary{min-height:40px;padding:10px 13px}
.review-actions .text-button{font-size:12px}
.monitor-pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:20px}
.review-notification{border-top:1px dashed var(--line);padding-top:18px;margin-top:18px}
.review-notification>label{display:flex;flex-direction:column;gap:8px;margin-top:17px;font-size:13px}
.review-notification input,.review-notification textarea{width:100%}
.review-notification .notify-update-label{display:flex;flex-direction:row;align-items:center;font-size:12px;line-height:1.8}
.review-notification .notify-update-label input{width:17px;height:17px;flex-shrink:0;margin:0;accent-color:var(--blue)}
.review-notification>small{display:block;font-size:12px;line-height:1.8;color:var(--muted);margin-top:12px}
#editor.reviewing .remove-post{display:none}
#editor .dialog-footer{flex-wrap:wrap}
.hero-actions{flex-wrap:wrap}
@media(max-width:760px){
  .monitor-panel>summary{padding:17px}
  .monitor-content{padding:0 16px 18px}
  #monitor-drafts{grid-template-columns:minmax(0,1fr)}
  .review-card{padding:16px}
  .monitor-toolbar .primary,.monitor-toolbar .small-button{font-size:12px;min-height:42px}
  .review-meta{font-size:11px}
  .review-meta time{margin-left:0}
  .review-notification input,.review-notification textarea{font-size:16px}
}

/* Progressive disclosure keeps long archives short without hiding search results. */
.history-pagination{display:flex;flex-direction:column;align-items:center;gap:14px;padding:27px 0 13px}
.history-pagination p{font-size:12px;color:var(--muted);line-height:1.8}
.history-pagination .outline-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-width:210px;min-height:46px;border-style:dashed;background:var(--soft);color:var(--blue);font-size:14px}
.history-pagination .outline-button:hover{background:var(--lime);border-color:#adc864}
.history-context{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 15px;border:1px dashed #c5cfee;border-radius:5px;background:var(--soft);color:var(--muted);font-size:12px;margin-top:18px}
.history-context .text-button{font-size:12px;color:var(--blue);min-height:30px}
.history-context[hidden],.history-pagination[hidden]{display:none}
@media(max-width:760px){.history-pagination{padding-top:24px}.history-pagination .outline-button{width:100%;max-width:335px}.history-context{padding:9px 12px;gap:10px}}

/* Readable supporting text, with original reset-key and banked-ticket glyphs. */
.event-symbols{position:absolute;overflow:hidden;pointer-events:none}
.event-icon{display:inline-block;width:27px;height:27px;flex:0 0 auto;vertical-align:middle;overflow:visible}
[data-event-icon]{display:inline-flex;align-items:center}
.type-label{font-size:14px;gap:9px;line-height:1.6}
.type-label .event-icon{width:26px;height:26px}
.calendar-index .legend{font-size:14px;gap:12px 20px;line-height:1.6}
.calendar-index .legend>span{gap:8px;white-space:nowrap}
.calendar-index .legend .dot.note{margin-inline:8px}
.day-markers{min-height:19px;gap:4px}
.day-markers .event-icon{width:17px;height:17px}
.day.selected .event-icon--reset{filter:drop-shadow(0 0 1px #edf2ff)}
.day-number{font-size:15px;line-height:20px}
.calendar .day{height:73px;gap:6px}
.hero-description{font-size:15px;line-height:1.95;max-width:100%;text-wrap:pretty}
.brand-edition{font-size:13px}
.sponsor{font-size:14px}
.sponsor .ad-label{font-size:11px}
.primary,.outline-button{font-size:14px}
.small-button{font-size:13px;min-height:38px}
.latest-label{font-size:13px}
#receiver-type{font-size:11px}
.ticket-stub-label{font-size:12px}
.ticket-stub #receiver-date{font-size:13px}
.ticket-stub>small{font-size:10px}
.key-caption strong{font-size:14px}
.key-caption>span:last-child{font-size:12px}
.stats .label{font-size:15px}
.stats .stat-caption,.stats a{font-size:12px;letter-spacing:0}
.stats article:last-child .stat-caption{font-size:12px}
.stats strong{font-size:34px}
.stats small{font-size:12px}
.notification-copy h2{font-size:17px}
.notification-copy p{font-size:14px;line-height:1.85}
.notification-copy .pill,#notifications-status{font-size:12px}
.notification-actions .text-button,.notification-actions .outline-button{font-size:14px;min-height:42px}
.notification-result{font-size:13px;line-height:1.85}
.section-number,.section-meta{font-size:11px;line-height:1.6}
.calendar-title h2{font-size:20px}
#month-en{font-size:10px}
.calendar-panel .weekdays{font-size:13px}
.calendar-panel .calendar-footer{font-size:12px;line-height:1.7;flex-wrap:wrap}
.day-heading h2{font-size:18px}
.day-heading .muted{font-size:13px}
.day-heading .pill{font-size:12px}
.day-event .type-label{font-size:14px}
.day-event h3{font-size:15px}
.day-event .tweet-link,.day-event .edit-button,.add-day{font-size:13px}
.empty strong{font-size:15px}
.empty p{font-size:13px}
.activity-panel summary{font-size:14px}
.activity-panel .activity-footer{font-size:12px}
.heat-month-label{font-size:12px}
.history-heading .section-meta{font-size:12px}
.data-actions .text-button,.archive-caption{font-size:13px}
.tabs button{font-size:14px;min-height:40px}
.search input{font-size:14px}
.event-meta{flex-wrap:wrap;gap:10px 14px}
.event-meta .record-date{font-size:13px}
.event-meta .type-label{font-size:14px;font-weight:500;color:#46577d}
.event-meta .row-actions .edit-button,.permalink{font-size:14px}
.local-tweet .tibo-author strong{font-size:17px}
.local-tweet .tibo-handle{font-size:13px}
.local-tweet .tweet-body{font-size:17px}
.tweet-english summary{font-size:13px;min-height:32px;display:flex;align-items:center}
.tweet-english p{font-size:15px}
.tweet-card-footer time{font-size:12px}
.tweet-original{font-size:14px;min-height:42px}
.history-pagination p,.history-context,.history-context .text-button{font-size:13px}
footer,footer small{font-size:12px;line-height:1.8}
footer b,footer #admin-toggle{font-size:12px}
form>label,.form-row>label,.post-field label,.review-notification>label{font-size:14px}
form>label>small,.optional,.post-editor>.muted,.post-field legend,.post-original-field summary{font-size:12px;line-height:1.8}
input,select,textarea{font-size:15px}
.monitor-description{font-size:14px}
.monitor-content>.muted,.review-meta,.review-links{font-size:13px}
.review-card>.review-warning,.review-actions .text-button{font-size:13px}
@media(max-width:1000px){
  .stats .label{font-size:15px}
  .stats .stat-caption,.stats a,.stats article:last-child .stat-caption{font-size:12px}
  .stats strong{font-size:30px}
}
@media(max-width:760px){
  .hero-description{font-size:14px}
  .sponsor{font-size:12px}
  .sponsor .ad-label{font-size:10px}
  .hero-actions .primary,.hero-actions .outline-button{font-size:14px}
  .latest-label{font-size:12px}
  .ticket-stub-label{font-size:12px}
  .ticket-stub #receiver-date{font-size:12px}
  .ticket-stub>small{font-size:10px}
  .key-caption strong{font-size:13px}
  .key-caption>span:last-child{font-size:11px}
  .stats article,.stats article:first-child,.stats article:last-child,.stats article:nth-child(2),.stats article:nth-child(3){grid-template-columns:minmax(0,1fr) auto;padding:17px 12px 15px;column-gap:6px;row-gap:8px}
  .stats .label{font-size:14px;line-height:1.6}
  .stats strong{font-size:27px;grid-row:1;align-self:center}
  .stats .stat-caption,.stats a,.stats article:last-child .stat-caption{font-size:11px;grid-column:1/-1;grid-row:2;line-height:1.8}
  .stats small{font-size:11px;margin-left:4px}
  .notification-copy h2{font-size:16px}
  .notification-copy p{font-size:13px}
  .notification-actions .text-button,.notification-actions .outline-button{font-size:13px}
  .section-number,.section-meta{font-size:10px}
  .calendar-index .legend{font-size:13px;gap:10px 15px}
  .calendar-index .legend .event-icon{width:24px;height:24px}
  .calendar-title h2{font-size:17px}
  .calendar-panel .small-button{font-size:13px}
  .calendar-panel .weekdays{font-size:12px}
  .calendar .day{height:64px;padding-inline:0;gap:5px}
  .day-number{font-size:14px}
  .day-markers{gap:2px;min-height:16px}
  .day-markers .event-icon{width:12px;height:12px}
  .day-markers .more-events{position:absolute;bottom:2px;right:2px;font-size:8px}
  .calendar-panel .calendar-footer{font-size:11px;gap:6px 12px}
  .day-heading h2{font-size:17px}
  .day-heading .muted{font-size:12px}
  .activity-panel summary{font-size:13px}
  .activity-panel .section-meta{font-size:9px}
  .activity-panel .activity-footer{font-size:11px;line-height:1.8}
  .data-actions .text-button{font-size:12px}
  .tabs{flex-wrap:wrap;gap:4px}
  .tabs button{font-size:13px;padding:8px 10px;min-height:40px}
  .search input{font-size:16px}
  .event-meta{gap:8px 11px}
  .event-meta .record-date{font-size:12px}
  .event-meta .type-label{font-size:13px}
  .type-label .event-icon{width:25px;height:25px}
  .local-tweet .tibo-author strong{font-size:16px}
  .local-tweet .tweet-body{font-size:16px}
  .tweet-card-footer time{font-size:12px}
  .tweet-original{font-size:13px}
  .tweet-card-footer{align-items:flex-start}
  footer,footer small,footer b,footer #admin-toggle{font-size:11px}
  form>label,.form-row>label{font-size:14px}
  input,select,textarea,.post-field input,.post-field textarea{font-size:16px}
  .monitor-toolbar .primary,.monitor-toolbar .small-button{font-size:13px}
  .monitor-content>.muted,.review-meta,.review-links{font-size:12px}
}
@media(max-width:350px){.day-markers .event-icon{width:10px;height:10px}.stats .label{font-size:13px}}

/* Bold silhouettes stay legible at calendar-marker sizes. */
.event-icon{width:34px;height:34px}
.calendar-index .legend .event-icon{width:34px;height:34px}
.calendar-index .legend>span{gap:9px}
.type-label .event-icon{width:30px;height:30px}
.day-markers{min-height:20px}
.day-markers .event-icon{width:20px;height:20px}
.day.selected .event-icon--reset{filter:drop-shadow(0 0 1px #fff)}
@media(max-width:760px){
  .calendar-index .legend .event-icon{width:32px;height:32px}
  .calendar-index .legend{gap:10px 14px}
  .type-label .event-icon{width:28px;height:28px}
  .day-markers{min-height:18px}
  .day-markers .event-icon{width:16px;height:16px}
  .day-markers:has(>:nth-child(3)) .event-icon{width:12px;height:12px}
}

/* Editable sponsor slot and its private preview. */
.sponsor{min-width:0;max-width:min(420px,48%);flex-shrink:1}
.sponsor[hidden]{display:none}
#sponsor-name,#sponsor-preview-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.sponsor .ad-label,.sponsor .sponsor-arrow{flex-shrink:0}
.sponsor-form-description{font-size:14px;line-height:1.8;color:var(--muted);margin:17px 0}
#sponsor-form>.sponsor-enabled{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:14px;min-height:40px;margin:0 0 16px}
.sponsor-enabled input{width:18px;height:18px;margin:0;accent-color:var(--blue);flex-shrink:0}
#sponsor-form .form-row{grid-template-columns:1fr}
#sponsor-form label small{font-size:12px;color:var(--muted);line-height:1.8}
.sponsor-preview{background:var(--soft);border:1px dashed #bac6e8;border-radius:7px;padding:18px;margin:20px 0 16px;overflow:hidden}
.sponsor-preview .section-number{display:block;margin-bottom:14px}
.sponsor-preview .ad-preview-ticket{display:inline-flex;max-width:100%;width:fit-content;vertical-align:middle;cursor:default}
.sponsor-preview .preview-disabled{opacity:.45}
.sponsor-preview p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:12px;overflow-wrap:anywhere}
.sponsor-preview #sponsor-preview-url{font-family:var(--mono);font-size:11px;margin-top:5px}
@media(max-width:760px){.sponsor{max-width:54%}.sponsor-preview{padding:15px}#sponsor-form input{font-size:16px}#sponsor-form .sponsor-enabled input{width:18px;height:18px}}

/* Searchable public pages retain the reset-ticket identity. */
.site-footer{display:block;font-size:13px;line-height:1.8}
.site-footer .footer-top,.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-footer .footer-notice{text-align:right;font-size:12px}
.site-footer .footer-notice small{font-size:12px}
.site-footer .footer-bottom{margin-top:20px;padding-top:18px;border-top:1px dashed var(--line);justify-content:flex-end}
/* Compact author menu sits immediately before the sponsor ticket. */
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:0}
.author-contact{position:relative;flex-shrink:0;color:var(--ink);z-index:20}
.contact-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #c7d2ed;border-radius:999px;background:var(--surface);color:#314c83;font-size:13px;font-weight:600;cursor:pointer;list-style:none;white-space:nowrap;user-select:none}
.contact-toggle::-webkit-details-marker{display:none}
.contact-toggle::marker{content:""}
.contact-person{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.contact-chevron{width:12px;height:12px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.contact-toggle:hover{border-color:var(--blue);background:var(--soft);color:var(--blue)}
.author-contact[open]>.contact-toggle{background:var(--blue);border-color:var(--blue);color:#fff}
.author-contact[open] .contact-chevron{transform:rotate(180deg)}
.contact-toggle:focus-visible,.author-social:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.contact-panel{position:absolute;top:calc(100% + 12px);right:0;width:252px;max-width:calc(100vw - 40px);padding:10px;border:1px solid #c7d2ed;border-radius:16px;background:var(--surface);box-shadow:0 14px 40px #2733a51c;overflow:hidden}
.contact-detail{display:flex;align-items:center;gap:12px;min-height:48px;padding:9px 10px;border-radius:9px;font-size:14px;color:#314c83}
.contact-channel{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:8px;background:var(--soft);color:var(--blue);font-size:12px;font-weight:700}
.author-qq-number{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;user-select:all}
.contact-arrow{margin-left:auto;color:var(--blue);font-size:17px}
.author-social:hover{background:var(--soft);color:var(--blue)}
.footer-navigation{flex-shrink:0;font-size:12px}
.footer-navigation:empty{display:none}
.site-footer .footer-navigation #admin-toggle{font-size:12px;min-height:42px;padding:7px 0}
.topbar{display:flex;gap:18px;padding-block:16px}
.topbar .header-actions{margin-left:auto}
.header-actions>.sponsor{max-width:280px}
@media(max-width:1020px){.topbar .brand-edition{display:none}}
@media(max-width:620px){
  .topbar{flex-wrap:wrap;gap:14px;padding-block:16px}
  .topbar .header-actions{position:relative;flex-basis:100%;justify-content:flex-end;gap:10px}
  .topbar .author-contact{position:static}
  .header-actions>.sponsor{max-width:calc(100% - 140px)}
  .contact-panel{left:auto;right:0}
}
@media(max-width:760px){
  .site-footer .footer-top,.site-footer .footer-bottom{flex-wrap:wrap;gap:14px}
  .site-footer .footer-notice{text-align:left}
  .site-footer .footer-bottom{margin-top:16px;padding-top:16px}
  .footer-navigation{margin-left:auto}
}

.hero h1 .hero-topic{display:block;font-size:15px;line-height:1.6;letter-spacing:1.5px;font-weight:600;color:var(--blue);margin-bottom:10px}
.ticket-stub .ticket-source-time{font-size:11px;line-height:1.6;color:#475886;white-space:nowrap;letter-spacing:0}
.ticket-stub .ticket-source-time[hidden]{display:none}
.record-permalink{display:inline-flex;align-items:center;flex-shrink:0}
.record-permalink:hover .record-date{background:var(--lime);color:var(--blue)}
.archive-link{display:inline-flex;align-items:center;min-height:36px;font-size:13px;color:var(--blue);text-decoration:underline;text-decoration-color:#b9c4e7;text-underline-offset:4px}
.archive-page{max-width:920px;padding-top:32px}
.breadcrumbs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);line-height:1.8}
.breadcrumbs a{color:var(--blue)}
.archive-intro{padding:32px 0 22px;border-bottom:1px dashed var(--line)}
.archive-intro h1{font-size:34px;line-height:1.55;margin:12px 0;color:var(--ink);letter-spacing:-.8px;overflow-wrap:anywhere}
.archive-intro p{font-size:15px;color:var(--muted);line-height:1.9}
.archive-intro .pill{display:inline-block;margin-top:16px;font-size:12px}
.archive-records .post-stack{max-width:100%}
.archive-navigation{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;padding:28px 0 18px;font-size:13px;color:var(--muted)}
.archive-navigation a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.archive-empty{padding:50px 20px;text-align:center;color:var(--muted);font-size:15px}
.history-heading{flex-wrap:wrap;gap:12px}
@media(max-width:760px){
  .hero h1 .hero-topic{font-size:14px;letter-spacing:1px;margin-bottom:9px}
  .ticket-stub .ticket-source-time{font-size:10px}
  .archive-page{padding-top:23px}
  .archive-intro{padding-top:25px}
  .archive-intro h1{font-size:27px;line-height:1.6}
  .archive-intro p{font-size:14px}
  .archive-navigation{gap:12px}
}
