*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.left-2 {
  left: 0.5rem;
}
.top-2 {
  top: 0.5rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-7 {
  margin-top: 1.75rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-9 {
  margin-top: 2.25rem;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.line-clamp-6 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.h-24 {
  height: 6rem;
}
.h-auto {
  height: auto;
}
.h-fit {
  height: -moz-fit-content;
  height: fit-content;
}
.h-full {
  height: 100%;
}
.max-h-40 {
  max-height: 10rem;
}
.max-h-\[86vh\] {
  max-height: 86vh;
}
.max-h-none {
  max-height: none;
}
.min-h-11 {
  min-height: 2.75rem;
}
.min-h-24 {
  min-height: 6rem;
}
.min-h-28 {
  min-height: 7rem;
}
.min-h-32 {
  min-height: 8rem;
}
.w-24 {
  width: 6rem;
}
.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-max {
  min-width: -moz-max-content;
  min-width: max-content;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-48 {
  max-width: 12rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-xs {
  max-width: 20rem;
}
.shrink-0 {
  flex-shrink: 0;
}
.-rotate-\[0\.6deg\] {
  --tw-rotate: -0.6deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-\[0\.6deg\] {
  --tw-rotate: 0.6deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-pointer {
  cursor: pointer;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-7 {
  gap: 1.75rem;
}
.gap-8 {
  gap: 2rem;
}
.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.space-y-7 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.75rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.whitespace-pre-line {
  white-space: pre-line;
}
.break-words {
  overflow-wrap: break-word;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-2 {
  border-width: 2px;
}
.border-dashed {
  border-style: dashed;
}
.border-\[\#9fc6e8\] {
  --tw-border-opacity: 1;
  border-color: rgb(159 198 232 / var(--tw-border-opacity, 1));
}
.border-\[var\(--line\)\] {
  border-color: var(--line);
}
.border-\[var\(--navy\)\] {
  border-color: var(--navy);
}
.border-\[var\(--text\)\] {
  border-color: var(--text);
}
.border-sand {
  --tw-border-opacity: 1;
  border-color: rgb(234 220 200 / var(--tw-border-opacity, 1));
}
.border-sky-100 {
  --tw-border-opacity: 1;
  border-color: rgb(224 242 254 / var(--tw-border-opacity, 1));
}
.border-stone-200 {
  --tw-border-opacity: 1;
  border-color: rgb(231 229 228 / var(--tw-border-opacity, 1));
}
.bg-\[\#2f2924\] {
  --tw-bg-opacity: 1;
  background-color: rgb(47 41 36 / var(--tw-bg-opacity, 1));
}
.bg-\[\#2f80c9\] {
  --tw-bg-opacity: 1;
  background-color: rgb(47 128 201 / var(--tw-bg-opacity, 1));
}
.bg-\[\#e8f3fb\] {
  --tw-bg-opacity: 1;
  background-color: rgb(232 243 251 / var(--tw-bg-opacity, 1));
}
.bg-\[\#f5fbff\] {
  --tw-bg-opacity: 1;
  background-color: rgb(245 251 255 / var(--tw-bg-opacity, 1));
}
.bg-\[\#f7fbff\] {
  --tw-bg-opacity: 1;
  background-color: rgb(247 251 255 / var(--tw-bg-opacity, 1));
}
.bg-\[\#fff7ed\] {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
}
.bg-\[\#fffdf7\] {
  --tw-bg-opacity: 1;
  background-color: rgb(255 253 247 / var(--tw-bg-opacity, 1));
}
.bg-\[var\(--cream\)\] {
  background-color: var(--cream);
}
.bg-\[var\(--paper\)\] {
  background-color: var(--paper);
}
.bg-\[var\(--sand\)\] {
  background-color: var(--sand);
}
.bg-\[var\(--sky\)\] {
  background-color: var(--sky);
}
.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}
.bg-cream {
  --tw-bg-opacity: 1;
  background-color: rgb(251 246 237 / var(--tw-bg-opacity, 1));
}
.bg-olive\/10 {
  background-color: rgb(111 119 87 / 0.1);
}
.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-sky-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 249 255 / var(--tw-bg-opacity, 1));
}
.bg-sky-50\/60 {
  background-color: rgb(240 249 255 / 0.6);
}
.bg-stone-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(245 245 244 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-white\/70 {
  background-color: rgb(255 255 255 / 0.7);
}
.bg-white\/75 {
  background-color: rgb(255 255 255 / 0.75);
}
.bg-white\/80 {
  background-color: rgb(255 255 255 / 0.8);
}
.bg-\[linear-gradient\(135deg\2c \#eadcc8\2c \#fffaf0\)\] {
  background-image: linear-gradient(135deg,#eadcc8,#fffaf0);
}
.bg-\[linear-gradient\(135deg\2c \#fffaf1\2c \#dcecff\)\] {
  background-image: linear-gradient(135deg,#fffaf1,#dcecff);
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-0 {
  padding: 0px;
}
.p-1 {
  padding: 0.25rem;
}
.p-10 {
  padding: 2.5rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.font-display {
  font-family: "Noto Serif KR", Georgia, serif;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-\[clamp\(42px\2c 8vw\2c 72px\)\] {
  font-size: clamp(42px, 8vw, 72px);
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-black {
  font-weight: 900;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.leading-7 {
  line-height: 1.75rem;
}
.leading-8 {
  line-height: 2rem;
}
.leading-9 {
  line-height: 2.25rem;
}
.leading-tight {
  line-height: 1.25;
}
.text-\[\#2f80c9\] {
  --tw-text-opacity: 1;
  color: rgb(47 128 201 / var(--tw-text-opacity, 1));
}
.text-\[\#fffaf0\] {
  --tw-text-opacity: 1;
  color: rgb(255 250 240 / var(--tw-text-opacity, 1));
}
.text-\[var\(--brown\)\] {
  color: var(--brown);
}
.text-\[var\(--ink\)\] {
  color: var(--ink);
}
.text-\[var\(--muted\)\] {
  color: var(--muted);
}
.text-\[var\(--navy\)\] {
  color: var(--navy);
}
.text-\[var\(--olive\)\] {
  color: var(--olive);
}
.text-\[var\(--text\)\] {
  color: var(--text);
}
.text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}
.text-coffee {
  --tw-text-opacity: 1;
  color: rgb(63 45 34 / var(--tw-text-opacity, 1));
}
.text-coffee\/50 {
  color: rgb(63 45 34 / 0.5);
}
.text-coffee\/55 {
  color: rgb(63 45 34 / 0.55);
}
.text-coffee\/60 {
  color: rgb(63 45 34 / 0.6);
}
.text-coffee\/65 {
  color: rgb(63 45 34 / 0.65);
}
.text-coffee\/70 {
  color: rgb(63 45 34 / 0.7);
}
.text-coffee\/75 {
  color: rgb(63 45 34 / 0.75);
}
.text-olive {
  --tw-text-opacity: 1;
  color: rgb(111 119 87 / var(--tw-text-opacity, 1));
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.text-sky-700 {
  --tw-text-opacity: 1;
  color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}
.text-sky-800 {
  --tw-text-opacity: 1;
  color: rgb(7 89 133 / var(--tw-text-opacity, 1));
}
.text-sky-900 {
  --tw-text-opacity: 1;
  color: rgb(12 74 110 / var(--tw-text-opacity, 1));
}
.text-stone-600 {
  --tw-text-opacity: 1;
  color: rgb(87 83 78 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.opacity-55 {
  opacity: 0.55;
}
.shadow-\[0_14px_40px_rgba\(22\2c 52\2c 95\2c 0\.1\)\] {
  --tw-shadow: 0 14px 40px rgba(22,52,95,0.1);
  --tw-shadow-colored: 0 14px 40px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0_20px_60px_rgba\(22\2c 52\2c 95\2c 0\.12\)\] {
  --tw-shadow: 0 20px 60px rgba(22,52,95,0.12);
  --tw-shadow-colored: 0 20px 60px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[4px_4px_0_rgba\(216\2c 191\2c 148\2c 0\.9\)\] {
  --tw-shadow: 4px 4px 0 rgba(216,191,148,0.9);
  --tw-shadow-colored: 4px 4px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-none {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-soft {
  --tw-shadow: 0 24px 80px rgba(63, 45, 34, 0.12);
  --tw-shadow-colored: 0 24px 80px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline {
  outline-style: solid;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-300 {
  transition-duration: 300ms;
}

:root {
  --navy: #2f2924;
  --sky: #e8edf0;
  --cream: #fbf6ed;
  --paper: #fffaf0;
  --sand: #eadcc8;
  --tape: #d8bf94;
  --brown: #795b3e;
  --cedar: #8a5f3f;
  --olive: #6f7757;
  --red-accent: #e94235;
  --text: #2f2924;
  --muted: #7c6a58;
  --line: #e3d4bc;
  --shadow-paper: 0 22px 55px rgba(63, 45, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 191, 148, 0.28), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(111, 119, 87, 0.18), transparent 26rem),
    linear-gradient(rgba(124, 106, 88, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 106, 88, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fbf6ed 0%, #f7f1e7 54%, #fffaf0 100%);
  background-size: auto, auto, 28px 28px, 28px 28px, auto;
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  word-break: keep-all;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 20% 25%, rgba(47, 41, 36, 0.04) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 10%, rgba(47, 41, 36, 0.03) 0 1px, transparent 1.5px);
  background-size: 18px 18px, 24px 24px;
}

img,
video,
iframe,
object,
embed {
  max-width: 100%;
  height: auto;
}

button,
a,
input,
select,
textarea {
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 128, 201, 0.35);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(124, 106, 88, 0.18);
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--navy);
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 900;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 230px;
  flex: 0 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.brand-logo-failed::after {
  content: "전주 빌립보교회";
  font-weight: 950;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  font-size: 15px;
  font-weight: 800;
}

.site-nav-link {
  color: var(--text);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav-link:hover,
.site-nav-link.active {
  color: var(--cedar);
}

.admin-chip {
  border-radius: 999px;
  background: var(--olive);
  color: #fffaf0;
  padding: 9px 14px;
  text-decoration: none;
}

.mobile-menu-button {
  display: none;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 0 16px;
  color: var(--navy);
  font-weight: 900;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 4px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cedar);
}

.footer-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 240px;
  -o-object-fit: contain;
     object-fit: contain;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.legal-page {
  max-width: 960px;
  margin: 0 auto;
}

.legal-content {
  display: grid;
  gap: 28px;
  line-height: 1.8;
}

.legal-content h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 950;
}

.legal-content p {
  margin: 0 0 10px;
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--cedar);
  font-weight: 900;
}

.section-title,
.scribble-title h1 {
  font-family: "Noto Serif KR", Georgia, "Apple SD Gothic Neo", serif;
  letter-spacing: -0.04em;
}

.section-title::before,
.section-title::after {
  content: "";
  width: min(18vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 52, 95, 0.45));
}

.section-title::after {
  background: linear-gradient(90deg, rgba(22, 52, 95, 0.45), transparent);
}

.section-eyebrow {
  color: var(--olive);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-align: center;
}

.soft-card,
.card {
  position: relative;
  border: 1px solid rgba(124, 106, 88, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(rgba(124, 106, 88, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 106, 88, 0.035) 1px, transparent 1px),
    rgba(255, 250, 240, 0.94);
  background-size: 22px 22px, 22px 22px, auto;
  box-shadow: var(--shadow-paper);
  padding: clamp(18px, 3vw, 30px);
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 106, 88, 0.22);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(63, 45, 34, 0.13);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: 0 24px 58px rgba(63, 45, 34, 0.18);
}

.primary-button,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #fffaf0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.primary-button:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(47, 41, 36, 0.2);
}

.ghost-button,
.btn-outline {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 41, 36, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  color: var(--navy);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  padding: 0 22px;
  text-decoration: none;
}

.compact {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 14px;
}

.pill-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 41, 36, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  padding: 0 15px;
  text-decoration: none;
}

.pill-button.active {
  background: var(--olive);
  color: #fffaf0;
}

.input {
  width: 100%;
  min-height: 46px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf7;
  color: var(--text);
  font-size: 16px;
  padding: 12px 14px;
}

.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.form-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.map-card {
  overflow: hidden;
  border: 10px solid var(--paper);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow-paper);
}

.map-card img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.map-card-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px dashed rgba(47, 41, 36, 0.22);
  background: #f0dec0;
  color: var(--text);
  font-size: clamp(14px, 2.4vw, 22px);
  font-weight: 900;
  padding: 16px;
  text-align: center;
}

.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 32, 48, 0.66);
  padding: 14px;
}

.quick-view-panel {
  max-height: min(90vh, 900px);
  width: min(920px, 100%);
  overflow: auto;
  border-radius: 30px;
  background: var(--paper);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.notebook-page {
  position: relative;
}

.paper-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 106, 88, 0.22);
  border-radius: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(rgba(124, 106, 88, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 106, 88, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: var(--shadow-paper);
  padding: clamp(22px, 5vw, 58px);
}

.paper-section::before,
.notebook-card::before {
  content: "";
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  top: -10px;
  width: 116px;
  height: 48px;
  background: rgba(216, 191, 148, 0.68);
  transform: rotate(6deg);
  box-shadow: 0 8px 18px rgba(63, 45, 34, 0.08);
  opacity: 0.9;
}

.scribble-title {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.scribble-title-left {
  justify-items: start;
  text-align: left;
}

.scribble-title h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 7vw, 76px);
  font-weight: 950;
  line-height: 1.04;
}

.scribble-title p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
}

.scribble-underline {
  width: min(340px, 72vw);
  height: auto;
}

.tape-label,
.section-badge {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(216, 191, 148, 0.78);
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  padding: 8px 14px;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

.section-badge {
  border-radius: 999px;
  background: rgba(111, 119, 87, 0.12);
  color: var(--olive);
  letter-spacing: 0.04em;
  text-transform: none;
  transform: none;
}

.notebook-card {
  position: relative;
  border: 1px solid rgba(124, 106, 88, 0.22);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(63, 45, 34, 0.12);
  padding: clamp(18px, 3vw, 30px);
}

.notebook-card::before {
  left: 18px;
  right: auto;
  top: -13px;
  width: 84px;
  height: 32px;
  transform: rotate(-6deg);
}

.polaroid-frame {
  margin: 0;
  border: 1px solid rgba(124, 106, 88, 0.2);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 18px 34px rgba(63, 45, 34, 0.16);
  padding: 12px 12px 28px;
  transform: rotate(-1deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.polaroid-frame:hover {
  transform: translateY(-4px) rotate(0.4deg);
  box-shadow: 0 24px 46px rgba(63, 45, 34, 0.2);
}

.polaroid-media {
  overflow: hidden;
  border-radius: 4px;
  background: #eee3d1;
}

.polaroid-frame figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.hand-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.hand-divider span {
  width: min(24vw, 180px);
  height: 2px;
  border-radius: 999px;
  background: rgba(47, 41, 36, 0.28);
}

.hand-divider img {
  width: 42px;
  opacity: 0.82;
}

.hero-notebook {
  min-height: clamp(520px, 70vh, 760px);
}

.hero-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(380px, 100%);
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  transform: none;
}

.hero-logo-card img {
  display: block;
  width: min(320px, 100%);
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.photo-note {
  transform: rotate(1.4deg);
}

.media-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #eef5fb;
}

.media-frame iframe,
.media-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.responsive-video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.responsive-video iframe,
.responsive-video video {
  width: 100%;
  height: 100%;
  border: 0;
}

.line-clamp-2,
.line-clamp-3,
.line-clamp-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }
.line-clamp-4 { -webkit-line-clamp: 4; }

.church-calendar-section {
  overflow: visible;
}

.calendar-board {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) 1fr;
  gap: clamp(14px, 3vw, 28px);
  align-items: stretch;
}

.calendar-side-note {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed rgba(47, 41, 36, 0.24);
  border-radius: 28px;
  background: linear-gradient(180deg, #f4e4ce, #fffaf0);
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
}

.calendar-side-month,
.calendar-month-number,
.calendar-feature-month {
  color: var(--text);
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: rgba(111, 91, 82, 0.82);
}

.calendar-side-note span:last-child {
  color: var(--muted);
  font-weight: 900;
}

.calendar-grid-wrap {
  min-width: 0;
  border: 1px solid rgba(124, 106, 88, 0.22);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 16px 38px rgba(63, 45, 34, 0.1);
  padding: clamp(10px, 2vw, 18px);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  padding: 0 4px 10px;
  text-align: center;
}

.calendar-weekdays .is-sunday,
.calendar-day.is-sunday .calendar-day-number {
  color: #c96f68;
}

.calendar-grid {
  overflow: hidden;
  border: 1px solid rgba(124, 106, 88, 0.16);
  border-radius: 20px;
}

.calendar-day {
  position: relative;
  display: flex;
  min-height: 104px;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  border: 0;
  border-right: 1px solid rgba(124, 106, 88, 0.13);
  border-bottom: 1px solid rgba(124, 106, 88, 0.13);
  background: rgba(255, 250, 240, 0.72);
  color: var(--text);
  cursor: pointer;
  padding: 10px;
  text-align: left;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day:nth-last-child(-n + 7) {
  border-bottom: 0;
}

.calendar-day:hover,
.calendar-day.is-selected {
  background: #fff4df;
  box-shadow: inset 0 0 0 2px rgba(47, 41, 36, 0.24);
}

.calendar-day.is-muted {
  background: rgba(255, 250, 240, 0.34);
  color: rgba(47, 41, 36, 0.36);
}

.calendar-day.is-today .calendar-day-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--text);
  color: #fffaf0;
}

.calendar-day-number {
  font-weight: 950;
}

.calendar-event-preview-list {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.calendar-event-preview,
.calendar-event-more {
  overflow: hidden;
  border: 1px solid rgba(47, 41, 36, 0.08);
  border-radius: 999px;
  color: #2f2924;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event-more {
  background: rgba(47, 41, 36, 0.08);
}

.calendar-event-card {
  border: 1px solid rgba(124, 106, 88, 0.18);
  border-left: 10px solid var(--event-color, #e8d8c3);
  border-radius: 20px;
  background: #fffdf7;
  padding: 16px;
}

.calendar-event-card strong {
  font-size: 17px;
  font-weight: 950;
}

.calendar-event-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.calendar-event-form {
  display: grid;
  gap: 16px;
}

.calendar-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.calendar-color-swatch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf7;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  padding: 8px 10px;
}

.calendar-color-swatch span {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(47, 41, 36, 0.16);
  border-radius: 999px;
  flex: 0 0 auto;
}

.calendar-color-swatch.is-selected {
  box-shadow: inset 0 0 0 2px rgba(47, 41, 36, 0.28);
}

@media (max-width: 640px) {
  input,
  select,
  textarea,
  button {
    min-height: 44px;
  }

  .grid {
    min-width: 0;
  }

  .site-shell {
    overflow-x: hidden;
  }

  .brand-logo {
    height: 36px;
    max-width: 165px;
  }

  .hero-logo-card {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
  }

  .hero-logo-card img {
    width: min(260px, 100%);
  }

  .footer-logo {
    height: 40px;
    max-width: 180px;
  }

  .map-card {
    border-radius: 22px;
  }

  .map-card img {
    max-height: 58vh;
  }

  .map-card-bar {
    align-items: flex-start;
    padding: 12px;
    font-size: 14px;
  }

  .quick-view-panel {
    width: 100%;
    border-radius: 22px;
    padding: 14px;
  }

  .calendar-board {
    grid-template-columns: 1fr;
  }

  .calendar-side-note {
    min-height: auto;
    padding: 16px;
  }

  .calendar-side-month,
  .calendar-month-number,
  .calendar-feature-month {
    font-size: clamp(2.75rem, 18vw, 5rem);
  }

  .calendar-grid-wrap {
    padding: 8px;
  }

  .calendar-day {
    min-height: 64px;
    padding: 6px;
  }

  .calendar-event-preview {
    width: 8px;
    height: 8px;
    padding: 0;
    color: transparent;
  }

  .calendar-event-more {
    border: 0;
    background: transparent;
    font-size: 11px;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(22, 52, 95, 0.16);
    padding: 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-link,
  .admin-chip {
    border-radius: 16px;
    padding: 12px 14px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .page-shell,
  .site-header-inner,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .soft-card,
  .card {
    border-radius: 22px;
    padding: 16px;
  }

  .primary-button,
  .ghost-button,
  .btn,
  .btn-outline {
    width: 100%;
  }
}

.weekly-word-page {
  overflow-wrap: anywhere;
}

.sermon-summary-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 10% 10%, rgba(216, 191, 148, 0.18), transparent 34%);
  box-shadow: 0 22px 70px rgba(47, 41, 36, 0.12);
  padding: clamp(22px, 4vw, 44px);
}

.scripture-card {
  border: 1px solid rgba(121, 91, 62, 0.18);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 12px 32px rgba(47, 41, 36, 0.08);
  padding: 18px;
}

.scripture-card strong {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(111, 119, 87, 0.16);
  color: var(--navy);
  padding: 6px 12px;
  font-size: 14px;
}

.scripture-card p {
  color: var(--text);
  font-weight: 700;
  line-height: 1.8;
}

.scripture-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.admin-weekly-word {
  min-width: 0;
}

.job-status-badge {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(124, 106, 88, 0.14);
  color: var(--muted);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.job-status-badge.done {
  background: rgba(111, 119, 87, 0.18);
  color: #4b5c35;
}

.job-status-badge.processing {
  background: rgba(47, 128, 201, 0.14);
  color: #1d6098;
}

.job-status-badge.failed {
  background: rgba(233, 66, 53, 0.13);
  color: #b33127;
}

.transcript-box,
.json-viewer {
  max-height: 420px;
  overflow: auto;
  white-space: pre-wrap;
  border-radius: 22px;
  background: #2f2924;
  color: #fffaf0;
  padding: 16px;
  font-size: 13px;
  line-height: 1.7;
}

.audio-upload-panel {
  display: grid;
  gap: 16px;
  border: 1px dashed rgba(121, 91, 62, 0.38);
  border-radius: 30px;
  background: rgba(255, 250, 240, 0.82);
  padding: clamp(18px, 3vw, 28px);
}

.home-feed-page {
  --glass: rgba(255, 255, 255, 0.68);
}

.home-feed-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(247, 239, 227, 0.76)),
    radial-gradient(circle at top left, rgba(201, 220, 235, 0.34), transparent 42%);
  box-shadow: 0 20px 70px rgba(47, 41, 36, 0.11);
  backdrop-filter: blur(18px);
  padding: clamp(22px, 5vw, 48px);
}

.home-feed-hero h1 {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(2.25rem, 7vw, 5.2rem);
  font-weight: 1000;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.home-feed-hero p {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.album-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 3vw, 24px);
}

.album-feed-card,
.glass-menu-card,
.home-sermon-row {
  text-decoration: none;
}

.album-feed-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 55px rgba(47, 41, 36, 0.11);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.album-feed-card:hover,
.album-feed-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(47, 41, 36, 0.15);
}

.album-feed-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f7efe3, #c9dceb);
  color: var(--muted);
  font-weight: 1000;
}

.album-feed-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.album-feed-body {
  padding: 18px;
}

.album-feed-body span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(47, 128, 201, 0.12);
  color: var(--navy);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 1000;
}

.album-feed-body h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 1000;
}

.album-feed-body p {
  display: -webkit-box;
  margin-top: 8px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.album-feed-body small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.core-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.glass-menu-card {
  display: grid;
  min-height: 150px;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: var(--glass);
  box-shadow: 0 16px 44px rgba(47, 41, 36, 0.1);
  backdrop-filter: blur(16px);
  padding: 18px;
  color: var(--ink);
  transition: transform 180ms ease, border-color 180ms ease;
}

.glass-menu-card:hover,
.glass-menu-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(47, 128, 201, 0.34);
}

.glass-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffaf0, #e8d8c3);
  color: var(--navy);
}

.glass-menu-card strong {
  font-size: 1.1rem;
  font-weight: 1000;
}

.glass-menu-card small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.home-summary-card h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 1000;
}

.home-sermon-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
  color: var(--ink);
}

.home-sermon-row img,
.home-sermon-row > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: var(--sky);
  -o-object-fit: cover;
     object-fit: cover;
  font-size: 13px;
  font-weight: 1000;
}

.home-sermon-row strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 1000;
}

.home-sermon-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-card .album-feed-image,
.skeleton-card .album-feed-body span,
.skeleton-card .album-feed-body h2,
.skeleton-card .album-feed-body p,
.weekly-skeleton > div {
  min-height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(255,255,255,.86), rgba(255,255,255,.45));
  background-size: 180% 100%;
  animation: shimmer 1.2s infinite linear;
}

.weekly-skeleton > div {
  min-height: 140px;
  border-radius: 30px;
}

@keyframes shimmer {
  to { background-position: -180% 0; }
}

.weekly-reader {
  max-width: 920px;
  margin-inline: auto;
}

.weekly-meditation-first h1 {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(2rem, 7vw, 4.6rem);
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.scripture-card-large {
  background: linear-gradient(135deg, #fffaf0, #f7efe3);
  padding: clamp(18px, 4vw, 30px);
}

.scripture-card-large p {
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
}

.weekly-title-block {
  margin-top: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,.76);
  padding: clamp(18px, 4vw, 28px);
}

.weekly-title-block p {
  color: var(--muted);
  font-weight: 900;
}

.weekly-title-block h2 {
  margin-top: 8px;
  color: var(--navy);
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 1000;
}

.weekly-title-block blockquote {
  margin-top: 16px;
  border-left: 4px solid var(--olive);
  padding-left: 16px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.8;
}

.weekly-flow-card {
  background: rgba(255, 255, 255, 0.78);
}

.progress-card {
  border: 1px solid rgba(47, 128, 201, 0.18);
  border-radius: 26px;
  background: rgba(247, 251, 255, 0.88);
  padding: 16px;
}

.progress-card strong,
.progress-card span {
  color: var(--navy);
  font-weight: 1000;
}

.progress-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  overflow: hidden;
  height: 9px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(47, 128, 201, 0.13);
}

.progress-track > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f80c9, #c9dceb);
  transition: width 220ms ease;
}

.progress-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.progress-step {
  display: grid;
  gap: 6px;
  border-radius: 22px;
  background: rgba(255,255,255,.7);
  padding: 14px;
}

.progress-step span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d8bf94;
}

