@font-face {
  font-family: Ember Modern;
  src: url("assets/fonts/ember-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: Ember Modern;
  src: url("assets/fonts/ember-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-024F;
}
:root {
  --ink: #090e11;
  --slate: #151e27;
  --paper: #f4f1ed;
  --pink: #e7378c;
  --orange: #f56820;
  --gradient: linear-gradient(105deg, #df3a91, #f46b23);
  --card: linear-gradient(105deg, #de4089, #ea6c2c);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  font-family: "Ember Modern", "Noto Sans TC", sans-serif;
  background: var(--ink);
  color: #f7f8fa;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: clip;
}
h1,
h2,
h3,
h4 {
  line-height: 1.4;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.15rem;
}
p {
  margin-bottom: 1rem;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
section {
  padding: 96px 0;
  scroll-margin-top: 75px;
}
.container {
  max-width: 1200px;
  padding-left: 28px;
  padding-right: 28px;
}
.dark {
  background: var(--ink);
}
.slate {
  background: var(--slate);
}
.light {
  background: var(--paper);
  color: #242b32;
}
.eyebrow {
  color: #ff6a15;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 50px;
}
.section-heading > p {
  font-size: 14px;
  margin: 0;
  max-width: 420px;
}
.navbar {
  background: #000;
  min-height: 74px;
  padding: 10px 0;
}
.navbar-brand img {
  object-fit: contain;
}
.nav-link {
  color: #d7d7d7;
  font-size: 14px;
  padding: 8px 15px !important;
}
.nav-link:hover,
.nav-link.active {
  color: #ff5c9f;
}
.btn {
  border-radius: 50px;
  padding: 9px 32px;
  font-size: 16px;
}
.gradient-button {
  background: var(--gradient);
  color: #fff;
  border: 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.gradient-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px #e7378c50;
}
.navbar .btn {
  font-size: 14px;
  padding: 6px 25px;
}
.hero {
  background: var(--slate);
  position: relative;
  padding: 165px 0 110px;
  overflow: hidden;
  min-height: 805px;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 74px;
  height: calc(100% - 74px);
  width: auto;
  max-width: 44%;
  object-fit: cover;
  object-position: left;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.8rem);
  line-height: 1.05;

  margin-bottom: 18px;
}
.hero h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.9rem);
  margin-bottom: 38px;
}
.hero h2 span {
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.live {
  background: #0c141c;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
}
.live i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ed4016;
  margin-right: 8px;
}
.event-details {
  display: flex;
  gap: 60px;
  margin-bottom: 45px;
}
.event-details > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.event-details p {
  font-size: 28px;
  line-height: 1.3;
  margin: 0;
}
.event-details strong {
  font-size: 36px;
}
.event-details small {
  font-size: 16px;
}
.event-icon {
  font-size: 74px;
  line-height: 1;
}
.hero-intro {
  padding-left: 20px;
  border-left: 8px solid var(--pink);
  font-size: 17px;
  max-width: 760px;
}
.stat {
  background: var(--gradient);
  border-radius: 20px;
  padding: 18px 22px;
  min-height: 175px;
}
.stat strong {
  display: block;
  font-size: 64px;
  line-height: 1.1;
  text-align: right;
}
.stat h3 {
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 22px;
}
.stat p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}
.topic {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}
.topic > h3 {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 16px;
  margin: 0;
}
.topic > div {
  padding: 24px;
}
.topic h4 {
  font-weight: 400;
  text-align: center;
}
.topic p {
  font-size: 14px;
  margin: 0;
}
.stage {
  border: 2px solid transparent;
  border-radius: 22px;
  padding: 35px 28px;
  background:
    linear-gradient(#21191f, #21191f) padding-box,
    var(--gradient) border-box;
}
.stage h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 12px 0 4px;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
}
.stage h4 {
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 26px;
}
.stage p {
  margin: 12px 0 0;
}
.pill {
  display: inline-block;
  border-radius: 50px;
  padding: 3px 14px;
  background: var(--gradient);
  font-size: 14px;
}
.launch {
  background:
    linear-gradient(#141623, #141623) padding-box,
    linear-gradient(100deg, #167cff, #e4349f) border-box;
}
.growth {
  background:
    linear-gradient(#1b1423, #1b1423) padding-box,
    linear-gradient(100deg, #742ab0, #e4349f) border-box;
}
.nav-tabs {
  border-bottom: 1px solid #adb2b7;
  flex-wrap: nowrap;
  overflow: hidden;
}
.nav-tabs .nav-link {
 
  border: 0;
  border-radius: 18px 18px 0 0;
  color: white;
  background: linear-gradient(100deg, #e03392, #702799);
  padding: 12px 24px !important;
  font-size: 15px;
}
.nav-tabs .nav-link.active {
  color: white;
  background: var(--gradient);
}
.agenda-table {
  width: 100%;
  border-collapse: collapse;
}
.agenda-table th {
  width: 170px;
  font-size: 16px;
  white-space: nowrap;
  vertical-align: middle;
}
.agenda-table td {
  font-size: 18px;
}
.agenda-table td,
.agenda-table th {
  padding: 23px 28px;
  border-bottom: 1px solid #757a7e;
}
.agenda-table tr:nth-child(odd) {
  background: #10171e;
}
.agenda-table small {
  display: block;
  font-size: 14px;
  line-height: 1.8;    padding-left: 8px;
}
.agenda-table .break-row {
  background: #203578 !important;
}
.schedule-pending {
  padding: 80px 24px;
  text-align: center;
  background: #10171e;
}
.experience {
  background: #150e13;
  padding: 25px 15px;
  border-radius: 12px;
  height: 100%;
}
.experience > span {
  font-size: 34px;
  color: #b8a9b4;
}
.experience h3 {
  color: white;
  background: none;
  font-size: 17px;
}
.experience p {
  font-size: 14px;
}
.accent {
  color: #ec4388;
}
.gift h3 {
  font-size: 22px;
  background: none;
  color: #eee;
}
.perks {
  margin: 55px 0;
}
.perks h3 {
  font-size: 20px;
  font-weight: 400;
}
.perks p {
  font-size: 14px;
}
.lined-title {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 28px;
  font-weight: 400;
  margin-top: 45px;
}
.lined-title:before,
.lined-title:after {
  content: "";
  height: 1px;
  background: #8a8c8d;
  flex: 1;
}
.consult-topic h4 {
  background: var(--card);
  color: white;
  padding: 26px 15px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  font-size: 18px;
}
.consult-topic > p {
  padding: 30px 18px;
  min-height: 100px;
}
.registration-box {
  background: #15191c;
  border-radius: 16px;
  min-height: 720px;
  padding: 32px;
  color: #c1c5ca;
}
.speaker {
  text-align: center;
}
.speaker img {
  width: 100%;
  height: auto;
  max-width: 240px;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 22px;
}
.speaker h3 {
  font-size: 20px;
  font-weight: 400;
}
.speaker p {
  font-size: 15px;
  line-height: 1.6;
}
.partner-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}
.filter-btn {
  background: var(--gradient);
  color: white;
  border: 2px solid transparent;
  padding: 7px 28px;
  font-size: 15px;
}
.filter-btn:hover,
.filter-btn.active {
  color: white;
  border-color: #752590;
  box-shadow: 0 0 0 2px #75259030;
}
.partner {
  overflow: hidden;
  border-radius: 18px;
  background: white;
  height: 100%;
}
.partner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.78;
  object-fit: contain;
}
.partner h3 {
  color: white;
  background: linear-gradient(100deg, #76269e, #de369d);
  font-size: 17px;
  text-align: center;
  padding: 12px 6px;
  margin: 0;
  min-height: 48px;
}
.awards {
  background: linear-gradient(105deg, #087bff, #ef17a4 58%, #ff620b);
  padding: 155px 0;
}
.awards h2 {
  font-weight: 400;
}
.awards p {
  font-size: 15px;
}
.venue-block {
  border-top: 1px solid #737b83;
  padding: 14px 0 8px;
}
.venue-block h3 {
  font-weight: 400;
  font-size: 23px;
  margin: 0;
}
.venue-block p {
  font-size: 14px;
}
.map-box {
  height: 100%;width: 100%;
  min-height: 550px;
  background: #10171e;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 28px;
}
.map-pin {
  font-size: 72px;
  color: #e84785;
}
.accordion-item {
  background: transparent;
  color: #dadde0;
  border-color: #797f84;
}
.accordion-item:first-child {
  border-top: 1px solid #797f84;
}
.accordion-item:last-child {
  border-bottom: 1px solid #797f84;
}
.accordion-button,
.accordion-button:not(.collapsed) {
  background: transparent;
  color: #ddd;
  padding: 25px 20px;
  font-size: 18px;
  box-shadow: none;
  line-height: 1.6;
}
.accordion-button:after {
  background: none;
  content: "＋";
  font-size: 32px;
  font-weight: 400;
  width: 32px;
  height: auto;
  line-height: 1;
}
.accordion-button:not(.collapsed):after {
  content: "−";
  transform: none;
}
.accordion-body {
  padding: 0 20px 24px;
  color: #b8c1c8;
}
.accordion-button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid #ffb461;
  outline-offset: 4px;
  box-shadow: none;
}
.hosts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}
.hosts strong {
  font-size: 25px;
}
.hosts img {
  object-fit: contain;
}
footer {
  padding: 65px 0 25px;
  background: radial-gradient(ellipse at 25% 0, #39152d40, transparent 60%), #090e11;
}
footer h2 {
  font-size: 40px;
}
footer h3 {
  font-size: 18px;
}
footer p {
  font-size: 15px;
}
footer a {
  color: #ff762d;
}
.footer-bottom {
  border-top: 1px solid #90969b;
  padding-top: 24px;
  margin-top: 35px;
  font-size: 12px;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 10px;
  z-index: 2000;
  background: white;
  color: black;
  padding: 8px 16px;
}
.skip-link:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  .hero {
    min-height: 880px;
  }
  .hero h1 {
    font-size: 82px;
  }
  .hero-art {
    max-width: 43%;
  }
}
@media (max-width: 991.98px) {
  section {
    padding: 70px 0;
  }
  .navbar-collapse {
    padding: 20px 0;
  }
  .navbar-nav {
    gap: 8px;
  }
  .navbar-nav .btn {
    margin-top: 8px;
  }
  .hero {
    padding-top: 145px;
    min-height: 740px;
  }
  .hero-art {
    opacity: 0.38;
    max-width: 50%;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero-intro {
    max-width: 620px;
  }
  .registration-box {
    min-height: 560px;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .hosts {
    justify-content: flex-start;
  }
}
@media (max-width: 575.98px) {
  body {
    font-size: 16px;
  }
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }
  section {
    padding: 58px 0;
  }
  .hero {
    padding: 130px 0 55px;
    min-height: auto;
  }
  .hero-art {
    max-width: 65%;
    height: 430px;
    top: 74px;
    opacity: 0.27;
  }
  .hero h1 {
    font-size: 42px;
    max-width: 330px;
  }
  .hero h2 {
    font-size: 19px;
  }
  .hero h2 span {
    display: block;
    margin-top: 6px;
    font-size: 17px;
  }
  .hero-actions {
    gap: 12px;
    margin-bottom: 34px;
  }
  .hero-actions .btn {
    padding: 8px 25px;
  }
  .live {
    font-size: 12px;
  }
  .event-details {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
  }
  .event-details > div {
    gap: 18px;
  }
  .event-icon {
    font-size: 48px;
    width: 50px;
    text-align: center;
  }
  .event-details strong {
    font-size: 28px;
  }
  .event-details p {
    font-size: 23px;
  }
  .event-details small {
    font-size: 14px;
  }
  .hero-intro {
    font-size: 15px;
    padding-left: 14px;
    border-width: 5px;
  }
  .hero-intro br {
    display: none;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 16px;
  }
  .stat {
    padding: 16px;
    min-height: 185px;
    border-radius: 16px;
  }
  .stat strong {
    font-size: 48px;
  }
  .stat h3 {
    font-size: 18px;
  }
  .stat p {
    font-size: 13px;
  }
  .stage {
    padding: 28px 18px;
  }
  .stage h4 {
    font-size: 19px;
  }
  .stage p {
    font-size: 14px;
  }
  .nav-tabs .nav-link {
    font-size: 13px;
    padding: 12px 16px !important;
  }
  .agenda-table td,
  .agenda-table th {
    padding: 19px 10px;
  }
  .agenda-table th {
    font-size: 13px;
    width: 106px;
  }
  .agenda-table td {
    font-size: 16px;
  }
  .agenda-table small {
    font-size: 13px;
  }
  .experience {
    padding: 18px 10px;
  }
  .experience h3 {
    font-size: 16px;
  }
  .perks {
    margin: 35px 0;
  }
  .perks h3 {
    font-size: 17px;
  }
  .lined-title {
    font-size: 23px;
    gap: 14px;
  }
  .consult-topic h4 {
    min-height: 88px;
  }
  .consult-topic > p {
    min-height: auto;
    padding: 25px 14px;
  }
  .registration-box {
    min-height: 420px;
    padding: 20px;
  }
  .speaker img {
    margin-bottom: 12px;
  }
  .speaker h3 {
    font-size: 18px;
  }
  .speaker p {
    font-size: 13px;
  }
  .speaker {
    --bs-gutter-x: 1.5rem;
  }
  .partner-filters {
    gap: 9px;
  }
  .filter-btn {
    font-size: 13px;
    padding: 6px 16px;
  }
  .partner {
    border-radius: 12px;
  }
  .partner h3 {
    font-size: 13px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .awards {
    padding: 100px 0;
  }
  .awards h2 {
    font-size: 24px;
  }
  .map-box {
    min-height: 360px;
  }
  .accordion-button,
  .accordion-button:not(.collapsed) {
    font-size: 16px;
    padding: 20px 5px;
  }
  .accordion-body {
    padding: 0 5px 20px;
  }
  .accordion-button:after {
    margin-left: 15px;
  }
  footer h2 {
    font-size: 31px;
  }
  footer h3 {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Detail buttons and replaceable artwork */
.detail-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}
.detail-trigger:focus-visible {
  outline: 3px solid #ffb461;
  outline-offset: 5px;
}
.card-name,
.card-subtitle {
  display: block;
}
.speaker .card-name {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.speaker .card-subtitle {
  font-size: 15px;
  line-height: 1.6;
}
.partner .card-name {
  color: white;
  background: linear-gradient(100deg, #76269e, #de369d);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 12px 6px;
  min-height: 48px;
  line-height: 1.4;
}
.placeholder-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.experience .placeholder-icon {
  width: 48px;
  height: 48px;
}
.perk-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}
.stat {
  position: relative;
}
.stat-icon {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 54px;
  height: 54px;
}
/* White rules on both sides of the three stage slogans */
.stage .stage-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 24px auto 12px;
}
.stage-tagline::before,
.stage-tagline::after {
  content: "";
  flex: 1 1 40px;
  max-width: 100px;
  min-width: 20px;
  height: 1px;
  background: #fff;
}
/* Bootstrap detail modals — one independent modal per card */
.detail-modal {
  --bs-modal-width: 720px;
  --bs-modal-margin: 24px;
}
.detail-modal .modal-content {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}
.detail-modal .modal-body {
  padding: 90px 60px 60px;
  text-align: center;
}
.detail-modal .detail-close {
  position: absolute;
  top: 25px;
  right: 28px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
}
.detail-close::before,
.detail-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 3px;
  width: 38px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.detail-close::after {
  transform: rotate(-45deg);
}
.detail-close:focus-visible {
  outline: 3px solid #ed7a33;
  outline-offset: 3px;
}
.detail-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 36px;
  object-fit: contain;
}
.detail-modal h2 {
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 400;
}
.detail-subtitle {
  font-size: 20px;
  line-height: 1.7;
}
.detail-description {
  margin: 32px 0 0;
  font-size: 18px;
}
.speaker-modal .modal-content {
  color: white;
  border: 3px solid transparent;
  background:
    linear-gradient(#151e27, #151e27) padding-box,
    linear-gradient(110deg, #db4192, #ed7927) border-box;
}
.speaker-modal .detail-image img {
  max-width: 420px;
}
.partner-modal .modal-content {
  background: #fff;
  color: #242424;
  border: 0;
}
.partner-modal .detail-image img {
  max-width: 500px;
}
.partner-modal .detail-description {
  text-align: left;
  min-height: 130px;
}
@media (max-width: 575.98px) {
  .detail-modal {
    --bs-modal-margin: 16px;
  }
  .detail-modal .modal-body {
    padding: 78px 24px 35px;
  }
  .detail-modal .modal-content {
    border-radius: 22px;
  }
  .detail-modal h2 {
    font-size: 25px;
  }
  .detail-subtitle {
    font-size: 17px;
  }
  .detail-modal .detail-close {
    top: 16px;
    right: 16px;
  }
  .speaker .card-name {
    font-size: 18px;
  }
  .speaker .card-subtitle {
    font-size: 13px;
  }
  .partner .card-name {
    font-size: 13px;
  }
  .stage .stage-tagline {
    gap: 10px;
  }
  .event-icon .placeholder-icon {
    width: 48px;
    height: 48px;
  }
  .stat-icon {
    width: 40px;
    height: 40px;
    left: 14px;
  }
}

/* ==========================================================================
   報名表單（#register）
   ========================================================================== */
.registration-box.has-form {
  display: block;
  text-align: left;
  min-height: auto;
  padding: clamp(24px, 3.5vw, 48px);
}
.reg-form {
  max-width: 940px;
  margin: 0 auto;
}
.fgroup {
  margin-bottom: 42px;
  border: 0;
  padding: 0;
  min-width: 0;
}
.fgroup:last-of-type {
  margin-bottom: 30px;
}
.gl {
  color: #ff6a15;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid #3a4149;
  width: 100%;
}
.gnote {
  font-size: 14px;
  color: #b8c1c8;
  margin: -8px 0 20px;
}
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field.wide {
  grid-column: 1 / -1;
}
.field > label,
.field > .field-label {
  font-size: 15px;
  font-weight: 700;
  color: #f7f8fa;
  margin: 0;
  line-height: 1.5;
}
.field .req {
  color: #ff6a15;
  margin-left: 4px;
}
.field .opt {
  color: #9aa2aa;
  font-size: 13px;
  font-weight: 400;
  margin-left: 6px;
}
.field .hint {
  font-size: 13px;
  line-height: 1.7;
  color: #9aa2aa;
  margin: 0;
}

/* 深色主題控件（覆寫 Bootstrap 預設白底） */
.reg-form .form-control,
.reg-form .form-select {
  background-color: #1d2328;
  border: 1px solid #3a4149;
  border-radius: 8px;
  color: #f7f8fa;
  font-size: 16px;
  min-height: 50px;
  padding: 11px 15px;
}
.reg-form .form-control::placeholder {
  color: #7c848c;
}
.reg-form .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath fill=%27none%27 stroke=%27%23f7f8fa%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3E%3C/svg%3E");
  background-position: right 15px center;
  background-size: 14px 11px;
  padding-right: 42px;
}
.reg-form .form-select option {
  background-color: #1d2328;
  color: #f7f8fa;
}
.reg-form .form-control:focus,
.reg-form .form-select:focus {
  background-color: #1d2328;
  border-color: var(--pink);
  color: #f7f8fa;
  box-shadow: 0 0 0 3px #e7378c33;
}
.reg-form .form-control.is-invalid,
.reg-form .form-select.is-invalid {
  border-color: #ff7a7a;
  background-color: #251a1c;
}
.reg-form .invalid-feedback {
  color: #ff7a7a;
  font-size: 13px;
  font-weight: 700;
  margin-top: 0;
}
.field.is-invalid > .invalid-feedback,
.reg-form .is-invalid ~ .invalid-feedback {
  display: block;
}

/* 是／否等單選群組 */
.optset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.optset label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 160px;
  border: 1px solid #3a4149;
  border-radius: 8px;
  background: #1d2328;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.optset label:hover {
  border-color: var(--pink);
}
.optset input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--pink);
  margin: 0;
}
.optset label:has(input:checked) {
  border-color: var(--pink);
  background: #2a1c25;
}
.field.is-invalid .optset label {
  border-color: #ff7a7a;
}

/* 一對一諮詢條件面板 */
.consult-panel {
  margin-top: 26px;
  padding-top: 28px;
  border-top: 2px solid;
  border-image: var(--gradient) 1;
}

/* Q23 想諮詢的主題（點選記錄優先序） */
.topic-list {
  display: grid;
  gap: 10px;
}
.topic-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  width: 100%;
  text-align: left;
  border: 1px solid #3a4149;
  border-radius: 10px;
  background: #1d2328;
  color: #f7f8fa;
  padding: 15px 18px;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.topic-item:hover {
  border-color: var(--pink);
}
.topic-item .rk {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #4a525a;
  background: #151a1e;
  color: #7c848c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.topic-item.is-picked {
  border-color: var(--pink);
  background: #2a1c25;
}
.topic-item.is-picked .rk {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}
.topic-item .tt {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.field.is-invalid .topic-item {
  border-color: #ff7a7a;
}

/* Q25 可配合的諮詢時段（限選 2） */
.slot-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.slot {
  border: 1px solid #3a4149;
  border-radius: 8px;
  background: #1d2328;
  color: #f7f8fa;
  padding: 13px 8px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.slot:hover {
  border-color: var(--pink);
}
.slot.is-picked {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}
.slot.is-locked {
  opacity: 0.4;
  pointer-events: none;
}
.slot-count {
  font-size: 14px;
  font-weight: 700;
  color: #9aa2aa;
  margin: 0;
}
.slot-count b {
  color: #ff6a15;
}
.field.is-invalid .slot-list .slot:not(.is-picked) {
  border-color: #ff7a7a;
}

/* 個資聲明 */
.privacy-notice {
  background: #12171b;
  border: 1px solid #3a4149;
  border-left: 4px solid var(--pink);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 26px;
}
.privacy-notice .pt {
  font-size: 14px;
  font-weight: 700;
  color: #ff6a15;
  margin-bottom: 12px;
}
.privacy-notice p {
  font-size: 13px;
  line-height: 1.8;
  color: #b8c1c8;
  margin-bottom: 12px;
}
.privacy-notice p:last-of-type {
  margin-bottom: 0;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.7;
  color: #f7f8fa;
  cursor: pointer;
  margin: 18px 0 0;
}
.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--pink);
}
.consent.is-invalid {
  color: #ff7a7a;
}
.consent.is-invalid + .invalid-feedback {
  display: block;
  margin-top: 8px;
}

/* 送出 */
.reg-submit {
  width: 100%;
  min-height: 58px;
  font-size: 18px;
  font-weight: 700;
}
.reg-submit:disabled {
  opacity: 0.6;
}
.form-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #2a1c14;
  border: 1px solid #6a3a18;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 22px;
}
.form-note .ic {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ff8a3d;
  flex: 0 0 auto;
  padding-top: 2px;
}
.form-note p {
  font-size: 14px;
  line-height: 1.75;
  color: #d5cec8;
  margin: 0;
}

/* 送出成功 */
.reg-success {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 20px;
}
.reg-success .tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.reg-success h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.reg-success p {
  font-size: 15px;
  color: #b8c1c8;
  max-width: 46ch;
  margin: 0 auto 10px;
}

/* 訊息 Modal（取代原生 alert） */
#BOX_Message .modal-content {
  background: #151e27;
  color: #f7f8fa;
  border: 1px solid #3a4149;
  border-radius: 14px;
}
#BOX_Message .modal-body {
  font-size: 16px;
  line-height: 1.8;
  padding: 32px 28px 16px;
  text-align: center;
  white-space: pre-line;
}
#BOX_Message .modal-footer {
  border-top: 0;
  justify-content: center;
  padding-bottom: 28px;
}

