:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#242424;background:#fff;font-synthesis:none;line-height:1.6}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
main{width:100%;max-width:560px;margin:0 auto;padding:36px 20px 24px}
h1{font-size:24px;line-height:1.4;margin:0 0 10px;font-weight:650;letter-spacing:-.4px}
header p{font-size:14px;color:#737373;margin:0;max-width:32em}
header{margin-bottom:28px}
button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:focus-visible,textarea:focus-visible{outline:3px solid #b62229;outline-offset:3px}
button:disabled{opacity:.4;cursor:default}
.calendar-panel{border-top:1px solid #e9e9e9;padding-top:16px}
.month-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
h2{font-size:18px;font-weight:600;margin:0}
.month-nav button{width:44px;height:44px;border:1px solid #e9e9e9;border-radius:10px;background:#fff;font-size:27px;line-height:1}
.week,.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.week{font-size:12px;color:#8b8b8b;margin-bottom:9px}
.day{width:100%;height:48px;border:0;background:transparent;border-radius:10px;font-size:16px;font-variant-numeric:tabular-nums}
.day:hover{background:#f6f6f6}
.day.active,.day.active:hover{background:#b62229;color:white;font-weight:600}
#notice{font-size:12px;color:#777;margin:12px 0 0;min-height:20px}
.detail{margin-top:20px;padding:20px;background:#f7f7f7;border-radius:12px}
#detail-status{font-size:18px;font-weight:600;margin:14px 0 4px}
#detail-status.available{color:#267047}
#detail-status.unavailable{color:#656565}
#detail-status.unknown{color:#87622e}
#detail-text{font-size:14px;color:#707070;margin:8px 0 0}
.primary{display:block;width:100%;min-height:46px;border:0;border-radius:8px;background:#b62229;color:white;font-weight:550;margin-top:18px}
.retry{background:white;border:1px solid #ddd;border-radius:8px;padding:8px 16px;margin-top:14px;min-height:44px;font-size:14px}
#copy-status{font-size:13px;margin:10px 0 0;color:#666}
#copy-status:empty{display:none}
textarea{width:100%;min-height:110px;margin-top:10px;padding:10px;border:1px solid #ccc;border-radius:6px;font:inherit;font-size:14px;resize:vertical}
.updated{color:#909090;font-size:11px;margin:16px 0;text-align:center;overflow-wrap:anywhere}
footer{font-size:12px;text-align:center;line-height:1.9;color:#909090;margin-top:28px}
@media(max-width:360px){main{padding:26px 12px 20px}h1{font-size:22px}.detail{padding:16px}.day{height:44px}.week,.calendar{gap:2px}}
