/*
Theme Name: Visual Novel Theme
Theme URI: https://textsence.com
Description: Visual novel style homepage with ink wash painting panels, gear navigation, and anime character interactions.
Version: 1.0.0
Author: Textsence
Author URI: https://textsence.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visual-novel-theme
*/

/* ===== Site Logo ===== */
#site-logo {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
}
#site-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}
#site-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ===== Cinematic Mode (Ad Creative) ===== */
.cinematic-mode .nav-arrow,
.cinematic-mode #site-logo {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.5s;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Noto Sans TC', sans-serif;
  background: #0d0d1a;
}

#app {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ===== Background ===== */
.bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#bg {
  background-image: url('assets/bg/office.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(1.4) brightness(1.1) contrast(0.95);
}

#bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 200, 100, 0.2) 0%, transparent 60%),
    linear-gradient(to bottom right, rgba(255, 240, 200, 0.1), transparent 50%);
  pointer-events: none;
}

#bg-overlay {
  background: linear-gradient(to bottom,
      transparent 40%,
      rgba(13, 13, 26, 0.3) 65%,
      rgba(13, 13, 26, 0.7) 85%,
      rgba(13, 13, 26, 0.9) 100%);
  pointer-events: none;
}

/* ===== Character ===== */
#character-container {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
}

#character-container.shift-right {
  left: 82%;
}

#character {
  height: 100vh;
  max-height: 700px;
  width: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#character.switching {
  opacity: 0;
  transform: scale(0.97);
}

/* ===== Dialogue Box ===== */
/* ===== Affection Meter ===== */
#affection-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(200, 100, 150, 0.2);
  padding: 0 0 8px;
  margin-bottom: 8px;
  opacity: 0;
  transition: opacity 0.5s ease, border-color 0.3s ease;
}

#affection-meter.visible { opacity: 1; }

#affection-heart {
  font-size: 22px;
  color: #ff6b9d;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.5s ease;
}
#affection-heart.pulse { animation: heartPulse 0.4s ease; }
#affection-heart.filled { color: #ff4081; }

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

#affection-info { flex: 1; min-width: 0; }

#affection-label {
  font-size: 10px;
  color: rgba(200, 180, 220, 0.7);
  letter-spacing: 1px;
  margin-bottom: 3px;
}

#affection-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

#affection-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b9d, #ff4081, #e91e63);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.34, 1.2, 0.64, 1);
}

#affection-rank {
  font-size: 11px;
  color: #ff9dbd;
  margin-top: 2px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

#dialogue-box {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(36%, 420px);
  background: rgba(13, 13, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(120, 120, 180, 0.3);
  border-radius: 12px 12px 4px 4px;
  padding: 16px 24px 20px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s ease, left 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Dialogue follows character when panel opens */
#character-container.shift-right ~ #dialogue-box {
  left: 82%;
}

#dialogue-box.visible {
  opacity: 1;
}

#dialogue-name {
  display: inline-block;
  background: rgba(80, 80, 150, 0.6);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 2px 16px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

#dialogue-text {
  color: #d0d0e8;
  font-size: 18px;
  line-height: 1.7;
  min-height: 48px;
}

#dialogue-indicator {
  position: absolute;
  bottom: 8px;
  right: 16px;
  color: rgba(120, 140, 255, 0.6);
  font-size: 10px;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ===== Gear Container ===== */
#gear-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300vw;
  height: 300vw;
  margin-bottom: calc(-300vw + 14vh);
  z-index: 30;
  pointer-events: none;
}

#gear-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 -4px 20px rgba(80, 80, 160, 0.15));
}

/* ===== Gear Menu Items ===== */
#gear-menu {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gear-menu-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  color: rgba(140, 140, 180, 0.7);
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: 2px;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.gear-menu-item:hover {
  color: rgba(180, 180, 220, 0.9);
}

.gear-menu-item.active {
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  text-shadow:
    0 0 20px rgba(130, 150, 255, 0.7),
    0 0 40px rgba(100, 120, 255, 0.3);
}

