:root{
  --gold:#f2d37a;
  --gold2:#d6b46a;
  --bg:#04070f;
  --panel:#08101e;
  --line:rgba(242,211,122,.95);
  --text:#fff7d7;
  --muted:#d8d8d8;
}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#000;color:var(--text);font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif}
button{font-family:inherit;color:inherit}
.app{
  width:100vw;height:100vh;max-width:100vw;max-height:100vh;
  padding:1.4vh 1.2vw;
  display:grid;
  grid-template-columns:19% 62% 19%;
  gap:.8vw;
  background:radial-gradient(circle at 50% 42%,rgba(255,215,120,.06),transparent 38%),linear-gradient(180deg,#030611,#050812 70%,#020308);
}
.left-panel,.center-panel,.right-panel{
  min-width:0;min-height:0;border:2px solid var(--line);border-radius:14px;
  background:linear-gradient(180deg,rgba(12,19,35,.96),rgba(2,5,12,.98));
  box-shadow:inset 0 0 20px rgba(255,220,120,.05),0 0 12px rgba(0,0,0,.55);
  overflow:hidden;
}
.left-panel{padding:6px 8px 8px;display:flex;flex-direction:column}
.brand{text-align:center;padding:4px 0 5px}
.brand-title{font-family:Georgia,serif;font-size:clamp(18px,2.15vw,44px);font-weight:900;letter-spacing:.08em;white-space:nowrap}
.brand-sub{font-size:clamp(7px,.72vw,14px);font-weight:800;color:#eee;margin-top:2px}
.quick-title{display:flex;align-items:center;justify-content:center;gap:5px;margin:8px 0 10px;padding:6px 0;border:none!important}
.quick-title *{border:none!important}
.diamond{font-size:clamp(16px,1.5vw,28px);line-height:1}
.qt-main{font-size:clamp(15px,1.45vw,28px);font-weight:900;line-height:1}
.qt-sub{font-size:clamp(7px,.7vw,13px);font-weight:900;color:#fff;margin-top:2px}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-height:0;flex:1;padding-top:3px;padding-bottom:3px}
.service-card,.time-info{
  border:2px solid var(--line);border-radius:10px;background:linear-gradient(145deg,rgba(23,32,55,.95),rgba(5,9,20,.98));
  min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3px 2px;overflow:hidden
}
.service-card{cursor:pointer}
.service-card .icon{font-size:clamp(20px,2.1vw,38px);line-height:1}
.service-card b,.time-info b{font-size:clamp(8px,.72vw,14px);line-height:1.05;white-space:normal}
.service-card small,.time-info small{font-size:clamp(5px,.52vw,10px);line-height:1;font-weight:900;color:#fff}
.time-info span{font-size:clamp(18px,1.8vw,34px)}
.time-info strong{font-size:clamp(22px,2.3vw,42px);line-height:1;color:#fff}

.center-panel{display:grid;grid-template-rows:8% 7% 7% 60% 6.8% 8%;gap:.7%;padding:8px}
.lang-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;min-height:0}
.lang-row button,.top-actions button,.bottom-actions button{
  border:2px solid var(--line);border-radius:12px;background:linear-gradient(145deg,rgba(31,38,61,.95),rgba(6,10,22,.98));
  color:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;min-width:0
}
.lang-row button{flex-direction:column;padding:2px}
.lang-row b{font-size:clamp(10px,.92vw,18px);line-height:1;white-space:nowrap}
.lang-row small{font-size:clamp(5px,.48vw,9px);line-height:1;margin-top:2px;font-weight:800}
.lang-row button.active{box-shadow:0 0 14px rgba(242,211,122,.45);background:linear-gradient(145deg,rgba(52,58,82,.98),rgba(12,14,30,.98))}
.hero{display:grid;grid-template-columns:34px minmax(0,1fr) 26%;align-items:center;gap:8px;min-height:0;overflow:hidden}
.mini-bot{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);object-fit:cover}
.hero-copy{min-width:0;overflow:hidden}
.hero-copy h1{font-size:clamp(13px,1.12vw,22px);line-height:1.05;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-copy p{font-size:clamp(9px,.8vw,15px);line-height:1.05;margin:2px 0 0;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:800}
.service-badge{font-size:clamp(8px,.72vw,14px);font-weight:900;line-height:1.05;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.service-badge small{display:block;font-size:clamp(4.5px,.42vw,8px);color:#fff}
.top-actions,.bottom-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;min-height:0}
.top-actions button{gap:7px;padding:2px 4px}
.top-actions span{font-size:clamp(18px,1.8vw,34px)}
.top-actions b,.bottom-actions b{font-size:clamp(8px,.74vw,14px);line-height:1.08;white-space:normal}
.bottom-actions button{flex-direction:column;padding:2px}
.bottom-actions small{font-size:clamp(5px,.48vw,9px);font-weight:900;line-height:1}

.chat-panel{border:2px solid var(--line);border-radius:14px;background:rgba(2,6,15,.72);min-height:0;overflow:hidden}
.chat-log{height:100%;overflow-y:auto;overflow-x:hidden;padding:14px 18px;display:flex;flex-direction:column;gap:14px;scroll-behavior:auto}
.msg{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;min-height:28px}
.msg::before{content:"●";color:var(--gold);font-size:15px;line-height:1.35;text-align:center;text-shadow:0 0 7px rgba(242,211,122,.9)}
.msg.user-msg::before{content:"▸";color:#ffe8a0}
.bubble{font-size:clamp(12px,1vw,19px);line-height:1.38;font-weight:850;color:#fff;white-space:pre-line;overflow-wrap:anywhere;text-shadow:0 0 5px rgba(255,255,255,.22)}
.user-msg .bubble{color:#ffe8a0}
.chat-log img,.msg img,.avatar,.msg-avatar,.bot-avatar,.ai-avatar,.user-avatar{display:none!important}
.chat-log::-webkit-scrollbar{width:4px}.chat-log::-webkit-scrollbar-thumb{background:rgba(214,180,106,.8);border-radius:8px}.chat-log::-webkit-scrollbar-track{background:rgba(255,255,255,.04)}

.input-row{display:grid;grid-template-columns:48px minmax(0,1fr) 90px;gap:8px;min-height:0;align-items:center}
.chat-symbol{height:100%;border:2px solid var(--line);border-radius:999px;display:flex;align-items:center;justify-content:center;background:rgba(5,9,20,.95);font-size:22px}
#chatInput{height:100%;min-width:0;border:2px solid var(--line);border-radius:10px;background:#02050b;color:#fff;font-size:clamp(14px,1.12vw,22px);font-weight:900;padding:0 16px;outline:none}
#chatInput::placeholder{color:#fff7d7}
#sendBtn{height:100%;border:2px solid var(--line);border-radius:10px;background:linear-gradient(135deg,#fff3b0,#d6a93f);color:#1e1500;font-weight:900;font-size:clamp(9px,.75vw,14px);cursor:pointer}

.right-panel{position:relative;display:grid;grid-template-rows:20% 22% 58%;padding:0;border-right:4px solid var(--gold2)}
.right-panel::after{content:"";position:absolute;right:3px;top:3px;bottom:3px;width:3px;background:var(--gold2);box-shadow:0 0 10px rgba(214,180,106,.9);border-radius:3px;z-index:10}
.top-card,.clock-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:5px;background:rgba(0,0,0,.52);border-bottom:1px solid rgba(242,211,122,.25)}
.hotel-name{font-family:Georgia,serif;font-size:clamp(16px,1.55vw,30px);font-weight:900;letter-spacing:.04em;line-height:1}
.addr{font-size:clamp(5.5px,.55vw,10px);line-height:1.15;font-weight:800;color:#fff;margin-top:4px}
.wifi-line{font-size:clamp(5px,.5vw,9px);line-height:1.05;color:#fff;margin-top:3px;font-weight:800}
#clock{font-size:clamp(34px,3.1vw,64px);font-weight:900;color:var(--gold);line-height:.9;text-shadow:0 0 12px rgba(242,211,122,.75)}
#date,#weekday{font-size:clamp(8px,.75vw,14px);font-weight:900;color:#fff;line-height:1.1;margin-top:4px}
.robot-stage{min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 88%,rgba(242,211,122,.24),transparent 38%)}
.robot-stage img{width:104%;height:104%;object-fit:contain;object-position:center center;filter:drop-shadow(0 0 12px rgba(242,211,122,.38))}
@media (max-aspect-ratio: 1/1){.app{grid-template-columns:19% 62% 19%;padding:1vh .8vw;gap:.6vw}}
