@font-face{font-family:GenSen;src:url('/assets/gensen-rounded-b.woff') format('woff');font-weight:700;font-display:swap}
:root{color-scheme:light;--ink:#263f2b;--muted:#52614e;--green:#38533c;--cream:#f8f5eb;--paper:#fffdf7;--line:#dce1ca;--orange:#a14626;--sage:#eef2e3;--heading:GenSen,"PingFang TC","Microsoft JhengHei",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:1rem/1.65 "PingFang TC","Microsoft JhengHei",system-ui,sans-serif}
[hidden]{display:none!important}
h1,h2,h3,legend,.brand,.primary,.choice span,.overline,strong{font-family:var(--heading);font-weight:700}h1,h2,h3,p{margin:0}
a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}
:focus-visible{outline:3px solid #a75a21;outline-offset:4px}
.wrap{width:min(1100px,calc(100% - 48px));margin-inline:auto}
.top{background:#fffaf0;border-bottom:1px solid #d9dfc7}.top-inner{height:74px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;font-size:1.16rem;line-height:1.08}.brand img{width:46px;height:46px;object-fit:cover;object-position:center;border:1px solid #e4c7aa;border-radius:50%;background:#f8e4cf}.top-label{color:var(--muted);font-size:.9rem;font-weight:650}
.overline{font-size:.875rem;letter-spacing:.11em;color:#a14626}
.paper{border:1px solid var(--line);background:var(--paper);border-radius:23px;padding:clamp(20px,3.8vw,38px);box-shadow:0 4px 14px #3045250a}
h2{font-size:clamp(1.35rem,2.6vw,1.65rem);line-height:1.35}
.field,.question{min-width:0;border:0;padding:0;margin:0 0 24px}
.question{border-bottom:1px solid var(--line);padding-bottom:23px}.question:last-of-type{border-bottom:0;padding-bottom:0}
legend,.field>label,.question>label{font-family:var(--heading);font-weight:700;margin:0 0 9px;padding:0;font-size:1.025rem}.field>label,.question>label{display:block}
.required{color:var(--orange)}.optional{font:400 .85rem/1.3 system-ui,sans-serif;color:var(--muted);margin-left:5px;white-space:nowrap}
input[type=text],input[type=password],textarea{background:#fdfcf6;color:var(--ink);border:1px solid #bcc8ae;border-radius:12px;padding:11px 13px;width:100%;min-height:46px}input::placeholder,textarea::placeholder{color:#65705e}textarea{resize:vertical;min-height:85px;display:block}
.role-options,.rating{display:grid;gap:8px}.role-options{grid-template-columns:repeat(2,minmax(0,1fr))}.rating{grid-template-columns:repeat(5,minmax(0,1fr))}
.choice{position:relative;display:block;cursor:pointer}.choice input{position:absolute;opacity:0;top:10px;left:10px}.choice span{display:grid;place-items:center;min-height:46px;text-align:center;border:1px solid #bfcbb0;border-radius:12px;background:#fcfcf4;padding:7px 4px;font-size:.94rem}.rating .choice span{font-size:1.2rem}.choice:hover span{background:#f0f4e7}.choice input:checked+span{background:#e2edd5;border-color:#577647;box-shadow:inset 0 0 0 1px #577647}.choice input:focus-visible+span{outline:3px solid #a75a21;outline-offset:2px}
.rating-ends{display:flex;justify-content:space-between;margin-top:5px;font-size:.85rem;color:var(--muted)}
.primary{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fffdf1;border:1px solid var(--green);border-radius:13px;padding:10px 21px;text-decoration:none;text-align:center}.primary:hover{background:#294630}.primary:disabled{opacity:.65;cursor:wait}.paper>.primary{width:100%}
.error{color:#8c321e;margin:0 0 12px;font-weight:650}.footer{color:var(--muted);padding-block:24px 34px;font-size:.86rem;text-align:center}
.thanks{max-width:770px;margin:35px auto}.thanks-heading{text-align:center;padding:32px 22px;background:var(--sage);border:1px solid var(--line);border-radius:26px;margin-bottom:20px}.check{display:grid;place-items:center;margin:0 auto 15px;width:48px;height:48px;border-radius:50%;background:var(--green);color:#fffdf1;font-size:1.55rem}.thanks h1,.admin h1{font-size:clamp(1.9rem,4.8vw,2.85rem);line-height:1.25}.thanks-heading p{margin:12px auto 0;max-width:34rem;color:var(--muted)}
.official{display:flex;gap:24px;align-items:center;padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:24px}.official img{flex:none;object-fit:cover;object-position:center 28%;border-radius:16px;width:145px;height:168px}.official h2{margin:5px 0}.official .primary{margin-top:12px}.official p:not(.overline),.social span{color:var(--muted)}.social{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.social a{display:grid;align-content:center;gap:2px;min-height:78px;background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:14px 18px;text-decoration:none}.social a:hover{background:var(--sage)}.social span{font-size:.88rem}
.admin{margin-block:30px}.admin .paper{margin-top:20px}.admin p+p{margin-top:10px}.admin h1+p{margin-top:8px;color:var(--muted)}.admin form{display:grid;gap:8px;margin-top:12px}.admin .setup{max-width:480px}.admin .filters{display:grid;grid-template-columns:1fr 150px;gap:12px 16px;margin:16px 0}.admin-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.admin button.secondary{background:var(--sage);border:1px solid #bfcbb0;color:var(--ink);border-radius:10px;padding:7px 12px}.admin select{min-height:46px;width:100%;border-radius:12px;border:1px solid #bcc8ae;background:var(--paper);padding:7px;color:var(--ink)}.admin .entries{display:grid;gap:12px;margin-top:14px}.entry{border:1px solid var(--line);border-radius:14px;padding:15px;overflow-wrap:anywhere}.entry small{color:var(--muted)}.entry p{white-space:pre-wrap;margin-top:8px}.admin .pagination{display:flex;justify-content:space-between;margin-top:16px}.link-builder{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}.admin .link-builder form{grid-template-columns:minmax(0,1fr) auto;align-items:end}.link-builder input[readonly]{margin-top:8px}
@media(max-width:740px){.wrap{width:calc(100% - 32px)}.top-inner{height:60px}}
@media(max-width:420px){.official{padding:13px;gap:12px}.official img{width:76px;height:128px}.official .primary{font-size:.9rem;padding-inline:9px}.admin .filters,.admin .link-builder form{grid-template-columns:1fr}}

/* The survey reads like a single navigation stack on a phone. */
.survey-app {
  --gutter: 20px;
  width: min(100% - 36px, 540px);
  margin: 24px auto 26px;
}
.app-hero {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 156px;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px var(--gutter);
  background: #1d372b;
  color: #fffdf1;
}
.app-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.65rem, 6.5vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: .01em;
}
.app-hero p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: .875rem;
  color: #fff2d4;
}
.app-hero img {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 63%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 49%;
  pointer-events: none;
}
.app-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #1d372b 14%, #1d372b 36%, #1d372bdb 47%, #1d372b10 79%);
  pointer-events: none;
}
@media(max-width: 380px) {
  .app-hero h1 { font-size: 1.5rem; }
  .app-hero img { object-position: 54% 50%; }
}
.app-form {
  margin-top: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 7px 24px #30452510;
}
.step-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  padding: 17px var(--gutter) 0;
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 650;
}
.step-progress li::before {
  display: block;
  content: "";
  height: 4px;
  border-radius: 4px;
  margin-bottom: 6px;
  background: #e1e6d7;
}
.step-progress li[aria-current="step"] { color: var(--ink); }
.step-progress li[aria-current="step"]::before { background: var(--green); }
.step-progress .step-complete::before { background: #8ca482; }
.step-panel { padding: 22px var(--gutter) 0; }
.step-panel h2 { margin: 0 0 19px; }
.step-panel .field, .step-panel .question { margin-bottom: 17px; }
.step-panel .choice span, .step-panel input[type=text] { min-height: 50px; }
.step-panel input[readonly] { background: var(--sage); }
.app-privacy {
  padding-inline: var(--gutter);
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .875rem;
}
.app-actions {
  position: sticky;
  z-index: 2;
  bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-radius: 0 0 24px 24px;
  padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom));
}
.app-buttons { display: flex; gap: 10px; }
.app-buttons .primary { flex: 1; min-height: 52px; }
.app-back {
  min-width: 92px;
  min-height: 52px;
  padding: 8px 13px;
  background: var(--sage);
  border: 1px solid #bfcbb0;
  border-radius: 13px;
  color: var(--ink);
  font-weight: 650;
}
.app-back:disabled { opacity: .65; cursor: wait; }
.app-offline { margin-top: 12px; }
.survey-app .thanks { margin-top: 0; }
.survey-app .thanks-heading { margin-bottom: 12px; padding: 26px 17px; }
.survey-app .official { gap: 14px; }
.survey-app .official img { width: 110px; height: 146px; }
@media(max-width: 540px) {
  .survey-app { --gutter: 16px; width: calc(100% - 24px); margin-top: 12px; margin-bottom: max(20px, env(safe-area-inset-bottom)); }
  .app-hero { min-height: 145px; border-radius: 19px; }
  .app-form, .app-actions { border-bottom-left-radius: 19px; border-bottom-right-radius: 19px; }
  .app-form { border-top-left-radius: 19px; border-top-right-radius: 19px; }
  .survey-app .social { grid-template-columns: 1fr; gap: 8px; }
  .survey-app .social a { min-height: 64px; }
  .survey-app .official img { width: 82px; height: 125px; }
}

.step-panel input[type=email] {
  background: #fdfcf6;
  color: var(--ink);
  border: 1px solid #bcc8ae;
  border-radius: 12px;
  padding: 11px 13px;
  width: 100%;
  min-height: 50px;
}
.session-context {
  padding: 7px 10px;
  margin: -7px 0 16px;
  border-radius: 9px;
  background: var(--sage);
  overflow-wrap: anywhere;
}
.sending-overlay {
  position: fixed;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #263f2b9c;
}
.sending-card {
  padding: 18px 23px 22px;
  width: min(100%, 310px);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  font-family: var(--heading);
  font-weight: 700;
  box-shadow: 0 16px 45px #192c2370;
}
.sending-card:focus { outline: none; }
.skip-stage { position: relative; height: 152px; width: 178px; margin: 0 auto 9px; }
.skip-spin {
  position: absolute;
  inset: 0 13px;
  border: 3px solid #dfe6d4;
  border-left-color: #c86a42;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: skip-spin 1.25s linear infinite;
}
.skip-jumper {
  position: absolute;
  z-index: 1;
  left: 31px;
  bottom: 15px;
  width: 116px;
  height: 116px;
  animation: skip-jump .75s ease-in-out infinite;
}
.skip-jumper img { position: relative; width: 100%; height: 100%; }
.skip-rope {
  position: absolute;
  left: 3px;
  top: 46px;
  width: 100px;
  height: 57px;
  border: 3px solid #ab562d;
  border-radius: 47%;
  transform-origin: center 10px;
  animation: skip-rope .75s linear infinite;
}
.skip-rope-back { z-index: -1; border-bottom-color: transparent; }
.skip-rope-front { border-top-color: transparent; }
.skip-shadow {
  position: absolute;
  left: 57px;
  bottom: 10px;
  width: 64px;
  height: 9px;
  background: #2e4e3730;
  border-radius: 50%;
  animation: skip-shadow .75s ease-in-out infinite;
}
@keyframes skip-spin { to { transform: rotate(1turn); } }
@keyframes skip-jump {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  47% { transform: translateY(-21px) rotate(3deg); }
}
@keyframes skip-rope { to { transform: perspective(170px) rotateX(1turn); } }
@keyframes skip-shadow { 50% { transform: scale(.7); opacity: .55; } }

.success-card {
  background: radial-gradient(ellipse at 50% 14%, #fef7dd, #eef3e3 68%);
  min-height: 258px;
  display: grid;
  align-content: center;
  justify-items: center;
}
.cheng-avatar {
  position: relative;
  display: grid;
  align-items: start;
  width: 106px;
  height: 106px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #f6dcae;
  border: 3px solid #fffdf2;
  box-shadow: 0 3px 12px #4a65332a;
}
.cheng-avatar img {
  width: 100%;
  height: 100%;
  object-position: 49% 17%;
  border-radius: 50%;
  /* Enlarge the face and crop the body inside the headshot. */
  object-fit: cover;
  object-view-box: inset(0 13% 48% 13%);
}
.cheng-avatar span {
  position: absolute;
  right: -4px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
  border: 2px solid var(--paper);
  border-radius: 50%;
}
.success-card h1 { font-size: clamp(1.7rem, 6.6vw, 2.5rem); }
.confetti { position: fixed; z-index: 4; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; left: 50%; top: 25%; display: block; width: 8px; height: 13px; border-radius: 2px; }
.confetti i:nth-child(3n) { width: 9px; height: 9px; border-radius: 50%; }
.channel-section {
  position: relative;
  isolation: isolate;
  margin-top: 22px;
}
.channel-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 38px 0 0;
  border-radius: 28px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 14%, #eab590 0, transparent 63%),
    radial-gradient(ellipse at 94% 56%, #c1d4ad 0, transparent 66%),
    radial-gradient(ellipse at 15% 100%, #edda9f 0, transparent 63%);
}
.channel-section h2 { font-size: 1.12rem; margin-bottom: 11px; }
.channel-grid { display: grid; gap: 12px; }
.channel-card {
  --channel-tint: #f6eadd;
  --channel-ink: #62442e;
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  color: #26352b;
  background: #fdfbf2;
  border: 1px solid #fffefa;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 #fff, 0 5px 18px #47563816;
  transition: border-color .15s, box-shadow .15s;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .channel-card {
    background: linear-gradient(150deg, #fffffff0, #fffefa80);
    -webkit-backdrop-filter: blur(19px) saturate(122%);
    backdrop-filter: blur(19px) saturate(122%);
  }
}
.channel-card.yt-card { --channel-tint: #eedfd9; --channel-ink: #743e31; }
.channel-card.website-card { --channel-tint: #e9efdf; --channel-ink: #39543d; }
.channel-card:hover { border-color: #9baa8f; box-shadow: 0 5px 16px #263f2b1c; }
.channel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #5665581b;
  font-family: var(--heading);
  font-size: .97rem;
}
.channel-platform { display: inline-flex; gap: 7px; align-items: center; }
.platform-logo { flex: 0 0 22px; }
.instagram-logo { color: #a33461; }
.youtube-logo { color: #c8252d; }
.channel-address { color: #566558; font-size: .82rem; font-weight: 500; overflow-wrap: anywhere; }
.channel-profile { display: flex; gap: 14px; align-items: center; padding: 14px 16px 12px; }
.profile-photo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  padding: 2px;
  border: 2px solid #cf936d;
  border-radius: 50%;
  background: #fffefa;
  object-fit: cover;
}
.yt-card .profile-photo { border-color: #bc7165; }
.channel-mascot { width: 58px; height: 58px; flex: 0 0 58px; margin-left: auto; object-fit: contain; }
.channel-profile strong, .channel-banner strong { font-size: 1.24rem; line-height: 1.2; }
.channel-profile p, .channel-banner p { margin: 2px 0 0; font-size: .88rem; color: #4e6053; }
.channel-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  margin: 10px 12px 0;
  padding: 8px 14px;
  overflow: hidden;
  border-radius: 11px;
  background: #f0e9d8;
}
.website-banner { background: #375342; color: #fff7e6; }
.website-banner p { color: #e5eedf; }
.website-banner img { width: 50px; height: 50px; border: 1px solid #f7e3c6; border-radius: 11px; object-fit: cover; flex: 0 0 50px; }
.channel-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 9px 15px 12px;
}
.channel-topics { color: #566558; font-size: .85rem; }
.channel-action {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--channel-tint);
  color: var(--channel-ink);
  font-family: var(--heading);
  font-size: .86rem;
}
.yt-card .channel-action { background: #324c38; color: #fffaf0; }
.channel-card:hover .channel-action { box-shadow: inset 0 0 0 1px currentColor; }
.social-button .link-spinner {
  display: none;
  position: absolute;
  right: 8px;
  top: 8px;
  background: var(--paper);
  width: 16px;
  height: 16px;
  border: 2px solid #dce1ca;
  border-top-color: var(--green);
  border-radius: 50%;
}
.social-button.link-opening .link-spinner { display: block; animation: skip-spin .65s linear infinite; }
@media (max-width: 380px) {
  .channel-bar { padding-inline: 12px; }
  .channel-profile { gap: 10px; padding-inline: 12px; }
  .channel-bottom { padding-inline: 12px; }
  .channel-topics { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .skip-spin, .skip-jumper, .skip-rope, .skip-shadow, .social-button.link-opening .link-spinner { animation: none; }
}