/* ===== Selection Indicator ===== */
#selection-indicator {
  position: absolute;
  bottom: calc(14vh - 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 31;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.indicator-glow {
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(120, 140, 255, 0.25) 0%, transparent 70%);
  margin-bottom: -20px;
}

.indicator-arrow {
  color: rgba(120, 140, 255, 0.7);
  font-size: 14px;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* ===== Navigation Arrows ===== */
.nav-arrow {
  position: absolute;
  bottom: 5vh;
  z-index: 40;
  background: rgba(30, 30, 60, 0.6);
  border: 1px solid rgba(120, 120, 180, 0.3);
  color: rgba(180, 180, 220, 0.8);
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.nav-arrow:hover {
  background: rgba(60, 60, 120, 0.7);
  color: #fff;
  border-color: rgba(120, 140, 255, 0.5);
  box-shadow: 0 0 15px rgba(120, 140, 255, 0.2);
}

#nav-left {
  left: max(3vw, 20px);
}

#nav-right {
  right: max(3vw, 20px);
}

/* ===== Content Panels ===== */
#content-panels {
  position: absolute;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}

.content-panel {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 55vw;
  max-width: 55vw;
  max-height: 85vh;
  border-radius: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transform: translate(calc(-50% - 12vw), -50%) translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.5s ease, visibility 0.5s;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
}

.content-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translate(calc(-50% - 12vw), -50%) translateX(0);
}

/* ===== Contact Whiteboard ===== */
.content-panel[data-page="contact"] {
  border-radius: 4px;
  align-items: center;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(0,0,0,0.015) 28px, rgba(0,0,0,0.015) 29px),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(0,0,0,0.01) 28px, rgba(0,0,0,0.01) 29px),
    linear-gradient(170deg, #f5f0e8 0%, #ede6d8 30%, #f0ead9 60%, #e8e0d0 100%);
  border: none;
  box-shadow:
    0 8px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 80px rgba(139, 119, 80, 0.08);
}

/* --- Ink wash background mountains --- */
.ink-wash-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ink-mountain {
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius: 50% 50% 0 0;
  opacity: 0.06;
}

