/* RESET
--------------------------------------------------------------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
rem,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
figure {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

:focus {
  outline: 0;
}

ins {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

address {
  display: inline;
  font-style: normal;
}
@charset "UTF-8";
:root {
  /* === 紙本 Paper === */
  --paper: #f7e6ca;
  --paper-2: #efd9b3;
  --paper-3: #fcf4e6;
  --white: #ffffff;
  --line: #d8bf98;
  --line-soft: #e9d6b6;
  /* === 墨 Ink === */
  --ink: #2b1d17;
  --ink-2: #5a4638;
  --muted: #75604c;
  /* === 朱印 Seal === */
  --seal: #c81d35;
  --seal-deep: #9e1428;
  --seal-tint: #f4d3c6;
  /* === 浪 Wave === */
  --wave: #1d9ccb;
  --wave-light: #7fd0e6;
  --wave-deep: #1f5c86;
  --wave-ink: #163f5e;
  --wave-tint: #d6edf1;
  --wave-line: rgba(29, 156, 203, 0.35);
  --wave-glow: rgba(29, 156, 203, 0.16);
  --wave-ring: rgba(29, 156, 203, 0.6);
  /* === 打卡狀態 === */
  --status-todo: #8c8176;
  --status-done: var(--seal);
  --status-redeemed: var(--wave-deep);
  /* === 社群品牌色 === */
  --brand-facebook: #1877f2;
  --brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* === 陰影 / 遮罩 === */
  --shadow: rgba(43, 29, 23, 0.16);
  --shadow-strong: rgba(43, 29, 23, 0.28);
  --overlay: rgba(43, 29, 23, 0.55);
  /* === 字體 === */
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --display-en: "Fraunces", "Noto Serif TC", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  /* === App 外框 === */
  --app-w: 30rem;
  --header-h: 3.75rem;
  --bottom-nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  color: #2b1d17;
  color: var(--ink);
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  background: #163f5e;
  background: var(--wave-ink);
}

img {
  display: block;
  width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============ App 外框 ============ */
.wrapper {
  position: relative;
  max-width: 30rem;
  max-width: var(--app-w);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: #f7e6ca;
  background: var(--paper);
  box-shadow: 0 0 2.5rem rgba(43, 29, 23, 0.16);
  box-shadow: 0 0 2.5rem var(--shadow);
  padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0rem));
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
}
@media (orientation: portrait) {
  .wrapper {
    max-width: none;
    box-shadow: none;
  }
}

.container {
  padding: 0 1.25rem;
}
@media screen and (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

body.is_modal_open {
  overflow: hidden;
}
@charset "UTF-8";
:root {
  /* === 紙本 Paper === */
  --paper: #f7e6ca;
  --paper-2: #efd9b3;
  --paper-3: #fcf4e6;
  --white: #ffffff;
  --line: #d8bf98;
  --line-soft: #e9d6b6;
  /* === 墨 Ink === */
  --ink: #2b1d17;
  --ink-2: #5a4638;
  --muted: #75604c;
  /* === 朱印 Seal === */
  --seal: #c81d35;
  --seal-deep: #9e1428;
  --seal-tint: #f4d3c6;
  /* === 浪 Wave === */
  --wave: #1d9ccb;
  --wave-light: #7fd0e6;
  --wave-deep: #1f5c86;
  --wave-ink: #163f5e;
  --wave-tint: #d6edf1;
  --wave-line: rgba(29, 156, 203, 0.35);
  --wave-glow: rgba(29, 156, 203, 0.16);
  --wave-ring: rgba(29, 156, 203, 0.6);
  /* === 打卡狀態 === */
  --status-todo: #8c8176;
  --status-done: var(--seal);
  --status-redeemed: var(--wave-deep);
  /* === 社群品牌色 === */
  --brand-facebook: #1877f2;
  --brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* === 陰影 / 遮罩 === */
  --shadow: rgba(43, 29, 23, 0.16);
  --shadow-strong: rgba(43, 29, 23, 0.28);
  --overlay: rgba(43, 29, 23, 0.55);
  /* === 字體 === */
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --display-en: "Fraunces", "Noto Serif TC", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  /* === App 外框 === */
  --app-w: 30rem;
  --header-h: 3.75rem;
  --bottom-nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0rem);
}

.img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.flex {
  display: flex;
}

.align_center {
  align-items: center;
}

.justify_between {
  justify-content: space-between;
}

.justify_center {
  justify-content: center;
}

.justify_end {
  justify-content: flex-end;
}