.reg-form .form-control:focus-visible,
.reg-form .form-select:focus-visible,
.optset label:focus-within,
.topic-item:focus-visible,
.slot:focus-visible {
  outline: 3px solid #ffb461;
  outline-offset: 4px;
  box-shadow: none;
}
	.ph{display: none}

@media (max-width: 991.98px) {
  .registration-box.has-form {
    min-height: auto;
  }
	.ph{display: block}
}
@media (max-width: 767.98px) {
  .reg-grid {
    grid-template-columns: 1fr;
  }
  .fgroup {
    margin-bottom: 34px;
  }
}
@media (max-width: 575.98px) {
  .registration-box.has-form {
    min-height: auto;
    padding: 22px 18px;
  }
  .slot-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .optset label {
    flex: 1 1 100%;
  }
  .topic-item {
    grid-template-columns: 30px 1fr;
    gap: 11px;
    padding: 13px 14px;
  }
  .privacy-notice {
    padding: 18px 16px;
  }
}

/* 報名成功 Modal */
#BOX_Success .modal-content {
  background: #151e27;
  color: #f7f8fa;
  border: 1px solid #3a4149;
  border-radius: 14px;
}
#BOX_Success .modal-body {
  text-align: center;
  padding: 36px 28px 12px;
}
#BOX_Success .tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
#BOX_Success h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
#BOX_Success p {
  font-size: 15px;
  color: #b8c1c8;
  line-height: 1.8;
  margin-bottom: 10px;
}
#BOX_Success p:last-child {
  margin-bottom: 0;
}
#BOX_Success .modal-footer {
  border-top: 0;
  justify-content: center;
  padding-bottom: 28px;
}

/* 手機版底部常駐報名列 */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* 高於一般內容，但需低於 Bootstrap modal-backdrop(1050)，否則會浮在遮罩之上 */
  z-index: 1020;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(9, 14, 17, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #2a3238;
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.show {
  transform: none;
}
.sticky-cta .btn {
  display: flex;
  width: 100%;
}
@media (max-width: 991.98px) {
  .sticky-cta {
    display: block;
  }
  /* 常駐列會蓋住頁尾最後一行，補一段空間 */
  footer {
    padding-bottom: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
}

/* 桌機與平板浮動報名按鈕，768px 以下隱藏 */
.floating-register {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1030;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.floating-register img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-register:hover {
  transform: translateY(-4px);
}

.floating-register:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