.ink-mountain-1 {
  height: 40%;
  background: radial-gradient(ellipse at 30% 100%, #2a2a2a 0%, transparent 70%);
  left: -10%;
  width: 60%;
}

.ink-mountain-2 {
  height: 30%;
  background: radial-gradient(ellipse at 70% 100%, #3a3a3a 0%, transparent 70%);
  right: -5%;
  width: 50%;
  opacity: 0.04;
}

.ink-mountain-3 {
  height: 20%;
  background: radial-gradient(ellipse at 50% 100%, #1a1a1a 0%, transparent 60%);
  left: 20%;
  width: 70%;
  opacity: 0.03;
}

.ink-fog {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to right, transparent, rgba(200, 190, 170, 0.15), transparent);
  filter: blur(20px);
}

/* --- Contact header --- */
.contact-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 36px 40px 20px;
  width: 100%;
}

.content-panel[data-page="contact"] h2 {
  color: #2c2416;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 8px;
  text-shadow: none;
  margin-bottom: 8px;
}

.contact-subtitle {
  color: #8a7a62 !important;
  font-size: 14px !important;
  letter-spacing: 4px;
  line-height: 1.6 !important;
}

.brush-line {
  width: 180px;
  height: 2px;
  margin: 12px auto;
  background: linear-gradient(to right, transparent, #8a7a62, transparent);
  opacity: 0.5;
}

/* --- Ink form --- */
.ink-form {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 12px 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  color: #4a3f30;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Noto Sans TC', serif;
  font-size: 15px;
  color: #2c2416;
  background: rgba(255, 255, 250, 0.5);
  border: none;
  border-bottom: 1.5px solid rgba(100, 85, 60, 0.25);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(100, 85, 60, 0.35);
  font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: rgba(60, 50, 30, 0.6);
  background: rgba(255, 255, 248, 0.7);
  box-shadow: 0 2px 8px rgba(100, 85, 60, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Submit button --- */
.ink-submit-btn {
  align-self: center;
  position: relative;
  margin-top: 8px;
  padding: 14px 48px;
  background: linear-gradient(135deg, #2c2416 0%, #4a3f30 100%);
  color: #f0ead9;
  font-family: 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 4px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
}

.ink-submit-btn:hover {
  background: linear-gradient(135deg, #1a1508 0%, #3a3020 100%);
  box-shadow: 0 4px 20px rgba(44, 36, 22, 0.3);
  transform: translateY(-1px);
}

.ink-submit-btn:active {
  transform: translateY(0);
}

.btn-brush {
  position: absolute;
  bottom: 2px;
  left: 10%;
  width: 80%;
  height: 6px;
}

/* --- Ink seal stamp --- */
.ink-seal {
  position: absolute;
  bottom: 24px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: 2.5px solid #b83a2a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b83a2a;
  font-size: 22px;
  font-weight: 700;
  transform: rotate(-8deg);
  opacity: 0.6;
  z-index: 2;
}

.content-panel[data-page="contact"] p {
  color: #4a3f30;
  font-size: 15px;
  line-height: 1.8;
}

/* ===== Shared ink-panel styles (About & Services) ===== */
.ink-panel {
  border-radius: 4px;
  align-items: center;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(0,0,0,0.015) 28px, rgba(0,0,0,0.015) 29px),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(0,0,0,0.01) 28px, rgba(0,0,0,0.01) 29px),
    linear-gradient(170deg, #f5f0e8 0%, #ede6d8 30%, #f0ead9 60%, #e8e0d0 100%);
  border: none;
  box-shadow:
    0 8px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 80px rgba(139, 119, 80, 0.08);
}

.ink-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 36px 40px 20px;
  width: 100%;
}

.ink-panel h2 {
  color: #2c2416;
  font-family: 'Noto Serif TC', serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 8px;
  text-shadow: none;
  margin-bottom: 8px;
}

.ink-subtitle {
  color: #8a7a62 !important;
  font-size: 14px !important;
  letter-spacing: 4px;
}

.ink-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ink-lead {
  color: #4a3f30;
  font-size: 15px;
  line-height: 2;
  text-align: center;
}

/* --- About: Stats --- */
.ink-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.ink-stat {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
}

.ink-stat-num {
  color: #2c2416;
  font-family: 'Noto Serif TC', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 4px;
}

.ink-stat-label {
  color: #8a7a62;
  font-size: 12px;
  letter-spacing: 2px;
}

.ink-stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #8a7a62, transparent);
  opacity: 0.4;
}

/* --- About: Cards --- */
.ink-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ink-card {
  flex: 1;
  padding: 24px 20px;
  border-bottom: 1.5px solid rgba(100, 85, 60, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.ink-card:hover {
  border-bottom-color: rgba(100, 85, 60, 0.4);
}

.ink-card h3 {
  color: #2c2416;
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

.ink-card p {
  color: #6a5d48;
  font-size: 13px;
  line-height: 1.7;
}

/* --- Services: List --- */
.ink-services {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ink-service-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(100, 85, 60, 0.12);
  align-items: flex-start;
  transition: background 0.3s ease;
}

.ink-service-item:last-child {
  border-bottom: none;
}

.ink-service-item:hover {
  background: rgba(139, 119, 80, 0.04);
}

.ink-service-num {
  color: #8a7a62;
  font-family: 'Noto Serif TC', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  min-width: 36px;
  opacity: 0.6;
}

.ink-service-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ink-service-content h3 {
  color: #2c2416;
  font-family: 'Noto Serif TC', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
}

.ink-service-content p {
  color: #6a5d48;
  font-size: 13px;
  line-height: 1.7;
}

/* ===== Theme Showcase Cards ===== */
.ink-theme-cards {
  display: flex;
  gap: 18px;
}

.ink-theme-card {
  flex: 1;
  position: relative;
  padding: 28px 22px 22px;
  border: 1px solid rgba(100, 85, 60, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 250, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ink-theme-card:hover {
  border-color: rgba(100, 85, 60, 0.3);
  box-shadow: 0 4px 20px rgba(100, 85, 60, 0.08);
}

.ink-theme-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  background: linear-gradient(135deg, #2c2416, #4a3f30);
  color: #f0ead9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 10px 4px;
  border-radius: 0 0 3px 3px;
}

.ink-theme-card h3 {
  color: #2c2416;
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.ink-theme-card p {
  color: #6a5d48;
  font-size: 13px;
  line-height: 1.8;
  flex: 1;
}

.ink-theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 4px 0;
}

.ink-theme-tags li {
  font-size: 11px;
  color: #8a7a62;
  background: rgba(138, 122, 98, 0.08);
  padding: 2px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
}

.ink-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid rgba(100, 85, 60, 0.25);
  border-radius: 2px;
  color: #4a3f30;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ink-theme-btn:hover {
  background: linear-gradient(135deg, #2c2416, #4a3f30);
  color: #f0ead9;
  border-color: #2c2416;
}

.ink-theme-btn svg {
  transition: transform 0.3s ease;
}

.ink-theme-btn:hover svg {
  transform: translate(2px, -2px);
}

/* ===== Reviews ===== */
.ink-reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ink-review {
  padding: 22px 24px;
  border-left: 3px solid rgba(138, 122, 98, 0.25);
  background: rgba(255, 255, 250, 0.3);
  border-radius: 0 4px 4px 0;
  transition: border-color 0.3s ease;
}

.ink-review:hover {
  border-left-color: rgba(138, 122, 98, 0.5);
}

.ink-review-stars {
  color: #c4a44a;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.ink-review-text {
  color: #4a3f30;
  font-size: 14px;
  line-height: 1.9;
  font-style: italic;
}

.ink-review-author {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ink-review-name {
  color: #2c2416;
  font-family: 'Noto Serif TC', serif;
  font-size: 14px;
  font-weight: 700;
}

.ink-review-role {
  color: #8a7a62;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ===== CTA Button ===== */
.ink-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  margin-top: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #06C755 0%, #05a848 100%);
  color: #fff;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.25);
}

.ink-cta-btn:hover {
  background: linear-gradient(135deg, #05a848 0%, #048f3d 100%);
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.35);
  transform: translateY(-1px);
}

.ink-cta-btn svg {
  transition: transform 0.3s ease;
}

.ink-cta-btn:hover svg {
  transform: translateX(4px);
}

/* ===== Form Hint ===== */
.ink-form-hint {
  color: #8a7a62;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.ink-form-hint a {
  color: #06C755;
  font-weight: 700;
  text-decoration: none;
}

.ink-form-hint a:hover {
  text-decoration: underline;
}

/* ===== Disabled elements ===== */
#rotate-prompt,
#fullscreen-btn {
  display: none !important;
}

/* ===== LINE Floating Button ===== */
#line-float-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: visible;
}

#line-float-btn {
  position: relative;
  width: 84px;
  height: 84px;
  background: #06C755;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.4);
  transition: all 0.3s ease;
  animation: lineFloat 3s ease-in-out infinite;
  flex-shrink: 0;
}

#line-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(6, 199, 85, 0.6);
}

#ig-float-btn {
  position: relative;
  width: 84px;
  height: 84px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(214, 36, 159, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

#ig-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(214, 36, 159, 0.6);
}

/* Tooltip bubbles — positioned relative to each button */
.social-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 20px;
  pointer-events: none;
  animation: tooltipIn 5s ease-in-out 2s both, tooltipPulse 3s ease-in-out 7s infinite;
}

.social-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
}

.line-tip {
  background: #06C755;
  box-shadow: 0 2px 12px rgba(6, 199, 85, 0.3);
}
.line-tip::after { border-left-color: #06C755; }

.ig-tip {
  background: #d6249f;
  box-shadow: 0 2px 12px rgba(214, 36, 159, 0.3);
}
.ig-tip::after { border-left-color: #d6249f; }

@keyframes tooltipIn {
  0% { opacity: 0; transform: translateY(-50%) translateX(10px); }
  20% { opacity: 1; transform: translateY(-50%) translateX(0); }
  100% { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes tooltipPulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.05); }
}

@keyframes lineFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ===== Home Button (legacy, replaced by .panel-back-btn) ===== */
.panel-home-btn {
  display: none;
}

/* ===== Panel Scroll Wrapper ===== */
/* Desktop: wrapper is just a container, panel itself scrolls */
.panel-scroll-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* ===== Panel Collapse Tab (right-centre, mobile only) ===== */
.panel-collapse-tab {
  display: none;
}

.tab-arrow {
  display: block;
}

/* Desktop: hide collapse tab entirely */
.panel-collapse-tab { display: none; }
.tab-expand { display: none; }
.tab-collapse { display: none; }

/* ===== Panel Back Button (bottom of panel) ===== */
.panel-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px 0;
  background: rgba(44, 36, 22, 0.04);
  border-top: 1px solid rgba(100, 85, 60, 0.12);
  color: #8a7a62;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.panel-back-btn:hover {
  background: rgba(44, 36, 22, 0.1);
  color: #4a3f30;
}

.panel-back-btn svg {
  transition: transform 0.3s ease;
}

.panel-back-btn:hover svg {
  transform: translateY(-2px);
}

/* ===== Pricing Calculator ===== */
.quote-calc {
  max-width: 520px;
  margin: 0 auto;
}

.quote-base {
  background: rgba(44, 36, 22, 0.06);
  border: 2px solid rgba(44, 36, 22, 0.15);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.quote-base-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c2416;
  margin-bottom: 6px;
}

.quote-base-desc {
  font-size: 0.8rem;
  color: #8a7a62;
  line-height: 1.5;
  margin-bottom: 10px;
}

.quote-base-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c2416;
  font-family: 'Noto Serif TC', serif;
}

.quote-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #5a4d3a;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(44, 36, 22, 0.1);
}

.quote-addons {
  margin-bottom: 20px;
}

.quote-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.quote-item:hover {
  background: rgba(44, 36, 22, 0.04);
}

.quote-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: #2c2416;
  cursor: pointer;
}

