:root{
  --mist:#EDEFED;
  --mist-deep:#DFE5E3;
  --teal-light:#B7CBC8;
  --teal:#7C9B98;
  --lake:#33484A;
  --lake-soft:#3E5654;
  --ink:#20272A;
  --stone:#5F7674;
  --stone-light:#C7D6D3;
  --line:rgba(32,39,42,0.12);
  --card:#FFFFFF;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  background:var(--lake);
  color:var(--ink);
  font-family:'Zen Kaku Gothic New', sans-serif;
  font-weight:400;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  overflow-y: auto;
  transition: background-color 1.5s ease;
}

body.dark-bg {
  background-color: #080c0d;
}
.vignette-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  pointer-events: none; z-index: 999;
  background: radial-gradient(circle at center, transparent 70%, #050808 100%);
  opacity: 0; transition: opacity 1.2s ease, background 1.2s ease;
}
body.dark-bg .vignette-overlay {
  opacity: 1;
  background: radial-gradient(circle at center, transparent 10%, #050808 80%);
}

.serif{font-family:'Zen Old Mincho', serif;}
.mono{font-family:'Space Grotesk', sans-serif; letter-spacing:0.06em;}

.portal-main {
  flex: 1;
  background: var(--mist);
  width: 100%;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background-color 1.5s ease;
  z-index: 2;
}

.device {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  background: var(--lake);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background-color 1.5s ease;
}

@media (max-width: 920px){
  .device {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }
  .tiles {
    flex: none;
    grid-template-rows: auto;
  }
}

body.dark-bg .device,
body.dark-bg .portal-main { 
  background-color: transparent; 
}

body.dark-bg .topbar { display: none !important; }

body.dark-bg .bottom-links { 
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: transparent !important;
  justify-content: center !important;
  text-align: center !important;
  opacity: 0; 
  animation: fadeInDisclaimer 1.5s ease 1.5s forwards !important; 
  transition: none !important;
  z-index: 10001;
  padding-bottom: 20px !important;
}

@keyframes fadeInDisclaimer { from { opacity: 0; } to { opacity: 1; } }

body.dark-bg .bottom-links span:last-child { display: none !important; }

body.dark-bg .bottom-links .disclaimer { 
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.85) !important; 
  font-size: 11px !important; 
}

.topbar{
  display:flex; justify-content:space-between; align-items:center;
  padding:22px;
  background:var(--lake);
  color:var(--mist);
  transition: opacity 1.5s ease;
}
.topbar .logo{font-family:'Space Grotesk',sans-serif; font-size:14px; letter-spacing:0.3em;}
.topbar .right{display:flex; align-items:center; font-family:'Space Grotesk',sans-serif; font-size:12px; letter-spacing:0.08em; color:var(--stone-light);}

.topbar .weather {
  display: flex; align-items: center; gap: 6px;
  color: var(--mist); font-size: 13px; 
  padding: 2px 12px 2px 0;
  margin-right: 12px;
  border-right: 1px solid rgba(237, 239, 237, 0.2);
  opacity: 0.9;
}
.topbar .weather svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .topbar .weather #weatherText { display: none; }
  .topbar .weather { padding-right: 8px; margin-right: 8px; }
}

.topbar .clock{color:var(--mist); font-size:13px; padding:5px}
.topbar .wifi-icon{display:flex; align-items:center; margin-left:10px; opacity:0.75;}
.topbar .wifi-icon svg{width:18px; height:18px;}
.topbar .bgm-btn{
  display:flex; align-items:center; margin-left:12px;
  background:none; border:none; cursor:pointer; padding:4px;
  opacity:0.75; transition:opacity 0.2s;
}
.topbar .bgm-btn:hover{opacity:1;}
.topbar .bgm-btn svg{width:18px; height:18px;}