.sr_only,
.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 0.0625rem;
  margin: -0.0625rem;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 0.0625rem;
}
@charset "UTF-8";
:root {
  /* === 紙本 Paper === */
  --paper: #f7e6ca;
  --paper-2: #efd9b3;
  --paper-3: #fcf4e6;
  --white: #ffffff;
  --line: #d8bf98;
  --line-soft: #e9d6b6;
  /* === 墨 Ink === */
  --ink: #2b1d17;
  --ink-2: #5a4638;
  --muted: #75604c;
  /* === 朱印 Seal === */
  --seal: #c81d35;
  --seal-deep: #9e1428;
  --seal-tint: #f4d3c6;
  /* === 浪 Wave === */
  --wave: #1d9ccb;
  --wave-light: #7fd0e6;
  --wave-deep: #1f5c86;
  --wave-ink: #163f5e;
  --wave-tint: #d6edf1;
  --wave-line: rgba(29, 156, 203, 0.35);
  --wave-glow: rgba(29, 156, 203, 0.16);
  --wave-ring: rgba(29, 156, 203, 0.6);
  /* === 打卡狀態 === */
  --status-todo: #8c8176;
  --status-done: var(--seal);
  --status-redeemed: var(--wave-deep);
  /* === 社群品牌色 === */
  --brand-facebook: #1877f2;
  --brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* === 陰影 / 遮罩 === */
  --shadow: rgba(43, 29, 23, 0.16);
  --shadow-strong: rgba(43, 29, 23, 0.28);
  --overlay: rgba(43, 29, 23, 0.55);
  /* === 字體 === */
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --display-en: "Fraunces", "Noto Serif TC", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  /* === App 外框 === */
  --app-w: 30rem;
  --header-h: 3.75rem;
  --bottom-nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0rem);
}

.loading {
  width: 100%;
  height: 100%;
  background: #f7e6ca;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  transition: opacity 0.3s ease-out, visibility 0.3s;
}
.loading.is_hidden {
  opacity: 0;
  visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .loading {
    transition: none;
  }
}

.loading_seal {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c81d35;
  background: var(--seal);
  color: #fcf4e6;
  color: var(--paper-3);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-family: var(--serif-tc);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1.05;
  writing-mode: vertical-rl;
  border-radius: 0.25rem;
  animation: loading_seal 1.2s alternate infinite ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .loading_seal {
    animation: none;
  }
}

@keyframes loading_seal {
  50% {
    opacity: 0.35;
    transform: scale(0.94);
  }
}
@charset "UTF-8";
:root {
  /* === 紙本 Paper === */
  --paper: #f7e6ca;
  --paper-2: #efd9b3;
  --paper-3: #fcf4e6;
  --white: #ffffff;
  --line: #d8bf98;
  --line-soft: #e9d6b6;
  /* === 墨 Ink === */
  --ink: #2b1d17;
  --ink-2: #5a4638;
  --muted: #75604c;
  /* === 朱印 Seal === */
  --seal: #c81d35;
  --seal-deep: #9e1428;
  --seal-tint: #f4d3c6;
  /* === 浪 Wave === */
  --wave: #1d9ccb;
  --wave-light: #7fd0e6;
  --wave-deep: #1f5c86;
  --wave-ink: #163f5e;
  --wave-tint: #d6edf1;
  --wave-line: rgba(29, 156, 203, 0.35);
  --wave-glow: rgba(29, 156, 203, 0.16);
  --wave-ring: rgba(29, 156, 203, 0.6);
  /* === 打卡狀態 === */
  --status-todo: #8c8176;
  --status-done: var(--seal);
  --status-redeemed: var(--wave-deep);
  /* === 社群品牌色 === */
  --brand-facebook: #1877f2;
  --brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* === 陰影 / 遮罩 === */
  --shadow: rgba(43, 29, 23, 0.16);
  --shadow-strong: rgba(43, 29, 23, 0.28);
  --overlay: rgba(43, 29, 23, 0.55);
  /* === 字體 === */
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --display-en: "Fraunces", "Noto Serif TC", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  /* === App 外框 === */
  --app-w: 30rem;
  --header-h: 3.75rem;
  --bottom-nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0rem);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f7e6ca;
  background: var(--paper);
  border-bottom: 0.0625rem solid #d8bf98;
  border-bottom: 0.0625rem solid var(--line);
  box-shadow: 0 0.125rem 0.4375rem rgba(0, 0, 0, 0.2);
}

.header_inner {
  height: 3.75rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mainlogo_link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.mainlogo_link.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.mainlogo_link.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.mainlogo_link:focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}

.mainlogo_seal {
  width: 2.25rem;
  height: 2.375rem;
  flex: none;
  background: url(../../assets/img/dec_34_s.webp) center/contain no-repeat;
}