.quote-item-info {
  flex: 1;
  min-width: 0;
}

.quote-item-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c2416;
}

.quote-item-desc {
  display: block;
  font-size: 0.75rem;
  color: #8a7a62;
  margin-top: 2px;
}

.quote-item-price {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #5a4d3a;
  white-space: nowrap;
}

.quote-item.checked {
  background: rgba(44, 36, 22, 0.06);
}

/* Quantity control */
.quote-quantity {
  margin-bottom: 24px;
}

.quote-item-qty {
  flex-wrap: wrap;
}

.quote-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.quote-qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(44, 36, 22, 0.2);
  border-radius: 6px;
  background: #fff;
  font-size: 1.1rem;
  color: #2c2416;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.quote-qty-btn:hover {
  background: rgba(44, 36, 22, 0.08);
}

.quote-qty-input {
  width: 48px;
  height: 30px;
  text-align: center;
  border: 1px solid rgba(44, 36, 22, 0.2);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c2416;
  -moz-appearance: textfield;
}

.quote-qty-input::-webkit-inner-spin-button,
.quote-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quote-qty-subtotal {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a4d3a;
  min-width: 80px;
  text-align: right;
}

/* Total bar */
.quote-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #2c2416;
  border-radius: 10px;
  margin-bottom: 16px;
}