.progress-step.done span {
  background: #6f7757;
}

.progress-step.processing span {
  background: #2f80c9;
  box-shadow: 0 0 0 6px rgba(47, 128, 201, .13);
}

.progress-step.failed span {
  background: #d77f7a;
}

.progress-step strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 1000;
}

.progress-step small {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 640px) {
  .sermon-summary-card {
    border-radius: 24px;
    padding: 18px;
  }

  .transcript-box,
  .json-viewer {
    max-height: 300px;
  }

  .home-feed-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .core-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glass-menu-card {
    min-height: 144px;
    padding: 14px;
  }

  .home-sermon-row {
    grid-template-columns: 84px 1fr;
  }
}

.site-header-inner {
  gap: 16px;
}

.site-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav-link {
  white-space: nowrap;
}

.album-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.album-feed-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(122, 86, 56, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(61, 45, 31, 0.10);
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.album-feed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(61, 45, 31, 0.14);
}

.album-feed-image {
  display: grid;
  aspect-ratio: 4 / 3;
  width: 100%;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8eee1, #e9dccb);
  color: var(--muted);
  font-weight: 900;
}

.album-feed-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.album-feed-body {
  display: grid;
  gap: 6px;
  padding: 12px 13px 14px;
}

.album-feed-body span,
.album-feed-body small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.album-feed-body h2 {
  color: var(--navy);
  font-size: clamp(1rem, 2.5vw, 1.16rem);
  font-weight: 950;
  line-height: 1.32;
}