.mainlogo_text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mainlogo_name {
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-family: var(--serif-tc);
  font-weight: 900;
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  color: #2b1d17;
  color: var(--ink);
}

.mainlogo_en {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-family: var(--display-en);
  font-style: italic;
  font-weight: 500;
  font-size: 0.6875rem;
  color: #75604c;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.header_tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header_user {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #5a4638;
  color: var(--ink-2);
}

.header_user_avatar {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1f5c86;
  background: var(--wave-deep);
  color: #ffffff;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.header_user_name {
  max-width: 4.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (max-width: 480px) {
  .header_user_name {
    display: none;
  }
}

.lang_switch {
  display: flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 0.25rem;
  border: 0.0625rem solid #d8bf98;
  border: 0.0625rem solid var(--line);
  border-radius: 62.4375rem;
  background: #fcf4e6;
  background: var(--paper-3);
  font-size: 0.8125rem;
}

.lang_switch_btn {
  min-width: 2rem;
  height: 1.75rem;
  border-radius: 62.4375rem;
  color: #75604c;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.2s ease-out;
}
.lang_switch_btn.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.lang_switch_btn.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.lang_switch_btn:focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.lang_switch_btn.active {
  background: #2b1d17;
  background: var(--ink);
  color: #fcf4e6;
  color: var(--paper-3);
}

.lang_switch_sep {
  color: #d8bf98;
  color: var(--line);
  font-size: 0.6875rem;
}
@charset "UTF-8";
:root {
  /* === 紙本 Paper === */
  --paper: #f7e6ca;
  --paper-2: #efd9b3;
  --paper-3: #fcf4e6;
  --white: #ffffff;
  --line: #d8bf98;
  --line-soft: #e9d6b6;
  /* === 墨 Ink === */
  --ink: #2b1d17;
  --ink-2: #5a4638;
  --muted: #75604c;
  /* === 朱印 Seal === */
  --seal: #c81d35;
  --seal-deep: #9e1428;
  --seal-tint: #f4d3c6;
  /* === 浪 Wave === */
  --wave: #1d9ccb;
  --wave-light: #7fd0e6;
  --wave-deep: #1f5c86;
  --wave-ink: #163f5e;
  --wave-tint: #d6edf1;
  --wave-line: rgba(29, 156, 203, 0.35);
  --wave-glow: rgba(29, 156, 203, 0.16);
  --wave-ring: rgba(29, 156, 203, 0.6);
  /* === 打卡狀態 === */
  --status-todo: #8c8176;
  --status-done: var(--seal);
  --status-redeemed: var(--wave-deep);
  /* === 社群品牌色 === */
  --brand-facebook: #1877f2;
  --brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* === 陰影 / 遮罩 === */
  --shadow: rgba(43, 29, 23, 0.16);
  --shadow-strong: rgba(43, 29, 23, 0.28);
  --overlay: rgba(43, 29, 23, 0.55);
  /* === 字體 === */
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --display-en: "Fraunces", "Noto Serif TC", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  /* === App 外框 === */
  --app-w: 30rem;
  --header-h: 3.75rem;
  --bottom-nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0rem);
}

.footer {
  padding: 1.75rem 0 1.75rem;
  border-top: 0.0625rem solid #d8bf98;
  border-top: 0.0625rem solid var(--line);
  font-size: 0.8125rem;
  color: #5a4638;
  color: var(--ink-2);
}

.footer_org_list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer_org_li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer_org_label {
  flex: none;
  font-weight: 700;
  color: #2b1d17;
  color: var(--ink);
  letter-spacing: 0.1em;
}

.footer_logo_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1rem;
}

.footer_logo_link {
  display: block;
  border-radius: 0.25rem;
  transition: opacity 0.2s;
}
.footer_logo_link.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.footer_logo_link.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.footer_logo_link:focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.footer_logo_link:hover {
  opacity: 0.75;
}

.footer_logo_img {
  width: auto;
  height: 1.5625rem;
}

