:root{--ink:#102d39;--gold:#c58c36;--paper:#fff9e9;color:#253b40;background:#0c202b;font-family:'Malgun Gothic',system-ui,sans-serif}body{background:radial-gradient(ellipse at 90% 0,#234a54 0,transparent 44%),repeating-linear-gradient(140deg,transparent 0 90px,#ffffff03 90px 91px),#0c202b}main{max-width:1240px;padding:32px 24px}button,.file-label{border:1px solid #c9bb9b;background:#fffaf0;font-weight:650;border-radius:10px;transition:background .15s,transform .15s}button:hover{background:#f5e5bd}button:active{transform:translateY(1px)}button:disabled{transform:none}.primary{background:linear-gradient(#eac16f,#d6a54f);border-color:#b87d25;color:#182b32;box-shadow:0 3px 0 #926025}.primary:hover{background:#f2cb81}.hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1.25fr 1fr;gap:8px;min-height:400px;padding:38px 42px 80px;border:1px solid #66838688;border-radius:24px;background:linear-gradient(95deg,#102e3b 10%,#102e3bea 48%,#102e3b66),url('assets/skull-king-cards.jpg') right 34%/65% auto no-repeat;box-shadow:0 18px 44px #0003;margin:0 0 22px}.hero:before{content:'✦';position:absolute;left:41%;bottom:-78px;color:#eed4970b;font-size:340px;line-height:1;z-index:-1}.hero-copy{z-index:1;align-self:center}.hero .eyebrow{color:#efc776!important;font-size:11px!important;letter-spacing:2.5px}.hero h1{color:#fff2d0;font-size:23px;line-height:1.4;margin:12px 0}.hero h1 .hero-title{display:block;font-family:Georgia,'Times New Roman',serif;letter-spacing:-2px;font-size:clamp(40px,5.6vw,72px);font-weight:900;line-height:1;color:#f4cf7d;text-shadow:0 3px 0 #886027,0 5px 14px #0008;margin-bottom:15px}.hero h1 span:not(.hero-title){font-size:23px;color:#fff2d0;display:inline;font-weight:400}.hero .hero-line{color:#fff2ce;font-weight:700;font-size:17px;margin:18px 0 8px}.hero .hero-description{font-size:13px;color:#c1d2d1;line-height:1.8}.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:21px}.hero-tags span{font-size:11px;color:#e7cf9c;border:1px solid #a38f5d66;padding:6px 9px;border-radius:20px;background:#0d2537a6}.hero-art{position:relative;align-self:center;justify-self:center;width:245px;max-width:100%;padding:10px;background:#fff;border:1px solid #ead8b8;box-shadow:8px 13px 0 #0003;transform:rotate(6deg);border-radius:9px}.hero-art img{display:block;width:100%;height:auto;border-radius:4px}.art-caption{display:block;text-align:center;color:#62513a;font-size:9px;letter-spacing:1.3px;margin-top:7px}.speech{position:absolute;top:-16px;left:-56px;z-index:1;padding:12px 17px;color:#172d37;background:#f2ce80;transform:rotate(-12deg);border-radius:15px 15px 2px 15px;box-shadow:3px 4px 0 #0003;font-size:12px;font-weight:800}.voyage-status{position:absolute;bottom:0;left:0;right:0;background:#071b29b3;display:flex;justify-content:space-between;align-items:center;padding:12px 28px;border-top:1px solid #9bb5b133;font-size:12px;color:#bdceca}.badge{border:1px solid #bd954e;background:#173746;color:#f7d38e;padding:8px 16px;border-radius:30px;font-weight:750}.toolbar{background:#19333e;border:1px solid #4a6268;border-radius:14px;padding:14px 18px;color:#dfe8df;font-size:13px;gap:18px}.toolbar button{font-size:12px;padding:8px 12px}.toolbar label{cursor:pointer}.toolbar .danger{color:#f0b5a5;background:transparent;border-color:#8e645c}.toolbar .danger:hover{background:#593c3a}.toolbar input[type=checkbox]{accent-color:#d7ae5b}#status{color:#e4d4aa;padding:0 8px;margin:12px 0;min-height:20px}.panel{position:relative;background:linear-gradient(115deg,#fffaf0,#f8efd9);border:1px solid #ddc79e;border-radius:16px;padding:26px;box-shadow:0 9px 25px #0002;margin:18px 0}.section-head .eyebrow{color:#99702e!important}.section-head h2{font-size:24px;color:#16323a}.hint{color:#6b705f;font-size:12px}.table-scroll{border:1px solid #d7c8a8;border-radius:10px;max-height:740px}th,td{border-color:#dfd4ba;padding:10px}thead th{background:#173a46;color:#f4d397;font-size:14px;padding:15px 12px;border-color:#49616a}thead th:first-child{background:#173a46;color:#f4d397}tbody th:first-child{background:#efe3c5;color:#6a512b}tbody td{background:#fffdf5}tbody tr:nth-child(4n+3) td{background:#faf4e5}td strong{font-size:23px}td small{color:#6c776a}td button:hover{background:#f4e6bf}.bid-row th:first-child,.bid-row td{background:#f1ead7!important}.bid-row th{font-size:11px!important}.bid-row td{padding:5px 8px 10px}.bid-row td button{background:#fffaf0;color:#376354;border:1px dashed #9daf97;font-size:12px;min-height:42px}tfoot th,tfoot td{background:#e5d5ae;font-size:17px;color:#163a3c}.entry{background:#fffdf5;border:1px solid #d4c6a7;border-top:4px solid #c79b48;border-radius:12px;padding:18px;box-shadow:0 5px 0 #c9b27b30}.entry h3{display:flex;gap:8px;align-items:center;font-size:17px;color:#203c42}.entry h3:before{content:'⚓';color:#ad7d35}.wins-trigger{border:1px solid #cdbb96;border-bottom:3px solid #baa16d;background:#faf1db;min-height:56px;font-size:24px}.wins-trigger:hover{background:#f0dfb6}.wins-field{color:#666c59;font-size:12px}.entry details{margin-top:18px;border-top:1px dashed #cbbb9c;padding-top:13px}.entry details summary{color:#796137;font-size:13px}.entry details summary:after{content:' 열기';font-size:11px;color:#7b826e}.entry details[open] summary:after{content:' 접기'}.preview{border-color:#d6c9a9;color:#305b4b}.preview small{color:#737963}.bonus-group{background:#f9f4e6;border-color:#ded2b4}.bonus-group legend{color:#625435}.bonus-group small{color:#6d7862}.bonus-quantity select{background:#fffaf0}.kraken-control{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0 22px;padding:16px 18px;border:1px solid #b8bbba;border-radius:12px;background:#e9eeeb}.kraken-control label{display:flex;align-items:center;gap:12px;cursor:pointer}.kraken-control input{width:22px;height:22px;flex-shrink:0;accent-color:#7c4e96}.kraken-control strong{display:block;color:#4d3e60;font-size:14px}.kraken-control small{display:block;color:#69736b;font-size:11px;line-height:1.6;margin-top:4px}#round-balance{padding:10px 14px;background:#fff9ed;border:1px solid #d6b480;border-radius:9px;color:#94632b;font-size:13px;font-weight:700}#round-balance[data-valid=true]{background:#dfede2;color:#275f47;border-color:#86ae90}#error:not(:empty){border:1px solid #d6a195;border-radius:9px;padding:13px 16px;background:#f9e6dc;font-weight:650;color:#923c29}.form-bottom{border-top:1px dashed #cfbb97;padding-top:18px}.rules summary{color:#5d5a43;font-weight:650}.rules a{color:#366255}dialog{background:#fff9e9;border:2px solid #c59b51;box-shadow:0 24px 80px #0007}dialog::backdrop{background:#04101bd9;backdrop-filter:blur(4px)}dialog h2{color:#243c41;font-size:20px}.wins-pad button{background:#f4e8ca;color:#243d44;border-bottom:3px solid #c4ab76}.wins-pad button[aria-pressed=true]{background:#244d57;color:#f5d292;border-color:#142f37}.wins-pad button:disabled{background:#eee8d9;color:#9a9a8d}footer{color:#b9c7c2;padding:25px 10px 12px;font-size:12px}footer strong{color:#dfc38a;letter-spacing:.5px}footer p{font-size:10px;color:#8eaaa9}footer a{color:#b0c2bb}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #c98d30;outline-offset:3px}@media(max-width:750px){main{padding:16px 12px}.hero{padding:28px 24px 76px;min-height:350px;grid-template-columns:1.2fr .8fr;gap:12px;background-size:auto 100%;background-position:right top}.hero-art{width:180px}.speech{left:-20px;top:-19px;font-size:10px;padding:9px}.hero h1{font-size:19px}.hero h1 span:not(.hero-title){font-size:17px}.hero h1 .hero-title{font-size:44px}.hero .hero-line{font-size:14px}.hero .hero-description{font-size:12px}.hero-tags{gap:5px}.hero-tags span{font-size:10px;padding:5px 7px}.panel{padding:18px}.toolbar{gap:12px;padding:12px}.section-head h2{font-size:21px}.kraken-control{padding:14px}#round-balance{width:100%}}@media(max-width:450px){.hero{padding:24px 18px 70px;grid-template-columns:1fr .65fr;min-height:330px;border-radius:17px}.hero-art{width:132px;padding:6px;transform:rotate(7deg)}.hero h1 .hero-title{font-size:34px;letter-spacing:-1px}.hero .eyebrow{font-size:8px!important;letter-spacing:1.4px}.hero h1 span:not(.hero-title){display:block;font-size:15px}.hero .hero-line{font-size:12px;margin-top:12px}.hero .hero-description{font-size:10px}.hero-tags{max-width:220px}.hero-tags span{font-size:9px}.speech{font-size:9px;left:-12px;padding:7px}.art-caption{font-size:6px}.voyage-status{padding:12px 15px;font-size:11px}.badge{font-size:11px;padding:7px 10px}.section-head{gap:8px}.section-head button{font-size:12px}.toolbar{font-size:12px}.toolbar .danger{margin-left:0}.kraken-control strong{font-size:12px}th,td{min-width:120px}th:first-child,td:first-child{min-width:70px}.entry-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){button{transition:none}}
:root .section-head>button{flex-shrink:0}tbody th small{display:block;font-size:10px;white-space:nowrap;line-height:1.6}
