
.cstf-tgr{position:relative;max-width:1160px;margin:24px auto;font-family:Arial,Helvetica,sans-serif;color:#24313a}.cstf-tgr__launcher-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;background:#fff;border-radius:18px;box-shadow:0 16px 38px rgba(31,37,40,.10)}.cstf-tgr__head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.cstf-tgr__kicker{text-transform:uppercase;letter-spacing:.18em;font-weight:800;font-size:14px;color:#9a6a35}.cstf-tgr__title{margin:0;font-family:Georgia,serif;font-size:58px;line-height:1.05;font-weight:500;color:#252c30}.cstf-tgr__score{min-width:92px;padding:10px 14px;background:#1c313b;color:#fff;border-radius:14px;text-align:center}.cstf-tgr__score span{display:block;text-transform:uppercase;font-size:11px;letter-spacing:.18em;color:#f2d59c;font-weight:800}.cstf-tgr__score strong{display:block;font-size:34px;line-height:1}.cstf-tgr__stage{position:relative;border:1px solid #a9c9db;border-radius:12px;overflow:hidden;background:#d8eef9}.cstf-tgr canvas{display:block;width:100%;height:auto}.cstf-tgr__overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(236,242,235,.50);z-index:5}.cstf-tgr__overlay.is-hidden{display:none}.cstf-tgr__panel{width:min(430px,86%);padding:24px 28px;background:rgba(255,255,255,.94);border-radius:16px;text-align:center;box-shadow:0 18px 48px rgba(30,35,40,.18)}.cstf-tgr__panel h2{margin:0 0 10px;font-family:Georgia,serif;font-size:32px;font-weight:500}.cstf-tgr__panel p{margin:0 0 18px;color:#4c5b64}.cstf-tgr__controls{display:flex;align-items:center;gap:16px;padding-top:14px}.cstf-tgr__button{border:0;border-radius:999px;background:#856443;color:#fff;font-weight:800;padding:12px 24px;cursor:pointer;box-shadow:0 10px 22px rgba(80,55,34,.22);text-decoration:none}.cstf-tgr__button:hover{filter:brightness(1.05)}.cstf-tgr__button--ghost{margin-left:auto}.cstf-tgr__button--launch{font-size:18px;padding:14px 30px}.cstf-tgr__modal,.cstf-tgr__prize{position:fixed;inset:0;z-index:999999;display:flex;align-items:flex-start;justify-content:center;background:rgba(20,28,32,.52);padding:28px 16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.cstf-tgr__modal.is-hidden,.cstf-tgr__prize.is-hidden{display:none}.cstf-tgr__modal-card,.cstf-tgr__prize-card{position:relative;width:min(760px,96vw);background:#fff;border-radius:18px;padding:26px;box-shadow:0 22px 70px rgba(0,0,0,.28)}.cstf-tgr__modal-card--game{width:min(1200px,96vw);padding:20px 22px}.cstf-tgr__modal-title{margin:4px 42px 10px 0;font-family:Georgia,serif;font-size:36px;line-height:1.1;color:#252c30;font-weight:500}.cstf-tgr__modal-intro{margin:0 0 18px;color:#4f5d66}.cstf-tgr__close{position:absolute;top:10px;right:12px;z-index:4;border:0;background:#fff;border-radius:50%;font-size:30px;line-height:1;width:38px;height:38px;cursor:pointer;color:#5b6268;box-shadow:0 6px 18px rgba(0,0,0,.12)}.cstf-tgr__game-list{display:grid;gap:14px;margin:16px 0 22px}.cstf-tgr__game-card{display:grid;grid-template-columns:1fr auto;gap:6px 14px;width:100%;text-align:left;border:1px solid #e1d8ca;background:#fbf8f1;border-radius:14px;padding:18px 20px;cursor:pointer}.cstf-tgr__game-name{font-family:Georgia,serif;font-size:26px;color:#24313a}.cstf-tgr__game-desc{color:#4f5d66}.cstf-tgr__game-action{grid-row:1/3;grid-column:2;align-self:center;background:#856443;color:#fff;border-radius:999px;padding:10px 18px;font-weight:800}.cstf-tgr__prize-list-title{font-family:Georgia,serif;font-size:24px;margin:0 0 10px;color:#24313a}.cstf-tgr__prize-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.cstf-tgr__prize-item{border:1px solid #e4ddd1;border-radius:12px;background:#fff;padding:12px}.cstf-tgr__prize-item strong{display:block;color:#24313a;margin-bottom:4px}.cstf-tgr__prize-item span{display:block;color:#5a6870;font-size:14px}.cstf-tgr__prize-card{width:min(460px,94vw);text-align:center}.cstf-tgr__wheel{width:96px;height:96px;margin:0 auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(#856443,#f1d59b,#1c313b,#b9854d,#856443);font-size:42px;box-shadow:0 12px 30px rgba(0,0,0,.2)}.cstf-tgr__wheel.is-spinning{animation:cstfTgrSpin .9s ease-out infinite}.cstf-tgr__prize-card h3{margin:0 0 8px;font-family:Georgia,serif;font-size:28px;color:#24313a}.cstf-tgr__prize-card p{margin:0 0 14px;color:#4f5d66}.cstf-tgr__form{display:grid;gap:10px;text-align:left}.cstf-tgr__form label{font-size:13px;font-weight:700;color:#32444d}.cstf-tgr__form input{box-sizing:border-box;width:100%;margin-top:4px;padding:10px 12px;border:1px solid #c9d3d8;border-radius:8px;font-size:16px}.cstf-tgr__status{min-height:20px;font-weight:700;color:#1c313b}@keyframes cstfTgrSpin{to{transform:rotate(360deg)}}@media(max-width:700px){.cstf-tgr{margin:18px auto}.cstf-tgr__launcher-card{padding:18px 16px;align-items:flex-start;flex-direction:column}.cstf-tgr__title{font-size:38px}.cstf-tgr__head{align-items:center;gap:10px}.cstf-tgr__score{min-width:74px;padding:9px 12px}.cstf-tgr__score strong{font-size:26px}.cstf-tgr__modal,.cstf-tgr__prize{padding:10px 8px;align-items:flex-start}.cstf-tgr__modal-card,.cstf-tgr__prize-card{width:calc(100vw - 16px);padding:18px 14px;border-radius:16px}.cstf-tgr__modal-card--game{padding:16px 14px}.cstf-tgr__modal-title{font-size:30px;margin-right:42px}.cstf-tgr__game-card{grid-template-columns:1fr;padding:15px}.cstf-tgr__game-action{grid-row:auto;grid-column:auto;justify-self:start}.cstf-tgr__stage{height:260px}.cstf-tgr canvas{height:260px;width:100%;object-fit:cover}.cstf-tgr__panel{width:82%;max-height:88%;padding:18px 16px;overflow:auto}.cstf-tgr__panel h2{font-size:26px}.cstf-tgr__controls{justify-content:space-between}.cstf-tgr__button{padding:11px 20px}.cstf-tgr__button--ghost{margin-left:0}}@media(max-width:420px){.cstf-tgr__title{font-size:34px}.cstf-tgr__stage{height:240px}.cstf-tgr canvas{height:240px}.cstf-tgr__head{align-items:flex-start}.cstf-tgr__score{position:absolute;right:18px;top:18px}.cstf-tgr__modal-card--game .cstf-tgr__title{padding-right:85px}.cstf-tgr__panel{transform:scale(.92)}}

.cstf-tgr__game-card.is-disabled{opacity:.45;cursor:not-allowed;}
.cstf-tgr__game-card.is-disabled .cstf-tgr__game-action{background:rgba(35,49,56,.16);color:#6d6d6d;}

/* CSTF footer-style launcher override */
.cstf-tgr{
  --cstf-tgr-gold: var(--cstf-gold, #bcad74);
  --cstf-tgr-dark: var(--cstf-dark, #363635);
  --cstf-tgr-bg: var(--cstf-bg, #3e413e);
  max-width: 1160px;
  margin: 42px auto;
  padding: 0 18px;
  font-family: "Volkhov", serif;
}

.cstf-tgr__launcher-card{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  min-height: 124px;
  background: var(--cstf-tgr-bg) url(https://cornerstonetimberframes.com/wp-content/uploads/2022/09/headermenu-bkgd.jpg) center / cover no-repeat;
  border: 1px solid rgba(214, 191, 116, .22);
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 14px 34px rgba(0,0,0,.18);
}

.cstf-tgr__launcher-card::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(35, 38, 36, .74);
}

.cstf-tgr__launcher-card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(214, 191, 116, .28);
}

.cstf-tgr__launcher-card .cstf-tgr__kicker{
  margin-bottom: 5px;
  color: var(--cstf-tgr-gold);
  font-family: "Volkhov", serif;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cstf-tgr__launcher-card .cstf-tgr__title{
  margin: 0;
  color: #fff;
  font-family: "Volkhov", serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: .96;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,.28);
}

.cstf-tgr__launcher-card .cstf-tgr__button,
.cstf-tgr__launcher-card .cstf-tgr__button--launch{
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 56px;
  padding: .78rem 1.75rem !important;
  background: var(--cstf-tgr-dark);
  color: #fff !important;
  border: 1px solid rgba(214, 191, 116, .20);
  border-radius: 2px;
  font-family: "Volkhov", serif;
  font-size: 1.15rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: .03em;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 18px rgba(0,0,0,.22);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.cstf-tgr__launcher-card .cstf-tgr__button::before,
.cstf-tgr__launcher-card .cstf-tgr__button--launch::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 96%;
  height: 5px;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.92) 0%, rgba(214,191,116,.55) 32%, rgba(214,191,116,.16) 60%, rgba(214,191,116,0) 82%);
  filter: blur(1px);
  opacity: .45;
}

.cstf-tgr__launcher-card .cstf-tgr__button::after,
.cstf-tgr__launcher-card .cstf-tgr__button--launch::after{
  content: "›";
  font-size: 1.45rem;
  line-height: 1;
  margin-left: .12rem;
  color: var(--cstf-tgr-gold);
  transition: transform .2s ease, color .25s ease;
}

.cstf-tgr__launcher-card .cstf-tgr__button:hover,
.cstf-tgr__launcher-card .cstf-tgr__button--launch:hover{
  background: var(--cstf-dark-hover, #424240);
  border-color: rgba(214,191,116,.42);
  color: #fff !important;
  filter: none;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 24px rgba(0,0,0,.24);
}

.cstf-tgr__launcher-card .cstf-tgr__button:hover::after,
.cstf-tgr__launcher-card .cstf-tgr__button--launch:hover::after{
  transform: translateX(3px);
}

@media(max-width:700px){
  .cstf-tgr{margin:28px auto;padding:0 14px;}
  .cstf-tgr__launcher-card{
    padding:24px 20px;
    align-items:flex-start;
    flex-direction:column;
    gap:20px;
  }
  .cstf-tgr__launcher-card .cstf-tgr__kicker{font-size:13px;letter-spacing:.10em;}
  .cstf-tgr__launcher-card .cstf-tgr__title{font-size:42px;line-height:1;}
  .cstf-tgr__launcher-card .cstf-tgr__button,
  .cstf-tgr__launcher-card .cstf-tgr__button--launch{
    width:100%;
    min-height:54px;
    font-size:1.08rem;
  }
}


/* CSTF Timber Games v3.3 — dark footer-style modal redesign */
html.cstf-tgr-modal-open,
html.cstf-tgr-modal-open body{
  overflow:hidden;
}

.cstf-tgr{
  --cstf-tgr-gold: var(--cstf-gold, #bcad74);
  --cstf-tgr-gold-hover: var(--cstf-gold-hover, #e6d590);
  --cstf-tgr-dark: var(--cstf-dark, #363635);
  --cstf-tgr-ink: var(--cstf-ink, #2e3331);
  --cstf-tgr-wood: url(https://cornerstonetimberframes.com/wp-content/uploads/2022/09/headermenu-bkgd.jpg);
}

.cstf-tgr__modal,
.cstf-tgr__prize{
  align-items:center;
  padding:28px 18px;
  background:rgba(7, 9, 9, .68);
  backdrop-filter: blur(5px);
}

.cstf-tgr__modal-card,
.cstf-tgr__prize-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--cstf-tgr-dark) var(--cstf-tgr-wood) center/cover no-repeat;
  color:#fff;
  border:1px solid rgba(214,191,116,.48);
  border-radius:8px;
  box-shadow:0 24px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.04);
}

.cstf-tgr__modal-card::before,
.cstf-tgr__prize-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg, rgba(18,20,19,.84), rgba(20,21,20,.90));
}

.cstf-tgr__modal-card--menu{
  width:min(760px, calc(100vw - 32px));
  padding:30px 38px 34px;
}

.cstf-tgr__modal-card--game{
  width:min(1240px, calc(100vw - 32px));
  padding:28px 38px 28px;
}

.cstf-tgr__prize-card{
  width:min(720px, calc(100vw - 32px));
  padding:34px 38px 36px;
  text-align:left;
}

.cstf-tgr__modal-card .cstf-tgr__kicker,
.cstf-tgr__prize-card .cstf-tgr__kicker{
  color:var(--cstf-tgr-gold);
  font-family:"Volkhov", serif;
  font-size:14px;
  line-height:1.1;
  font-weight:400;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.cstf-tgr__modal-title,
.cstf-tgr__modal-card--game .cstf-tgr__title,
.cstf-tgr__prize-card h3{
  color:#fff;
  font-family:"Volkhov", serif;
  font-weight:400;
  letter-spacing:0;
  text-shadow:0 2px 8px rgba(0,0,0,.26);
}

.cstf-tgr__modal-title{
  margin:8px;
  font-size:clamp(32px, 4vw, 46px);
  line-height:1.04;text-align: center;
}

.cstf-tgr__modal-intro,
.cstf-tgr__game-desc,
.cstf-tgr__prize-item span,
.cstf-tgr__prize-card p,
.cstf-tgr__panel p{
  color:rgba(255,255,255,.84);
  font-family:"Volkhov", serif;text-align: center;
}

.cstf-tgr__close,
.cstf-tgr__icon-btn{
  -webkit-appearance:none;
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  min-width:34px;
  min-height:34px;
  padding:0 !important;
  background:rgba(0,0,0,.16) !important;
  color:var(--cstf-tgr-gold) !important;
  border:1px solid rgba(214,191,116,.38) !important;
  border-radius:3px !important;
  box-shadow:none !important;
  font-family:Arial, Helvetica, sans-serif !important;
  font-size:20px !important;
  line-height:1 !important;
  font-weight:400 !important;
  text-decoration:none !important;
  cursor:pointer;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.cstf-tgr__close{
  top:18px;
  right:20px;
}

.cstf-tgr__close:hover,
.cstf-tgr__icon-btn:hover{
  background:rgba(214,191,116,.14) !important;
  border-color:rgba(214,191,116,.7) !important;
  color:#fff !important;
  transform:translateY(-1px);
}

.cstf-tgr__window-actions{
  position:absolute;
  top:18px;
  right:20px;
  z-index:8;
  display:flex;
  align-items:center;
  gap:10px;
}

.cstf-tgr__window-actions .cstf-tgr__close{
  position:static;
}

.cstf-tgr__fullscreen{
  font-size:17px !important;
}

.cstf-tgr__head{
  align-items:flex-start;
  gap:20px;
  margin:0 92px 18px 0;
}

.cstf-tgr__modal-card--game .cstf-tgr__title{
  margin:6px 0 0;
  font-size:clamp(38px, 4.8vw, 60px);
  line-height:.98;
}

.cstf-tgr__score{
  min-width:94px;
  padding:8px 14px 10px;
  background:rgba(0,0,0,.18);
  color:#fff;
  border:1px solid rgba(214,191,116,.34);
  border-radius:3px;
  box-shadow:none;
}

.cstf-tgr__score span{
  color:var(--cstf-tgr-gold);
  font-family:"Volkhov", serif;
  font-weight:400;
  font-size:13px;
  letter-spacing:.10em;
}

.cstf-tgr__score strong{
  color:#fff;
  font-family:"Volkhov", serif;
  font-size:34px;
  font-weight:700;
}

.cstf-tgr__game-list{
  margin:24px 0 28px;
}

.cstf-tgr__game-card{
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:8px 18px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(214,191,116,.42);
  border-radius:4px;
  padding:18px 20px;
  color:#fff;
  transition:border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.cstf-tgr__game-card::before{
  content:"";
  grid-row:1 / 3;
  grid-column:1;
  width:74px;
  height:74px;
  border-radius:50%;
  background:radial-gradient(circle at 45% 35%, rgba(214,191,116,.55), rgba(214,191,116,.18) 50%, rgba(0,0,0,.18) 51%);
  border:1px solid rgba(214,191,116,.25);
}

.cstf-tgr__game-card:hover{
  border-color:rgba(230,213,144,.74);
  background:rgba(214,191,116,.08);
  transform:translateY(-1px);
}

.cstf-tgr__game-name{
  grid-column:2;
  color:#fff;
  font-family:"Volkhov", serif;
  font-size:28px;
  line-height:1.08;
  font-weight:400;
}

.cstf-tgr__game-desc{
  grid-column:2;
  font-size:16px;
  line-height:1.35;
}

.cstf-tgr__game-action{
  grid-row:1 / 3;
  grid-column:3;
  align-self:center;
  border-radius:2px;
  background:linear-gradient(180deg, #d8c37d 0%, #a77b3d 100%);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  padding:13px 28px;
  font-family:"Volkhov", serif;
  font-size:18px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 8px 18px rgba(0,0,0,.20);
}

.cstf-tgr__game-action::after{
  content:"›";
  margin-left:.45rem;
  color:#fff;
}

.cstf-tgr__prize-list-title{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  margin:10px 0 18px;
  color:var(--cstf-tgr-gold);
  font-family:"Volkhov", serif;
  font-size:16px;
  line-height:1.1;
  font-weight:400;
  letter-spacing:.10em;
  text-transform:uppercase;
  text-align:center;
}

.cstf-tgr__prize-list-title::before,
.cstf-tgr__prize-list-title::after{
  content:"";
  height:1px;
  background:rgba(214,191,116,.28);
}

.cstf-tgr__prize-list{
  gap:16px;
}

.cstf-tgr__prize-item{
  min-height:146px;
  padding:22px 18px 18px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(214,191,116,.38);
  border-radius:4px;
  text-align:center;
}

.cstf-tgr__prize-item::before{
  content:"☆";
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  margin:0 auto 12px;
  color:var(--cstf-tgr-gold);
  border:1px solid rgba(214,191,116,.30);
  border-radius:50%;
  background:rgba(214,191,116,.08);
  font-size:27px;
  line-height:1;
}

.cstf-tgr__prize-item strong{
  color:#fff;
  font-family:"Volkhov", serif;
  font-size:18px;
  line-height:1.22;
  font-weight:700;
}

.cstf-tgr__stage{
  border:1px solid rgba(214,191,116,.48);
  border-radius:6px;
  background:#d8eef9;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

.cstf-tgr__stage::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:44%;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.48) 100%);
}

.cstf-tgr__controls{
  padding-top:18px;
}

.cstf-tgr__button,
.cstf-tgr__form button[type="submit"]{
  -webkit-appearance:none;
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:.7rem 1.85rem !important;
  background:linear-gradient(180deg, #d8c37d 0%, #a77b3d 100%) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:2px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 8px 18px rgba(0,0,0,.22) !important;
  font-family:"Volkhov", serif !important;
  font-size:17px !important;
  line-height:1.1 !important;
  font-weight:700 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
  filter:none !important;
}

.cstf-tgr__button:hover,
.cstf-tgr__form button[type="submit"]:hover{
  background:linear-gradient(180deg, #e6d590 0%, #bcad74 100%) !important;
  color:var(--cstf-tgr-ink) !important;
  transform:translateY(-1px);
}

.cstf-tgr__button--ghost{
  margin-left:auto;
}

.cstf-tgr__overlay{
  background:rgba(0,0,0,.42);
}

.cstf-tgr__panel{
  background:rgba(20,21,20,.88);
  border:1px solid rgba(214,191,116,.42);
  border-radius:5px;
  color:#fff;
  box-shadow:0 20px 52px rgba(0,0,0,.42);
}

.cstf-tgr__panel h2{
  color:#fff;
  font-family:"Volkhov", serif;
  font-weight:400;
}

.cstf-tgr__wheel{
  background:linear-gradient(180deg, rgba(214,191,116,.38), rgba(70,54,31,.42));
  border:1px solid rgba(214,191,116,.44);
  color:var(--cstf-tgr-gold);
}

.cstf-tgr__form{
  gap:14px;
}

.cstf-tgr__form label{
  color:var(--cstf-tgr-gold);
  font-family:"Volkhov", serif;
  font-size:14px;
  font-weight:400;
  letter-spacing:.04em;
}

.cstf-tgr__form input{
  margin-top:7px;
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(214,191,116,.36);
  border-radius:3px;
}

.cstf-tgr__form input:focus{
  outline:2px solid rgba(230,213,144,.38);
  outline-offset:2px;
}

.cstf-tgr__status{
  color:var(--cstf-tgr-gold-hover);
}

.cstf-tgr__modal-card--game.is-fullscreen{
  width:calc(100vw - 28px);
  max-width:none;
  min-height:calc(100vh - 28px);
  display:flex;
  flex-direction:column;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__stage{
  flex:1 1 auto;
  min-height:calc(100vh - 245px);
}

.cstf-tgr__modal-card--game.is-fullscreen canvas{
  width:100%;
  height:100%;
  min-height:calc(100vh - 245px);
  object-fit:cover;
}

@media(max-width:700px){
  .cstf-tgr__modal,
  .cstf-tgr__prize{
    padding:10px 8px;
    align-items:flex-start;
  }

  .cstf-tgr__modal-card--menu,
  .cstf-tgr__modal-card--game,
  .cstf-tgr__prize-card{
    width:calc(100vw - 16px);
    padding:22px 18px 24px;
    border-radius:6px;
  }

  .cstf-tgr__close,
  .cstf-tgr__icon-btn{
    width:30px;
    height:30px;
    min-width:30px;
    min-height:30px;
    font-size:18px !important;
  }

  .cstf-tgr__close{
    top:12px;
    right:14px;
  }

  .cstf-tgr__window-actions{
    top:12px;
    right:14px;
    gap:8px;
  }

  .cstf-tgr__modal-title{
    margin-right:48px;
  }

  .cstf-tgr__head{
    margin-right:78px;
  }

  .cstf-tgr__game-card{
    grid-template-columns:1fr;
  }

  .cstf-tgr__game-card::before{
    display:none;
  }

  .cstf-tgr__game-name,
  .cstf-tgr__game-desc,
  .cstf-tgr__game-action{
    grid-column:auto;
    grid-row:auto;
  }

  .cstf-tgr__game-action{
    justify-self:start;
  }

  .cstf-tgr__prize-list-title{
    grid-template-columns:1fr;
    gap:8px;
  }

  .cstf-tgr__prize-list-title::before,
  .cstf-tgr__prize-list-title::after{
    display:none;
  }

  .cstf-tgr__modal-card--game.is-fullscreen{
    width:calc(100vw - 16px);
    min-height:calc(100vh - 20px);
  }
}

@media(max-width:420px){
  .cstf-tgr__modal-card--game .cstf-tgr__title{
    padding-right:0;
  }

  .cstf-tgr__score{
    position:static;
  }

  .cstf-tgr__head{
    flex-direction:column;
    margin-right:70px;
  }
}


/* CSTF Timber Games v3.4 — footer-button styling, clean logo, width-first fullscreen */
.cstf-tgr{
  --cstf-tgr-footer-button-bg: var(--cstf-dark, #363635);
  --cstf-tgr-footer-button-hover: var(--cstf-gold, #bcad74);
  --cstf-tgr-footer-gold: var(--cstf-gold, #bcad74);
  --cstf-tgr-footer-gold-hover: var(--cstf-gold-hover, #e6d590);
}

/* All front-end game buttons now follow the footer CTA style, not the solid gold game style. */
.cstf-tgr .cstf-tgr__button,
.cstf-tgr .cstf-tgr__game-action,
.cstf-tgr .cstf-tgr__form button[type="submit"]{
  -webkit-appearance:none !important;
  appearance:none !important;
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.45rem !important;
  min-height:56px !important;
  padding:.95rem 2.35rem !important;
  background:var(--cstf-tgr-footer-button-bg) !important;
  color:#fff !important;
  border:1px solid rgba(214,191,116,.22) !important;
  border-radius:2px !important;
  font-family:"Volkhov", serif !important;
  font-size:1.12rem !important;
  line-height:1.1 !important;
  font-weight:100 !important;
  letter-spacing:.06em !important;
  text-transform:none !important;
  text-decoration:none !important;
  cursor:pointer !important;
  overflow:visible !important;
  isolation:isolate !important;
  filter:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 8px 18px rgba(0,0,0,.16) !important;
  transition:background-color .25s ease,border-color .25s ease,color .25s ease,transform .2s ease,box-shadow .25s ease !important;
}

.cstf-tgr .cstf-tgr__button::before,
.cstf-tgr .cstf-tgr__game-action::before,
.cstf-tgr .cstf-tgr__form button[type="submit"]::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:-3px;
  transform:translateX(-50%);
  width:96%;
  height:5px;
  pointer-events:none;
  z-index:0;
  border-radius:999px;
  background:radial-gradient(ellipse at center, rgba(255,255,255,.92) 0%, rgba(214,191,116,.55) 32%, rgba(214,191,116,.16) 60%, rgba(214,191,116,0) 82%);
  filter:blur(1px);
  opacity:.45;
}

.cstf-tgr .cstf-tgr__button:hover,
.cstf-tgr .cstf-tgr__game-card:hover .cstf-tgr__game-action,
.cstf-tgr .cstf-tgr__form button[type="submit"]:hover{
  background:var(--cstf-tgr-footer-button-hover) !important;
  color:#fff !important;
  border-color:#d8c788 !important;
  transform:translateY(-2px) !important;
  box-shadow:0 10px 22px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.14) !important;
}

.cstf-tgr .cstf-tgr__button--launch,
.cstf-tgr .cstf-tgr__game-action,
.cstf-tgr .cstf-tgr__form button[type="submit"]{
  text-transform:none !important;
}

.cstf-tgr .cstf-tgr__button--launch::after,
.cstf-tgr .cstf-tgr__game-action::after{
  content:"›";
  font-size:1.45rem;
  line-height:1;
  margin-left:.22rem;
  color:#d9c27a;
  transition:transform .2s ease,color .25s ease;
}

.cstf-tgr .cstf-tgr__button--launch:hover::after,
.cstf-tgr .cstf-tgr__game-card:hover .cstf-tgr__game-action::after{
  transform:translateX(4px);
  color:#2e3331;
}

.cstf-tgr__controls .cstf-tgr__button,
.cstf-tgr__panel .cstf-tgr__button{
  min-height:46px !important;
  padding:.72rem 1.85rem !important;
}

/* Game list logo: replace the plain orb with a compact brand mark. */
.cstf-tgr__game-card{
  grid-template-columns:128px 1fr auto !important;
  min-height:126px;
}
.cstf-tgr__game-card::before{display:none !important;}
.cstf-tgr__game-logo{
  grid-row:1 / 3;
  grid-column:1;
  width:150px;
  height:92px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  color:var(--cstf-tgr-footer-gold);
  text-align:center;
  text-shadow:0 2px 5px rgba(0,0,0,.45);
}
.cstf-tgr__game-logo-goose{
  position:relative;
  display:block;
  width:82px;
  height:44px;
  margin-bottom:1px;
  border-radius:50%;
  background:radial-gradient(circle at 52% 47%, #f5f0df 0 14%, #1b1b18 15% 21%, transparent 22%),
             radial-gradient(ellipse at 36% 58%, #b6a176 0 38%, #5a4a35 39% 60%, transparent 61%),
             linear-gradient(135deg, transparent 0 30%, #2c2b26 31% 55%, transparent 56%);
  filter:drop-shadow(0 4px 6px rgba(0,0,0,.35));
}
.cstf-tgr__game-logo-goose::before{
  content:"";
  position:absolute;
  left:6px;
  top:22px;
  width:48px;
  height:34px;
  border-radius:60% 35% 45% 55%;
  background:linear-gradient(180deg,#514836 0%,#2a241c 42%,#e7e0c8 43%,#b3a98d 100%);
  transform:rotate(-7deg);
}
.cstf-tgr__game-logo-goose::after{
  content:"";
  position:absolute;
  right:5px;
  top:22px;
  width:20px;
  height:4px;
  border-radius:999px;
  background:#d19237;
  transform:rotate(-6deg);
}
.cstf-tgr__game-logo-text strong,
.cstf-tgr__game-logo-text small{
  display:block;
  font-family:"Volkhov", serif;
  line-height:.92;
  text-transform:uppercase;
}
.cstf-tgr__game-logo-text strong{font-size:22px;letter-spacing:.04em;font-weight:700;}
.cstf-tgr__game-logo-text small{font-size:11px;letter-spacing:.10em;color:#d9c27a;}
.cstf-tgr__game-name{grid-column:2 !important;}
.cstf-tgr__game-desc{grid-column:2 !important;}
.cstf-tgr__game-action{grid-column:3 !important;grid-row:1 / 3 !important;align-self:center !important;}

/* Fullscreen is width-first: it expands across the viewport but keeps the canvas ratio. */
.cstf-tgr__modal--game{
  align-items:flex-start;
}
.cstf-tgr__modal-card--game.is-fullscreen{
  width:calc(100vw - 20px) !important;
  max-width:none !important;
  min-height:0 !important;
  height:auto !important;
  margin:10px auto !important;
  padding:28px 38px 28px !important;
  display:block !important;
}
.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__stage{
  flex:none !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:1160 / 400;
}
.cstf-tgr__modal-card--game.is-fullscreen canvas{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  object-fit:contain !important;
}

/* Smaller window buttons that do not collide with title/score. */
.cstf-tgr__window-actions{
  top:18px !important;
  right:18px !important;
  gap:8px !important;
}
.cstf-tgr__close,
.cstf-tgr__icon-btn{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  min-height:30px !important;
  font-size:18px !important;
}
.cstf-tgr__head{margin-right:104px !important;}

@media(max-width:700px){
  .cstf-tgr__game-card{grid-template-columns:1fr !important;min-height:0;}
  .cstf-tgr__game-logo{grid-column:auto;grid-row:auto;width:100%;height:auto;align-items:flex-start;text-align:left;}
  .cstf-tgr__game-logo-goose{display:none;}
  .cstf-tgr__game-logo-text{display:none;}
  .cstf-tgr__game-name,.cstf-tgr__game-desc,.cstf-tgr__game-action{grid-column:auto !important;grid-row:auto !important;}
  .cstf-tgr__game-action{justify-self:start !important;}
  .cstf-tgr__modal-card--game.is-fullscreen{width:calc(100vw - 16px) !important;padding:22px 18px 24px !important;}
  .cstf-tgr__head{margin-right:74px !important;}
}

/* CSTF Timber Games v3.4.3 — mobile viewport and true fullscreen fixes */
html.cstf-tgr-native-fullscreen,
html.cstf-tgr-native-fullscreen body{
  width:100%;
  height:100%;
  overflow:hidden !important;
  overscroll-behavior:none;
}

@media(max-width:767px){
  /* Normal portrait modal: keep the left side of the level visible so the goose stays in frame. */
  .cstf-tgr__modal-card--game:not(.is-fullscreen) .cstf-tgr__stage{
    height:clamp(250px, 52vw, 360px) !important;
    min-height:250px !important;
  }
  .cstf-tgr__modal-card--game:not(.is-fullscreen) canvas{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:left center !important;
  }

  .cstf-tgr__modal-card--game:not(.is-fullscreen) .cstf-tgr__title{
    font-size:clamp(42px, 12vw, 64px) !important;
    line-height:.95 !important;
  }

  .cstf-tgr__modal-card--game:not(.is-fullscreen) .cstf-tgr__score{
    position:relative !important;
    right:auto !important;
    top:auto !important;
    margin-top:10px;
  }
}

/* Real fullscreen layout: use the viewport, not a taller modal zoom. */
.cstf-tgr__modal--game:has(.cstf-tgr__modal-card--game.is-fullscreen){
  align-items:stretch !important;
  justify-content:center !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#101312 !important;
}

.cstf-tgr__modal-card--game.is-fullscreen{
  position:relative !important;
  width:100vw !important;
  max-width:none !important;
  height:100dvh !important;
  min-height:100dvh !important;
  margin:0 !important;
  padding:12px 14px 14px !important;
  border-radius:0 !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__head{
  flex:0 0 auto !important;
  margin:0 92px 10px 0 !important;
  align-items:flex-start !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__kicker{
  font-size:11px !important;
  letter-spacing:.14em !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__title{
  font-size:clamp(30px, 5.5vw, 52px) !important;
  line-height:1 !important;
  padding:0 !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__score{
  min-width:72px !important;
  padding:6px 10px 8px !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__score strong{
  font-size:28px !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__stage{
  flex:1 1 auto !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
}

.cstf-tgr__modal-card--game.is-fullscreen canvas{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__controls{
  flex:0 0 auto !important;
  padding-top:10px !important;
  gap:12px !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__controls .cstf-tgr__button{
  min-height:44px !important;
  padding:.62rem 1.45rem !important;
  font-size:1rem !important;
}

.cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__window-actions{
  top:12px !important;
  right:12px !important;
}

/* iPhone/Safari fallback: when orientation lock is not allowed, rotate the fullscreen card into landscape. */
@media(max-width:767px) and (orientation:portrait){
  .cstf-tgr__modal-card--game.is-fullscreen{
    width:100dvh !important;
    height:100vw !important;
    min-height:100vw !important;
    max-height:100vw !important;
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    transform:rotate(90deg) translateY(-100%) !important;
    transform-origin:top left !important;
    padding:10px 12px 12px !important;
  }

  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__head{
    margin:0 82px 8px 0 !important;
  }

  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__title{
    font-size:clamp(24px, 7dvh, 42px) !important;
    white-space:nowrap;
  }

  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__kicker{
    font-size:10px !important;
  }

  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__score{
    min-width:62px !important;
    padding:5px 8px !important;
  }

  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__score span{
    font-size:10px !important;
  }

  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__score strong{
    font-size:24px !important;
  }

  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__controls .cstf-tgr__button{
    min-height:40px !important;
    padding:.55rem 1.25rem !important;
  }
}

@media(max-width:767px) and (orientation:landscape){
  .cstf-tgr__modal-card--game.is-fullscreen{
    width:100vw !important;
    height:100dvh !important;
  }
  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__head{
    margin-bottom:8px !important;
  }
  .cstf-tgr__modal-card--game.is-fullscreen .cstf-tgr__title{
    font-size:clamp(26px, 6vh, 44px) !important;
  }
}