.footer_copyright {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #75604c;
  color: var(--muted);
}
@charset "UTF-8";
:root {
  /* === 紙本 Paper === */
  --paper: #f7e6ca;
  --paper-2: #efd9b3;
  --paper-3: #fcf4e6;
  --white: #ffffff;
  --line: #d8bf98;
  --line-soft: #e9d6b6;
  /* === 墨 Ink === */
  --ink: #2b1d17;
  --ink-2: #5a4638;
  --muted: #75604c;
  /* === 朱印 Seal === */
  --seal: #c81d35;
  --seal-deep: #9e1428;
  --seal-tint: #f4d3c6;
  /* === 浪 Wave === */
  --wave: #1d9ccb;
  --wave-light: #7fd0e6;
  --wave-deep: #1f5c86;
  --wave-ink: #163f5e;
  --wave-tint: #d6edf1;
  --wave-line: rgba(29, 156, 203, 0.35);
  --wave-glow: rgba(29, 156, 203, 0.16);
  --wave-ring: rgba(29, 156, 203, 0.6);
  /* === 打卡狀態 === */
  --status-todo: #8c8176;
  --status-done: var(--seal);
  --status-redeemed: var(--wave-deep);
  /* === 社群品牌色 === */
  --brand-facebook: #1877f2;
  --brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* === 陰影 / 遮罩 === */
  --shadow: rgba(43, 29, 23, 0.16);
  --shadow-strong: rgba(43, 29, 23, 0.28);
  --overlay: rgba(43, 29, 23, 0.55);
  /* === 字體 === */
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --display-en: "Fraunces", "Noto Serif TC", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  /* === App 外框 === */
  --app-w: 30rem;
  --header-h: 3.75rem;
  --bottom-nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0rem);
}

.bottom_nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: 100%;
  max-width: 30rem;
  max-width: var(--app-w);
  transform: translateX(-50%);
  padding-bottom: env(safe-area-inset-bottom, 0rem);
  padding-bottom: var(--safe-bottom);
  background: #163f5e;
  background: var(--wave-ink);
}
@media (orientation: portrait) {
  .bottom_nav {
    max-width: none;
  }
}

.bottom_nav_list {
  height: 4rem;
  height: var(--bottom-nav-h);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bottom_nav_link {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1875rem;
  color: #7fd0e6;
  color: var(--wave-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  position: relative;
  transition: color 0.2s;
}
.bottom_nav_link.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.bottom_nav_link.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.bottom_nav_link:focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.bottom_nav_link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.75rem;
  height: 0.1875rem;
  margin-left: -0.875rem;
  border-radius: 0 0 0.1875rem 0.1875rem;
  background: #fcf4e6;
  background: var(--paper-3);
  transform: scaleX(0);
  transition: transform 0.25s ease-out;
}
.bottom_nav_link.active {
  color: #fcf4e6;
  color: var(--paper-3);
  font-weight: 700;
}
.bottom_nav_link.active::before {
  transform: scaleX(1);
}

.bottom_nav_icon {
  width: 1.5rem;
  height: 1.5rem;
}

.bottom_nav_txt {
  white-space: nowrap;
}
.bottom_nav_txt:lang(en) {
  font-size: 0.6875rem;
  letter-spacing: 0;
}
@charset "UTF-8";
:root {
  /* === 紙本 Paper === */
  --paper: #f7e6ca;
  --paper-2: #efd9b3;
  --paper-3: #fcf4e6;
  --white: #ffffff;
  --line: #d8bf98;
  --line-soft: #e9d6b6;
  /* === 墨 Ink === */
  --ink: #2b1d17;
  --ink-2: #5a4638;
  --muted: #75604c;
  /* === 朱印 Seal === */
  --seal: #c81d35;
  --seal-deep: #9e1428;
  --seal-tint: #f4d3c6;
  /* === 浪 Wave === */
  --wave: #1d9ccb;
  --wave-light: #7fd0e6;
  --wave-deep: #1f5c86;
  --wave-ink: #163f5e;
  --wave-tint: #d6edf1;
  --wave-line: rgba(29, 156, 203, 0.35);
  --wave-glow: rgba(29, 156, 203, 0.16);
  --wave-ring: rgba(29, 156, 203, 0.6);
  /* === 打卡狀態 === */
  --status-todo: #8c8176;
  --status-done: var(--seal);
  --status-redeemed: var(--wave-deep);
  /* === 社群品牌色 === */
  --brand-facebook: #1877f2;
  --brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* === 陰影 / 遮罩 === */
  --shadow: rgba(43, 29, 23, 0.16);
  --shadow-strong: rgba(43, 29, 23, 0.28);
  --overlay: rgba(43, 29, 23, 0.55);
  /* === 字體 === */
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --display-en: "Fraunces", "Noto Serif TC", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  /* === App 外框 === */
  --app-w: 30rem;
  --header-h: 3.75rem;
  --bottom-nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0rem);
}