.quote-total-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.quote-total-numbers {
  text-align: right;
}

.quote-total-price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Noto Serif TC', serif;
  transition: transform 0.3s ease;
}

.quote-total-price.bump {
  transform: scale(1.1);
}

.quote-total-monthly {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* CTA button */
.quote-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #06C755;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 12px;
}

.quote-cta-btn:hover {
  background: #05a847;
}

.quote-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: #8a7a62;
}

/* Quote step: Next button */
.quote-next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #2c2416 0%, #4a3f30 100%);
  color: #f0ead9;
  border: none;
  border-radius: 10px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.quote-next-btn:hover {
  background: linear-gradient(135deg, #1a1508 0%, #3a3020 100%);
  box-shadow: 0 4px 20px rgba(44, 36, 22, 0.3);
  transform: translateY(-1px);
}

.quote-next-btn svg {
  transition: transform 0.3s ease;
}

.quote-next-btn:hover svg {
  transform: translateX(4px);
}

/* Quote step 2: Contact section */
.quote-contact {
  max-width: 520px;
  margin: 0 auto;
}

.quote-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #2c2416 0%, #4a3f30 100%);
  color: #f0ead9;
  border: none;
  border-radius: 10px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quote-submit-btn:hover {
  background: linear-gradient(135deg, #1a1508 0%, #3a3020 100%);
  box-shadow: 0 4px 20px rgba(44, 36, 22, 0.3);
  transform: translateY(-1px);
}

.quote-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.quote-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: transparent;
  border: 1px solid rgba(100, 85, 60, 0.25);
  border-radius: 8px;
  color: #8a7a62;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quote-back-btn:hover {
  background: rgba(138, 122, 98, 0.08);
  border-color: rgba(100, 85, 60, 0.4);
  color: #4a3f30;
}

/* ===== Service Link Items ===== */
a.ink-service-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 4px;
}