.album-feed-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 22px;
  align-items: stretch;
  border: 1px solid rgba(122, 86, 56, 0.15);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 50px rgba(61, 45, 31, 0.10);
  padding: clamp(18px, 4vw, 34px);
  backdrop-filter: blur(16px);
}

.home-location-copy h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 950;
}

.home-location-copy p,
.home-location-copy dd {
  color: var(--muted);
  line-height: 1.8;
}

.home-location-copy dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.home-location-copy dt {
  color: var(--cedar);
  font-size: 0.8rem;
  font-weight: 900;
}

.home-location-map {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(122, 86, 56, 0.14);
  border-radius: 26px;
  background: linear-gradient(135deg, #efe2d1, #f9f2e8);
  text-decoration: none;
}

.home-location-map img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.map-fallback {
  position: absolute;
  inset: 18px;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 1px dashed rgba(122, 86, 56, 0.34);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--navy);
  text-align: center;
}

.weekly-widget-guide {
  border: 1px solid rgba(122, 86, 56, 0.16);
  background: linear-gradient(135deg, rgba(255,255,255,0.84), rgba(247,241,231,0.72));
}

.weekly-widget-guide h2 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 950;
}

.weekly-widget-guide p,
.weekly-widget-guide small {
  color: var(--muted);
  line-height: 1.8;
}

