/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Anuphan:wght@300;400;500;600;700&display=swap');
*, ::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;
}
.visible{
  visibility: visible;
}
.fixed{
  position: fixed;
}
.absolute{
  position: absolute;
}
.relative{
  position: relative;
}
.sticky{
  position: sticky;
}
.inset-0{
  inset: 0px;
}
.inset-x-0{
  left: 0px;
  right: 0px;
}
.bottom-0{
  bottom: 0px;
}
.left-1{
  left: 0.25rem;
}
.top-0{
  top: 0px;
}
.top-1{
  top: 0.25rem;
}
.left-0\.5{
  left: 0.125rem;
}
.left-\[18px\]{
  left: 18px;
}
.top-0\.5{
  top: 0.125rem;
}
.z-10{
  z-index: 10;
}
.z-20{
  z-index: 20;
}
.-mx-2{
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.my-1{
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.my-2{
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.-mt-1{
  margin-top: -0.25rem;
}
.mb-1{
  margin-bottom: 0.25rem;
}
.mb-1\.5{
  margin-bottom: 0.375rem;
}
.mb-2{
  margin-bottom: 0.5rem;
}
.mb-3{
  margin-bottom: 0.75rem;
}
.mb-4{
  margin-bottom: 1rem;
}
.mb-5{
  margin-bottom: 1.25rem;
}
.ml-1{
  margin-left: 0.25rem;
}
.ml-11{
  margin-left: 2.75rem;
}
.ml-2{
  margin-left: 0.5rem;
}
.ml-5{
  margin-left: 1.25rem;
}
.ml-auto{
  margin-left: auto;
}
.mr-1{
  margin-right: 0.25rem;
}
.mt-0\.5{
  margin-top: 0.125rem;
}
.mt-1{
  margin-top: 0.25rem;
}
.mt-1\.5{
  margin-top: 0.375rem;
}
.mt-2{
  margin-top: 0.5rem;
}
.mt-2\.5{
  margin-top: 0.625rem;
}
.mt-3{
  margin-top: 0.75rem;
}
.mt-4{
  margin-top: 1rem;
}
.mt-auto{
  margin-top: auto;
}
.line-clamp-2{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.block{
  display: block;
}
.inline-block{
  display: inline-block;
}
.flex{
  display: flex;
}
.inline-flex{
  display: inline-flex;
}
.table{
  display: table;
}
.grid{
  display: grid;
}
.hidden{
  display: none;
}
.aspect-video{
  aspect-ratio: 16 / 9;
}
.h-1\.5{
  height: 0.375rem;
}
.h-10{
  height: 2.5rem;
}
.h-12{
  height: 3rem;
}
.h-2{
  height: 0.5rem;
}
.h-2\.5{
  height: 0.625rem;
}
.h-20{
  height: 5rem;
}
.h-24{
  height: 6rem;
}
.h-3{
  height: 0.75rem;
}
.h-32{
  height: 8rem;
}
.h-4{
  height: 1rem;
}
.h-40{
  height: 10rem;
}
.h-7{
  height: 1.75rem;
}
.h-8{
  height: 2rem;
}
.h-9{
  height: 2.25rem;
}
.h-full{
  height: 100%;
}
.h-screen{
  height: 100vh;
}
.h-5{
  height: 1.25rem;
}
.min-h-\[68px\]{
  min-height: 68px;
}
.min-h-screen{
  min-height: 100vh;
}
.w-1{
  width: 0.25rem;
}
.w-1\.5{
  width: 0.375rem;
}
.w-10{
  width: 2.5rem;
}
.w-12{
  width: 3rem;
}
.w-14{
  width: 3.5rem;
}
.w-2{
  width: 0.5rem;
}
.w-2\.5{
  width: 0.625rem;
}
.w-24{
  width: 6rem;
}
.w-3{
  width: 0.75rem;
}
.w-32{
  width: 8rem;
}
.w-4{
  width: 1rem;
}
.w-44{
  width: 11rem;
}
.w-56{
  width: 14rem;
}
.w-7{
  width: 1.75rem;
}
.w-8{
  width: 2rem;
}
.w-9{
  width: 2.25rem;
}
.w-full{
  width: 100%;
}
.min-w-0{
  min-width: 0px;
}
.min-w-\[100px\]{
  min-width: 100px;
}
.min-w-\[180px\]{
  min-width: 180px;
}
.max-w-4xl{
  max-width: 56rem;
}
.max-w-none{
  max-width: none;
}
.max-w-sm{
  max-width: 24rem;
}
.flex-1{
  flex: 1 1 0%;
}
.shrink-0{
  flex-shrink: 0;
}
.grow{
  flex-grow: 1;
}
.border-collapse{
  border-collapse: collapse;
}
.-rotate-90{
  --tw-rotate: -90deg;
  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));
}
.transform{
  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));
}
@keyframes pulse{
  50%{
    opacity: .5;
  }
}
.animate-pulse{
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.cursor-not-allowed{
  cursor: not-allowed;
}
.cursor-pointer{
  cursor: pointer;
}
.resize-none{
  resize: none;
}
.list-decimal{
  list-style-type: decimal;
}
.list-disc{
  list-style-type: disc;
}
.grid-cols-1{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-7{
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.flex-col{
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}
.items-start{
  align-items: flex-start;
}
.items-end{
  align-items: flex-end;
}
.items-center{
  align-items: center;
}
.justify-end{
  justify-content: flex-end;
}
.justify-center{
  justify-content: center;
}
.justify-between{
  justify-content: space-between;
}
.gap-0\.5{
  gap: 0.125rem;
}
.gap-1{
  gap: 0.25rem;
}
.gap-1\.5{
  gap: 0.375rem;
}
.gap-2{
  gap: 0.5rem;
}
.gap-2\.5{
  gap: 0.625rem;
}
.gap-3{
  gap: 0.75rem;
}
.gap-5{
  gap: 1.25rem;
}
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.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-2\.5 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}
.self-stretch{
  align-self: stretch;
}
.overflow-hidden{
  overflow: hidden;
}
.overflow-x-auto{
  overflow-x: auto;
}
.overflow-y-auto{
  overflow-y: auto;
}
.truncate{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap{
  white-space: nowrap;
}
.whitespace-pre-line{
  white-space: pre-line;
}
.whitespace-pre-wrap{
  white-space: pre-wrap;
}
.break-words{
  overflow-wrap: break-word;
}
.break-all{
  word-break: break-all;
}
.rounded{
  border-radius: 0.25rem;
}
.rounded-full{
  border-radius: 9999px;
}
.rounded-lg{
  border-radius: 0.5rem;
}
.rounded-md{
  border-radius: 0.375rem;
}
.rounded-xl{
  border-radius: 0.75rem;
}
.border{
  border-width: 1px;
}
.border-b{
  border-bottom-width: 1px;
}
.border-l-2{
  border-left-width: 2px;
}
.border-r{
  border-right-width: 1px;
}
.border-t{
  border-top-width: 1px;
}
.border-none{
  border-style: none;
}
.border-bluesteellight{
  --tw-border-opacity: 1;
  border-color: rgb(160 181 200 / var(--tw-border-opacity, 1));
}
.border-bluesteelsoft{
  --tw-border-opacity: 1;
  border-color: rgb(224 231 240 / var(--tw-border-opacity, 1));
}
.border-gold{
  --tw-border-opacity: 1;
  border-color: rgb(195 155 62 / var(--tw-border-opacity, 1));
}
.border-goldsoft{
  --tw-border-opacity: 1;
  border-color: rgb(240 226 184 / var(--tw-border-opacity, 1));
}
.border-leaf{
  --tw-border-opacity: 1;
  border-color: rgb(92 122 82 / var(--tw-border-opacity, 1));
}
.border-line{
  --tw-border-opacity: 1;
  border-color: rgb(228 218 198 / var(--tw-border-opacity, 1));
}
.border-rose{
  --tw-border-opacity: 1;
  border-color: rgb(181 101 78 / var(--tw-border-opacity, 1));
}
.border-rose\/30{
  border-color: rgb(181 101 78 / 0.3);
}
.border-steel{
  --tw-border-opacity: 1;
  border-color: rgb(92 116 148 / var(--tw-border-opacity, 1));
}
.border-transparent{
  border-color: transparent;
}
.border-navy{
  --tw-border-opacity: 1;
  border-color: rgb(15 30 46 / var(--tw-border-opacity, 1));
}
.bg-bluesteel{
  --tw-bg-opacity: 1;
  background-color: rgb(92 116 148 / var(--tw-bg-opacity, 1));
}
.bg-bluesteelsoft\/50{
  background-color: rgb(224 231 240 / 0.5);
}
.bg-gold{
  --tw-bg-opacity: 1;
  background-color: rgb(195 155 62 / var(--tw-bg-opacity, 1));
}
.bg-goldsoft{
  --tw-bg-opacity: 1;
  background-color: rgb(240 226 184 / var(--tw-bg-opacity, 1));
}
.bg-ink\/10{
  background-color: rgb(15 30 46 / 0.1);
}
.bg-ink\/15{
  background-color: rgb(15 30 46 / 0.15);
}
.bg-leaf{
  --tw-bg-opacity: 1;
  background-color: rgb(92 122 82 / var(--tw-bg-opacity, 1));
}
.bg-leafsoft{
  --tw-bg-opacity: 1;
  background-color: rgb(227 235 220 / var(--tw-bg-opacity, 1));
}
.bg-line{
  --tw-bg-opacity: 1;
  background-color: rgb(228 218 198 / var(--tw-bg-opacity, 1));
}
.bg-navy{
  --tw-bg-opacity: 1;
  background-color: rgb(15 30 46 / var(--tw-bg-opacity, 1));
}
.bg-paper{
  --tw-bg-opacity: 1;
  background-color: rgb(244 241 234 / var(--tw-bg-opacity, 1));
}
.bg-paper\/20{
  background-color: rgb(244 241 234 / 0.2);
}
.bg-paper\/60{
  background-color: rgb(244 241 234 / 0.6);
}
.bg-paper\/95{
  background-color: rgb(244 241 234 / 0.95);
}
.bg-rose{
  --tw-bg-opacity: 1;
  background-color: rgb(181 101 78 / var(--tw-bg-opacity, 1));
}
.bg-rose\/90{
  background-color: rgb(181 101 78 / 0.9);
}
.bg-rosesoft{
  --tw-bg-opacity: 1;
  background-color: rgb(242 220 210 / var(--tw-bg-opacity, 1));
}
.bg-rosesoft\/40{
  background-color: rgb(242 220 210 / 0.4);
}
.bg-rosesoft\/50{
  background-color: rgb(242 220 210 / 0.5);
}
.bg-steel{
  --tw-bg-opacity: 1;
  background-color: rgb(92 116 148 / var(--tw-bg-opacity, 1));
}
.bg-steelsoft{
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 240 / var(--tw-bg-opacity, 1));
}
.bg-transparent{
  background-color: transparent;
}
.bg-card{
  --tw-bg-opacity: 1;
  background-color: rgb(255 253 248 / var(--tw-bg-opacity, 1));
}
.bg-ink\/40{
  background-color: rgb(15 30 46 / 0.4);
}
.object-cover{
  -o-object-fit: cover;
     object-fit: cover;
}
.p-1\.5{
  padding: 0.375rem;
}
.p-2{
  padding: 0.5rem;
}
.p-2\.5{
  padding: 0.625rem;
}
.p-3{
  padding: 0.75rem;
}
.p-3\.5{
  padding: 0.875rem;
}
.p-4{
  padding: 1rem;
}
.p-5{
  padding: 1.25rem;
}
.p-6{
  padding: 1.5rem;
}
.p-8{
  padding: 2rem;
}
.px-1{
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-1\.5{
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5{
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.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-0\.5{
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5{
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-10{
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-2{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5{
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.pb-0\.5{
  padding-bottom: 0.125rem;
}
.pb-1{
  padding-bottom: 0.25rem;
}
.pb-12{
  padding-bottom: 3rem;
}
.pb-32{
  padding-bottom: 8rem;
}
.pb-4{
  padding-bottom: 1rem;
}
.pb-8{
  padding-bottom: 2rem;
}
.pl-1{
  padding-left: 0.25rem;
}
.pl-3{
  padding-left: 0.75rem;
}
.pt-1\.5{
  padding-top: 0.375rem;
}
.pt-16{
  padding-top: 4rem;
}
.pt-3{
  padding-top: 0.75rem;
}
.pt-\[calc\(4rem\+env\(safe-area-inset-top\)\)\]{
  padding-top: calc(4rem + env(safe-area-inset-top));
}
.text-left{
  text-align: left;
}
.text-center{
  text-align: center;
}
.text-right{
  text-align: right;
}
.font-body{
  font-family: Anuphan, sans-serif;
}
.font-display{
  font-family: Fraunces, serif;
}
.font-mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.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-\[10px\]{
  font-size: 10px;
}
.text-\[11px\]{
  font-size: 11px;
}
.text-\[13px\]{
  font-size: 13px;
}
.text-\[15px\]{
  font-size: 15px;
}
.text-\[8px\]{
  font-size: 8px;
}
.text-\[9px\]{
  font-size: 9px;
}
.text-base{
  font-size: 1rem;
  line-height: 1.5rem;
}
.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-bold{
  font-weight: 700;
}
.font-medium{
  font-weight: 500;
}
.font-normal{
  font-weight: 400;
}
.font-semibold{
  font-weight: 600;
}
.uppercase{
  text-transform: uppercase;
}
.normal-case{
  text-transform: none;
}
.italic{
  font-style: italic;
}
.leading-none{
  line-height: 1;
}
.leading-relaxed{
  line-height: 1.625;
}
.leading-snug{
  line-height: 1.375;
}
.leading-tight{
  line-height: 1.25;
}
.tracking-\[\.15em\]{
  letter-spacing: .15em;
}
.tracking-\[\.18em\]{
  letter-spacing: .18em;
}
.tracking-\[\.22em\]{
  letter-spacing: .22em;
}
.tracking-wide{
  letter-spacing: 0.025em;
}
.tracking-wider{
  letter-spacing: 0.05em;
}
.text-bluesteel{
  --tw-text-opacity: 1;
  color: rgb(92 116 148 / var(--tw-text-opacity, 1));
}
.text-bluesteellight{
  --tw-text-opacity: 1;
  color: rgb(160 181 200 / var(--tw-text-opacity, 1));
}
.text-card{
  --tw-text-opacity: 1;
  color: rgb(255 253 248 / var(--tw-text-opacity, 1));
}
.text-golddeep{
  --tw-text-opacity: 1;
  color: rgb(156 120 32 / var(--tw-text-opacity, 1));
}
.text-ink{
  --tw-text-opacity: 1;
  color: rgb(15 30 46 / var(--tw-text-opacity, 1));
}
.text-ink\/80{
  color: rgb(15 30 46 / 0.8);
}
.text-ink\/85{
  color: rgb(15 30 46 / 0.85);
}
.text-inksoft{
  --tw-text-opacity: 1;
  color: rgb(94 110 128 / var(--tw-text-opacity, 1));
}
.text-inksoft\/60{
  color: rgb(94 110 128 / 0.6);
}
.text-leaf{
  --tw-text-opacity: 1;
  color: rgb(92 122 82 / var(--tw-text-opacity, 1));
}
.text-navy{
  --tw-text-opacity: 1;
  color: rgb(15 30 46 / var(--tw-text-opacity, 1));
}
.text-navy\/65{
  color: rgb(15 30 46 / 0.65);
}
.text-navy\/80{
  color: rgb(15 30 46 / 0.8);
}
.text-paper{
  --tw-text-opacity: 1;
  color: rgb(244 241 234 / var(--tw-text-opacity, 1));
}
.text-paper\/70{
  color: rgb(244 241 234 / 0.7);
}
.text-rose{
  --tw-text-opacity: 1;
  color: rgb(181 101 78 / var(--tw-text-opacity, 1));
}
.text-steel{
  --tw-text-opacity: 1;
  color: rgb(92 116 148 / var(--tw-text-opacity, 1));
}
.text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.underline{
  text-decoration-line: underline;
}
.line-through{
  text-decoration-line: line-through;
}
.accent-navy{
  accent-color: #0F1E2E;
}
.opacity-0{
  opacity: 0;
}
.opacity-100{
  opacity: 1;
}
.opacity-40{
  opacity: 0.4;
}
.opacity-55{
  opacity: 0.55;
}
.opacity-60{
  opacity: 0.6;
}
.opacity-70{
  opacity: 0.7;
}
.opacity-80{
  opacity: 0.8;
}
.opacity-50{
  opacity: 0.5;
}
.shadow-md{
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px 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-sm{
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 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-navy\/20{
  --tw-shadow-color: rgb(15 30 46 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.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);
}
.backdrop-blur{
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.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;
}
.transition-all{
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200{
  transition-duration: 200ms;
}

body {
  background-color: #F4F1EA;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(15,30,46,.05), transparent 40%),
    radial-gradient(circle at 88% 4%, rgba(92,116,148,.06), transparent 42%);
  min-height: 100vh;
  color: #0F1E2E;
}
.fade { animation: rise .6s ease forwards; opacity: 0; }
@keyframes rise { from { opacity:0; transform: translateY(12px);} to {opacity:1; transform:none;} }

.card { background:#FFFDF8; border:1px solid #E4DAC6; border-radius:1rem; }
.btn  { padding:.5rem 1rem; border-radius:.75rem; font-weight:500; transition:all .15s; min-height:44px; }
.btn-primary { background:#0F1E2E; color:#F4F1EA; }
.btn-primary:hover { background:#2A3949; }
.btn-primary:active { background:#0F1E2E; }
.btn-primary[disabled] { opacity:.55; cursor:not-allowed; }
.btn-ghost   { background:transparent; color:#5E6E80; border:1px solid #E4DAC6; }
.btn-ghost:hover { background:#FFFDF8; border-color:#5C7494; color:#0F1E2E; }
.btn-ghost:active { background:#E0E7F0; }
.chip { display:inline-flex; align-items:center; gap:.3rem; padding:.3rem .7rem; border-radius:999px; font-size:.75rem; min-height:28px; cursor:pointer; -webkit-user-select:none; -moz-user-select:none; user-select:none; }

/* === Game-style bubbles === */
.bubble {
  position:relative;
  border-radius:1rem;
  padding:.85rem 1rem;
  border:1px solid #E4DAC6;
  background:#FFFDF8;
  display:flex; gap:.7rem; align-items:flex-start;
  transition: transform .15s ease, box-shadow .15s ease, opacity .25s ease;
  cursor:default;
}
.bubble.interactive { cursor:pointer; }
.bubble.interactive:hover { transform: translateY(-1px); box-shadow: 0 4px 12px -6px rgba(195,155,62,.3); }
.bubble.interactive:active { transform: translateY(0); }

.bubble-quest    { background: linear-gradient(135deg, #FFFDF8 0%, #FBF3DC 100%); border-color:#E8C97F; }
.bubble-side     { background: linear-gradient(135deg, #FFFDF8 0%, #E9F1E1 100%); border-color:#A8C198; }
.bubble-boss     { background: linear-gradient(135deg, #FFFDF8 0%, #F9E5DC 100%); border-color:#D7A78F; }
.bubble-alert    { background: linear-gradient(135deg, #FFFDF8 0%, #F4DCD2 100%); border-color:#C97862; }
.bubble-idea     { background: linear-gradient(135deg, #FFFDF8 0%, #DEE5EF 100%); border-color:#8FA0BC; }
.bubble-decision { background: linear-gradient(135deg, #FFFDF8 0%, #EEE5D0 100%); border-color:#B59B5F; }

/* Done state — soft strikethrough effect, faded */
.bubble.done {
  opacity:.55;
  background:#F7F1E6 !important;
  border-color:#D8CCB3 !important;
}
.bubble.done .bubble-title { text-decoration: line-through; text-decoration-thickness:1px; text-decoration-color:#9C7820; }

.bubble-icon { font-size:1.4rem; line-height:1; flex-shrink:0; padding-top:.1rem; -webkit-user-select:none; -moz-user-select:none; user-select:none; }
.bubble-title { font-size:.92rem; line-height:1.45; flex:1; min-width:0; }
.bubble-sub { font-size:.72rem; color:#6B6353; margin-top:.25rem; }
.bubble-action { font-size:.7rem; color:#9C7820; cursor:pointer; padding:.2rem .5rem; border-radius:.4rem; }
.bubble-action:hover { background:rgba(195,155,62,.12); }

/* Conquest progress bar */
.conquest-bar {
  height:8px;
  background:#E4DAC6;
  border-radius:999px;
  overflow:hidden;
  position:relative;
}
.conquest-bar-fill {
  height:100%;
  background: linear-gradient(90deg, #C39B3E 0%, #E8C97F 50%, #C39B3E 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  border-radius:999px;
  transition:width .5s ease;
}
@keyframes shimmer { 0%,100% { background-position: 0% 0%; } 50% { background-position: 100% 0%; } }

/* Streak flame */
.streak-flame { display:inline-flex; align-items:center; gap:.25rem; padding:.2rem .55rem; border-radius:999px; background: linear-gradient(135deg, #F4DCD2, #F0E2B8); color:#9C7820; font-size:.78rem; font-weight:600; }

/* Section header with count badge */
.section-h {
  display:flex; align-items:baseline; gap:.6rem; margin-bottom:.6rem;
}
.section-h .label { font-family: 'Fraunces', serif; font-size:1.1rem; font-weight:600; }
.section-h .count { font-size:.7rem; color:#6B6353; padding:.1rem .45rem; border-radius:999px; background:#F0E2B8; }

/* Soft floating "+XP" toast (use later for completion satisfaction) */
.xp-burst {
  position:absolute; top:-.2rem; right:-.2rem;
  background:#5C7A52; color:white; font-size:.65rem; font-weight:700;
  padding:.15rem .5rem; border-radius:999px;
  animation: pop .6s ease forwards;
}
@keyframes pop {
  0% { transform: scale(.4) translateY(0); opacity:0; }
  40% { transform: scale(1.1) translateY(-4px); opacity:1; }
  100% { transform: scale(1) translateY(-12px); opacity:0; }
}

/* Hero brief block */
.hero-block {
  background: linear-gradient(135deg, #FFFDF8 0%, #FBF3DC 100%);
  border:2px solid #E8C97F;
  border-radius:1.5rem;
  padding:1.5rem 1.25rem;
  position:relative;
  overflow:hidden;
  box-shadow: 0 8px 24px -12px rgba(195,155,62,.25);
}
.hero-block::before {
  content:'';
  position:absolute; top:-30%; right:-20%; width:60%; height:160%;
  background: radial-gradient(circle, rgba(195,155,62,.15), transparent 60%);
  pointer-events:none;
  animation: hero-pulse 8s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%,100% { opacity:.6; transform:scale(1); }
  50% { opacity:1; transform:scale(1.05); }
}

/* === Compact mission rows (tap-to-complete entire row) === */
.row {
  position:relative;
  border-radius:1rem;
  padding:.85rem 1rem;
  border:1px solid #E4DAC6;
  background:#FFFDF8;
  display:flex; gap:.85rem; align-items:center;
  cursor:pointer;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  -webkit-user-select:none;
     -moz-user-select:none;
          user-select:none;
  -webkit-tap-highlight-color: transparent;
}
.row:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(195,155,62,.35); border-color:#C39B3E; }
.row:active { transform: translateY(0); transition-duration:.05s; }

.row-quest    { background: linear-gradient(135deg, #FFFDF8 0%, #FBF3DC 100%); }
.row-quest:hover { border-color:#C39B3E; box-shadow: 0 6px 16px -8px rgba(195,155,62,.4); }

.row-side     { background: linear-gradient(135deg, #FFFDF8 0%, #EAF1E1 100%); }
.row-side:hover { border-color:#5C7A52; box-shadow: 0 6px 16px -8px rgba(92,122,82,.4); }

.row-boss     { background: linear-gradient(135deg, #FFFDF8 0%, #F4DCD2 100%); border-color:#D7A78F; }
.row-boss:hover { border-color:#B5654E; box-shadow: 0 6px 18px -8px rgba(181,101,78,.5); }

.row-alert    { background: linear-gradient(135deg, #FFF8F5 0%, #F4DCD2 100%); border-color:#C97862; }
.row-alert::before {
  content:''; position:absolute; left:0; top:8px; bottom:8px; width:3px; border-radius:0 3px 3px 0; background:#B5654E;
}

.row-idea     { background: linear-gradient(135deg, #FFFDF8 0%, #DEE5EF 100%); }
.row-idea:hover { border-color:#5A6E8C; }

.row-decision { background: linear-gradient(135deg, #FFFDF8 0%, #EEE5D0 100%); }

.row.done {
  background:#F7F1E6 !important;
  border-color:#D8CCB3 !important;
  opacity:.5;
  transform:scale(.98);
}
.row.done .row-title { text-decoration: line-through; text-decoration-thickness:1.5px; }
.row.done:hover { transform:scale(.98); box-shadow:none; }

.row-icon {
  font-size:1.5rem; line-height:1; flex-shrink:0;
  width:2.2rem; height:2.2rem; display:flex; align-items:center; justify-content:center;
  border-radius:.7rem;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(0,0,0,.04);
}
.row-title {
  font-size:.95rem; line-height:1.4; flex:1; min-width:0;
  font-weight:500;
  display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.row-title.expanded { -webkit-line-clamp:unset; line-clamp:unset; }
.row-xp {
  font-size:.7rem; color:#9C7820; font-weight:600;
  padding:.2rem .55rem; border-radius:999px;
  background:rgba(195,155,62,.12);
  flex-shrink:0;
  white-space:nowrap;
}

/* Slide-out on completion */
.row.completing {
  animation: slide-out .5s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes slide-out {
  0% { transform: translateX(0); opacity:1; }
  60% { transform: translateX(40px); opacity:.6; }
  100% { transform: translateX(0); opacity:.5; }
}

/* === Confetti burst === */
.confetti-burst {
  position:absolute; inset:0; pointer-events:none; overflow:visible;
}
.confetti-piece {
  position:absolute; left:50%; top:50%;
  width:6px; height:10px; border-radius:2px;
  animation: confetti-fly .9s cubic-bezier(.2, .6, .4, 1) forwards;
}
@keyframes confetti-fly {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity:1; }
  100% { transform: translate(var(--cx), var(--cy)) rotate(var(--cr)) scale(.4); opacity:0; }
}

/* XP gained pop */
.xp-pop {
  position:absolute; top:50%; left:50%;
  transform: translate(-50%, -50%);
  font-weight:800; font-size:1.1rem; color:#5C7A52;
  text-shadow: 0 2px 8px rgba(92,122,82,.4);
  animation: xp-pop .9s cubic-bezier(.4, 0, .2, 1) forwards;
  pointer-events:none;
  z-index:10;
}
@keyframes xp-pop {
  0% { transform: translate(-50%, -50%) scale(.3); opacity:0; }
  30% { transform: translate(-50%, -80%) scale(1.3); opacity:1; }
  100% { transform: translate(-50%, -180%) scale(1); opacity:0; }
}

/* === Section header with progress dot === */
.section-h2 {
  display:flex; align-items:center; gap:.55rem; margin-bottom:.7rem;
}
.section-h2 .icon { font-size:1.3rem; line-height:1; }
.section-h2 .label { font-family:'Fraunces', serif; font-size:1.05rem; font-weight:600; color:#23201A; }
.section-h2 .meta { font-size:.7rem; color:#6B6353; margin-left:.2rem; }
.section-h2 .done-tag {
  margin-left:auto;
  font-size:.65rem; font-weight:700; padding:.2rem .5rem; border-radius:999px;
  background: linear-gradient(135deg, #E3EBDC, #C7DBB5); color:#3F5634;
  border:1px solid #94B27E;
}

/* === Empty / completed celebrations === */
.celebration {
  text-align:center; padding:1.5rem .8rem;
  background: linear-gradient(135deg, #FBF3DC, #E3EBDC);
  border:2px dashed #E8C97F;
  border-radius:1.25rem;
  position:relative; overflow:hidden;
}
.celebration::before {
  content:'✨';
  position:absolute; top:.4rem; right:.6rem; font-size:1.2rem;
  animation: sparkle 2s ease-in-out infinite;
}
.celebration::after {
  content:'✨';
  position:absolute; bottom:.4rem; left:.6rem; font-size:1rem;
  animation: sparkle 2.4s ease-in-out infinite reverse;
}
@keyframes sparkle {
  0%,100% { transform:rotate(0deg) scale(1); opacity:.6; }
  50% { transform:rotate(180deg) scale(1.2); opacity:1; }
}

/* === Smooth section enter === */
@keyframes section-in {
  from { opacity:0; transform:translateY(8px); }
  to { opacity:1; transform:none; }
}
.section-in { animation: section-in .35s cubic-bezier(.4, 0, .2, 1) forwards; }

/* === Floating XP counter === */
.xp-float {
  position:fixed; top:calc(env(safe-area-inset-top, 0) + .7rem); right:.9rem;
  z-index:50;
  background: linear-gradient(135deg, #FFFDF8, #F0E2B8);
  border:1.5px solid #C39B3E;
  border-radius:999px;
  padding:.45rem .85rem;
  display:flex; align-items:center; gap:.45rem;
  box-shadow: 0 6px 20px -6px rgba(195,155,62,.4), 0 0 0 4px rgba(255,255,255,.6);
  font-weight:700; font-size:.85rem;
  color:#9C7820;
  -webkit-user-select:none;
     -moz-user-select:none;
          user-select:none;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
  opacity:0; transform: translateY(-12px) scale(.9);
  pointer-events:none;
}
.xp-float.visible { opacity:1; transform:none; pointer-events:auto; }
.xp-float .icon { font-size:1rem; }
.xp-float .grow { animation: xp-grow .5s cubic-bezier(.4, 0, .2, 1); }
@keyframes xp-grow {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); color:#5C7A52; }
  100% { transform: scale(1); }
}
@media (min-width: 768px) { .xp-float { top: 1rem; right: 1.5rem; } }

/* === Mute button === */
.audio-toggle {
  position:fixed; bottom:1rem; right:1rem; z-index:50;
  width:2.4rem; height:2.4rem; border-radius:999px;
  background:rgba(255,253,248,.95); border:1px solid #E4DAC6;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; cursor:pointer;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.1);
  transition: all .2s;
  -webkit-tap-highlight-color:transparent;
}
.audio-toggle:hover { background:#FFFDF8; transform:translateY(-1px); }
.audio-toggle:active { transform:translateY(0); }
@media (min-width: 768px) { .audio-toggle { bottom: 1.5rem; right: 1.5rem; } }

/* === Swipeable Ideas Stack === */
.stack-container {
  position:relative;
  height:200px;
  margin-bottom:1rem;
  perspective:800px;
}
.stack-card {
  position:absolute; inset:0;
  background: linear-gradient(135deg, #FFFDF8, #DEE5EF);
  border:1px solid #8FA0BC;
  border-radius:1.2rem;
  padding:1.2rem;
  box-shadow: 0 8px 24px -8px rgba(90,110,140,.3);
  display:flex; flex-direction:column; justify-content:space-between;
  -webkit-user-select:none;
     -moz-user-select:none;
          user-select:none;
  -webkit-tap-highlight-color:transparent;
  cursor:grab;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .25s, box-shadow .25s;
}
.stack-card.dragging { transition: none; cursor:grabbing; }
.stack-card.depth-0 { z-index:3; }
.stack-card.depth-1 { z-index:2; transform: scale(.95) translateY(8px); opacity:.7; }
.stack-card.depth-2 { z-index:1; transform: scale(.9) translateY(16px); opacity:.4; }
.stack-card.depth-3 { z-index:0; opacity:0; }

.stack-card .swipe-hint {
  position:absolute; top:50%; transform: translateY(-50%);
  padding:.5rem 1rem; border-radius:.7rem;
  font-weight:700; font-size:.85rem;
  opacity:0;
  transition: opacity .15s;
  pointer-events:none;
}
.stack-card .swipe-hint.right { right:1rem; background:#E3EBDC; color:#3F5634; border:2px solid #5C7A52; }
.stack-card .swipe-hint.left { left:1rem; background:#F4DCD2; color:#7E3A26; border:2px solid #B5654E; }
.stack-card.hint-right .swipe-hint.right { opacity:1; }
.stack-card.hint-left .swipe-hint.left { opacity:1; }

/* === Dispatch (Claude Code) styles === */
.row.dispatching {
  animation: dispatching-pulse 1.5s ease-in-out infinite;
  border-color:#5A6E8C !important;
}
@keyframes dispatching-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(90,110,140,.4); }
  50% { box-shadow: 0 0 0 8px rgba(90,110,140,0); }
}

.dispatch-modal-backdrop {
  position:fixed; inset:0; z-index:100;
  background: rgba(35, 32, 26, .55);
  backdrop-filter: blur(6px);
  display:flex; align-items:flex-end; justify-content:center;
  animation: backdrop-in .25s ease;
  padding:1rem;
}
@media (min-width: 768px) { .dispatch-modal-backdrop { align-items:center; } }
@keyframes backdrop-in { from { opacity:0; } to { opacity:1; } }

.dispatch-modal {
  background:#FFFDF8; border:1px solid #E4DAC6;
  border-radius:1.25rem;
  max-width: 32rem; width:100%; max-height:80vh;
  display:flex; flex-direction:column;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.3);
  animation: modal-in .35s cubic-bezier(.4, 0, .2, 1);
}
@keyframes modal-in {
  from { opacity:0; transform: translateY(20px) scale(.96); }
  to { opacity:1; transform:none; }
}

.dispatch-output {
  background:#1c1a17; color:#E4DAC6;
  border-radius:.7rem;
  padding:.85rem 1rem;
  font-family: 'SF Mono', Menlo, monospace;
  font-size:.78rem; line-height:1.5;
  max-height: 280px; overflow-y:auto;
  white-space: pre-wrap; word-break: break-word;
}
.dispatch-output .ts { color:#9C7820; }
.dispatch-output .stderr { color:#D88A6F; }

/* tighten existing animations */
.bubble.interactive, .row { will-change: transform; }

/* === Mission row v2: explicit checkbox === */
.row-check {
  width: 2.4rem; height: 2.4rem;
  border-radius: .75rem;
  border: 2px solid #5C7494;
  background: #FFFDF8;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; line-height: 1;
  cursor: pointer; flex-shrink: 0;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  -webkit-tap-highlight-color: transparent;
  color: transparent;
}
.row-check:hover { background:#E0E7F0; border-color:#0F1E2E; transform: scale(1.05); }
.row-check:active { transform: scale(.95); }
.row-check.done {
  background: linear-gradient(135deg, #5C7A52, #6B8A60);
  border-color: #5C7A52;
  color: #F4F1EA;
}

.row-body { flex: 1; min-width: 0; cursor: pointer; }
.row.compact { padding: .7rem .85rem; }

/* === Undo toast === */
.undo-toast {
  position:fixed; bottom: 5rem; left:50%; transform: translateX(-50%);
  background:#0F1E2E; color:#F4F1EA;
  padding:.7rem 1rem .7rem 1.25rem;
  border-radius:.9rem;
  display:flex; align-items:center; gap:.85rem;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.4);
  z-index:60;
  animation: toast-in .35s cubic-bezier(.4, 0, .2, 1);
  max-width: calc(100vw - 2rem);
}
@keyframes toast-in {
  from { opacity:0; transform: translateX(-50%) translateY(20px); }
  to { opacity:1; transform: translateX(-50%); }
}
.undo-toast .check { color:#94B27E; font-size:1.2rem; }
.undo-toast .msg { font-size:.85rem; flex:1; }
.undo-toast .undo-btn {
  background: rgba(244,241,234,.15); color:#F4F1EA;
  border:1px solid rgba(244,241,234,.3);
  padding:.35rem .8rem;
  border-radius:.6rem;
  font-size:.8rem; font-weight:600;
  cursor:pointer;
  display:flex; align-items:center; gap:.3rem;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.undo-toast .undo-btn:hover { background: rgba(244,241,234,.25); }
.undo-toast .ring-timer {
  width: 1.6rem; height: 1.6rem;
}

/* === Dispatch inline output === */
.dispatch-inline {
  margin-top: .65rem;
  background:#0F1E2E;
  color:#E0E7F0;
  border-radius:.7rem;
  padding:.7rem .85rem;
  font-family:'SF Mono', Menlo, monospace;
  font-size:.72rem; line-height:1.45;
  max-height: 180px; overflow-y:auto;
  white-space: pre-wrap; word-break: break-word;
  border:1px solid #2A3949;
}
.dispatch-inline .label { color:#A0B5C8; font-size:.65rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:.3rem; display:block; }

/* === Activity item === */
.activity-item {
  background: linear-gradient(135deg, #FFFDF8 0%, #E0E7F0 100%);
  border:1px solid #A0B5C8;
  border-radius:.85rem;
  padding:.7rem .9rem;
}



/* iOS safe areas + bottom-nav clearance */
body { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 768px) {
  main { padding-bottom: 6rem !important; }
}

/* Touch device tweaks */
@media (hover: none) {
  input, textarea, select { font-size:16px !important; }  /* prevent iOS zoom */
}

/* === MOBILE: scale everything down -1 step + extra breathing room === */
@media (max-width: 640px) {
  /* Hero block: even tighter padding + radius */
  .hero-block { padding: .85rem .85rem; border-radius: 1rem; }

  /* Rows: smaller padding + smaller font */
  .row { padding: .65rem .8rem; gap: .65rem; border-radius: .85rem; }
  .row.compact { padding: .55rem .7rem; }
  .row-icon { font-size: 1.2rem; width: 1.85rem; height: 1.85rem; border-radius: .55rem; }
  .row-title { font-size: .82rem; line-height: 1.4; }
  .row-check { width: 1.85rem; height: 1.85rem; font-size: 1rem; border-radius: .55rem; border-width: 1.5px; }
  .row-xp { font-size: .62rem; padding: .15rem .45rem; }

  /* Section headers — extra space between groups */
  .section-h2 { margin-bottom: .55rem; gap: .45rem; }
  .section-h2 .label { font-size: .92rem; }
  .section-h2 .icon { font-size: 1.05rem; }
  .section-h2 .meta { font-size: .62rem; }
  .section-h2 .done-tag { font-size: .58rem; padding: .15rem .4rem; }

  /* Card */
  .card { border-radius: .85rem; }
  .activity-item { padding: .5rem .7rem; border-radius: .65rem; }

  /* Undo toast */
  .undo-toast { bottom: 4.5rem; padding: .5rem .8rem .5rem 1rem; gap: .6rem; }
  .undo-toast .msg { font-size: .75rem; }
  .undo-toast .undo-btn { font-size: .7rem; padding: .25rem .55rem; }
  .undo-toast .ring-timer { width: 1.3rem; height: 1.3rem; }

  /* HIDE FloatingXP on mobile — already shown inside ConquestDial */
  .xp-float { display: none !important; }

  /* HIDE AudioToggle on mobile — most users mute via hardware anyway */
  .audio-toggle { display: none !important; }

  /* Bubble */
  .bubble { padding: .65rem .8rem; gap: .55rem; border-radius: .85rem; }
  .bubble-title { font-size: .82rem; }
  .bubble-sub { font-size: .65rem; }
  .bubble-icon { font-size: 1.2rem; }

  /* Stack card */
  .stack-container { height: 160px; }
  .stack-card { padding: .9rem; border-radius: .9rem; }

  /* Dispatch inline */
  .dispatch-inline { font-size: .68rem; padding: .5rem .65rem; max-height: 140px; }

  /* Celebration */
  .celebration { padding: 1rem .7rem; border-radius: 1rem; }

  /* Conquest dial — even smaller on mobile */
  .conquest-dial { width: 92px !important; height: 92px !important; }
  .conquest-dial svg { width: 92px; height: 92px; }
  .conquest-dial .dial-num { font-size: 1.35rem !important; }
  .conquest-dial .dial-sub { font-size: .72rem !important; }

  /* FAB — bottom-right, free since AudioToggle hidden */
  .fab { bottom: .8rem !important; right: .8rem !important; width: 2.7rem; height: 2.7rem; font-size: 1.4rem; }

  /* Chip + small UI elements */
  .chip { padding: .25rem .55rem; font-size: .7rem; min-height: 24px; }
  .streak-flame { font-size: .7rem; padding: .15rem .45rem; }
}

/* === MOBILE: extra spacing between sections, tighter content === */
@media (max-width: 640px) {
  /* Override Tailwind space-y-* to be tighter on mobile */
  .space-y-4 > * + * { margin-top: .85rem !important; }
  .space-y-5 > * + * { margin-top: .85rem !important; }
  .space-y-3 > * + * { margin-top: .7rem !important; }
  .space-y-2 > * + * { margin-top: .5rem !important; }

  /* Main content padding tighter on edges */
  main { padding-left: .85rem !important; padding-right: .85rem !important; }
}

/* === FAB (floating quick-capture button) === */
.fab {
  position: fixed; bottom: 1rem; right: 4rem;
  width: 3rem; height: 3rem; border-radius: 999px;
  background: #0F1E2E; color: #F4F1EA;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: 300; line-height: 1;
  box-shadow: 0 8px 20px -4px rgba(15,30,46,.4);
  z-index: 50; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -4px rgba(15,30,46,.5); }
.fab:active { transform: translateY(0); }
@media (min-width: 768px) { .fab { bottom: 1.5rem; right: 5rem; } }

/* === Skeleton shimmer === */
.skeleton {
  background: linear-gradient(90deg, #F4F1EA 0%, #E4DAC6 50%, #F4F1EA 100%);
  background-size: 200% 100%;
  animation: shimmer-skel 1.8s ease-in-out infinite;
  border-radius: .75rem;
}
@keyframes shimmer-skel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.hover\:border-bluesteel:hover{
  --tw-border-opacity: 1;
  border-color: rgb(92 116 148 / var(--tw-border-opacity, 1));
}
.hover\:border-gold:hover{
  --tw-border-opacity: 1;
  border-color: rgb(195 155 62 / var(--tw-border-opacity, 1));
}
.hover\:border-rose:hover{
  --tw-border-opacity: 1;
  border-color: rgb(181 101 78 / var(--tw-border-opacity, 1));
}
.hover\:bg-bluesteel:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(92 116 148 / var(--tw-bg-opacity, 1));
}
.hover\:bg-bluesteelsoft:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 240 / var(--tw-bg-opacity, 1));
}
.hover\:bg-card:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(255 253 248 / var(--tw-bg-opacity, 1));
}
.hover\:bg-leafsoft:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(227 235 220 / var(--tw-bg-opacity, 1));
}
.hover\:bg-paper:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(244 241 234 / var(--tw-bg-opacity, 1));
}
.hover\:bg-rosesoft:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(242 220 210 / var(--tw-bg-opacity, 1));
}
.hover\:text-golddeep:hover{
  --tw-text-opacity: 1;
  color: rgb(156 120 32 / var(--tw-text-opacity, 1));
}
.hover\:text-navy:hover{
  --tw-text-opacity: 1;
  color: rgb(15 30 46 / var(--tw-text-opacity, 1));
}
.hover\:underline:hover{
  text-decoration-line: underline;
}
.hover\:shadow-md:hover{
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.focus\:border-bluesteel:focus{
  --tw-border-opacity: 1;
  border-color: rgb(92 116 148 / var(--tw-border-opacity, 1));
}
.focus\:outline-none:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-1:focus{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-gold:focus{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(195 155 62 / var(--tw-ring-opacity, 1));
}
.group:hover .group-hover\:scale-110{
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  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));
}
.group:hover .group-hover\:scale-\[1\.03\]{
  --tw-scale-x: 1.03;
  --tw-scale-y: 1.03;
  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));
}
.group:hover .group-hover\:bg-ink\/5{
  background-color: rgb(15 30 46 / 0.05);
}
.group:hover .group-hover\:text-rose{
  --tw-text-opacity: 1;
  color: rgb(181 101 78 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:opacity-100{
  opacity: 1;
}
@media (min-width: 768px){
  .md\:mb-4{
    margin-bottom: 1rem;
  }
  .md\:mt-1{
    margin-top: 0.25rem;
  }
  .md\:mt-1\.5{
    margin-top: 0.375rem;
  }
  .md\:mt-4{
    margin-top: 1rem;
  }
  .md\:flex{
    display: flex;
  }
  .md\:hidden{
    display: none;
  }
  .md\:\!h-12{
    height: 3rem !important;
  }
  .md\:h-10{
    height: 2.5rem;
  }
  .md\:h-16{
    height: 4rem;
  }
  .md\:h-5{
    height: 1.25rem;
  }
  .md\:min-h-\[80px\]{
    min-height: 80px;
  }
  .md\:\!w-12{
    width: 3rem !important;
  }
  .md\:w-10{
    width: 2.5rem;
  }
  .md\:w-40{
    width: 10rem;
  }
  .md\:w-5{
    width: 1.25rem;
  }
  .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\:gap-1{
    gap: 0.25rem;
  }
  .md\:gap-1\.5{
    gap: 0.375rem;
  }
  .md\:gap-3{
    gap: 0.75rem;
  }
  .md\:gap-4{
    gap: 1rem;
  }
  .md\:gap-5{
    gap: 1.25rem;
  }
  .md\: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));
  }
  .md\:p-2{
    padding: 0.5rem;
  }
  .md\:p-3{
    padding: 0.75rem;
  }
  .md\:p-3\.5{
    padding: 0.875rem;
  }
  .md\:p-4{
    padding: 1rem;
  }
  .md\:p-5{
    padding: 1.25rem;
  }
  .md\:py-10{
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .md\:pt-10{
    padding-top: 2.5rem;
  }
  .md\:text-2xl{
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .md\:text-3xl{
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .md\:text-\[10px\]{
    font-size: 10px;
  }
  .md\:text-\[11px\]{
    font-size: 11px;
  }
  .md\:text-\[9px\]{
    font-size: 9px;
  }
  .md\:text-base{
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .md\:text-lg{
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .md\:text-sm{
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .md\:text-xs{
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