a.ink-service-link:hover {
  background: rgba(139, 119, 80, 0.08);
}

a.ink-service-link:hover .ink-service-content h3 {
  color: #1a1508;
}

a.ink-service-link:hover .ink-service-num {
  opacity: 0.9;
}

/* ===== Rotate Prompt (portrait mobile) ===== */
#rotate-prompt {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(30, 25, 18, 0.15) 0%, transparent 60%),
    linear-gradient(170deg, #f5f0e8 0%, #ede6d8 40%, #e8e0d0 100%);
  align-items: center;
  justify-content: center;
}

.rotate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px;
}

.rotate-phone {
  animation: rotateHint 2.5s ease-in-out infinite;
}

@keyframes rotateHint {
  0%, 100% { transform: rotate(0deg); }
  30%, 70% { transform: rotate(-90deg); }
}

.rotate-text {
  font-family: 'Noto Serif TC', serif;
  font-size: 24px;
  font-weight: 700;
  color: #2c2416;
  letter-spacing: 6px;
}

.rotate-sub {
  font-size: 14px;
  color: #8a7a62;
  letter-spacing: 2px;
}

#rotate-dismiss {
  margin-top: 20px;
  padding: 10px 28px;
  background: transparent;
  border: 1px solid rgba(138, 122, 98, 0.3);
  border-radius: 2px;
  color: #8a7a62;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#rotate-dismiss:hover {
  background: rgba(138, 122, 98, 0.08);
  border-color: rgba(138, 122, 98, 0.5);
}

/* ==========================================================
   RESPONSIVE: Ultra-wide (≥1920px)
   ========================================================== */
@media (min-width: 1920px) {
  #character {
    max-height: 850px;
  }

  #dialogue-box {
    width: min(28%, 500px);
  }

  .content-panel {
    max-width: 800px;
  }

  #gear-container {
    width: 250vw;
    height: 250vw;
    margin-bottom: calc(-250vw + 16vh);
  }

  #selection-indicator {
    bottom: calc(16vh - 10px);
  }

  .indicator-glow {
    width: 240px;
    height: 70px;
  }
}

/* ==========================================================
   RESPONSIVE: Tablet (768px – 1023px)
   ========================================================== */
@media (min-width: 768px) and (max-width: 1023px) {

  #character {
    height: 75vh;
    max-height: 550px;
  }

  #character-container {
    bottom: 10%;
  }

  #character-container.shift-right {
    left: 75%;
  }

  #dialogue-box {
    bottom: 10%;
    width: min(45%, 380px);
  }

  #character-container.shift-right ~ #dialogue-box {
    left: 75%;
  }

  .content-panel {
    width: 62vw;
    max-width: 62vw;
    max-height: 80vh;
  }

  #gear-container {
    width: 280vw;
    height: 280vw;
    margin-bottom: calc(-280vw + 12vh);
  }

  #selection-indicator {
    bottom: calc(12vh - 10px);
  }

  .gear-menu-item {
    font-size: clamp(13px, 2vw, 18px);
  }

  .gear-menu-item.active {
    font-size: clamp(15px, 2.2vw, 20px);
  }

  .indicator-glow {
    width: 160px;
    height: 50px;
  }

  .nav-arrow {
    bottom: 4vh;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .ink-header {
    padding: 28px 32px 16px;
  }

  .ink-panel h2,
  .content-panel[data-page="contact"] h2 {
    font-size: 28px;
    letter-spacing: 6px;
  }

  .ink-body {
    padding: 0 32px 28px;
  }

  .ink-theme-cards {
    flex-wrap: wrap;
  }

  .ink-theme-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
  }

  .ink-cards {
    flex-wrap: wrap;
  }

  .ink-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 180px;
  }

  /* Social buttons: slightly smaller */
  #line-float-btn {
    width: 72px;
    height: 72px;
  }

  #line-float-btn svg {
    width: 36px;
    height: 36px;
  }

  #ig-float-btn {
    width: 72px;
    height: 72px;
  }

  #ig-float-btn svg {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================
   RESPONSIVE: Mobile (≤767px)
   ========================================================== */