.greeting{
  padding:40px 4vw 16px;
}
.greeting .eyebrow{
  font-family:'Space Grotesk',sans-serif; font-size:11px; letter-spacing:0.28em;
  color:var(--stone); margin-bottom:16px; display:block;
}
.greeting h1{
  font-size:clamp(26px,3.4vw,38px); font-weight:400; line-height:1.6;
}
.greeting h1 .name{ font-weight:600; }
.greeting p{ margin-top:8px; font-size:14px; color:#4a5254; max-width:560px; line-height:1.8; }

.feature{
  margin:0 4vw 40px;
  background:linear-gradient(120deg, var(--teal-light), var(--teal) 70%);
  border-radius:6px;
  padding:44px 44px;
  display:flex; justify-content:space-between; align-items:center; gap:40px;
  color:var(--lake);
  position:relative;
  overflow:hidden;
}
.feature::after{
  content:"";
  position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.35), rgba(255,255,255,0) 70%);
}
.feature-text{position:relative; z-index:1;}
.feature .tag{font-family:'Space Grotesk',sans-serif; font-size:11px; letter-spacing:0.24em; opacity:0.75; margin-bottom:14px; display:block;}
.feature h2{font-family:'Zen Old Mincho',serif; font-size:clamp(22px,2.6vw,30px); font-weight:600; margin-bottom:12px;}
.feature p{font-size:15px; max-width:440px; line-height:1.8; opacity:0.9;}
.feature-btn{
  position:relative; z-index:1; flex-shrink:0;
  background:var(--lake); color:var(--mist); border:none;
  padding:16px 26px; font-family:'Space Grotesk',sans-serif; font-size:12px; letter-spacing:0.15em;
  border-radius:3px; cursor:pointer; white-space:nowrap; transition: opacity 0.2s;
}
.feature-btn:hover { opacity: 0.9; }
@media (max-width:700px){ .feature{flex-direction:column; align-items:flex-start;} }