.weekly-widget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}

.weekly-widget-actions .primary-button,
.weekly-widget-actions .ghost-button {
  min-width: 172px;
}

.calendar-event-card .ghost-button {
  min-height: 40px;
}

@media (max-width: 900px) {
  .site-nav {
    align-items: stretch;
  }

  .home-location-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .album-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .album-feed-body {
    padding: 10px;
  }

  .album-feed-body p {
    display: none;
  }

  .weekly-widget-actions {
    display: grid;
  }

  .weekly-widget-actions .primary-button,
  .weekly-widget-actions .ghost-button {
    width: 100%;
  }
}
/* Philippi usability refresh: readable login, Bible chat, and mobile-first cards */
.login-logo {
  display: block;
  width: min(240px, 82%);
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.login-options {
  display: grid;
  gap: 0.65rem;
}

.login-options label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(122, 86, 56, 0.18);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.78);
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  font-weight: 900;
}

.login-options input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #6f7757;
}

.login-security-note {
  border-radius: 16px;
  background: rgba(47, 128, 201, 0.08);
  padding: 0.85rem;
  color: #4d5d68;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.6;
}

.bible-chat-hero {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.bible-chat-hero h1 {
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.bible-chat-hero p {
  margin-top: 0.85rem;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  font-weight: 800;
  line-height: 1.75;
}

.bible-chat-sidebar {
  padding: 1rem;
}

.bible-chat-sidebar h2 {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 950;
}

.bible-session-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  text-align: left;
  font-size: 0.95rem;
  font-weight: 900;
}

.bible-session-button.is-active {
  border-color: rgba(47, 41, 36, 0.36);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(122, 86, 56, 0.12);
}

.bible-chat-thread {
  min-height: 380px;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.bible-chat-empty {
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.9);
  padding: 1.35rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.7;
}

.bible-chat-bubble {
  max-width: min(760px, 100%);
  border-radius: 28px;
  padding: clamp(1rem, 3vw, 1.35rem);
  line-height: 1.75;
}

.bible-chat-bubble > span {
  display: inline-flex;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.bible-chat-bubble-user {
  margin-left: auto;
  background: linear-gradient(135deg, #2f2924, #5f4a37);
  color: #fffaf0;
  box-shadow: 0 14px 32px rgba(47, 41, 36, 0.22);
}

.bible-chat-bubble-user > span {
  background: rgba(255, 255, 255, 0.16);
  color: #fffaf0;
}

.bible-chat-bubble-user p {
  color: #fffaf0;
  font-size: 1.02rem;
  font-weight: 850;
  white-space: pre-wrap;
}

.bible-chat-bubble-assistant {
  margin-right: auto;
  border: 1px solid rgba(122, 86, 56, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 14px 38px rgba(122, 86, 56, 0.12);
}

.bible-chat-bubble-assistant > span {
  background: rgba(111, 119, 87, 0.14);
  color: #4d5d34;
}

.bible-answer-section + .bible-answer-section {
  margin-top: 1rem;
}

.bible-answer-section h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 950;
}

.bible-answer-section p {
  color: #3b332d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
}

.bible-chat-scripture {
  border-left: 5px solid #6f7757;
  background: #fffaf0;
}

.bible-chat-scripture strong {
  display: inline-flex;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: #6f7757;
  padding: 0.25rem 0.72rem;
  color: white;
  font-size: 0.9rem;
}

.bible-chat-scripture p {
  color: #2f2924;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.85;
}

.bible-chat-scripture small,
.bible-chat-scripture em,
.bible-chat-notice,
.bible-chat-no-match {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.6;
}

.bible-example-chips {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.bible-example-chips button {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid rgba(122, 86, 56, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.92);
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  font-weight: 900;
}

.bible-chat-input {
  min-height: 108px;
  font-size: 1rem;
  line-height: 1.7;
}

.bible-chat-submit {
  min-height: 52px;
}

.bible-chat-progress p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .login-card,
  .bible-chat-composer,
  .bible-chat-thread {
    border-radius: 24px;
  }

  .bible-chat-bubble {
    border-radius: 22px;
  }
}

/* 2026-05 Bible chat mobile/TWA layout hardening and album feed ratio fix */
html,
body,
#root {
  max-width: 100%;
  overflow-x: hidden;
}

.page-shell {
  min-width: 0;
}

.bible-chat-page {
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 0;
}

.bible-chat-shell {
  width: 100%;
  max-width: 860px;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 28px);
  box-sizing: border-box;
}

.bible-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin-top: 18px;
}