@media (max-width: 767px) {

  html, body {
    overflow: hidden;
  }

  #app {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  /* --- Background: darken more for readability --- */
  #bg-overlay {
    background: linear-gradient(to bottom,
      transparent 20%,
      rgba(13, 13, 26, 0.3) 40%,
      rgba(13, 13, 26, 0.6) 65%,
      rgba(13, 13, 26, 0.85) 100%);
  }

  /* --- Character: smaller, slightly right of centre --- */
  #character-container {
    bottom: 10%;
    left: 53%;
    transform: translateX(-50%);
    transition: all 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
  }

  #character {
    height: 60vh;
    height: 60dvh;
    max-height: 480px;
  }

  /* When panel opens: stay visible, no fade */
  #character-container.shift-right {
    left: 50%;
    transform: translateX(-50%);
  }

  /* --- Dialogue: move to top --- */
  #dialogue-box,
  #character-container.shift-right ~ #dialogue-box {
    width: 92%;
    bottom: auto;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 16px 16px;
    border-radius: 8px;
  }

  #dialogue-name {
    font-size: 11px;
    padding: 2px 10px;
  }

  #dialogue-text {
    font-size: 13px;
    line-height: 1.6;
    min-height: 36px;
  }


  /* --- Gear: reposition as bottom arc --- */
  #gear-container {
    width: 260vw;
    height: 260vw;
    margin-bottom: calc(-260vw + 10vh);
  }

  .gear-menu-item {
    font-size: clamp(12px, 3.5vw, 16px);
    letter-spacing: 1px;
  }

  .gear-menu-item.active {
    font-size: clamp(14px, 4vw, 18px);
  }

  #selection-indicator {
    bottom: calc(10vh - 8px);
  }

  .indicator-glow {
    width: 120px;
    height: 40px;
  }

  /* --- Nav arrows --- */
  .nav-arrow {
    bottom: 3vh;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  #nav-left { left: 12px; }
  #nav-right { right: 12px; }

  /* --- Content panels: left-side drawer --- */
  #content-panels {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
  }

  .content-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: 94%;
    max-width: none;
    max-height: 100%;
    height: 100%;
    border-radius: 0 16px 16px 0;
    transform: translateX(-100%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1), visibility 0.5s;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    overflow: visible;
  }

  /* Mobile: wrapper handles scrolling so tab can extend beyond panel */
  .panel-scroll-wrap {
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: inherit;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* Peek state: show ~50px from left edge */
  .content-panel.active {
    visibility: visible;
    transform: translateX(calc(-100% + 50px));
  }

  /* Fully open state */
  .content-panel.active.panel-open {
    transform: translateX(0);
  }

  /* Disable pseudo-element hints */
  .content-panel::before,
  .content-panel::after {
    display: none !important;
  }

  /* Collapse tab: show on mobile, inside panel */
  .panel-collapse-tab {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 6;
  }

  .panel-collapse-tab .tab-arrow {
    color: #4a3f30;
  }

  /* Mobile: toggle expand/collapse arrows */
  .tab-expand { display: block; }
  .tab-collapse { display: none; }
  .content-panel.panel-open .tab-expand { display: none; }
  .content-panel.panel-open .tab-collapse { display: block; }

  /* Peek: pulse right */
  .content-panel.active:not(.panel-open) .tab-arrow.tab-expand {
    animation: hintPulseRight 1.5s ease-in-out infinite;
  }

  /* Open: pulse left */
  .content-panel.panel-open .tab-arrow.tab-collapse {
    animation: hintPulseLeft 2s ease-in-out infinite;
  }

  @keyframes hintPulseRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
  }

  @keyframes hintPulseLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
  }

  /* Back button: compact on mobile */
  .panel-back-btn {
    padding: 12px 0;
    font-size: 12px;
  }

  /* --- Ink panels: adjust padding --- */
  .ink-header {
    padding: 20px 24px 14px;
  }

  .ink-panel h2,
  .content-panel[data-page="contact"] h2 {
    font-size: 24px;
    letter-spacing: 4px;
  }

  .ink-subtitle,
  .contact-subtitle {
    font-size: 12px !important;
    letter-spacing: 2px;
  }

  .brush-line {
    width: 120px;
    margin: 8px auto;
  }

  .ink-body {
    padding: 0 24px 28px;
    gap: 18px;
  }

  .ink-lead {
    font-size: 13px;
    line-height: 1.8;
  }

  /* --- Stats: stay horizontal but compact --- */
  .ink-stats {
    flex-wrap: nowrap;
    gap: 0;
  }

  .ink-stat { padding: 12px 0; }
  .ink-stat-num { font-size: 20px; letter-spacing: 2px; }
  .ink-stat-label { font-size: 10px; }
  .ink-stat-divider { height: 30px; }

  /* --- Theme cards: stack vertically --- */
  .ink-theme-cards { flex-direction: column; gap: 14px; }
  .ink-theme-card { padding: 22px 18px 18px; }
  .ink-theme-card h3 { font-size: 17px; }
  .ink-theme-card p { font-size: 12px; }
  .ink-theme-badge { font-size: 9px; padding: 2px 8px 3px; }
  .ink-theme-tags li { font-size: 10px; padding: 2px 8px; }
  .ink-theme-btn { padding: 7px 16px; font-size: 12px; }

  /* --- Cards: stack vertically --- */
  .ink-cards { flex-direction: column; gap: 12px; }
  .ink-card { padding: 18px 16px; }
  .ink-card h3 { font-size: 15px; }
  .ink-card p { font-size: 12px; }

  /* --- Service list items: compact --- */
  .ink-service-item { gap: 14px; padding: 16px 0; }
  .ink-service-num { font-size: 22px; min-width: 28px; }
  .ink-service-content h3 { font-size: 15px; }
  .ink-service-content p { font-size: 12px; }

  /* --- Contact form: stack rows --- */
  .contact-header { padding: 20px 24px 14px; }
  .ink-form { padding: 8px 24px 28px; gap: 16px; }
  .form-row { flex-direction: column; gap: 16px; }
  .form-group input, .form-group textarea { padding: 10px 14px; font-size: 14px; }
  .form-group textarea { min-height: 80px; }
  .ink-submit-btn { padding: 12px 36px; font-size: 14px; letter-spacing: 3px; }

  /* --- Seal: smaller --- */
  .ink-seal { width: 38px; height: 38px; font-size: 18px; bottom: 16px; right: 20px; }

  /* --- LINE button: smaller on mobile --- */
  #line-float-wrap { top: 14px; right: 14px; gap: 8px; }
  #line-float-btn { width: 64px; height: 64px; }
  #line-float-btn svg { width: 36px; height: 36px; }
  #ig-float-btn { width: 64px; height: 64px; }
  #ig-float-btn svg { width: 36px; height: 36px; }
  .social-tooltip { font-size: 11px; padding: 6px 12px; }

  /* --- Legacy home button: hidden --- */
  .panel-home-btn { display: none; }

  /* --- Reviews: compact --- */
  .ink-review { padding: 16px 18px; }
  .ink-review-text { font-size: 13px; }
  .ink-review-name { font-size: 13px; }

  /* --- CTA button: full width --- */
  .ink-cta-btn { width: 100%; justify-content: center; padding: 14px 24px; font-size: 14px; }

  /* --- Ink wash BG: subtle on mobile --- */
  .ink-mountain { opacity: 0.03; }
  .ink-fog { display: none; }
}