.tiles{
  padding:0 4vw 30px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
.tile{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:6px;
  padding:18px 20px;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column; gap:34px; justify-content:space-between;
  min-height:100px;
}
.tile:hover{ transform:translateY(-3px); box-shadow:0 10px 24px rgba(32,39,42,0.08); }
.tile .tile-icon{
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
}
.tile .tile-icon svg{ width:22px; height:22px; stroke:var(--teal); }
.tile h3{ font-family:'Zen Old Mincho',serif; font-size:15.5px; font-weight:600; }
.tile p{ font-size:11.5px; color:var(--stone); margin-top:4px; line-height:1.6; }
.tile.wide{ grid-column:span 2; }

@media (max-width:920px){
  .tiles{grid-template-columns:repeat(2,1fr);}
  .tile.wide{grid-column:span 2;}
}

.bottom-links{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px;
  background:var(--lake);
  color:var(--mist);
  transition: opacity 1.5s ease;
}
.bottom-links .disclaimer {
  font-size: 10px;
  color: rgba(237, 239, 237, 0.3);
  letter-spacing: 0.05em;
}
.bottom-links a {
  display: flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-decoration: none;
}
.bottom-links a:hover{ color:var(--mist-deep); }

@media (max-width:560px){
  .tiles{grid-template-columns:1fr;}
  .tile.wide{grid-column:span 1;}
  .bottom-links {
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    text-align: center;
  }
}

.modal-backdrop{
  display:none;
  position:fixed; inset:0; background:rgba(32,39,42,0.55);
  align-items:center; justify-content:center; z-index:200; padding:20px;
  backdrop-filter: blur(2px);
}
.modal-backdrop.open{ display:flex; }
.modal{
  background:var(--mist); border-radius:6px; max-width:420px; width:100%;
  padding:36px;
  position: relative;
}

.overview-modal{
  max-width:580px; width:92%; max-height:85vh; overflow-y:auto;
  border-radius:6px;
}
.overview-modal::-webkit-scrollbar { width: 6px; }
.overview-modal::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.om-header{ text-align:center; margin-bottom:34px; }
.om-header .eyebrow{ font-family:'Space Grotesk',sans-serif; font-size:11px; letter-spacing:0.2em; color:var(--stone); display:block; margin-bottom:8px; }
.om-header h2{ font-family:'Zen Old Mincho',serif; font-size:22px; font-weight:600; color:var(--lake); }

.terms-modal-backdrop {
  display: flex; position: fixed; inset: 0; background: var(--lake);
  align-items: center; justify-content: center; z-index: 1000; padding: 20px;
}
.terms-modal {
  background: var(--mist); border-radius: 6px; max-width: 580px; width: 100%;
  padding: 40px; max-height: 90vh; display: flex; flex-direction: column;
}
.terms-header { text-align: center; margin-bottom: 10px; }
.terms-header h2 { font-family: 'Zen Old Mincho', serif; font-size: 22px; color: var(--lake); }
.terms-content {
  background: #fdfdfd; 
  border: 1px solid #ccc; 
  padding: 12px 16px 12px 12px; 
  overflow-y: auto; 
  height: 70px;
  border-radius: 5px;
  
  font-size: 11px; line-height: 1.3; color: #222; text-align: justify; font-family: serif; letter-spacing: -0.03em;
}

.terms-content::-webkit-scrollbar {
  width: 5px;
}
.terms-content::-webkit-scrollbar-track {
  background: transparent;
  margin: 6px 0;
}
.terms-content::-webkit-scrollbar-thumb {
  background: var(--stone);
  border-radius: 10px;
}
.terms-footer { margin-top: 24px; text-align: center; }
.terms-btn {
  background: var(--teal); color: var(--lake); border: none;
  padding: 16px 40px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: 0.15em;
  border-radius: 3px; cursor: pointer; transition: opacity 0.2s; font-weight: 600; width: 100%; max-width: 320px;
  position: relative;
}
.terms-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.auth-box { 
  background: #fff; padding: 60px 50px; border-radius: 6px; 
  border: 1px solid var(--line); text-align: center; max-width: 440px; 
  width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
  position: relative;
}

.topbar { position: relative; }
.program-home-btn {
  display: none;
  position: absolute; top: 100%; left: 22px; margin-top: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--lake); border: none;
  color: var(--mist); cursor: pointer; padding: 0;
  box-shadow: 0 4px 10px rgba(32,39,42,0.15);
  z-index: 30;
  transition: opacity 0.2s, background-color 0.2s;
}
.program-home-btn.visible { display: flex; }
.program-home-btn:hover { opacity: 0.85; background: var(--lake-soft); }
.program-home-btn svg { width: 18px; height: 18px; }
.auth-box h2 { font-size: 22px; margin-bottom: 12px; font-weight: 600; color:var(--lake); }
.auth-box p { font-size: 13.5px; color: #4a5254; margin-bottom: 30px; line-height: 1.8; }

.auth-box input[type="text"] { 
  width: 100%; padding: 16px; font-size: 20px; text-align: center; 
  border: none; border-bottom: 2px solid var(--line); background: transparent; 
  outline: none; margin-bottom: 30px; letter-spacing: 0.3em; text-transform: uppercase; 
}
.auth-box input[type="text"]:focus { border-bottom-color: var(--lake); }

.auth-box button { 
  width: 100%; padding: 18px; background: var(--lake); color: var(--mist); 
  border: none; font-size: 13px; cursor: pointer; letter-spacing: 0.2em; 
  border-radius: 3px; transition: opacity 0.3s; 
}
.auth-box button:hover { opacity: 0.85; }

.error-msg { color: #8b3a3a; font-size: 12.5px; margin-top: 16px; min-height: 18px; }
.keyword { font-size: 28px; font-weight: 600; letter-spacing: 0.2em; margin: 24px 0; color: var(--lake); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.prog-image { width:100%; height:200px; background-size:cover; background-position:center; border-radius:0px; margin-bottom:24px; border:0px solid var(--line); }

.scratch-wrap {
  position: relative; width: 100%; max-width: 320px; height: 160px;
  margin: 0 auto; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.scratch-wrap canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: pointer; }
#scratchConfirmBtn:disabled { opacity: 0.45; cursor: default; }
#scratchConfirmBtn.ready { opacity: 1; }

input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; margin-bottom: 16px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 20px; width: 20px; border-radius: 50%; background: var(--lake); cursor: pointer; margin-top: -8px; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 4px; cursor: pointer; background: var(--line); border-radius: 2px; }

.end-screen {
    display: none; 
    text-align: center; 
    max-width: 540px; 
    width: 90%; 
    color: var(--mist);
    position: fixed; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 10000;
}
.end-screen.show { 
  display: block !important; 
  animation: fadeInEnd 1.5s forwards;
}
@keyframes fadeInEnd {
  from { opacity: 0; }
  to { opacity: 1; }
}
.end-screen h2 { font-family: 'Zen Old Mincho', serif; font-size: 26px; font-weight: 400; margin-bottom: 24px; letter-spacing: 0.1em; }

.blink-eye { animation: eyeBlink 5s infinite; transform-origin: center; }
@keyframes eyeBlink {
  0%, 92%, 96%, 100% { transform: scaleY(1); }
  94%, 98% { transform: scaleY(0.1); }
}

/* ---------- チャットボット UI ---------- */
.chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.chatbot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--mist);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.chatbot-toggle:hover {
  transform: scale(1.05);
  background: var(--lake);
}
.chatbot-toggle svg {
  width: 28px;
  height: 28px;
}

.chatbot-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 340px;
  max-height: 480px;
  background: var(--card);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 1px solid var(--line);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: scaleIn 0.3s ease forwards;
}
.chatbot-window.open {
  display: flex;
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.chat-header {
  background: var(--lake);
  color: var(--mist);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.chat-title { display: flex; align-items: center; gap: 8px; font-weight: 500;}
.chat-close {
  background: transparent; border: none; color: var(--mist); font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #fdfdfd;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  max-height: 300px;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 6px;
  word-break: break-word;
  animation: fadeInMsg 0.3s ease forwards;
}
@keyframes fadeInMsg { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }

.bot-msg {
  background: var(--mist);
  color: var(--lake);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.user-msg {
  background: var(--lake-soft);
  color: var(--mist);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-options {
  padding: 12px;
  background: var(--card);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-opt-btn {
  background: transparent;
  border: 1px solid var(--teal);
  color: var(--lake);
  padding: 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.chat-opt-btn:hover {
  background: var(--teal-light);
}

.record-list {
  display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 8px;
}
.record-item {
  display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0; border-bottom: 1px dashed var(--stone-light);
}

.topbar, .greeting, .tiles, .bottom-links {
  transition: filter 3s ease, opacity 3s ease;
}

body, .device, .topbar, .bottom-links, .greeting, .tiles {
  transition: filter 3s ease, opacity 3s ease, background-color 3s ease;
}

.topbar, .greeting, .tiles, .bottom-links {
  transition: filter 3s ease, opacity 3s ease;
}

body.stage5-fog .topbar,
body.stage5-fog .greeting,
body.stage5-fog .tiles,
body.stage5-fog .bottom-links {
  filter: blur(8px);
  opacity: 0.35;
  pointer-events: none;
}

body.stage5-fog .feature {
  box-shadow: 0 0 60px rgba(32, 39, 42, 0.4);
  transition: all 3s ease;
  position: relative;
  z-index: 10;
}

/* ---------- Bubbles ---------- */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.bubbles span {
  position: absolute;
  bottom: -5vh;
  border-radius: 50%;
  background: rgba(183, 203, 200, 0.15);
  animation: rise linear infinite;
}

.bubbles span:nth-child(1) { width: 6px; height: 6px; left: 5%; animation-duration: 14s; animation-delay: 0s; }
.bubbles span:nth-child(2) { width: 8px; height: 8px; left: 12%; animation-duration: 18s; animation-delay: -3s; }
.bubbles span:nth-child(3) { width: 4px; height: 4px; left: 20%; animation-duration: 12s; animation-delay: -7s; }
.bubbles span:nth-child(4) { width: 10px; height: 10px; left: 28%; animation-duration: 22s; animation-delay: -2s; background: rgba(255, 255, 255, 0.05); }
.bubbles span:nth-child(5) { width: 5px; height: 5px; left: 35%; animation-duration: 16s; animation-delay: -10s; }
.bubbles span:nth-child(6) { width: 7px; height: 7px; left: 42%; animation-duration: 19s; animation-delay: -5s; }
.bubbles span:nth-child(7) { width: 9px; height: 9px; left: 50%; animation-duration: 24s; animation-delay: -1s; }
.bubbles span:nth-child(8) { width: 4px; height: 4px; left: 58%; animation-duration: 13s; animation-delay: -8s; }
.bubbles span:nth-child(9) { width: 6px; height: 6px; left: 65%; animation-duration: 17s; animation-delay: -4s; background: rgba(255, 255, 255, 0.04); }
.bubbles span:nth-child(10) { width: 8px; height: 8px; left: 72%; animation-duration: 21s; animation-delay: -11s; }
.bubbles span:nth-child(11) { width: 5px; height: 5px; left: 80%; animation-duration: 15s; animation-delay: -6s; }
.bubbles span:nth-child(12) { width: 7px; height: 7px; left: 88%; animation-duration: 20s; animation-delay: -9s; }
.bubbles span:nth-child(13) { width: 4px; height: 4px; left: 95%; animation-duration: 14s; animation-delay: -3s; }
.bubbles span:nth-child(14) { width: 6px; height: 6px; left: 8%; animation-duration: 18s; animation-delay: -12s; background: rgba(255, 255, 255, 0.03); }
.bubbles span:nth-child(15) { width: 9px; height: 9px; left: 15%; animation-duration: 23s; animation-delay: -7s; }
.bubbles span:nth-child(16) { width: 5px; height: 5px; left: 22%; animation-duration: 16s; animation-delay: -2s; }
.bubbles span:nth-child(17) { width: 7px; height: 7px; left: 30%; animation-duration: 19s; animation-delay: -10s; }
.bubbles span:nth-child(18) { width: 4px; height: 4px; left: 38%; animation-duration: 13s; animation-delay: -5s; }
.bubbles span:nth-child(19) { width: 8px; height: 8px; left: 45%; animation-duration: 22s; animation-delay: -8s; background: rgba(255, 255, 255, 0.04); }
.bubbles span:nth-child(20) { width: 6px; height: 6px; left: 52%; animation-duration: 17s; animation-delay: -1s; }

@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(-80vh) scale(1.3);
    opacity: 0;
  }
}

.drink-mix-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 30px auto 20px;
  border-radius: 50%;
  background: var(--mist-deep);
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: inset 0 6px 16px rgba(32,39,42,0.3), 0 4px 12px rgba(0,0,0,0.05);
  border: 2px solid rgba(255,255,255,0.5);
}

.drink-mix-canvas {
  position: absolute;
  top: -10px;
  left: -10px;
  filter: url(#liquid-filter);
}

.drink-mix-highlight {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 10px 12px rgba(255,255,255,0.6), inset 0 -4px 8px rgba(0,0,0,0.1);
  pointer-events: none;
}

.drink-mix-progress {
  font-size: 20px;
  color: var(--lake);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.drink-mix-btn {
  width: 100%;
  padding: 18px;
  background: var(--lake);
  color: var(--mist);
  border: none;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 0.2em;
  border-radius: 3px;
  transition: opacity 0.3s;
}

.drink-mix-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* ---------- スマホ対応 ---------- */
@media (max-width: 768px) {
  .weather {
    display: none !important;
  }
}

/* ---------- 画面サイズに応じた調整 ---------- */
@media (max-height: 700px) {
  .auth-box {
    padding: 40px 40px;
  }
  .auth-box h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .auth-box p {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .drink-mix-wrap {
    width: 140px;
    height: 140px;
    margin: 20px auto;
  }
  .drink-mix-progress {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .drink-mix-btn {
    padding: 14px;
    font-size: 12px;
  }
  .keyword {
    font-size: 22px;
    margin: 16px 0;
    padding: 14px 0;
  }
  .prog-image {
    height: 140px;
    margin-bottom: 16px;
  }
}

@media (max-height: 600px) {
  .auth-box {
    padding: 30px 30px;
  }
  .auth-box h2 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .auth-box p {
    font-size: 11px;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  .drink-mix-wrap {
    width: 120px;
    height: 120px;
    margin: 16px auto;
  }
  .drink-mix-progress {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .drink-mix-btn {
    padding: 12px;
    font-size: 11px;
  }
  .keyword {
    font-size: 18px;
    margin: 12px 0;
    padding: 10px 0;
  }
  .prog-image {
    height: 120px;
    margin-bottom: 12px;
  }
}