:root{--ink:#16171a;--muted:#62646a;--line:#e5e7ea;--bg:#f5f6f9;--orange:#ff611b;--red:#e9550b;--peach:#fff0e7;--green:#18862a;--edge:12px;--safe:env(safe-area-inset-bottom,0px);font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;color:var(--ink);background:#e8eaed;font-synthesis:none;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible{outline:3px solid #276fb1;outline-offset:2px}h1,h2,h3,p{margin:0}svg.ic{display:inline-block;width:1.3em;height:1.3em;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
#app{max-width:430px;margin:0 auto;min-height:100vh;min-height:100dvh;background:var(--bg);position:relative;box-shadow:0 0 36px #1c263315}
@media(min-width:600px){#app{max-width:390px}dialog{max-width:390px!important}}
.page{min-height:100vh;min-height:100dvh;padding-bottom:18px}.has-nav{padding-bottom:calc(76px + var(--safe))}.has-foot{padding-bottom:calc(91px + var(--safe))}
.top{height:57px;background:var(--orange) url('./assets/nav.jpg') center/100% 100%;color:#fff;display:flex;align-items:center;justify-content:center;position:relative}.top h1{font-size:21px;line-height:1.3}.back{position:absolute;left:0;width:48px;height:53px;display:grid;place-items:center}.back .ic{width:23px;height:23px}
.tabs,.footer{position:fixed;z-index:3;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,430px);background:#fff;border-top:1px solid var(--line);padding-bottom:var(--safe)}@media(min-width:600px){.tabs,.footer{max-width:390px}}.tabs{display:flex}.tabs button{height:61px;flex:1;display:grid;align-content:center;justify-items:center;gap:3px;font-size:13px}.tabs .ic{width:24px;height:24px}.tabs .on{color:var(--orange);font-weight:bold}
.btn{padding:9px 16px;background:var(--orange);color:white;border:1px solid var(--orange);border-radius:10px;font-size:16px;font-weight:700;line-height:1.25}.btn.outline{background:white;color:var(--red);border-color:var(--orange)}.btn:disabled{background:#eaebed;border-color:#eaebed;color:#75777a}.footer{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 16px calc(16px + var(--safe));min-height:72px}.footer .btn{min-width:45%;min-height:44px}.footer .sum{display:grid;gap:1px;color:var(--muted);font-size:12px}.sum strong,.price{font-size:22px;color:var(--red)}.footer .big-price{font:bold 31px/1.2 Arial,sans-serif;color:var(--orange)}
.mast{position:relative;aspect-ratio:390/230;background:url('./assets/mast.jpg') center/100% 100%}.mast>.brand{position:absolute;left:2.13%;top:23.26%;width:71.62%;height:61.26%}.city{position:absolute;left:5.2%;top:6.4%;display:flex;align-items:center;gap:4px;font-size:17px;color:white;font-weight:bold}.city .ic{width:19px}.city small{font-size:13px}
.home-card{margin-top:-6px;position:relative;background:white;border-radius:17px;padding:16px 14px 13px}.venue-summary{display:grid;grid-template-columns:35% 1fr;gap:12px}.summary-photo{width:100%;aspect-ratio:127/137;object-fit:cover;border-radius:10px;display:block}.summary-copy{min-width:0;display:flex;flex-direction:column;justify-content:space-between}.venue-title,.book-line,.flexline{display:flex;justify-content:space-between;align-items:center;gap:5px}.venue-title h2{font-size:20px;white-space:nowrap}.link{font-size:13px;color:var(--red);font-weight:bold}.meta{display:flex;align-items:center;gap:5px;font-size:13px;line-height:1.65}.meta .ic{color:var(--muted);width:15px}.book-line strong{font-size:20px;color:var(--orange)}.book-line .btn{padding:8px 15px;white-space:nowrap}.home-shortcuts{margin-top:15px;border-top:1px solid var(--line);padding:18px 0 21px;display:flex}.home-shortcuts button{flex:1;display:grid;justify-items:center;gap:7px;font-size:16px;font-weight:bold}.home-shortcuts .ic{width:46px;height:46px;color:var(--orange)}.reminder{width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:10px 12px;background:#ffebe0;border-radius:10px;font-size:15px;min-height:42px}.reminder .ic{color:var(--orange)}.reminder .end{margin-left:auto}
.courts{padding:13px 14px 0}.courts h2{font-size:21px;margin:0 0 11px}.court-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.court-card{border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden;text-align:left;position:relative;padding-bottom:8px}.court-card img{width:100%;aspect-ratio:175/92;object-fit:cover;display:block}.court-card b,.court-card strong{display:block;margin:4px 10px 0;font-size:16px}.court-card strong{color:var(--orange)}.court-card .ic{position:absolute;bottom:16px;right:10px;width:16px;color:var(--muted)}
.slots{background:white}.slots-main{padding:15px 14px 10px}.address{width:100%;height:43px;display:flex;align-items:center;gap:8px;padding:0 13px;background:#ffe9de;border-radius:9px;font-size:17px;font-weight:bold;text-align:left}.address .ic{color:var(--orange);width:19px}.panorama{width:100%;display:block;aspect-ratio:364/139;object-fit:cover;border-radius:9px;margin-top:12px}.venue-heading{font-size:23px;margin:10px 0 21px}.dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.date,.slot{min-width:0;background:#fafafa;border:1px solid var(--line);border-radius:8px;display:grid;place-content:center;gap:3px}.date{background:white;min-height:62px;font-size:14px}.date b,.slot b{font-size:18px}.date.on,.slot.on,.switch .on,.filter.on{background:var(--orange);color:white;border-color:var(--orange)}.switch{margin:25px 0 21px;padding:3px;display:flex;border:1px solid var(--line);border-radius:6px;background:#f3f4f7}.switch button{width:50%;height:36px;font-weight:bold;border-radius:5px}.times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px}.slot{height:66px}.slot span{font-size:15px;color:var(--green);font-weight:bold}.slot.on span{color:white}.slot:disabled{background:#f0f1f4}.slot:disabled span{color:var(--muted)}.slots .footer{min-height:77px}.slots .footer .btn{font-size:18px;width:51%;height:47px}
.content{padding:15px 12px;display:grid;gap:13px}.card,.venue-mini,.entry-card,.order-card{background:white;border:1px solid var(--line);border-radius:12px}.card{padding:7px 13px}.card h2{font-size:18px;margin:9px 0}.venue-mini{padding:11px;display:flex;align-items:center;gap:12px;text-align:left;width:100%}.venue-mini img,.order-head img{width:89px;height:66px;object-fit:cover;border-radius:6px}.venue-mini strong,.order-head strong{font-size:18px;display:block;margin-bottom:6px}.venue-mini small,.order-head small{font-size:13px;color:var(--muted)}.venue-mini>.ic{width:15px;margin-left:auto;color:var(--muted)}.row{min-height:42px;display:flex;align-items:center;gap:10px;width:100%;text-align:left;font-size:14px}.row+.row{border-top:1px solid #eef0f2}.row i{font-style:normal;color:var(--muted);margin-left:auto;font-size:13px;text-align:right}.row b{margin-left:auto;font-size:14px}.row>.ic{width:17px;height:17px}.row .chev{width:13px;color:var(--muted)}.row.action i{color:var(--red)}.terms{display:flex;align-items:center;gap:6px;min-height:44px;color:var(--red);font-size:14px}.terms input{accent-color:var(--orange);width:17px;height:17px}
.receipt{text-align:center;padding:42px 12px 18px}.tick{width:48px;height:48px;margin:auto;background:#318052;color:white;border-radius:50%;display:grid;place-items:center}.tick .ic{width:29px;height:29px}.receipt h2{font-size:22px;margin-top:13px}.receipt strong{display:block;font-size:30px;color:var(--red);margin:5px 0 11px}.receipt small{color:var(--muted)}.receipt-body{margin-top:17px}.receipt-actions{padding:25px 18px 0;display:grid;gap:12px}.receipt-actions .btn{min-height:45px}
.filters{display:flex;gap:5px;margin:11px 12px 15px}.filter{flex:1;min-width:0;font-size:13px;border-radius:6px;background:white;min-height:34px}.orders{margin:0 12px;display:grid;gap:15px}.order-card{padding:12px}.order-head{display:flex;align-items:flex-start;gap:12px;position:relative;min-height:82px;border-bottom:1px solid var(--line)}.order-head .status{margin-left:auto;color:var(--red);white-space:nowrap;font-weight:bold;font-size:13px}.order-head strong{font-size:17px}.order-info{display:flex;align-items:center;gap:12px;font-size:14px;margin:11px 0}.order-info .ic{width:17px}.order-card .btn{font-size:13px;padding:7px 14px;border-radius:7px}.order-card .price{font-size:18px}.empty{text-align:center;color:var(--muted);padding:62px 0}.empty .ic{width:34px;height:34px;display:block;margin:0 auto 12px}
.entry-card{overflow:hidden;text-align:center}.entry-band{background:#ff7938;color:white;text-align:left;position:relative;overflow:hidden;padding:11px 17px;height:84px;display:grid;align-content:center;gap:6px}.entry-band strong{font-size:19px;z-index:1}.entry-band .ic{position:absolute;right:-5px;top:0;width:93px;height:93px;color:#ffaa6d}.entry-content{padding:21px 23px 17px;min-height:350px}.entry-time{display:inline-block;background:#ffe8db;color:var(--red);font-weight:bold;padding:5px 17px;border-radius:18px}.entry-content h2{font-size:27px;margin:13px 0 22px}.entry-symbol{height:76px;display:grid;place-items:center;color:var(--orange)}.entry-symbol .ic{width:72px;height:72px;stroke-width:1.4}.entry-symbol.gray{color:#96989b}.entry-symbol.success .ic{color:var(--green);width:70px;height:70px;border:3px solid;border-radius:100%;padding:12px}.entry-content p{margin:15px 0 23px;color:var(--muted)}.entry-content .btn{width:100%;min-height:46px}.pass-link{display:block;margin:10px auto 0;color:var(--red);font-size:14px}
.profile{padding:20px 12px;text-align:center;min-height:100vh;background:url('./assets/mypage.jpg') center/100% 100%}.profile h1{text-align:left;font-size:25px}.avatar{display:block;width:104px;height:104px;margin:36px auto 0;border:3px solid white;border-radius:50%}.profile h2{margin:5px 0 32px}.gold{display:flex;align-items:center;gap:12px;padding:17px;width:100%;border-radius:10px;background:#ffda88;font-size:18px;font-weight:bold}.profile-tools{margin-top:22px;padding:24px 2px;background:white;border-radius:12px;display:flex}.profile-tools button{flex:1;display:grid;justify-items:center;gap:7px}.profile-tools .ic{width:26px;height:26px}
dialog{border:0;border-radius:17px 17px 0 0;padding:0;width:min(100%,430px);max-width:none;margin:auto auto 0;color:var(--ink);max-height:85dvh}dialog::backdrop{background:#18181a66}.sheet{padding:18px 18px calc(20px + var(--safe))}.sheet h2{font-size:19px}.sheet header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.sheet .close{background:#f1f2f4;border-radius:50%;width:30px;height:30px;font-size:20px}.sheet p{margin:10px 0;line-height:1.6;color:var(--muted);font-size:14px}.sheet .btn{width:100%;margin-top:12px}.option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 12px;margin:8px 0;border-radius:8px;background:#f6f7f9;text-align:left}.option.selected{color:var(--red);background:var(--peach)}.code{text-align:center;letter-spacing:4px;font-size:30px;margin:23px 0}.toast,#toast{pointer-events:none}#toast{position:fixed;z-index:9;bottom:95px;left:50%;transform:translateX(-50%);max-width:90%;text-align:center;color:white;background:#242424ed;border-radius:9px;padding:10px 15px;font-size:13px}#toast:empty{display:none}
@media(max-width:365px){.venue-title h2{font-size:17px}.summary-copy .meta{font-size:11px}.book-line .btn{font-size:14px;padding:7px 9px}.order-head img{width:67px;height:56px}.venue-heading{margin-bottom:14px}}

