:root {
  --red: #c93a32;
  --red-dark: #9f2723;
  --green: #176b50;
  --green-dark: #104d3b;
  --cream: #fffaf0;
  --gold: #d89b2b;
  --ink: #342d29;
  --muted: #746b65;
  --line: #eadfd0;
  --white: #fff;
  --shadow: 0 14px 35px rgba(70, 48, 33, 0.13);
  --radius: 22px;
  --container: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
}
body.modal-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.container {
  width: min(calc(100% - 48px), var(--container));
  margin: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eyebrow {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.section {
  padding: 88px 0;
}
.section-soft {
  background: linear-gradient(180deg, #fffaf2, #fff);
}
.section-title {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.25;
  margin: 0 0 18px;
  text-align: center;
}
.section-lead {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
  color: var(--muted);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 223, 208, 0.85);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 900;
  color: var(--green-dark);
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 25px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
body.auth-ready .nav-links {
  opacity: 1;
}
.resend-register {
  margin-top: 12px;
}
.nav-links a {
  padding: 10px 14px;
  font-weight: 700;
}
.nav-links a:hover {
  color: var(--red);
}
.nav-toggle {
  display: none;
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 24px;
}
.btn {
  min-height: 50px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 11px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 900;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 58, 50, 0.25);
}
.btn-primary:hover {
  background: var(--red-dark);
}
.btn-secondary {
  background: var(--green);
  color: #fff;
}
.btn-outline {
  border-color: var(--red);
  color: var(--red);
  background: #fff;
}
.btn-ghost {
  background: #fff7ea;
  color: var(--green-dark);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.hero {
  padding: 28px 0 0;
}
.hero-title {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.3;
  margin: 12px 0 24px;
  color: var(--green-dark);
}
.hero-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #efe8dd;
}
.hero-media img {
  width: 100%;
  height: auto;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 42px;
  align-items: start;
  margin-top: 42px;
}
.intro-copy p {
  margin: 0 0 14px;
}
.event-panel {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--green-dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.event-panel h2 {
  margin-top: 0;
  font-size: 26px;
}
.event-date {
  display: block;
  margin: 20px 0;
  font-size: 21px;
  font-weight: 900;
  color: #ffe3a5;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  justify-content: center;
}
.notice-bar {
  margin-top: 34px;
  border: 1px solid #f1d7a0;
  border-radius: 18px;
  padding: 18px 22px;
  background: #fff7df;
  color: #694d15;
  font-weight: 700;
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.prize-card {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.prize-card:before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  right: -32px;
  top: -35px;
  background: #f7ddab;
}
.prize-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #fff3d8;
  font-size: 40px;
}
.prize-card h3 {
  font-size: 24px;
  margin: 18px 0 8px;
}
.prize-card p {
  color: var(--muted);
  margin: 0;
}
.prize-card strong {
  color: var(--red);
}
.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.gallery-head .section-title {
  text-align: left;
  margin: 0;
}
.tabs {
  display: flex;
  gap: 8px;
  padding: 5px;
  background: #f4eee7;
  border-radius: 999px;
}
.tab-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 900;
  color: var(--muted);
}
.tab-btn.active {
  background: var(--green);
  color: #fff;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery-controls {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 22px;
}
.pagination.pagination-top {
  margin: 12px 0 30px;
}
.gallery-search {
  width: min(100%, 420px);
  margin: 0;
}
.gallery-search-field {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--red);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}
.gallery-search-field:focus-within {
  outline: 3px solid rgba(201, 58, 50, 0.18);
  outline-offset: 2px;
}
.gallery-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 13px 15px;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
}
.gallery-search-clear {
  flex: 0 0 auto;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 18px;
  background: #fff;
  color: var(--red-dark);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
.gallery-search-clear:hover,
.gallery-search-clear:focus-visible {
  background: #fff3f1;
}
.gallery-result-status {
  min-height: 1.5em;
  margin: -8px 0 18px;
  color: var(--muted);
  font-weight: 700;
}
.gallery-empty {
  grid-column: 1 / -1;
  margin: 12px 0;
  padding: 34px 20px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.25s;
}
.work-card:hover {
  transform: translateY(-5px);
}
.work-image {
  position: relative;
  aspect-ratio: 4/3;
  background: #eee;
  overflow: hidden;
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.heart-count {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--red);
  font-weight: 900;
}
.work-body {
  padding: 22px;
}
.work-body h3 {
  font-size: 23px;
  line-height: 1.4;
  margin: 0 0 6px;
}
.work-meta {
  color: var(--muted);
  margin: 5px 0;
}
.work-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.work-actions .btn {
  min-height: 44px;
  padding: 8px 16px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}
.page-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  font-weight: 800;
}
.page-btn.active {
  background: var(--green);
  color: #fff;
}
.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.status-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 50px;
  border: 2px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(25, 23, 20, 0.72);
  padding: 24px;
  align-items: center;
  justify-content: center;
}
.modal.is-open {
  display: flex;
}
.modal-dialog {
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.modal-header h2 {
  margin: 0;
  font-size: 28px;
}
.modal-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f4eee7;
  font-size: 25px;
}
.modal-body {
  padding: 28px;
}
.rules h3 {
  color: var(--green-dark);
  font-size: 24px;
  margin-top: 30px;
}
.rules li {
  margin: 8px 0;
}
.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  background: var(--green-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: none;
  width: min(calc(100% - 32px), 620px);
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}
.toast.show {
  display: block;
}
.join-event-trigger.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.page-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #fff5dd, #f5fbf5);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.25;
  margin: 8px 0;
}
.page-hero p {
  max-width: 720px;
  margin: auto;
  color: var(--muted);
}
.form-shell {
  width: min(860px, calc(100% - 40px));
  margin: 60px auto;
  padding: 42px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-weight: 900;
}
.required {
  color: var(--red);
}
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  border: 2px solid #ded5ca;
  border-radius: 13px;
  padding: 13px 15px;
  background: #fff;
  color: var(--ink);
  min-height: 52px;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(216, 155, 43, 0.25);
  border-color: var(--gold);
}
.field-help {
  font-size: 16px;
  color: var(--muted);
}
.field-error {
  display: none;
  color: #b32924;
  font-size: 16px;
  font-weight: 700;
}
.field.has-error .field-error {
  display: block;
}
.field.has-error input:not([type="radio"]):not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea {
  border-color: #b32924;
  box-shadow: 0 0 0 2px rgba(179, 41, 36, 0.12);
}
.upload-box {
  border: 2px dashed #ccbda9;
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  background: #fffcf6;
}
.upload-preview {
  display: none;
  margin: 22px auto 0;
  max-height: 420px;
  border-radius: 16px;
}
.upload-preview.show {
  display: block;
}
.radio-cards {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px 30px;
}
.radio-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  padding: 2px 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.radio-card:has(input:checked) {
  background: transparent;
}
.radio-card input[type="radio"] {
  appearance: auto;
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  accent-color: var(--green);
}
.radio-card input[type="radio"]:focus {
  border: 0;
  outline: none;
  box-shadow: none;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 12px;
}
.checkbox-row input[type="checkbox"] {
  appearance: auto;
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  accent-color: var(--green);
}
.checkbox-row input[type="checkbox"]:focus {
  border: 0;
  outline: none;
  box-shadow: none;
}
.checkbox-row span {
  flex: 1 1 auto;
  min-width: 0;
}
.agreements {
  display: grid;
  gap: 20px;
}
.agreement-copy {
  display: block;
  line-height: 1.65;
}
.privacy-policy-link {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-policy-link:hover,
.privacy-policy-link:focus-visible {
  color: var(--green-dark);
}
.privacy-modal .modal-dialog {
  width: min(780px, 100%);
}
.privacy-content {
  font-size: 18px;
  line-height: 1.85;
}
.privacy-content p {
  margin: 0 0 24px;
}
.privacy-consent-action {
  padding-top: 8px;
  text-align: center;
}
.privacy-consent-action .btn {
  min-width: 160px;
}
.form-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.demo-note {
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff2cf;
  color: #664b14;
  margin-bottom: 26px;
}
.auth-shell {
  width: min(540px, calc(100% - 40px));
  margin: 60px auto;
}
.auth-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-size: 36px;
  margin: 0 0 10px;
}
.auth-card > p {
  color: var(--muted);
}
.auth-links {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 18px;
  margin-top: 20px;
  color: var(--red);
  font-weight: 800;
}
.auth-card .field {
  margin-top: 20px;
}
.auth-card .btn {
  width: 100%;
  margin-top: 26px;
}
.auth-result {
  display: none;
  margin-top: 18px;
  padding: 15px;
  border-radius: 12px;
  background: #fff4d8;
}
.auth-result.show {
  display: block;
}
.auth-result.is-success {
  background: #e8f5e9;
  color: #245b2a;
}
.auth-result.is-error {
  background: #fde8e6;
  color: #8f2923;
}
.work-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
  width: 100%;
  min-width: 0;
}
.work-detail > * {
  min-width: 0;
  max-width: 100%;
}
.detail-image {
  border-radius: 24px;
  background: #f5f0e9;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.detail-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
}
.detail-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-panel h1 {
  font-size: 36px;
  line-height: 1.3;
  margin: 0 0 14px;
}
.detail-list {
  margin: 22px 0;
}
.detail-list dt {
  font-weight: 900;
  color: var(--green-dark);
}
.detail-list dd {
  margin: 3px 0 16px;
}
.blessing {
  padding: 22px;
  border-radius: 18px;
  background: #fff7e8;
  font-size: 20px;
  white-space: pre-line;
}
.detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}
.share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.share-options .btn {
  border-radius: 14px;
}
.site-footer {
  padding: 42px 0;
  background: #173c32;
  color: #fff;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  box-shadow: var(--shadow);
  display: none;
}
.back-top.show {
  display: block;
}
@media (max-width: 991px) {
  .intro-grid,
  .work-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .prize-grid {
    grid-template-columns: 1fr 1fr;
  }
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    text-align: center;
  }
  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 1.7;
  }
  .container {
    width: min(calc(100% - 30px), var(--container));
  }
  .section {
    padding: 62px 0;
  }
  .hero {
    padding-top: 16px;
  }
  .hero-title {
    font-size: 29px;
  }
  .hero-media {
    border-radius: 18px;
  }
  .intro-grid {
    margin-top: 28px;
    gap: 26px;
  }
  .event-panel {
    padding: 24px;
  }
  .prize-grid,
  .works-grid,
  .form-grid,
  .radio-cards {
    grid-template-columns: 1fr;
  }
  .gallery-head {
    align-items: stretch;
    flex-direction: column;
  }
  .tabs {
    align-self: flex-start;
  }
  .work-body h3 {
    font-size: 21px;
  }
  .work-actions {
    flex-direction: column;
  }
  .work-actions .btn {
    width: 100%;
  }
  .modal {
    padding: 0;
  }
  .modal-dialog {
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  .form-shell {
    margin: 34px auto;
    padding: 24px;
    width: min(100% - 24px, 860px);
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .auth-links {
    flex-direction: column;
  }
  .page-hero {
    padding: 42px 0;
  }
  .detail-panel {
    padding: 24px;
  }
  .detail-panel h1 {
    font-size: 29px;
  }
  .share-options {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  .hero-media picture,
  .hero-media img {
    width: 100%;
  }
  .field-help,
  .field-error {
    font-size: 15px;
  }
}

/* Christmas atmosphere and brand refinements */
body {
  background-color: #fffdf8;
  background-image: url("../images/BGPOINT.png");
  background-repeat: repeat;
}
.section {
  position: relative;
}
.section-soft {
  background-color: #fff9ec;
  background-image:
    radial-gradient(circle, rgba(216, 155, 43, 0.13) 1.5px, transparent 1.5px), linear-gradient(180deg, rgba(255, 250, 242, 0.97), rgba(255, 255, 255, 0.97));
  background-size:
    34px 34px,
    100% 100%;
}
.site-header {
  background: rgba(16, 77, 59, 0.97);
  border-bottom: 3px solid var(--gold);
  color: #fff;
}
.nav-wrap {
  min-height: 82px;
}
.brand {
  color: inherit;
}
.brand-logo {
  width: auto;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}
.nav-links a:hover {
  color: #ffe3a5;
}
.nav-toggle {
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.btn {
  border-radius: 12px;
}
.site-header .btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
  min-width: 88px;
  min-height: 50px;
  padding: 11px 18px;
  justify-content: center;
}
.site-header .btn-outline:hover {
  background: #fff;
  color: var(--green-dark);
}
.hero {
  position: relative;
  padding-top: 34px;
}
.hero:before,
.hero:after {
  position: absolute;
  z-index: -1;
  font-size: 72px;
  opacity: 0.14;
}
.hero:before {
  content: "❄";
  left: 2.5%;
  top: 90px;
  color: var(--green);
}
.hero:after {
  content: "✦";
  right: 3%;
  top: 190px;
  color: var(--red);
}
.hero-media {
  border-radius: 20px;
  border: 5px solid #fff;
}
.event-panel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.event-panel:after {
  content: "🎄";
  position: absolute;
  right: -6px;
  bottom: -30px;
  font-size: 100px;
  opacity: 0.16;
}
.notice-bar {
  border-radius: 12px;
}
.back-top {
  border-radius: 12px;
}
.site-footer {
  background: var(--green-dark);
  border-top: 3px solid var(--gold);
}
.site-footer .brand-logo {
  height: 54px;
}
@media (max-width: 991px) {
  .nav-links {
    top: 78px;
    background: var(--green-dark);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
  }
}
@media (max-width: 767px) {
  .brand-logo {
    height: 26px;
    padding: 5px 7px;
  }
  .nav-wrap {
    min-height: 72px;
  }
  .hero:before,
  .hero:after {
    font-size: 44px;
  }
  .hero-media {
    border-radius: 14px;
    border-width: 3px;
  }
}

/* The supplied PNG already has a transparent background. */
.brand-logo {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
@media (max-width: 767px) {
  .brand-logo {
    padding: 0;
  }
}

/* Footer content is intentionally centered without a logo. */
.site-footer {
  text-align: center;
}
.site-footer .footer-wrap {
  justify-content: center;
}
.site-footer .footer-links {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Sharper visual hierarchy: rounded corners are reserved for outer containers only. */
:root {
  --radius: 10px;
}
.btn {
  border-radius: 5px;
}
.hero-media {
  border-radius: 8px;
}
.event-panel {
  border-radius: 8px;
}
.notice-bar,
.demo-note {
  border-radius: 4px;
}
.prize-card {
  border-radius: 8px;
  padding: 24px;
}
.prize-card:before {
  display: none;
}
.prize-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.prize-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.prize-photo-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.prize-photo-grid .prize-photo {
  margin: 0;
  aspect-ratio: 1/1;
}
.work-card {
  border-radius: 8px;
}
.work-image {
  border-radius: 0;
}
.work-actions .btn {
  border-radius: 4px;
}
.tabs {
  border-radius: 6px;
}
.tab-btn {
  border-radius: 3px;
}
.page-btn {
  border-radius: 4px;
}
.modal-dialog {
  border-radius: 8px;
}
.modal-header {
  border-radius: 0;
}
.modal-close {
  border-radius: 4px;
}
.form-shell,
.auth-card,
.detail-panel,
.detail-image {
  border-radius: 8px;
}
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  border-radius: 3px;
}
.upload-box {
  border-radius: 4px;
}
.upload-preview {
  border-radius: 0;
}
.radio-card {
  border-radius: 4px;
}
.blessing {
  border-radius: 0;
  border-left: 5px solid var(--gold);
}
.share-options .btn {
  border-radius: 4px;
}
.back-top {
  border-radius: 4px;
}
.section-title-left {
  text-align: left;
}
.center-text {
  text-align: center;
}
.centered-actions {
  justify-content: center;
}
.content-note,
.asset-note {
  color: var(--muted);
  font-size: 16px;
}
.asset-note {
  text-align: center;
  margin: 22px auto;
  max-width: 900px;
}
.footer-button {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  cursor: pointer;
}
.identity-field {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px 24px;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
}
.identity-field .radio-cards {
  width: 100%;
  margin: 0;
  justify-content: flex-start;
}
.identity-field legend {
  font-weight: 900;
  margin: 0;
}
.detail-return {
  margin-top: 28px;
  font-weight: 800;
  text-align: center;
}

.vote-demo.is-voted,
.vote-demo.is-voted[disabled] {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  opacity: 1;
  cursor: default;
}

/* Submission page presentation follows the approved centered card layout. */
.form-shell .submission-intro {
  margin: -42px -42px 32px;
  padding: 68px 42px 38px;
  background: #fff;
}
.form-shell .submission-intro h1 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
}
.form-shell .submission-intro p {
  margin: 3px auto;
  color: var(--red);
  line-height: 1.55;
}
.form-shell .submission-intro p strong {
  font-weight: 900;
}
.form-shell > .demo-note {
  margin: 0 0 34px;
  padding: 18px 20px;
}
@media (max-width: 767px) {
  .hero-media {
    border-radius: 4px;
  }
  .modal-dialog {
    border-radius: 0;
  }
  .content-note,
  .asset-note {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  .prize-photo-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Full-width campaign banner replaces the separate activity title block. */
.hero {
  padding: 0;
  width: 100%;
}
.hero:before,
.hero:after {
  display: none;
}
.hero-media {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .hero {
    padding: 0;
  }
  .hero-media {
    border: 0;
    border-radius: 0;
  }
}

/* Banner composition from outputs: fixed center art with repeatable side extensions. */
.christmas-banner {
  --banner-height: min(36.451613vw, 565px);
  --center-width: calc(var(--banner-height) * 1550 / 565);
  --tile-width: calc(var(--banner-height) * 600 / 565);
  position: relative;
  isolation: isolate;
  width: 100%;
  height: var(--banner-height);
  overflow: hidden;
  background: #bf322b;
}
.christmas-banner::before,
.christmas-banner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: max(0px, calc((100% - var(--center-width)) / 2));
  background-repeat: repeat-x;
  background-size: var(--tile-width) var(--banner-height);
  pointer-events: none;
}
.christmas-banner::before {
  left: 0;
  background-image: url("../images/banner/banner-left-repeat.png");
  background-position: right top;
}
.christmas-banner::after {
  right: 0;
  background-image: url("../images/banner/banner-right-repeat.png");
  background-position: left top;
}
.christmas-banner__image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: var(--center-width);
  height: var(--banner-height);
  max-width: none;
}

/* Activity introduction adjustments. */
.intro-grid {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
}
.intro-copy > p {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.65;
}
.intro-copy > p:first-child {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.65;
  color: inherit;
}
.intro-copy > .action-row {
  justify-content: center;
}
.event-panel {
  margin-top: 42px;
  text-align: center;
}

/* Award groups follow the Word document's award-by-award hierarchy. */
.award-title {
  display: flex;
  justify-content: center;
  margin: -18px auto 18px;
}
.award-title img {
  display: block;
  width: min(600px, 100%);
  height: auto;
}
.award-group {
  margin: 0;
  padding: 20px 0 76px;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}
.award-group + .award-group {
  margin-top: 0;
  padding-top: 76px;
}
.award-copy h3 {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.4;
  color: var(--green-dark);
}
.award-copy p {
  margin: 8px 0;
}
.award-label {
  font-weight: 900;
  color: var(--red);
}
.award-products {
  display: grid;
  grid-template-columns: repeat(2, 300px);
  gap: 34px;
  justify-content: center;
  justify-items: center;
  margin-top: 30px;
}
.award-products-three {
  grid-template-columns: repeat(3, 300px);
}
.award-products-combined {
  grid-template-columns: minmax(0, 634px);
}
.award-product {
  position: relative;
  display: flex;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  min-height: 390px;
  margin: 0 auto;
  padding: 32px 22px 26px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 3px solid rgba(238, 38, 38, 0.5);
  border-radius: 10px;
  /* background: #fffef2; */
  overflow: hidden;
}
.award-product::before {
  content: none !important;
  display: none !important;
}
.award-product img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: contain;
}
.award-rank {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
}
.award-product figcaption {
  width: 100%;
  padding: 18px 4px 0;
  border: 0;
  color: #3b2a20;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}
.award-name,
.award-quantity,
.award-note {
  display: block;
}
.award-name {
  font-weight: 900;
}
.award-quantity {
  margin-top: 4px;
  font-weight: 600;
  font-size: 18px;
}
.award-note {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}
.award-plus {
  display: inline-block;
  margin: 7px 0;
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
}
.award-product-combined {
  width: min(634px, 100%);
  min-width: 0;
  max-width: 634px;
  min-height: 390px;
}
.award-combined-images {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.award-combined-images img {
  width: 100%;
  height: 220px;
}
.award-combined-images .award-photo {
  object-fit: cover;
  background: #f5f4f0;
}
.award-photo-wrist {
  object-position: right bottom;
}
.award-photo-coaster {
  object-position: center bottom;
}

/* Activity rules remain fully visible for direct reading. */
.rules-section {
  padding-top: 36px;
}
.rules-title {
  margin: 0;
  text-align: center;
  color: var(--green-dark);
  font-size: 32px;
  line-height: 1.4;
}
.rules-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 34px 8px 8px;
}
.rules-content h3 {
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--green-dark);
}
.rules-contact-link {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rules-content h3:first-child {
  margin-top: 0;
}
@media (max-width: 991px) {
  .award-products-three {
    grid-template-columns: repeat(2, 300px);
  }
}
@media (max-width: 767px) {
  .award-title {
    margin: -8px auto 14px;
  }
  .award-group {
    padding: 8px 0 54px;
  }
  .award-group + .award-group {
    padding-top: 54px;
  }
  .award-copy h3 {
    font-size: 23px;
  }
  .award-products,
  .award-products-three {
    grid-template-columns: 300px;
    gap: 36px;
  }
  .award-product {
    width: 300px;
    min-height: 390px;
    padding: 30px 20px 24px;
  }
  .award-product img {
    height: 220px;
  }
  .award-products-combined {
    grid-template-columns: minmax(0, 300px);
  }
  .award-product-combined {
    width: 300px;
  }
  .award-combined-images {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .award-combined-images img {
    height: 170px;
  }
  .rules-content {
    padding-top: 26px;
  }
}

/* Mobile typography, centered banner crop and borderless menu control. */
@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 1.65;
  }
  .section {
    padding: 52px 0;
  }
  .section-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .section-lead {
    font-size: 16px;
  }
  .eyebrow {
    font-size: 14px;
  }
  .intro-copy > p,
  .intro-copy > p:first-child {
    font-size: 18px;
    line-height: 1.7;
  }
  .intro-copy {
    font-size: 0;
  }
  .intro-copy > p {
    display: inline;
    margin: 0;
  }
  .intro-copy > p.mobile-sentence-end::after {
    content: "";
    display: block;
    height: 14px;
  }
  .event-panel {
    padding: 22px 18px;
  }
  .event-panel h2 {
    font-size: 22px;
  }
  .event-date {
    font-size: 18px;
  }
  .btn {
    min-height: 46px;
    padding: 9px 18px;
    font-size: 16px;
  }
  .award-copy h3 {
    font-size: 21px;
  }
  .award-copy p {
    font-size: 16px;
  }
  .award-rank {
    font-size: 21px;
  }
  .award-product figcaption {
    font-size: 18px;
  }
  .award-quantity {
    font-size: 16px;
  }
  .award-note {
    font-size: 14px;
  }
  .rules-title {
    font-size: 26px;
  }
  .rules-content {
    padding-top: 24px;
  }
  .rules-content h3,
  .rules h3 {
    font-size: 20px;
  }
  .gallery-search-field input,
  .tab-btn,
  .page-btn {
    font-size: 16px;
  }
  .gallery-controls .tabs {
    align-self: center;
  }
  .gallery-search-clear {
    font-size: 15px;
  }
  .work-body h3 {
    font-size: 20px;
  }
  .work-meta,
  .content-note,
  .asset-note {
    font-size: 15px;
  }
  .page-hero h1,
  .detail-panel h1 {
    font-size: 28px;
  }
  .modal-header h2 {
    font-size: 24px;
  }
  .form-shell .submission-intro {
    margin: -24px -24px 26px;
    padding: 38px 20px 26px;
  }
  .form-shell .submission-intro h1 {
    font-size: 30px;
  }
  .form-shell .submission-intro p {
    font-size: 16px;
  }
  .christmas-banner {
    --banner-height: min(90.2556vw, 565px);
    --center-width: 100%;
  }
  .nav-toggle {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 8px;
  }
  .nav-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }
}
