/* 作者：阿驰聊科技。自有代码限非商业使用，详见 LICENSE。 */
input:is([type=date],[type=month],[type=time],[type=datetime-local]){cursor:pointer}
.date-wheel-dialog{--wheel-text:#edf3fa;--wheel-muted:#c0cfdf;--wheel-line:#dfebff42;--wheel-accent:#c5d3ff;--wheel-bg1:#4b5c7b80;--wheel-bg2:#223049a8;--wheel-panel:#b8ccec16;color-scheme:dark;width:min(470px,calc(100vw - 26px));max-width:none;max-height:calc(100dvh - 26px);padding:23px;border:1px solid var(--wheel-line);border-radius:25px;background:linear-gradient(145deg,var(--wheel-bg1),var(--wheel-bg2));backdrop-filter:blur(18px) saturate(120%);box-shadow:inset 0 1px 0 #fff3,0 24px 75px #06122466;color:var(--wheel-text);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;overflow:auto}
.date-wheel-dialog[data-theme=journal],.date-wheel-dialog[data-theme=polaroid]{--wheel-text:#46503d;--wheel-muted:#6a745f;--wheel-line:#818d6c55;--wheel-accent:#657857;--wheel-bg1:#f5f0dfb0;--wheel-bg2:#dddccbad;--wheel-panel:#788a6820;color-scheme:light}
.date-wheel-dialog[data-theme=drift]{--wheel-bg1:#36576491;--wheel-bg2:#1c3344b3;--wheel-accent:#c0e0dc;--wheel-panel:#b6ded41b}
.date-wheel-dialog::backdrop{background:#0d1a2c38;backdrop-filter:blur(2px)}
.date-wheel-dialog .date-wheel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 14px;padding:0}
.date-wheel-dialog .date-wheel-heading small{font-size:9px;letter-spacing:.12em;color:var(--wheel-muted)}
.date-wheel-dialog .date-wheel-heading h2{font-size:23px;font-weight:500;line-height:1.5;margin:5px 0 0;color:var(--wheel-text)}
.date-wheel-dialog .date-wheel-close{width:37px;height:37px;flex:none;padding:0;border:1px solid var(--wheel-line);border-radius:50%;background:var(--wheel-panel);color:var(--wheel-text);font-size:23px;line-height:1;font-family:inherit;cursor:pointer}
.date-wheel-dialog .date-wheel-caption{margin:0 0 18px;text-align:center;font-size:13px;line-height:1.8;letter-spacing:.04em;color:var(--wheel-muted)}
.date-wheel-dialog .date-wheel-body{position:relative;display:flex;gap:0;isolation:isolate;margin:0 -3px;min-height:210px}
.date-wheel-dialog .date-wheel-column{position:relative;min-width:0;flex:1;margin:0;padding:0}
.date-wheel-dialog .date-wheel-highlight{position:absolute;z-index:-1;left:1px;right:1px;top:84px;height:42px;border:1px solid var(--wheel-line);border-radius:11px;background:var(--wheel-panel);pointer-events:none}
.date-wheel-dialog .date-wheel-list{height:210px;padding:84px 0;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;mask-image:linear-gradient(transparent,#000 28%,#000 72%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 28%,#000 72%,transparent);outline:none;box-sizing:border-box}
.date-wheel-dialog .date-wheel-list::-webkit-scrollbar{display:none}
.date-wheel-dialog .date-wheel-list:focus-visible{border-radius:11px;background:linear-gradient(transparent 84px,#b9d1ef0e 84px,#b9d1ef0e 126px,transparent 126px)}
.date-wheel-dialog .date-wheel-option{display:block;scroll-snap-align:center;width:100%;height:42px;min-height:42px;max-height:42px;margin:0;padding:0 2px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--wheel-muted);opacity:.62;transform:scale(.88);font:400 19px/42px -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;white-space:nowrap;cursor:pointer;transition:color .16s ease,opacity .16s ease,transform .16s ease;box-sizing:border-box}
.date-wheel-dialog .date-wheel-option[aria-selected=true]{color:var(--wheel-text);opacity:1;transform:scale(1);font-weight:550}
.date-wheel-dialog[data-columns="5"],.date-wheel-dialog[data-columns="6"]{width:min(620px,calc(100vw - 24px))}
.date-wheel-dialog[data-columns="5"] .date-wheel-option,.date-wheel-dialog[data-columns="6"] .date-wheel-option{font-size:16px}
.date-wheel-dialog .date-wheel-hint{margin:15px 0 20px;color:var(--wheel-muted);font-size:11px;line-height:1.8;text-align:center}
.date-wheel-dialog .date-wheel-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:0;padding:0}
.date-wheel-dialog .date-wheel-actions button{min-height:40px;flex:1;margin:0;padding:8px 13px;border:1px solid var(--wheel-line);border-radius:99px;background:var(--wheel-panel);color:var(--wheel-text);font:500 13px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;cursor:pointer}
.date-wheel-dialog .date-wheel-actions .date-wheel-confirm{background:var(--wheel-accent);color:#243149;border-color:transparent}
.date-wheel-dialog:is([data-theme=journal],[data-theme=polaroid]) .date-wheel-actions .date-wheel-confirm{color:#fffdf3}
.date-wheel-dialog .date-wheel-actions [hidden]{display:none!important}.date-wheel-dialog .date-wheel-actions button:disabled{opacity:.45;cursor:not-allowed}
.date-wheel-dialog button:focus-visible{outline:2px solid var(--wheel-accent);outline-offset:3px}
@media(max-width:600px){.date-wheel-dialog{padding:20px;border-radius:23px}.date-wheel-dialog .date-wheel-heading h2{font-size:21px}.date-wheel-dialog .date-wheel-option{font-size:18px}.date-wheel-dialog .date-wheel-actions button{font-size:12px}.date-wheel-dialog[data-columns="5"] .date-wheel-option,.date-wheel-dialog[data-columns="6"] .date-wheel-option{font-size:12px}}
@media(prefers-reduced-motion:reduce){.date-wheel-dialog .date-wheel-option{transition:none}}
