
html{-webkit-text-size-adjust:100%;scroll-padding-top:90px}body{margin:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c76b35;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}.mobile-nav{display:none}.wrap,.entry,section,.filters,.duo,article{min-width:0}.top-pair strong{overflow-wrap:anywhere}.mobile-help summary{cursor:pointer;padding:14px 0;font-size:15px;font-weight:700}.mobile-help summary::marker{color:#b45a32}.mobile-help .cards{margin-top:10px}button,.btn{min-height:44px}.mobile-shortcuts{display:none}
@media(max-width:760px){
 :root{--bottom-nav:72px}html{scroll-padding-top:90px}body{padding-bottom:calc(var(--bottom-nav) + env(safe-area-inset-bottom,0px));font-size:15px}header{position:sticky;top:0;z-index:30;min-height:61px;height:auto;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;background:#fff9f0f5;backdrop-filter:blur(12px)}header>a{white-space:nowrap;text-decoration:none}header .sun-brand{font-size:10px}header>nav{display:none}header .brand{font-size:21px}header .header-meta{display:none}header .actions{gap:0}header .button{padding:9px 11px;font-size:11px}.mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:50;min-height:var(--bottom-nav);padding:8px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left));background:#fffdf8fa;border-top:1px solid #eadbc9;box-shadow:0 -3px 20px #63371d0b;backdrop-filter:blur(12px);gap:4px}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;border:0;border-radius:10px;text-decoration:none;color:#806b5c;font-size:11px;padding:5px 1px;white-space:nowrap}.mobile-nav a[aria-current=page]{color:#a74a24;background:#ffecd6;font-weight:700}.mobile-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.wrap{padding:0 16px;margin:23px auto}.wrap>.back{font-size:12px;margin-bottom:10px}.wrap>h1{font-size:27px;letter-spacing:-.055em;line-height:1.35;margin:15px 0 10px}.wrap>.muted{font-size:14px;line-height:1.65;margin-top:0}h2{font-size:20px;line-height:1.45;margin:0 0 15px}h3{font-size:18px}.notice{padding:12px 14px;margin:16px 0;font-size:12px;line-height:1.75;border-radius:0 7px 7px 0}section{padding:18px 16px;border-radius:13px;margin-bottom:16px}.entry{display:flex;flex-direction:column;gap:0}.entry>section:first-child{box-shadow:0 5px 18px #9c62200c}.entry>section>h2{margin-bottom:10px}.intro,.rules,.privacy{font-size:13px;line-height:1.8}.field{margin:14px 0}.field label,label{font-size:13px;margin-bottom:6px}select,input,textarea{min-height:48px;font-size:16px;padding:11px 12px;border-radius:9px;background:#fff;width:100%;max-width:100%;min-width:0}input[type=date],input[type=month]{min-height:48px;appearance:none;-webkit-appearance:none;display:block}input[type=checkbox]{min-height:22px;width:22px!important;flex:none}.duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.duo .field{margin:10px 0 16px}.score-buttons{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 3px 18px}.score-buttons button{min-height:85px;border-radius:12px;padding:14px 8px;font-size:13px}.score-buttons button b{font-size:31px;line-height:1.3}.score-buttons button.chosen{outline-width:3px}.score-buttons button.chosen:after{content:'선택됨';display:block;font-size:11px;margin-top:3px}#save-record{width:100%;font-size:17px;font-weight:700;min-height:54px;border-radius:11px;margin-top:5px}.helper{font-size:13px;line-height:1.7;margin-bottom:0}.helper:empty{display:none}.rank-head{gap:8px}.rank-head h2{margin-bottom:4px}.pill{font-size:10px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#f4e6d5;padding:5px;border-radius:11px;margin:18px 0}.tabs button{min-height:44px;border:0;border-radius:8px;font-size:15px}.filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:16px 0}.filters>div{min-width:0}.filters>div:first-child{grid-column:1/-1}.filters select,.filters input{margin:0;width:100%}.filters>.badge,.filters>input{grid-column:1/-1}.top-pair{padding:20px 17px;border-radius:12px;margin:18px 0}.top-pair small{font-size:12px}.top-pair strong{font-size:24px;line-height:1.5;margin:6px 0}.top-pair>span{font-size:13px}.cards{gap:10px}.cards .card{padding:15px 12px}.card strong{font-size:24px}.card small{font-size:11px}.split{gap:10px}.split h2{margin:0}.split>small{font-size:11px}.table{overflow:visible}.table table{display:block;white-space:normal;font-size:14px}.table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.table tbody{display:grid;gap:12px}.table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;background:#fff7eb;border:1px solid #ecdac4;border-radius:11px;padding:15px}.table td{display:flex;flex-direction:column;min-width:0;padding:0;border:0!important;overflow-wrap:anywhere;font-size:15px}.table td::before{content:attr(data-label);font-size:10px;color:#8b7664;font-weight:400;line-height:1.5;margin-bottom:3px}.table td:nth-child(2){font-weight:700;color:#a84622}.table td[data-label='페어']{grid-column:1/-1;font-size:17px}.table td:last-child{font-weight:700}.table td button{width:100%;font-size:13px;min-height:44px}.empty-state{padding:22px 8px;font-size:13px}.viewer{padding:12px}.viewer .split{display:block}.viewer .actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.viewer .actions>*{display:flex;justify-content:center;align-items:center;font-size:12px;padding:9px 8px}.sheet{min-height:420px;height:64svh;border-radius:9px}.post{padding:18px 0}.post button{min-height:44px;font-size:16px;line-height:1.6}.post small{font-size:11px}.post-form button,#post-form button,#comment-form button{min-height:48px}#post-form label{margin-top:14px}#comment-form button{width:100%}#board-search{min-width:0}#write{min-height:44px;padding:10px 13px}.mobile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:17px}.mobile-shortcuts a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 3px;font-size:12px;border:1px solid #e7cfb8;border-radius:8px;text-decoration:none}.mobile-help{font-size:13px}.mobile-help summary{font-size:14px;min-height:44px;padding:4px 0}.mobile-help p{font-size:13px}.mobile-help ul{padding-left:18px}footer{padding:18px 16px;margin:20px auto 0;font-size:11px}.hero{padding:32px 20px 25px;gap:22px}.hero h1{font-size:35px;line-height:1.3;margin:17px 0}.hero p{font-size:14px;line-height:1.8}.hero .eyebrow{font-size:10px;letter-spacing:.08em}.hero .tags{margin-top:15px}.hero .tags span{font-size:10px;padding:4px 10px}.court{min-height:195px}.court:before{width:135px;height:135px;left:calc(50% - 67px);top:17px}.court-title{font-size:23px;top:8px}.court-title small{font-size:9px;margin-top:9px}.summary{margin:0 16px 25px;display:grid;grid-template-columns:1fr;border:0;gap:11px}.summary>div{padding:0;border:1px solid #eadbc9!important;background:#fffdfa;border-radius:12px}.summary a{padding:18px 20px;position:relative}.summary strong{font-size:21px;margin:4px 0}.summary p{font-size:12px}.summary small{font-size:10px}.summary a:after{position:absolute;right:18px;top:calc(50% - 14px);content:'↗';font-size:23px;margin:0}.layout{padding:0 16px 30px;gap:15px}.layout aside{position:static;padding-top:10px}.layout aside>nav{margin:0 -1px;gap:7px}.layout aside>nav a{min-height:42px;display:flex;align-items:center;font-size:12px;padding:8px 12px;border-radius:8px;flex:none}.layout aside>input{margin-bottom:12px}.layout aside>.notice{font-size:11px}.chapter{padding:26px 0}.chapter h2{font-size:23px}.chapter p,.chapter li{font-size:13px}.chapter table{font-size:11px}.chapter th,.chapter td{padding:11px;min-width:100px}.chapter h3{font-size:18px}.chapter h4{font-size:15px}.chapter .table-scroll{border-radius:8px;overscroll-behavior-inline:contain}.mobile-nav a:hover{background:#ffecd6}
}
@media(max-width:350px){.wrap{padding:0 12px}section{padding:16px 13px}.duo{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.hero h1{font-size:31px}.summary a:after{right:13px}.summary a{padding:16px}.sun-brand{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.mobile-nav,.mobile-shortcuts{display:none!important}body{padding-bottom:0}header{position:static}.table thead{position:static;width:auto;height:auto;clip:auto;margin:0;overflow:visible}.mobile-help{display:block}}