@media (min-width: 1024px) {
  .bible-chat-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }
}

.bible-chat-page *,
.bible-chat-page *::before,
.bible-chat-page *::after {
  box-sizing: border-box;
}

.bible-chat-hero {
  width: 100%;
  min-width: 0;
  padding: clamp(18px, 4vw, 34px);
}

.bible-chat-hero h1 {
  font-size: clamp(2rem, 8vw, 3.25rem);
  line-height: 1.08;
}

.bible-chat-hero p,
.bible-chat-hero small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.bible-chat-sidebar,
.bible-chat-main,
.bible-chat-thread,
.bible-chat-composer,
.bible-chat-empty,
.bible-chat-error,
.bible-chat-bubble,
.bible-answer-section,
.bible-verse-list,
.bible-chat-scripture {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.bible-chat-main {
  display: grid;
  gap: 16px;
}

.bible-session-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.bible-chat-thread {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  gap: 14px;
  padding: clamp(14px, 3vw, 22px);
}

.bible-chat-bubble {
  width: -moz-fit-content;
  width: fit-content;
  max-width: min(70%, 680px);
  border-radius: 24px;
  padding: clamp(16px, 3vw, 22px);
}

.bible-chat-bubble p,
.bible-answer-section p,
.bible-chat-scripture p,
.bible-chat-notice,
.bible-chat-no-match {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.bible-chat-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #4a2f1d, #6c4a31);
  color: #fffaf0;
}

.bible-chat-bubble-assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.9);
  color: #2f2924;
}

