* { box-sizing: border-box; }
body { margin: 0; background-color: #000;
  background-image: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(7, 51, 61, 0.95), transparent 70%);
  color: #f5f5f5;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6; }
a { color: #ffc477; }
header { background: linear-gradient(90deg, #07333d 0%, #0d1b22 55%, #123b2e 100%);
  border-bottom: 3px solid #ffab45;
  box-shadow: 0 2px 18px rgba(45, 212, 191, 0.25);
  padding: 12px 16px; position: sticky; top: 0; z-index: 10; }
.site-title { font-size: 1.35rem; font-weight: 800; letter-spacing: 1px;
  text-decoration: none;
  background: linear-gradient(90deg, #5eead4, #ffc477);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
nav { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav a { color: #5eead4; text-decoration: none; font-weight: 600; }
nav a.active, nav a:hover { color: #ffab45; }
main { max-width: 960px; margin: 0 auto; padding: 20px 16px 60px; }
.logo { height: min(240px, 30vh); width: auto; max-width: 92%; display: block; margin: 8px auto; border-radius: 10px; }
.mascot { position: fixed; right: 14px; bottom: 14px; width: 140px; z-index: 30;
  cursor: pointer; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  animation: mascot-bob 3.2s ease-in-out infinite; }
.mascot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.45)); }
@keyframes mascot-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
h1 { color: #ffb347; text-align: center; margin: 12px 0 4px;
  text-shadow: 0 0 22px rgba(255, 140, 26, 0.35); }
h2 { color: #ffb347; margin-top: 36px; }
.tagline { text-align: center; color: #5eead4; font-size: 1.1rem; }
.center { text-align: center; }
.lede { max-width: 640px; margin: 12px auto; text-align: center; }
.card { background: linear-gradient(160deg, #0e2b33 0%, #101c24 70%);
  border: 1px solid #1f7a8c; border-radius: 12px;
  box-shadow: 0 0 24px rgba(45, 212, 191, 0.12);
  padding: 18px; margin: 18px 0; }
.card h2, .card h3 { margin-top: 0; }
audio { width: 100%; margin-top: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: 16px; }
figure { margin: 0; background: #0e2b33; border: 1px solid #1f7a8c;
  border-radius: 10px; overflow: hidden;
  transition: transform .15s ease, border-color .15s ease; }
figure:hover { border-color: #ffab45; transform: translateY(-2px); }
figure img { width: 100%; height: auto; display: block; }
figure.poster img { height: auto; }
figcaption { padding: 10px 12px; font-size: 0.95rem; }
figcaption .detail { color: #5eead4; font-size: 0.85rem; }
.cross { margin-top: 28px; }
.cross h3 { color: #ffb347; margin-bottom: 4px;
  border-left: 4px solid #2dd4bf; padding-left: 10px; }
.btn { display: inline-block; background: linear-gradient(90deg, #ffb347, #ff8c1a);
  color: #000; font-weight: 700; padding: 12px 22px; border-radius: 8px;
  text-decoration: none; margin-top: 10px;
  box-shadow: 0 4px 16px rgba(255, 140, 26, 0.35); }
form { text-align: left; max-width: 520px; margin: 0 auto; }
label { display: block; font-weight: 600; margin: 14px 0 4px; color: #5eead4; }
input[type=text], input[type=email], textarea { width: 100%; padding: 10px 12px;
  border: 1px solid #1f7a8c; border-radius: 8px; background: #0a141a; color: #f5f5f5;
  font-size: 1rem; font-family: inherit; }
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  outline: none; border-color: #2dd4bf; box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35); }
textarea { min-height: 120px; resize: vertical; }
button[type=submit] { background: linear-gradient(90deg, #ffb347, #ff8c1a);
  color: #000; font-weight: 700; padding: 12px 22px; border: none; border-radius: 8px;
  font-size: 1rem; cursor: pointer; margin-top: 16px;
  box-shadow: 0 4px 16px rgba(255, 140, 26, 0.35); }
.sent-note { display: none; background: #123626; border: 1px solid #2e7d4f;
  border-radius: 10px; padding: 14px; margin-bottom: 18px; }
footer { text-align: center; color: #8aa5b1; font-size: 0.9rem;
  padding: 24px 16px 32px; border-top: 1px solid #1f7a8c; }
.chat-label { position: fixed; right: 14px; bottom: 168px; z-index: 31;
  background: #123626; color: #5eead4; border: 1px solid #2dd4bf; border-radius: 999px;
  padding: 6px 12px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); animation: label-pulse 2.4s ease-in-out infinite; }
.chat-label.hidden { display: none; }
@keyframes label-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.chat-panel { position: fixed; right: 14px; bottom: 168px; width: min(360px, calc(100vw - 28px));
  height: 430px; max-height: calc(100vh - 200px); z-index: 40; display: none; flex-direction: column;
  background: linear-gradient(160deg, #0e2b33 0%, #101c24 70%);
  border: 1px solid #1f7a8c; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(45, 212, 191, 0.15); }
.chat-panel.open { display: flex; }
.chat-header { display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: linear-gradient(90deg, #07333d, #123b2e); border-bottom: 1px solid #1f7a8c; }
.chat-header img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; border: 2px solid #a855f7; }
.chat-header .name { font-weight: 800; color: #ffb347; line-height: 1.2; }
.chat-header .status { font-size: 0.8rem; color: #5eead4; }
.chat-close { margin-left: auto; background: none; border: none; color: #f5f5f5; font-size: 1.3rem; cursor: pointer; padding: 4px 8px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 0.95rem; line-height: 1.45; white-space: pre-line; }
.msg.bot { background: #0e2b33; border: 1px solid #1f7a8c; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: linear-gradient(90deg, #ffb347, #ff8c1a); color: #000; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.msg.typing { color: #8aa5b1; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.chip { background: #0a141a; border: 1px solid #2dd4bf; color: #5eead4; border-radius: 999px;
  padding: 5px 11px; font-size: 0.85rem; cursor: pointer; }
.chip:hover { background: #12333d; }
.follow-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 4px; }
.chat-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #1f7a8c; }
.chat-input input { flex: 1; margin: 0; }
.chat-input button { background: linear-gradient(90deg, #ffb347, #ff8c1a); color: #000; font-weight: 700;
  border: none; border-radius: 8px; padding: 10px 16px; cursor: pointer; font-size: 1rem; }
@media (max-width: 600px) {
  .mascot { width: 84px; right: 8px; bottom: 8px; }
  .chat-label { right: 8px; bottom: 100px; font-size: 0.8rem; }
  .chat-panel { right: 8px; bottom: 100px; height: 55vh; }
}
