.tw{max-width:760px;margin:0 auto;padding:18px 16px 40px}
.tw-box{background:#06182a;border:4px solid #ffd23f;border-radius:20px;padding:22px 18px;color:#fff;box-shadow:0 8px 28px rgba(6,24,42,.28)}
.tw-box h2{margin:0 0 6px;color:#ffd23f;font-size:clamp(1.8rem,6vw,2.6rem);line-height:1.08}
.tw-box p{margin:0 0 12px;font-size:1.15rem}
.tw-row{display:flex;gap:10px;flex-wrap:wrap}
.tw-row input{flex:1 1 220px;min-width:0;min-height:64px;font-size:1.35rem;font-weight:700;border:4px solid #ffd23f;border-radius:14px;padding:0 14px;color:#06182a}
.tw-btn{min-height:64px;padding:0 24px;font-size:1.3rem;font-weight:900;background:#ffd23f;color:#06182a;border:3px solid #06182a;border-radius:14px;box-shadow:0 4px 0 #06182a;cursor:pointer}
.tw-btn.alt{background:#fff}.tw-btn.on{background:#14a3a8;color:#fff}
.tw-msg{color:#ffd23f;font-weight:800;margin-top:10px;min-height:1.4em;font-size:1.1rem}
.tw-picks button{display:block;width:100%;text-align:left;margin-top:8px;padding:14px;font-size:1.15rem;font-weight:800;border-radius:12px;border:2px solid #ffd23f;background:#0b2a47;color:#fff;cursor:pointer}
.tw-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0 10px}
.tw-head h2{margin:0;font-size:clamp(1.6rem,5.5vw,2.3rem);line-height:1.1;color:#06182a}
.tw-date{font-size:1.2rem;font-weight:800;color:#0e7c86;margin:0 0 10px}
.tw-day{display:flex;gap:10px;margin:0 0 14px}.tw-day .tw-btn{flex:1}
.tw-card{background:#fff;border:2px solid #e3e9ef;border-radius:18px;padding:18px;margin:0 0 14px;box-shadow:0 1px 2px rgba(6,24,42,.06),0 8px 24px rgba(6,24,42,.08)}
.tw-card h3{margin:0 0 10px;font-size:1.45rem;color:#06182a}
.tw-big{font-size:2rem;font-weight:900;line-height:1.15;color:#06182a}
.tw-line{font-size:1.25rem;margin:6px 0;color:#0b1b2b}.tw-line b{color:#06182a}
.tw-tides{list-style:none;margin:0;padding:0}
.tw-tides li{display:flex;justify-content:space-between;align-items:center;font-size:1.35rem;padding:10px 0;border-bottom:1px solid #e3e9ef}
.tw-tides li:last-child{border-bottom:0}
.tw-hi{color:#0e7c86;font-weight:900}.tw-lo{color:#a0522d;font-weight:900}
.tw-sm{font-size:1rem;color:#3d5163;margin:8px 0 0}
.tw-curve{width:100%;height:auto;margin-top:10px}
.tw-sun{display:flex;gap:12px}.tw-sun>div{flex:1;text-align:center;background:#fff7dc;border-radius:14px;padding:12px;font-size:1.1rem}
.tw-sun b{display:block;font-size:1.7rem;color:#06182a}
.tw-credit{text-align:center;color:#3d5163;font-size:1rem;margin-top:18px}
.twb-wrap{max-width:1180px;margin:14px auto;padding:0 18px}
.twb{display:block;text-align:center;background:#ffd23f;color:#06182a!important;border:3px solid #06182a;border-radius:18px;box-shadow:0 5px 0 #06182a;padding:16px 14px;text-decoration:none!important}
.twb b{display:block;font-size:clamp(1.6rem,5.5vw,2.2rem);font-weight:900;line-height:1.1}
.twb span{display:block;font-size:1.15rem;font-weight:700;margin-top:4px}
.twb:hover{background:#ffe27a}.twb:active{transform:translateY(3px);box-shadow:0 2px 0 #06182a}

.twf{display:flex;flex-direction:column;align-items:center;gap:6px}.twf label{font-weight:700;font-size:1.05rem}.twf-row{display:flex;gap:8px;width:100%;margin-top:4px}.twf-row input{flex:1;min-width:0;font:inherit;font-size:18px;min-height:52px;padding:10px 12px;border:2px solid #06182a;border-radius:12px;background:#fff}.twf-row button{font:inherit;font-size:18px;font-weight:850;min-height:52px;padding:0 18px;border-radius:12px;border:2px solid #06182a;background:#06182a;color:#fff;cursor:pointer}