.bible-answer-section h3 {
  font-size: clamp(1.05rem, 3vw, 1.18rem);
}

.bible-answer-section p {
  font-size: clamp(1rem, 2.8vw, 1.08rem);
}

.bible-chat-scripture {
  padding: clamp(15px, 3vw, 20px);
}

.bible-chat-scripture p {
  font-size: clamp(1.06rem, 3.2vw, 1.18rem);
  line-height: 1.85;
}

.bible-chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.bible-chat-input {
  width: 100%;
  min-height: 112px;
  resize: vertical;
}

.bible-chat-submit {
  min-width: 132px;
  min-height: 52px;
  white-space: nowrap;
}

.bible-chat-disclaimer {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.7;
}

.bible-example-chips {
  display: flex;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.bible-example-chips button {
  flex: 0 0 auto;
  min-height: 46px;
  max-width: min(78vw, 340px);
  white-space: normal;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.35;
}

.bible-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bible-chat-error {
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 22px;
  background: #fff1f1;
  padding: 16px;
  color: #991b1b;
}

.bible-chat-error p {
  margin: 8px 0 12px;
  font-weight: 800;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .bible-chat-shell {
    padding: 14px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .bible-chat-hero,
  .bible-chat-sidebar,
  .bible-chat-thread,
  .bible-chat-composer {
    border-radius: 22px;
    padding: 16px;
  }

  .bible-chat-sidebar {
    max-height: 220px;
    overflow-y: auto;
  }

  .bible-chat-bubble {
    max-width: 92%;
    border-radius: 18px;
  }

  .bible-chat-bubble-user {
    max-width: 88%;
  }

  .bible-chat-input-row {
    grid-template-columns: 1fr;
  }

  .bible-chat-submit {
    width: 100%;
    min-width: 0;
  }

  .bible-example-chips {
    margin-inline: -2px;
  }
}

.album-feed-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 260px)) !important;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}

