/* Mesa de juego única: los materiales físicos son la interfaz. */
body.tt-playmode { --tt-guide-h:143px; }
body.tt-playmode .topbar {position:relative;z-index:8}
body.tt-playmode .topbar-inner {min-height:48px}
body.tt-playmode .brand-title {font-size:20px}
body.tt-playmode .brand-caption {font-size:9px}
body.tt-playmode .main {
  display:block;position:relative;
  width:100%;max-width:none;
  height:100%;min-height:0;padding:8px;margin:0;
  overflow:hidden;
}
body.tt-playmode .intro,
body.tt-playmode .adventure-hud,
body.tt-playmode .phase-panel,
body.tt-playmode .work-tabs {display:none!important}
body.tt-playmode .workspace {
  display:block;position:relative;width:100%;height:100%;
  min-height:0;max-width:none;gap:0;isolation:isolate;
}
body.tt-playmode .companion {
  display:block!important;position:absolute;inset:0;
  height:100%;width:100%;border:0;background:transparent;
  box-shadow:none;
}
body.tt-playmode #board-pane {
  display:flex!important;position:absolute;inset:0;width:100%;height:100%;
}
body.tt-playmode #sheet-pane,
body.tt-playmode #journal-pane,
body.tt-playmode .pane-header,
body.tt-playmode #map-board {display:none!important}
body.tt-playmode #table-content {
  display:block!important;position:absolute;inset:0;width:100%;height:100%;
  min-height:0;padding:0;overflow:hidden;border-radius:14px;
}
.tt-scene {position:relative;isolation:isolate;width:100%;height:100%;
  overflow:hidden;color:#efe9d5;user-select:none;-webkit-user-select:none;
  background:
    radial-gradient(ellipse at 50% 40%,#47523da1,transparent 57%),
    repeating-linear-gradient(91deg,#213129 0px,#182820 40px,#203127 43px,#19271f 90px),
    #15241d;
}
.tt-table-grain {position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:repeating-linear-gradient(2deg,transparent 0 6px,#fbecb403 7px 8px),
  radial-gradient(ellipse at center,transparent 32%,#030807b8 100%);
}
.tt-table-edge {position:absolute;inset:0;pointer-events:none;border:5px solid #4c3f2b;
  border-radius:13px;box-shadow:inset 0 0 0 2px #bd9b613f,inset 0 0 0 6px #14150d;
  z-index:25;
}
.tt-table-stamp {position:absolute;left:2%;top:2.5%;display:flex;flex-direction:column;gap:3px;
  font:700 11px/1.1 var(--sans);color:#c2ad7f;letter-spacing:.12em;
  z-index:3;text-shadow:0 2px 4px #080e0a;
}
.tt-table-stamp i {font:10px/1.1 var(--serif);letter-spacing:.03em;color:#a8afa0}

/* Todas las piezas están situadas en la misma mesa y permanecen tocables. */
.tt-object {
  position:relative;display:grid;place-items:center;
  border:0;padding:0;background:transparent;
  cursor:zoom-in;min-height:0;min-width:0;color:#f4e6ca;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  transition:transform .2s ease,filter .2s ease,opacity .2s ease;
}
.tt-object > .game-component-crop {
  display:block;width:auto;height:100%;max-width:100%;max-height:100%;
  overflow:hidden;filter:drop-shadow(0 8px 7px #000b);
  transform:rotate(-.7deg);
}
.tt-object:hover {filter:brightness(1.08);transform:translateY(-3px)}
.tt-object:focus-visible,.tt-party-marker:focus-visible,.tt-die-hit:focus-visible {
  outline:2px solid #f0d193;outline-offset:2px;border-radius:6px;
}
.tt-focus {filter:drop-shadow(0 0 10px #ead98c) drop-shadow(0 0 13px #dfb56e)}
.tt-focus::after {
  content:"";position:absolute;inset:-3px;
  border:2px solid #f0cf75;border-radius:8px;pointer-events:none;
  animation:tt-pulse 1.9s ease-in-out infinite;
  box-shadow:0 0 17px #f0c4768c,inset 0 0 10px #f0c47624;
}
@keyframes tt-pulse {0%,100%{opacity:.42}50%{opacity:1}}
.tt-object:active {transform:translateY(2px) scale(.985)}
.tt-crop {background:transparent!important;border-radius:3px}

/* Mapa físico, con ficha y ruta ilustrativa dentro del tablero. */
.tt-board-unit {position:absolute;left:23%;top:18%;width:53%;height:53%;z-index:2;
  display:flex;flex-direction:column;min-width:0;min-height:0;
  transition:transform .32s ease,opacity .32s ease,left .32s ease,width .32s ease;
}
.tt-board-frame {position:relative;flex:1;min-height:0;
  border:2px solid #a39267;border-radius:7px;
  box-shadow:0 15px 22px #030603ad,0 0 0 4px #271e15aa;
  overflow:hidden;background:#27392d;
}
.tt-original-map {width:100%;height:100%;object-fit:contain;
  filter:drop-shadow(0 4px 3px #070c0788)}
.tt-map-touch {position:absolute;inset:0;width:100%;height:100%;border:0;
  background:transparent;cursor:pointer}
.tt-spotlight .tt-board-frame {outline:2px solid #edc77c;outline-offset:3px;
  box-shadow:0 0 24px #e8bc7085,0 9px 25px #000e}
.tt-board-corner {align-self:flex-end;max-width:100%;
  font-size:9px;letter-spacing:.01em;color:#d7cab0;margin-top:6px;
  text-shadow:0 1px #000}
.tt-route-mark {position:absolute;left:33%;top:33%;width:23%;height:1px;
  border-top:3px dashed #ffe7a6c9;transform:rotate(-28deg);
  filter:drop-shadow(0 0 4px #f4d79a)}
.tt-party-marker {position:absolute;top:39%;left:32%;transform:translate(-50%,-50%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  width:37px;height:41px;padding:0;z-index:3;
  background:radial-gradient(circle at 25% 25%,#c3a573,#55422a 75%);
  border:2px solid #e4c687;border-radius:50% 50% 8px 8px;
  box-shadow:0 5px 6px #000c;cursor:pointer;color:#fdf3d9}
.tt-party-marker > span {font-size:21px;line-height:1}
.tt-party-marker > small {position:absolute;top:100%;left:50%;transform:translateX(-50%);
  padding:2px 4px;font-size:8px;font-weight:700;background:#12221aef;border-radius:3px;
  border:1px solid #8d986d;white-space:nowrap;color:#fff1ce}
.tt-party-marker.tt-focus {filter:drop-shadow(0 0 10px #f9d78d)}
.tt-party-marker.tt-focus::after {border-radius:50%;inset:-5px}
.tt-king-marker {position:absolute;left:67%;top:22%;width:45px;height:45px;
  border:1px solid #c29a81;border-radius:50%;background:#342720;z-index:3;cursor:pointer}
.tt-king-marker > .game-component-crop {max-width:100%;max-height:100%}

/* Material repartido por la mesa: cartas, tarjetón, dados y fichas. */
.tt-top-decks {position:absolute;left:23%;top:4%;width:53%;height:12.5%;
  display:flex;justify-content:space-between;align-items:center;gap:5px;z-index:6;
  transition:all .3s ease}
.tt-card-track {width:57%;height:95%}
.tt-circ-card,.tt-quest-card {height:93%;width:18%;max-width:130px}
.tt-circ-card {transform:rotate(-4deg)} .tt-quest-card {transform:rotate(3deg)}
.tt-card-caption {position:absolute;top:100%;font-size:8px;white-space:nowrap;
  color:#f6ddad;background:#16251dcf;padding:2px 5px;border:1px solid #b5a37f66;border-radius:2px}
.tt-hero-zone {position:absolute;left:78%;top:19%;width:19%;height:49%;
  z-index:5;display:flex;flex-direction:column;align-items:center;gap:7px;
  transition:left .32s ease,top .32s ease,width .32s ease,height .32s ease;
}
.tt-role-mat {width:100%;height:74%;max-height:100%}
.tt-race-card {width:70%;height:25%;transform:rotate(3deg)}
.tt-sheet-pins {position:absolute;bottom:5px;right:4px;left:4px;
  display:flex;justify-content:center;flex-wrap:wrap;gap:3px;
  padding:4px;background:#101a15ed;border:1px solid #bdad7a9c;border-radius:4px;
  box-shadow:0 0 5px #000b;font-weight:700;font-size:10px;color:#f8e8c7}
.tt-sheet-pins > span {padding:1px 3px;border-radius:2px;background:#2e3930}
.tt-sheet-pins > span:first-child {color:#f9b6a5}
.tt-sheet-pins > span:nth-child(2) {color:#cbdafa}
.tt-sheet-pins > span:nth-child(3) {color:#c8dbae}
.tt-sheet-pins > span:last-child {color:#f0cf90}
.tt-dice-zone {position:absolute;left:4%;top:49%;width:20%;height:22%;z-index:7;
  display:flex;justify-content:center;align-items:center;gap:6px;
  transition:all .32s ease}
.tt-dice-group {position:relative;width:70%;height:97%;
  display:grid;place-items:center;min-width:0;min-height:0}
.tt-dice-group > .game-component-crop {width:auto;height:82%;max-width:100%;max-height:90%;
  filter:drop-shadow(0 7px 7px #000c)}
.tt-dice-group.tt-focus {border-radius:8px;filter:drop-shadow(0 0 10px #eec779)}
.tt-dice-group.tt-focus::after {content:"";position:absolute;inset:0;border:2px solid #f4d27a;
  border-radius:7px;pointer-events:none;animation:tt-pulse 1.9s infinite}
.tt-dice-hitboxes {position:absolute;inset:0 0 17%;display:flex}
.tt-die-hit {flex:1;border:0;cursor:pointer;background:transparent;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation}
.tt-dice-caption {position:absolute;left:50%;top:100%;transform:translate(-50%,-3px);
  white-space:nowrap;font-size:8px;font-weight:800;color:#f8e3b0;text-shadow:0 2px 4px #000}
.tt-hex-die {width:33%;height:72%;align-self:center}
.tt-hex-die > .game-component-crop {height:100%}
.tt-roll-result {position:absolute;top:-9px;right:-5px;min-width:28px;
  display:grid;place-items:center;padding:4px;border:1px solid #f6d795;
  border-radius:6px;background:#283522;color:#fff1bf;font-weight:800;
  font-size:12px;box-shadow:0 0 9px #ebc576aa;animation:tt-die-appear .37s ease-out}
@keyframes tt-die-appear {from{transform:translateY(-12px) rotate(-28deg);opacity:0}to{transform:none;opacity:1}}
.tt-table-tokens {position:absolute;left:5%;top:30%;width:12%;height:13%;z-index:6}
.tt-table-note {position:absolute;left:1.5%;bottom:calc(var(--tt-guide-h) + 14px);
  max-width:29%;z-index:3;font:9px/1.25 var(--sans);color:#d7d0be;
  text-shadow:0 1px 3px #000;opacity:.78;pointer-events:none}

/* Contextos especiales: la pieza se acerca, pero seguimos dentro de la mesa. */
.tt-mode-hero .tt-hero-zone {left:32%;top:8%;width:49%;height:64%;z-index:12;
  display:flex;flex-direction:row;align-items:center;justify-content:center;gap:3%}
.tt-mode-hero .tt-role-mat {height:94%;width:70%}
.tt-mode-hero .tt-race-card {height:59%;width:27%;align-self:flex-end;margin-bottom:4%}
.tt-mode-hero .tt-board-unit {opacity:.45;transform:scale(.82) translateX(-20%)}
.tt-mode-hero .tt-top-decks,.tt-mode-hero .tt-dice-zone,.tt-mode-hero .tt-table-tokens {opacity:.55}
.tt-mode-dice .tt-dice-zone {left:25%;top:17%;width:51%;height:48%;z-index:11;gap:14px}
.tt-mode-dice .tt-dice-group {width:65%;height:95%}
.tt-mode-dice .tt-hex-die {width:29%;height:82%}
.tt-mode-dice .tt-dice-caption {font-size:10px}
.tt-mode-dice .tt-board-unit {opacity:.6}
.tt-mode-dice .tt-hero-zone,.tt-mode-dice .tt-top-decks,.tt-mode-dice .tt-table-tokens {opacity:.63}
.tt-mode-cards .tt-top-decks {left:20%;top:14%;width:64%;height:52%;gap:15px;z-index:12}
.tt-mode-cards .tt-card-track {width:52%;height:90%}
.tt-mode-cards .tt-circ-card,.tt-mode-cards .tt-quest-card {height:91%;width:22%;max-width:none}
.tt-mode-cards .tt-card-caption {font-size:10px}
.tt-mode-cards .tt-board-unit {opacity:.45}
.tt-mode-cards .tt-dice-zone,.tt-mode-cards .tt-hero-zone {opacity:.62}
.tt-mode-combat .tt-board-unit {opacity:.34}
.tt-mode-combat .tt-top-decks {opacity:.5}
.tt-combat-overlay {position:absolute;left:20%;top:16%;width:58%;height:54%;z-index:13;
  display:flex;align-items:center;justify-content:center;gap:6px;
  background:radial-gradient(ellipse,#283b2caa,transparent 77%);}
.tt-combat-mat {height:98%;width:76%;transform:rotate(-1deg)}
.tt-combat-enemy {height:78%;width:25%}
.tt-combat-enemy .tt-enemy-card {height:100%;width:100%;transform:rotate(4deg)}
.tt-mode-combat .tt-hero-zone {left:79%;top:20%;width:18%;height:42%;z-index:14}
.tt-mode-combat .tt-dice-zone {left:4%;top:48%;z-index:14}
.tt-mode-combat .tt-table-tokens {opacity:.4}
.tt-choice-position {position:absolute;left:50%;bottom:calc(var(--tt-guide-h) + 20px);
  transform:translateX(-50%);z-index:20;max-width:min(90%,480px);width:max-content}
.tt-choice-set {padding:9px 11px;border:1px solid #e2c689;border-radius:8px;
  background:linear-gradient(150deg,#3b382a,#1f2c23);
  box-shadow:0 12px 22px #000c,0 0 0 3px #0d1811;display:flex;align-items:center;justify-content:center;
  gap:7px;flex-wrap:wrap;}
.tt-choice-heading {width:100%;text-align:center;font-size:9px;letter-spacing:.14em;color:#ead49f;font-weight:800}
.tt-choice-button {padding:8px 12px;min-height:36px;border:1px solid #c3aa71;
  border-radius:5px;background:linear-gradient(#536448,#30432f);color:#fff0ca;
  font-weight:800;font-size:12px;cursor:pointer}
.tt-choice-button:hover {background:#64764b;border-color:#ecd297}
.tt-choice-button:focus-visible {outline:2px solid #f4dca4;outline-offset:2px}

/* Panel inferior opcional de instrucciones, no un HUD. */
body.tt-playmode .guide-panel {
  position:absolute;z-index:30;left:clamp(12px,4vw,55px);right:clamp(12px,4vw,55px);
  bottom:clamp(8px,1.5vh,16px);width:auto;height:var(--tt-guide-h);
  max-height:calc(100% - 20px);
  display:flex!important;flex-direction:column;gap:3px;
  padding:10px 15px 9px;
  border:1px solid #c4aa76;border-radius:9px;
  background:linear-gradient(125deg,#243328f5,#13221eea 54%,#283427f5);
  box-shadow:0 9px 25px #000d,inset 0 1px #f1e2be42;
  backdrop-filter:blur(10px);
  overflow:hidden;transition:height .2s ease;
}
body.tt-playmode .guide-panel::before {inset:0 14% auto}
body.tt-playmode .guide-panel::after {display:none}
body.tt-playmode .guide-header {display:none!important}
body.tt-playmode .guide-objective {display:flex;margin:0 0 2px;font-size:9px;flex:none}
body.tt-playmode .guide-panel h2 {font:20px/1.12 var(--serif);margin:0 0 2px;
  max-width:calc(100% - 83px);flex:none}
body.tt-playmode .guide-panel .tt-guide-tip {display:-webkit-box;-webkit-box-orient:vertical;
  -webkit-line-clamp:2;line-clamp:2;overflow:hidden;margin:0;
  color:#e4eadb;font-size:12px;line-height:1.27;flex:1;min-height:0}
body.tt-playmode .guide-panel .lesson-window {display:none!important}
body.tt-playmode .guide-controls {display:flex;flex:none;align-items:center;gap:7px;
  margin:0;padding:4px 0 0;border-top:1px solid #8d8b6a75}
body.tt-playmode .guide-controls .icon-button {min-width:34px;min-height:31px;width:35px}
body.tt-playmode .guide-controls #lesson-next {margin-left:auto;min-height:34px;
  width:auto;max-width:55%;padding:5px 11px;font-size:12px}
body.tt-playmode .guide-controls #lesson-next > span {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.tt-playmode .guide-controls #lesson-see-material {display:none!important}
body.tt-playmode #lesson-count {display:none}
body.tt-playmode .tt-guide-expand {
  position:absolute;right:13px;top:9px;min-height:25px;padding:2px 8px;
  color:#f0d59b;border:1px solid #847957;border-radius:5px;
  background:#19261ee8;font-size:10px;font-weight:800;z-index:1}
body.tt-playmode .guide-panel.tt-expanded {height:min(70dvh,590px);padding:12px 15px}
body.tt-playmode .guide-panel.tt-expanded .lesson-window {display:block!important;flex:1;overflow:hidden}
body.tt-playmode .guide-panel.tt-expanded .tt-guide-tip {display:none}
body.tt-playmode .guide-panel.tt-expanded #lesson-count {display:inline}
body.tt-playmode .guide-panel.tt-expanded h2 {margin:3px 0 7px;font-size:27px}
body.tt-playmode .guide-panel.tt-expanded .guide-controls {margin-top:6px}
body.tt-playmode .guide-panel.tt-expanded .guide-controls #lesson-next {max-width:75%}

/* iPhone: una sola mesa visible, con piezas tocables y guía corta al fondo. */
@media (max-width:760px) {
  body.tt-playmode {--tt-guide-h:144px}
  body.tt-playmode .main {padding:3px}
  body.tt-playmode .topbar-inner {min-height:43px}
  body.tt-playmode .brand-title {font-size:18px}
  body.tt-playmode .brand-caption {display:none}
  .tt-board-unit {left:17%;top:20%;width:65%;height:45%}
  .tt-top-decks {left:14%;top:5%;width:71%;height:13%}
  .tt-hero-zone {left:82%;top:22%;width:16%;height:42%}
  .tt-race-card {width:95%}
  .tt-dice-zone {left:2%;top:48%;width:23%;height:18%}
  .tt-table-tokens {left:3%;top:27%;width:13%;height:13%}
  .tt-sheet-pins {font-size:7px;bottom:2px;padding:2px;gap:2px}
  .tt-sheet-pins > span {padding:0 2px}
  .tt-table-stamp {font-size:9px;left:2%;top:2%}
  .tt-table-stamp i {font-size:8px}
  .tt-party-marker {width:29px;height:30px;border-width:1px}
  .tt-party-marker > span {font-size:15px}
  .tt-party-marker > small {font-size:7px}
  .tt-board-corner {font-size:8px}
  .tt-hex-die {width:43%}
  .tt-dice-group {width:58%}
  .tt-dice-caption {font-size:7px}
  .tt-card-caption {font-size:6px}
  .tt-table-note {font-size:8px;max-width:40%}
  .tt-mode-hero .tt-hero-zone {left:19%;top:13%;width:69%;height:53%}
  .tt-mode-hero .tt-role-mat {width:71%;height:100%}
  .tt-mode-hero .tt-race-card {width:26%;height:55%}
  .tt-mode-dice .tt-dice-zone {left:14%;top:22%;width:72%;height:38%}
  .tt-mode-cards .tt-top-decks {left:14%;top:18%;width:77%;height:46%}
  .tt-combat-overlay {left:15%;top:22%;width:70%;height:42%}
  .tt-mode-combat .tt-hero-zone {left:82%;width:16%}
  .tt-choice-position {bottom:calc(var(--tt-guide-h) + 8px);max-width:95%}
  .tt-choice-set {padding:6px;gap:4px}
  .tt-choice-button {min-height:30px;font-size:10px;padding:5px 7px}
  .tt-choice-heading {font-size:8px}
  body.tt-playmode .guide-panel {left:5px;right:5px;bottom:5px;
    padding:7px 10px 6px;gap:2px;border-radius:7px}
  body.tt-playmode .guide-panel h2 {font-size:18px}
  body.tt-playmode .guide-panel .tt-guide-tip {font-size:12px}
  body.tt-playmode .guide-controls {padding-top:4px}
  body.tt-playmode .guide-controls #lesson-next {min-height:33px;font-size:11px}
  body.tt-playmode .tt-guide-expand {top:5px;right:8px;font-size:9px}
}
@media (max-width:440px) {
  .tt-board-unit {left:14%;width:69%;top:23%;height:40%}
  .tt-top-decks {left:13%;top:9%;width:76%;height:12%}
  .tt-hero-zone {left:82%;top:25%;width:16%;height:37%}
  .tt-dice-zone {left:3%;top:48%;width:28%;height:16%}
  .tt-table-tokens {left:3%;top:31%;width:13%;height:11%}
  .tt-mode-dice .tt-dice-zone {left:11%;top:23%;width:76%;height:35%}
  .tt-mode-hero .tt-hero-zone {left:17%;top:22%;width:75%;height:41%}
  .tt-mode-cards .tt-top-decks {left:10%;top:21%;width:83%;height:41%}
  .tt-combat-overlay {left:12%;top:22%;width:75%;height:42%}
  .tt-card-caption {display:none}
  .tt-board-corner {font-size:7px}
  .tt-table-note {display:none}
  body.tt-playmode .brand-title {font-size:15px}
  body.tt-playmode .topbar-actions {gap:3px}
  body.tt-playmode .topbar-actions .utility-button {padding-inline:4px}
  body.tt-playmode .guide-panel h2 {font-size:17px}
}
@media (max-height:560px) {
  body.tt-playmode {--tt-guide-h:112px}
  body.tt-playmode .guide-panel {padding-top:5px}
  body.tt-playmode .guide-panel h2 {font-size:16px;margin:0}
  body.tt-playmode .guide-panel .tt-guide-tip {font-size:11px}
  .tt-board-unit {top:12%;height:52%}
  .tt-hero-zone {top:12%;height:52%}
  .tt-top-decks {top:2%;height:11%}
  .tt-dice-zone {top:55%;height:15%}
  .tt-choice-position {bottom:calc(var(--tt-guide-h) + 5px)}
  .tt-table-stamp i {display:none}
}
@media (prefers-reduced-motion: reduce) {
  .tt-focus::after,.tt-dice-group.tt-focus::after,
  .tt-object,.tt-board-unit,.tt-hero-zone,.tt-top-decks,.tt-dice-zone,
  .tt-roll-result,.tt-guide-tip {animation:none!important;transition:none!important}
}

/* Resultados visibles sobre los dados concretos, sin contadores independientes. */
.tt-skill-results {
  position:absolute;left:6%;right:6%;top:-8px;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;
  z-index:3;pointer-events:none;
}
.tt-skill-result {
  display:grid;place-items:center;min-width:0;min-height:24px;
  padding:3px;border-radius:6px;
  border:1px solid #d5c99e;background:#26332aef;
  box-shadow:0 0 9px #f3d8a366;
  font:800 12px/1 var(--sans);
  color:#fff5dd;animation:tt-die-appear .36s ease-out;
}
.tt-skill-green{border-color:#8cb995;background:#294833e8}
.tt-skill-yellow{border-color:#efcc74;background:#564d2be8}
.tt-skill-blue{border-color:#86b7d2;background:#264454e8}
.tt-choice-attention {animation:tt-choice-flash .5s ease-out}
@keyframes tt-choice-flash {
  0%,100%{box-shadow:0 12px 22px #000c,0 0 0 3px #0d1811}
  50%{box-shadow:0 12px 22px #000c,0 0 0 5px #ffcf6f,0 0 25px #ffcf6f66}
}
@media(max-width:760px){.tt-skill-result{font-size:10px;min-height:21px;padding:2px}}
@media(max-width:390px){.tt-skill-result{font-size:9px;min-height:19px}}
@media(prefers-reduced-motion:reduce){.tt-skill-result,.tt-choice-attention{animation:none}}

/* El destino se señala SOBRE un hexágono; el marcador avanza entre las casillas de ejemplo. */
.tt-waypoint {
  position:absolute;z-index:4;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:37px;height:37px;padding:0;
  border:1px solid #ebd69e;border-radius:9px;background:#d9b76c44;color:#fff5c8;
  box-shadow:0 0 0 5px #f5d37b1e,0 0 22px #eec26c8a;
  cursor:pointer;animation:tt-waypoint-pulse 2s ease-in-out infinite;
}
.tt-waypoint > span {font-size:34px;line-height:1}
.tt-waypoint:hover {background:#e7c97a77}
.tt-waypoint:focus-visible {outline:2px solid #ffe3ab;outline-offset:4px}
@keyframes tt-waypoint-pulse {
  0%,100% {box-shadow:0 0 0 4px #f5d37b15,0 0 12px #eec26c55}
  50% {box-shadow:0 0 0 9px #f5d37b24,0 0 24px #f8d187aa}
}
.tt-party-marker {animation:tt-marker-arrive .28s ease-out both}
@keyframes tt-marker-arrive {
  from {opacity:.35;translate:0 -9px}
  to {opacity:1;translate:0 0}
}
.tt-mode-cards .tt-circ-card,.tt-mode-cards .tt-quest-card {
  animation:tt-deal .28s ease-out both;
}
.tt-mode-cards .tt-quest-card {animation-delay:80ms}
@keyframes tt-deal {from{translate:0 -11px;opacity:.35}to{translate:0 0;opacity:1}}
@media(max-width:760px){
  .tt-waypoint{width:26px;height:26px;border-radius:6px}
  .tt-waypoint > span{font-size:24px}
}
@media(prefers-reduced-motion:reduce){
  .tt-waypoint,.tt-party-marker,.tt-mode-cards .tt-circ-card,.tt-mode-cards .tt-quest-card{animation:none}
}