.btn {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 0.625rem;
  background: #c81d35;
  background: var(--seal);
  color: #ffffff;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn.focus-visible {
  outline: 0.125rem solid #2b1d17;
  outline: 0.125rem solid var(--ink);
  outline-offset: 0.1875rem;
}
.btn.focus-visible {
  outline: 0.125rem solid #2b1d17;
  outline: 0.125rem solid var(--ink);
  outline-offset: 0.1875rem;
}
.btn:focus-visible {
  outline: 0.125rem solid #2b1d17;
  outline: 0.125rem solid var(--ink);
  outline-offset: 0.1875rem;
}
.btn:hover {
  background: #9e1428;
  background: var(--seal-deep);
}
.btn:active {
  transform: translateY(0.0625rem);
}
.btn.ghost {
  background: transparent;
  color: #2b1d17;
  color: var(--ink);
  border: 0.09375rem solid #2b1d17;
  border: 0.09375rem solid var(--ink);
}
.btn.ghost:hover {
  background: #2b1d17;
  background: var(--ink);
  color: #fcf4e6;
  color: var(--paper-3);
}
.btn.google {
  background: #ffffff;
  background: var(--white);
  color: #2b1d17;
  color: var(--ink);
  border: 0.0625rem solid #d8bf98;
  border: 0.0625rem solid var(--line);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.btn.google:hover {
  background: #fcf4e6;
  background: var(--paper-3);
}
.btn:disabled, .btn.is_disabled {
  background: #efd9b3;
  background: var(--paper-2);
  color: #75604c;
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
}

.btn_icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
@charset "UTF-8";
:root {
  /* === 紙本 Paper === */
  --paper: #f7e6ca;
  --paper-2: #efd9b3;
  --paper-3: #fcf4e6;
  --white: #ffffff;
  --line: #d8bf98;
  --line-soft: #e9d6b6;
  /* === 墨 Ink === */
  --ink: #2b1d17;
  --ink-2: #5a4638;
  --muted: #75604c;
  /* === 朱印 Seal === */
  --seal: #c81d35;
  --seal-deep: #9e1428;
  --seal-tint: #f4d3c6;
  /* === 浪 Wave === */
  --wave: #1d9ccb;
  --wave-light: #7fd0e6;
  --wave-deep: #1f5c86;
  --wave-ink: #163f5e;
  --wave-tint: #d6edf1;
  --wave-line: rgba(29, 156, 203, 0.35);
  --wave-glow: rgba(29, 156, 203, 0.16);
  --wave-ring: rgba(29, 156, 203, 0.6);
  /* === 打卡狀態 === */
  --status-todo: #8c8176;
  --status-done: var(--seal);
  --status-redeemed: var(--wave-deep);
  /* === 社群品牌色 === */
  --brand-facebook: #1877f2;
  --brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* === 陰影 / 遮罩 === */
  --shadow: rgba(43, 29, 23, 0.16);
  --shadow-strong: rgba(43, 29, 23, 0.28);
  --overlay: rgba(43, 29, 23, 0.55);
  /* === 字體 === */
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --display-en: "Fraunces", "Noto Serif TC", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  /* === App 外框 === */
  --app-w: 30rem;
  --header-h: 3.75rem;
  --bottom-nav-h: 4rem;
  --safe-bottom: env(safe-area-inset-bottom, 0rem);
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(43, 29, 23, 0.55);
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s;
}
.modal.is_open {
  opacity: 1;
  visibility: visible;
}
.modal.is_open .modal_card {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .modal {
    transition: none;
  }
}

.modal_card {
  position: relative;
  width: 100%;
  max-width: 22.5rem;
  padding: 2.25rem 1.5rem 1.5rem;
  border-radius: 1rem;
  background: #fcf4e6;
  background: var(--paper-3);
  box-shadow: 0 1.25rem 3rem rgba(43, 29, 23, 0.28);
  box-shadow: 0 1.25rem 3rem var(--shadow-strong);
  text-align: center;
  transform: translateY(1.5rem);
  transition: transform 0.3s ease-out;
}

.modal_close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #75604c;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.modal_close.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.modal_close.focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.modal_close:focus-visible {
  outline: 0.125rem solid #1d9ccb;
  outline: 0.125rem solid var(--wave);
  outline-offset: 0.1875rem;
}
.modal_close svg {
  width: 1.25rem;
  height: 1.25rem;
}
.modal_close:hover {
  background: #efd9b3;
  background: var(--paper-2);
  color: #2b1d17;
  color: var(--ink);
}

/* ============ 登入彈窗 ============ */
.login_seal {
  width: 4.75rem;
  height: 5rem;
  margin: 0 auto 0.875rem;
  background: url(../../assets/img/dec_34.webp) center/contain no-repeat;
}

.login_title {
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-family: var(--serif-tc);
  font-weight: 900;
  font-size: 1.375rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.login_desc {
  font-size: 0.875rem;
  color: #5a4638;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}

.google_mark {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.login_note {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #75604c;
  color: var(--muted);
}
