/* Χαρτί & Σχέδιο · 3D Paper Split-Flap Countdown Board */

/* Καταχωρημένα χρώματα: έτσι ο πίνακας «μεταμορφώνεται» ομαλά από εποχή σε εποχή */
@property --fb-bg1 { syntax: "<color>"; inherits: true; initial-value: #1d4a3b; }
@property --fb-bg2 { syntax: "<color>"; inherits: true; initial-value: #0c231b; }
@property --fb-h1 { syntax: "<color>"; inherits: true; initial-value: #0a1c16; }
@property --fb-h2 { syntax: "<color>"; inherits: true; initial-value: #13342a; }
@property --fb-p1 { syntax: "<color>"; inherits: true; initial-value: #8a1f30; }
@property --fb-p2 { syntax: "<color>"; inherits: true; initial-value: #5e1220; }
@property --fb-f1 { syntax: "<color>"; inherits: true; initial-value: #fbe9b0; }
@property --fb-f2 { syntax: "<color>"; inherits: true; initial-value: #d7ac57; }
@property --fb-f3 { syntax: "<color>"; inherits: true; initial-value: #9b7226; }
@property --fb-ax1 { syntax: "<color>"; inherits: true; initial-value: #f7e2a6; }
@property --fb-ax2 { syntax: "<color>"; inherits: true; initial-value: #c99a45; }
@property --fb-ax3 { syntax: "<color>"; inherits: true; initial-value: #7d5a1d; }
@property --fb-tx { syntax: "<color>"; inherits: true; initial-value: #f8eedb; }
@property --fb-mu { syntax: "<color>"; inherits: true; initial-value: #c9b994; }
@property --fb-orn { syntax: "<color>"; inherits: true; initial-value: #d7ac57; }
@property --fb-sheen { syntax: "<color>"; inherits: true; initial-value: rgb(255 222 150 / .2); }
@property --fb-line { syntax: "<color>"; inherits: true; initial-value: rgb(0 0 0 / 0); }

.fb {
  --fb-font: "Playfair Display", "Noto Serif Display", Georgia, serif;
  --fb-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .35 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fb-fiber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .32' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  position: relative;
  transition-property: --fb-bg1, --fb-bg2, --fb-h1, --fb-h2, --fb-p1, --fb-p2, --fb-f1, --fb-f2, --fb-f3, --fb-ax1, --fb-ax2, --fb-ax3, --fb-tx, --fb-mu, --fb-orn, --fb-sheen, --fb-line;
  transition-duration: 1.1s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Παλέτες εποχών ---------- */
.fb[data-theme="xmas"] {
  --fb-bg1: #1f4c3d; --fb-bg2: #0b2119; --fb-h1: #08160f; --fb-h2: #122e24;
  --fb-p1: #8c2132; --fb-p2: #5a111e; --fb-f1: #fdf0c4; --fb-f2: #dcb35e; --fb-f3: #9b7226;
  --fb-ax1: #fbe9b6; --fb-ax2: #c99a45; --fb-ax3: #6e4f17;
  --fb-tx: #f8eedb; --fb-mu: #c9bb98; --fb-orn: #d7ac57; --fb-sheen: rgb(255 222 150 / .2); --fb-line: rgb(0 0 0 / 0);
}
.fb[data-theme="newyear"] {
  --fb-bg1: #2b2a31; --fb-bg2: #09090c; --fb-h1: #040406; --fb-h2: #17171c;
  --fb-p1: #2e2d35; --fb-p2: #17161b; --fb-f1: #fff7df; --fb-f2: #e8ca8e; --fb-f3: #a5824a;
  --fb-ax1: #fff3cf; --fb-ax2: #dcbb7c; --fb-ax3: #84653a;
  --fb-tx: #f6eddb; --fb-mu: #b9ac8c; --fb-orn: #e8ca8e; --fb-sheen: rgb(255 238 196 / .24); --fb-line: rgb(0 0 0 / 0);
}
.fb[data-theme="valentine"] {
  --fb-bg1: #fff7f4; --fb-bg2: #f4d9d9; --fb-h1: #e6bdbf; --fb-h2: #f2d4d3;
  --fb-p1: #fff1ef; --fb-p2: #f6d6d7; --fb-f1: #eab39f; --fb-f2: #b46d5a; --fb-f3: #7a4033;
  --fb-ax1: #fde4d8; --fb-ax2: #cf917f; --fb-ax3: #8a4f42;
  --fb-tx: #5a2a33; --fb-mu: #9a6b70; --fb-orn: #c4826f; --fb-sheen: rgb(255 214 200 / .5); --fb-line: rgb(0 0 0 / 0);
}
.fb[data-theme="easter"] {
  --fb-bg1: #fdf8ea; --fb-bg2: #efe2c1; --fb-h1: #dfcfa6; --fb-h2: #efe4c6;
  --fb-p1: #fffbf1; --fb-p2: #f4e9cf; --fb-f1: #d2ad5c; --fb-f2: #94701f; --fb-f3: #5e4413;
  --fb-ax1: #f9e8b6; --fb-ax2: #c9a253; --fb-ax3: #83611f;
  --fb-tx: #4a3b22; --fb-mu: #8a7a5a; --fb-orn: #b49ad3; --fb-sheen: rgb(255 240 190 / .55); --fb-line: rgb(0 0 0 / 0);
}
.fb[data-theme="summer"] {
  --fb-bg1: #f7eedb; --fb-bg2: #e2cca2; --fb-h1: #d3bb8c; --fb-h2: #e7d6b2;
  --fb-p1: #fbf4e6; --fb-p2: #ecdcbb; --fb-f1: #2aa8a3; --fb-f2: #0f6b6d; --fb-f3: #0a4a4f;
  --fb-ax1: #f6e0a3; --fb-ax2: #c49544; --fb-ax3: #7c5b20;
  --fb-tx: #1f4547; --fb-mu: #6c7b6f; --fb-orn: #c49544; --fb-sheen: rgb(255 246 214 / .55); --fb-line: rgb(0 0 0 / 0);
}
.fb[data-theme="wedding"] {
  --fb-bg1: #fffdf8; --fb-bg2: #efe7d6; --fb-h1: #e2d7c1; --fb-h2: #efe7d8;
  --fb-p1: #fffefb; --fb-p2: #f4eee1; --fb-f1: #d8b574; --fb-f2: #9c7a3c; --fb-f3: #684d1f;
  --fb-ax1: #f8e8bb; --fb-ax2: #c9a35a; --fb-ax3: #82632a;
  --fb-tx: #3e3427; --fb-mu: #8c7f6a; --fb-orn: #b8975a; --fb-sheen: rgb(255 240 200 / .6); --fb-line: rgb(0 0 0 / 0);
}
.fb[data-theme="autumn"] {
  --fb-bg1: #f5e6d0; --fb-bg2: #d9bb92; --fb-h1: #c29e72; --fb-h2: #dbbe98;
  --fb-p1: #f8ebd8; --fb-p2: #e5cba7; --fb-f1: #d57f3f; --fb-f2: #a24a19; --fb-f3: #6a2b0b;
  --fb-ax1: #f5d7a1; --fb-ax2: #c08a40; --fb-ax3: #77501c;
  --fb-tx: #4a2a14; --fb-mu: #8a6a4c; --fb-orn: #b4501a; --fb-sheen: rgb(255 226 182 / .5); --fb-line: rgb(0 0 0 / 0);
}
.fb[data-theme="school"] {
  --fb-bg1: #f9f8f3; --fb-bg2: #e5e3d8; --fb-h1: #d2d0c4; --fb-h2: #e7e5dc;
  --fb-p1: #fffffc; --fb-p2: #f2f1eb; --fb-f1: #4672d6; --fb-f2: #2b59c3; --fb-f3: #183887;
  --fb-ax1: #f4e0a9; --fb-ax2: #c39c4f; --fb-ax3: #7e5f28;
  --fb-tx: #1f2b4a; --fb-mu: #6b7385; --fb-orn: #2b59c3; --fb-sheen: rgb(255 246 216 / .55); --fb-line: rgb(43 89 195 / .13);
}
.fb[data-theme="all"] {
  --fb-bg1: #fcfaf6; --fb-bg2: #ebe4d7; --fb-h1: #dad1c0; --fb-h2: #ebe5d8;
  --fb-p1: #fffdf9; --fb-p2: #f3eee4; --fb-f1: #4a4038; --fb-f2: #1c1917; --fb-f3: #3d342d;
  --fb-ax1: #f6e4b0; --fb-ax2: #b08d57; --fb-ax3: #74592c;
  --fb-tx: #1c1917; --fb-mu: #78716c; --fb-orn: #b08d57; --fb-sheen: rgb(255 240 205 / .6); --fb-line: rgb(0 0 0 / 0);
}

/* ---------- Σκηνή & πίνακας ---------- */
.fb-stage { perspective: 1700px; perspective-origin: 50% 30%; }
.fb-board {
  position: relative;
  isolation: isolate;
  border-radius: clamp(18px, 2.6vw, 28px);
  padding: clamp(16px, 3vw, 32px) clamp(10px, 3.4vw, 42px) clamp(14px, 2.4vw, 26px);
  color: var(--fb-tx);
  background:
    var(--fb-grain),
    var(--fb-fiber),
    radial-gradient(130% 100% at 22% 0%, var(--fb-bg1), var(--fb-bg2));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .14),
    inset 0 -2px 6px rgb(0 0 0 / .12),
    0 2px 4px rgb(28 25 23 / .08),
    0 28px 56px -26px rgb(28 25 23 / .55),
    0 60px 90px -60px rgb(28 25 23 / .45);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-origin: 50% 50%;
  will-change: transform;
}
/* χρυσή γραμμή-πλαίσιο (gold foil hairline) */
.fb-board::before {
  content: "";
  position: absolute;
  inset: clamp(6px, 1vw, 10px);
  border-radius: clamp(13px, 2vw, 20px);
  border: 1px solid color-mix(in srgb, var(--fb-f2) 45%, transparent);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--fb-f2) 8%, transparent);
  pointer-events: none;
  z-index: -1;
}

/* Γωνιακά διακοσμητικά */
.fb-orn {
  position: absolute;
  width: clamp(24px, 4.6vw, 52px);
  aspect-ratio: 1;
  color: var(--fb-orn);
  pointer-events: none;
  z-index: 1;
}
.fb-orn svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fb-orn.tl { top: clamp(4px, .8vw, 8px); left: clamp(4px, .8vw, 8px); }
.fb-orn.tr { top: clamp(4px, .8vw, 8px); right: clamp(4px, .8vw, 8px); transform: scaleX(-1); }
.fb-orn.bl { bottom: clamp(4px, .8vw, 8px); left: clamp(4px, .8vw, 8px); transform: scaleY(-1); }
.fb-orn.br { bottom: clamp(4px, .8vw, 8px); right: clamp(4px, .8vw, 8px); transform: scale(-1, -1); }

/* Κεφαλίδα */
.fb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-inline: clamp(16px, 3vw, 30px);
  margin-bottom: clamp(14px, 2.4vw, 26px);
}
.fb-kicker {
  margin: 0;
  font: 600 10.5px/1.3 "Inter", system-ui, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fb-mu);
}
.fb-kicker b { color: var(--fb-f2); font-weight: 600; }
.fb-title {
  margin: 6px 0 0;
  font: 500 clamp(1.25rem, 3.2vw, 2.05rem)/1.12 var(--fb-font);
  letter-spacing: -.01em;
  color: var(--fb-tx);
  text-wrap: balance;
}
.fb-fx {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fb-f2) 50%, transparent);
  background: color-mix(in srgb, var(--fb-tx) 7%, transparent);
  color: var(--fb-tx);
  font: 600 12px/1 "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease, border-color .25s ease;
  position: relative;
  z-index: 5;
}
.fb-fx:hover { background: color-mix(in srgb, var(--fb-tx) 14%, transparent); }
.fb-fx:active { transform: scale(.96); }
.fb-fx:focus-visible { outline: 2px solid var(--fb-f2); outline-offset: 2px; }
.fb-fx-icon { display: inline-block; width: 1.15em; text-align: center; font-size: 13px; transition: transform .5s cubic-bezier(.2, 1.4, .4, 1); }
.fb-fx[aria-pressed="false"] .fb-fx-icon { opacity: .45; transform: scale(.8) rotate(-30deg); }
.fb-fx-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fb-f2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fb-f2) 25%, transparent); transition: background .25s, box-shadow .25s; }
.fb-fx[aria-pressed="false"] .fb-fx-dot { background: var(--fb-mu); box-shadow: none; }

/* ---------- Σειρά καρτών: μέγεθος βάσει του διαθέσιμου πλάτους ---------- */
.fb-row {
  --n: 8; --g: 4;
  --gp: 5px; --gg: 6px; --cg: 2px;
  --cw: clamp(16px, calc((100cqi - var(--g) * 2 * var(--gp) - (var(--g) - 1) * var(--gg) - (var(--n) - var(--g)) * var(--cg) - 4px) / var(--n)), 90px);
  container-type: inline-size;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--gg);
  min-height: calc(min(90px, 9.4vw) * 1.42 + 34px);
}
@media (min-width: 640px) { .fb-row { --gp: 8px; --gg: 14px; --cg: 4px; } }
@media (min-width: 1024px) { .fb-row { --gp: 10px; --gg: 20px; --cg: 5px; } }
.fb[data-own="1"] .fb-row { cursor: pointer; }
.fb:not([data-mode="countdown"]) .fb-row { min-height: 0; }

.fb-group { display: flex; flex-direction: column; align-items: center; gap: clamp(7px, 1.2vw, 12px); min-width: 0; }
.fb-card {
  position: relative;
  padding: var(--gp);
  border-radius: calc(var(--cw) * .14 + 5px);
  background: linear-gradient(180deg, var(--fb-h2), var(--fb-h1));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .1),
    inset 0 -1px 0 rgb(0 0 0 / .3),
    inset 0 0 0 1px rgb(0 0 0 / .1),
    0 1px 1px rgb(0 0 0 / .2),
    0 10px 18px -8px rgb(0 0 0 / .45),
    0 24px 36px -22px rgb(0 0 0 / .5);
  transform-origin: 50% 100%;
}
/* λεπτή χρυσή ραφή γύρω από κάθε κάρτα */
.fb-card::after {
  content: "";
  position: absolute;
  inset: max(2px, calc(var(--gp) * .4));
  border-radius: calc(var(--cw) * .12 + 3px);
  border: 1px dashed color-mix(in srgb, var(--fb-f2) 55%, transparent);
  pointer-events: none;
}
.fb-cells { position: relative; z-index: 1; display: flex; gap: var(--cg); }

/* Κάτω λεζάντα κάρτας */
.fb-cap {
  font: 600 clamp(8.5px, 1.05vw, 11px)/1 "Inter", system-ui, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fb-mu);
  white-space: nowrap;
}
.fb-cap:empty { display: none; }
.fb-s { display: none; }
@media (max-width: 520px) { .fb-l { display: none; } .fb-s { display: inline; } .fb-cap { letter-spacing: .12em; } }

/* ---------- Το χάρτινο φύλλο ---------- */
.fc {
  --r: calc(var(--cw) * .1 + 1px);
  position: relative;
  display: block;
  width: var(--cw);
  height: calc(var(--cw) * 1.42);
  perspective: calc(var(--cw) * 5.5);
  font-family: var(--fb-font);
  font-weight: 500;
  font-size: calc(var(--cw) * 1.08);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  border-radius: var(--r);
  background: rgb(0 0 0 / .55);
  box-shadow: 0 1px 1.5px rgb(0 0 0 / .35), 0 calc(var(--cw) * .06) calc(var(--cw) * .12) rgb(0 0 0 / .25);
}
.fb[data-mode="message"] .fc, .fb[data-mode="celebrate"] .fc { font-size: calc(var(--cw) * .9); }
/* η στοίβα από φύλλα που περιμένουν κάτω από την κάρτα */
.fc::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  bottom: -3px;
  height: 3px;
  border-radius: 0 0 var(--r) var(--r);
  background: repeating-linear-gradient(180deg, var(--fb-p2) 0 1px, rgb(0 0 0 / .4) 1px 1.5px);
  opacity: .85;
  z-index: -1;
}
.fc-h {
  position: absolute;
  left: 0; right: 0;
  height: calc(50% - .5px);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.fc-t {
  top: 0;
  border-radius: var(--r) var(--r) 0 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(var(--cw) * .22), var(--fb-line) calc(var(--cw) * .22) calc(var(--cw) * .22 + 1px)),
    var(--fb-grain),
    linear-gradient(180deg, color-mix(in srgb, var(--fb-p1) 88%, #fff) 0%, var(--fb-p1) 30%, var(--fb-p2) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 -1px 1px rgb(0 0 0 / .18);
}
.fc-b {
  bottom: 0;
  border-radius: 0 0 var(--r) var(--r);
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(var(--cw) * .22), var(--fb-line) calc(var(--cw) * .22) calc(var(--cw) * .22 + 1px)),
    var(--fb-grain),
    linear-gradient(180deg, color-mix(in srgb, var(--fb-p2) 80%, #000) 0%, var(--fb-p1) 9%, color-mix(in srgb, var(--fb-p1) 55%, var(--fb-p2)) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), inset 0 -1px 0 rgb(0 0 0 / .25);
}
.fc-h > b {
  position: absolute;
  left: 0; right: 0;
  height: calc(200% + 1px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  white-space: pre;
  color: var(--fb-f2);
  background: linear-gradient(172deg, var(--fb-f1) 8%, var(--fb-f2) 38%, var(--fb-f3) 52%, var(--fb-f2) 64%, var(--fb-f1) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fc-t > b { top: 0; }
.fc-b > b { top: calc(-100% - 1px); }
.fc-sh { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.fc > .fc-t > .fc-sh { background: linear-gradient(0deg, rgb(0 0 0 / .6), rgb(0 0 0 / .2)); }
.fc > .fc-b > .fc-sh { background: linear-gradient(180deg, rgb(0 0 0 / .75), rgb(0 0 0 / .25) 55%, rgb(0 0 0 / .05)); }
.fc-front > .fc-sh { background: linear-gradient(0deg, rgb(0 0 0 / .65), rgb(0 0 0 / .25)); }
.fc-back > .fc-sh { background: linear-gradient(180deg, rgb(255 255 255 / .35), rgb(0 0 0 / .45)); }

.fc-leaf {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: calc(50% - .5px);
  transform-origin: 50% calc(100% + .5px);
  transform-style: preserve-3d;
  visibility: hidden;
  z-index: 2;
}
.fc.is-flip .fc-leaf { visibility: visible; will-change: transform; }
.fc-leaf .fc-h { top: 0; bottom: auto; height: 100%; }
.fc-back { transform: rotateX(180deg); }

/* Ο μεταλλικός άξονας στη μέση */
.fb-axle {
  position: absolute;
  z-index: 3;
  left: max(1px, calc(var(--gp) * .3));
  right: max(1px, calc(var(--gp) * .3));
  top: 50%;
  height: max(2px, calc(var(--cw) * .045));
  transform: translateY(-50%);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--fb-ax1), var(--fb-ax2) 48%, var(--fb-ax3));
  box-shadow: 0 1px 1.5px rgb(0 0 0 / .45), 0 -1px 0 rgb(255 255 255 / .12);
  pointer-events: none;
}
.fb-axle::before, .fb-axle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: max(6px, calc(var(--cw) * .14));
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 34% 30%, #fffbe9 0 12%, var(--fb-ax1) 26%, var(--fb-ax2) 52%, var(--fb-ax3) 86%);
  box-shadow: 0 1px 2px rgb(0 0 0 / .55), inset 0 0 0 .5px rgb(0 0 0 / .25);
}
.fb-axle::before { left: 0; }
.fb-axle::after { left: 100%; }

/* Χιόνι που κάθεται απαλά στο πάνω χείλος (Χριστούγεννα) */
.fb-snow {
  position: absolute;
  z-index: 4;
  left: -2px; right: -2px;
  top: max(-4px, calc(var(--cw) * -.055));
  height: max(5px, calc(var(--cw) * .09));
  pointer-events: none;
  border-radius: 6px 6px 2px 2px;
  background:
    radial-gradient(circle at 50% 100%, #fff 58%, transparent 61%) 0 100% / max(11px, calc(var(--cw) * .2)) 100% repeat-x,
    radial-gradient(circle at 50% 100%, #f4f8fc 55%, transparent 58%) 5px 100% / max(17px, calc(var(--cw) * .31)) 90% repeat-x,
    linear-gradient(#fff, #eef4fa) 0 100% / 100% 42% no-repeat;
  filter: drop-shadow(0 1px 1px rgb(20 40 60 / .28));
  transform-origin: 50% 100%;
  transform: scaleY(0);
  opacity: 0;
  transition: transform 2.6s cubic-bezier(.2, .8, .2, 1) .4s, opacity 1.4s ease .4s;
}
.fb[data-snow] .fb-snow { transform: scaleY(1); opacity: .97; }

/* ---------- Χρυσή αντανάκλαση (specular gold sheen) ---------- */
.fb-sheen {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.fb-spot {
  position: absolute;
  left: 0; top: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  background: radial-gradient(closest-side, var(--fb-sheen), transparent 72%);
  transform: translate3d(var(--sx, 50%), var(--sy, 0px), 0);
  opacity: 0;
  transition: opacity .6s ease;
}
.fb-band {
  position: absolute;
  top: -25%; bottom: -25%; left: 0;
  width: 34%;
  background: linear-gradient(100deg, transparent 0%, color-mix(in srgb, var(--fb-sheen) 70%, transparent) 38%, rgb(255 250 230 / .16) 50%, color-mix(in srgb, var(--fb-sheen) 70%, transparent) 62%, transparent 100%);
  transform: translate3d(var(--bx, -60%), 0, 0) skewX(-14deg);
  opacity: 0;
  transition: opacity .6s ease;
}
.fb-board.is-hover .fb-spot { opacity: 1; }
.fb-board.is-hover .fb-band { opacity: .9; }
@media (hover: none), (pointer: coarse) {
  .fb-band { opacity: .8; animation: fbSweep 7.5s cubic-bezier(.45, 0, .2, 1) infinite 1.2s; transform: translate3d(-120%, 0, 0) skewX(-14deg); }
  .fb.is-off .fb-band { animation-play-state: paused; }
}
@keyframes fbSweep {
  0% { transform: translate3d(-120%, 0, 0) skewX(-14deg); }
  45%, 100% { transform: translate3d(330%, 0, 0) skewX(-14deg); }
}

/* ---------- Υποσέλιδο πίνακα ---------- */
.fb-foot {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: clamp(16px, 2.6vw, 26px);
  padding: clamp(12px, 1.8vw, 16px) clamp(10px, 3vw, 30px) 0;
  border-top: 1px solid color-mix(in srgb, var(--fb-f2) 26%, transparent);
}
.fb-note { margin: 0; font: 400 13.5px/1.45 "Inter", system-ui, sans-serif; color: var(--fb-mu); max-width: 46ch; text-wrap: pretty; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fb-f2) 50%, transparent);
  background: color-mix(in srgb, var(--fb-tx) 6%, transparent);
  color: var(--fb-tx);
  font: 600 13px/1 "Inter", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
}
.fb-btn:hover { background: color-mix(in srgb, var(--fb-tx) 13%, transparent); }
.fb-btn:active { transform: scale(.97); }
.fb-btn:focus-visible { outline: 2px solid var(--fb-f2); outline-offset: 2px; }
.fb-btn-gold {
  border-color: transparent;
  color: #1c1917;
  background: linear-gradient(135deg, var(--fb-ax1), var(--fb-ax2) 55%, color-mix(in srgb, var(--fb-ax2) 70%, var(--fb-ax3)));
  box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 6px 14px -8px rgb(0 0 0 / .5);
}
.fb-btn-gold:hover { background: linear-gradient(135deg, #fff3cf, var(--fb-ax1) 40%, var(--fb-ax2)); }
.fb-btn[hidden] { display: none; }

.fb-form {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px clamp(10px, 3vw, 30px) 0;
  padding: 14px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--fb-tx) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--fb-f2) 35%, transparent);
}
.fb-form[hidden] { display: none; }
@media (min-width: 720px) { .fb-form { grid-template-columns: auto 1fr auto; align-items: end; } }
.fb-form label { display: grid; gap: 5px; font: 600 12px/1.2 "Inter", system-ui, sans-serif; color: var(--fb-mu); letter-spacing: .02em; }
.fb-form input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid rgb(0 0 0 / .12);
  background: #fffdf9;
  color: #1c1917;
  font: 400 15px/1.2 "Inter", system-ui, sans-serif;
  outline: none;
}
.fb-form input:focus { border-color: var(--fb-ax2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fb-ax2) 30%, transparent); }
.fb-form-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Επιλογή εποχής κάτω από τον πίνακα ---------- */
.fb-dial {
  position: relative;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.fb-dial button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #E7E5E4;
  background: #fff;
  color: #44403C;
  font: 500 12.5px/1 "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.fb-dial button:hover { border-color: rgb(28 25 23 / .4); }
.fb-dial button:active { transform: scale(.96); }
.fb-dial button:focus-visible { outline: 2px solid #B08D57; outline-offset: 2px; }
.fb-dial button[aria-pressed="true"] { background: #1C1917; border-color: #1C1917; color: #fff; }
@media (max-width: 640px) {
  .fb-dial { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin-inline: -12px; padding-inline: 12px; scroll-padding-inline: 12px; }
  .fb-dial::-webkit-scrollbar { display: none; }
  .fb-dial button { flex-shrink: 0; }
}

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

@media (max-width: 520px) {
  .fb-kicker .fb-long { display: none; }
  .fb-fx { padding: 6px 10px 6px 8px; font-size: 11.5px; }
  .fb-fx-word { display: none; }
  .fb-note { font-size: 12.5px; }
  .fb-foot { justify-content: center; text-align: center; }
  .fb-actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .fb, .fb * { transition-duration: .01ms !important; animation: none !important; }
  .fb-board { transform: none; }
}
