* { box-sizing: border-box; }
body { margin: 0; font-family: "Helvetica Neue", Arial, sans-serif; background: linear-gradient(#f9e7cf, #f3d3b0 40%, #e9b98d); color: #3a2618; min-height: 100vh; }
header { text-align: center; padding: 48px 20px 20px; }
header h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 6vw, 56px); margin: 10px 0; color: #8a1c14; letter-spacing: -.01em; }
header p { max-width: 620px; margin: 0 auto; font-size: 17px; line-height: 1.5; color: #6b4a33; }
.balloons { font-size: 44px; display: flex; justify-content: center; gap: 22px; }
.balloons span { animation: bob 3s ease-in-out infinite; display: inline-block; }
.balloons span:nth-child(2) { animation-delay: -1s; }
.balloons span:nth-child(3) { animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(4deg); } }
main { max-width: 980px; margin: 0 auto; padding: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.card { background: rgba(255, 252, 246, .9); border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(120, 60, 20, .15); }
#hostCard { grid-row: span 2; }
.card h2 { margin: 0 0 4px; font-size: 22px; }
.hint { margin: 0 0 14px; color: #8a6a52; font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 10px 0; color: #5a3d29; }
input, select { width: 100%; font-size: 16px; padding: 10px; border-radius: 10px; border: 1px solid #d9c3a9; background: #fff; margin-top: 4px; font-family: inherit; }
#makeCode, #watchCode { font-size: 24px; letter-spacing: .25em; text-align: center; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.check input { width: auto; margin: 0; }
button { width: 100%; margin-top: 12px; font-size: 17px; padding: 13px; border-radius: 12px; border: 0; background: #3a2618; color: #fff; cursor: pointer; font-weight: 700; }
button.primary { background: linear-gradient(#d8352a, #a8160f); }
button:disabled { opacity: .5; }
.err { color: #b00; margin-top: 8px; font-size: 14px; }
.hidden { display: none; }
#mineList a { display: inline-block; margin: 4px 6px 0 0; padding: 6px 12px; background: #f3e3cf; border-radius: 8px; color: #8a1c14; font-weight: 700; letter-spacing: .12em; text-decoration: none; }
footer { text-align: center; color: #7a5a42; font-size: 12px; padding: 30px 16px; }