.album-feed-card {
  width: 100%;
  max-width: 260px;
  min-width: 0;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}

.album-feed-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: #eee3d1;
}

.album-feed-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover !important;
     object-fit: cover !important;
}

.album-feed-image.is-fallback::after {
  content: "교회앨범";
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--muted);
  font-weight: 950;
}

.album-feed-body {
  min-height: 108px;
  padding: 14px;
}

.album-feed-body h2,
.album-feed-body p,
.album-feed-body small {
  overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
  .album-feed-grid {
    grid-template-columns: repeat(4, minmax(180px, 240px)) !important;
  }

  .album-feed-card {
    max-width: 240px;
  }
}

@media (max-width: 640px) {
  .album-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .album-feed-card {
    max-width: none;
  }

  .album-feed-body {
    min-height: 84px;
    padding: 10px;
  }
}

.hover\:-translate-y-1:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-\[\#2568a4\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 104 164 / var(--tw-bg-opacity, 1));
}

.hover\:bg-\[var\(--cream\)\]:hover {
  background-color: var(--cream);
}

.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@media (min-width: 640px) {

  .sm\:w-auto {
    width: auto;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:grid-cols-\[1fr_auto\] {
    grid-template-columns: 1fr auto;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:flex-wrap {
    flex-wrap: wrap;
  }

  .sm\:items-end {
    align-items: flex-end;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:space-y-10 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 768px) {

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .md\:grid-cols-\[120px_1fr_auto\] {
    grid-template-columns: 120px 1fr auto;
  }

  .md\:grid-cols-\[160px_1fr_auto\] {
    grid-template-columns: 160px 1fr auto;
  }

  .md\:grid-cols-\[180px_1fr\] {
    grid-template-columns: 180px 1fr;
  }

  .md\:grid-cols-\[220px_1fr\] {
    grid-template-columns: 220px 1fr;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:justify-end {
    justify-content: flex-end;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {

  .lg\:grid {
    display: grid;
  }

  .lg\:min-w-0 {
    min-width: 0px;
  }

  .lg\:min-w-72 {
    min-width: 18rem;
  }

  .lg\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-\[0\.85fr_1\.15fr\] {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .lg\:grid-cols-\[0\.95fr_1\.05fr\] {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .lg\:grid-cols-\[1\.15fr_0\.85fr\] {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .lg\:grid-cols-\[1fr_1fr_auto\] {
    grid-template-columns: 1fr 1fr auto;
  }

  .lg\:grid-cols-\[1fr_auto\] {
    grid-template-columns: 1fr auto;
  }

  .lg\:grid-cols-\[250px_minmax\(0\2c 1fr\)\] {
    grid-template-columns: 250px minmax(0,1fr);
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:items-end {
    align-items: flex-end;
  }

  .lg\:items-center {
    align-items: center;
  }

  .lg\:justify-between {
    justify-content: space-between;
  }

  .lg\:overflow-visible {
    overflow: visible;
  }
}

@media (min-width: 1280px) {

  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .xl\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .xl\:grid-cols-\[240px_1fr\] {
    grid-template-columns: 240px 1fr;
  }

  .xl\:grid-cols-\[320px_minmax\(0\2c 1fr\)\] {
    grid-template-columns: 320px minmax(0,1fr);
  }
}
