/* ZigZag Drift menu skin: pastel sky and floating road tiles. Chunky navy title, tile-shaped tabs and buttons (skin.js). */
body[data-game="drift-edge"] { --tg-card: #f4f8ff; --tg-ink: #1c2340; --tg-sub: #4f5f88; --tg-btn: #ffc928; --tg-btn-ink: #3a2400; --tg-menu-a: #8fc4ff; --tg-menu-b: #1c2340; }
.tg-full.tg-skinned { background: #ffe1cf !important; --tg-panel: #f4f8ff; }
.tg-skinned .tg-hero { gap: 11px; }
.tg-skinned .tg-hero h1 { font: 400 52px/.98 "Bowlby One", system-ui, sans-serif; letter-spacing: .01em; color: #1c2340; text-shadow: 4px 4px 0 #ffc928; }
.tg-skinned .tg-hero p { padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .88); color: #1c2340; font: 600 16px/1.3 Fredoka, system-ui, sans-serif; }
.tg-skinned .tg-hero p:empty { display: none; }
.tg-skinned .tg-hero .tg-big { font: 400 80px/1 "Bowlby One", system-ui, sans-serif; color: #1c2340; text-shadow: 5px 5px 0 #ffc928; }
.tg-skinned .tg-hero .tg-lvp, .tg-skinned .tg-acct { background: #1c2340; border-radius: 10px; box-shadow: 0 5px 0 #0f1530; }
.tg-skinned .tg-lv { border-radius: 10px; background: #ffc928; color: #3a2400; font-family: "Bowlby One", system-ui, sans-serif; font-weight: 400; box-shadow: 0 4px 0 #c98a00; }
.tg-skinned .tg-lv b { font-weight: 400; font-size: 21px; }
.tg-skinned .tg-xpbar { border-radius: 4px; }
.tg-skinned .tg-xpbar i { border-radius: 4px; background: #4da3ff; }
.tg-skinned .tg-meta .tg-coins, .tg-skinned .tg-meta .tg-streak { border-radius: 10px; }
.tg-skinned .dg-goal { background: #1c2340; color: #ffe9a8; border-radius: 10px; }
.tg-skinned .dg-lg { border-radius: 8px; }
.tg-skinned .dg-flash { border-radius: 10px; }
.tg-skinned .tg-hero .tg-btn { height: 72px; border-radius: 14px; background: #ffc928; color: #3a2400; box-shadow: 0 9px 0 #c98a00; font: 400 34px/1 "Bowlby One", system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 9px; }
.tg-skinned .tg-hero .tg-btn:active { transform: translateY(7px); box-shadow: 0 2px 0 #c98a00; }
.tg-skinned .tg-tabs { background: #8fb6ee; padding-top: 12px; }
.tg-skinned .tg-tab { border-radius: 10px 10px 0 0; background: #dde2ea; color: #1c2340; box-shadow: inset 0 -6px 0 #98a4b9; font: 400 15px/1 "Bowlby One", system-ui, sans-serif; letter-spacing: .03em; }
.tg-skinned .tg-tab:hover { background: #eef1f6; }
.tg-skinned .tg-tab.on { background: #f4f8ff; color: #1c2340; box-shadow: inset 0 6px 0 #ffc928; }
.tg-skinned .tg-tab:focus-visible { outline-color: #1c2340; }
.tg-skinned .tg-panel { background: #f4f8ff; }
.tg-skinned .tg-mh, .tg-skinned .dg-sh { font: 400 14px/1 "Bowlby One", system-ui, sans-serif; letter-spacing: .08em; color: #4f5f88; }
.tg-skinned .tg-sec .tg-mission, .tg-skinned .tg-sec .tg-rw { border-radius: 10px; }
.tg-skinned .dg-item { border-radius: 12px; box-shadow: 0 6px 0 #98a4b9; }
.tg-skinned .dg-item.on { border-color: #ffc928; background: #fff7e0; box-shadow: 0 6px 0 #c98a00; }
.tg-skinned .dg-item.special { background: #1c2340; box-shadow: 0 6px 0 #0f1530; }
.tg-skinned .dg-fr { border-radius: 8px; }
.tg-skinned .dg-rung { border-radius: 10px; box-shadow: 0 4px 0 #cbd2de; }
.tg-skinned .dg-rung b { font: 400 15px/1.1 "Bowlby One", system-ui, sans-serif; }
.tg-skinned .dg-area { border-radius: 12px; }
.tg-skinned .dg-stat { border-radius: 12px; background: #1c2340; box-shadow: 0 6px 0 #0f1530; }
.tg-skinned .dg-stat b { font: 400 26px/1 "Bowlby One", system-ui, sans-serif; color: #ffc928; }
body[data-game="drift-edge"] .tg-box:not(.tg-full) { border-radius: 14px; box-shadow: 0 10px 0 #98a4b9; }
body[data-game="drift-edge"] .tg-box:not(.tg-full) h1 { font-family: "Bowlby One", system-ui, sans-serif; font-weight: 400; }
body[data-game="drift-edge"] .tg-box:not(.tg-full) .tg-btn { border-radius: 12px; font-family: "Bowlby One", system-ui, sans-serif; font-weight: 400; }
@media (max-width: 760px) {
  .tg-skinned .tg-hero h1 { font-size: 40px; }
  .tg-skinned .tg-hero .tg-big { font-size: 54px; }
  .tg-skinned .tg-hero .tg-btn { height: 60px; font-size: 28px; }
  .tg-skinned .tg-tab { font-size: 13px; }
}

/* ---- Part 2: floating boards. The pastel sky and zigzag road fill the screen; the hero card and the panel float over it ---- */
.tg-box.tg-full.tg-skinned { gap: 14px; padding: 14px !important; }
.tg-skinned .tg-hero { align-self: start; max-height: 100%; padding: 22px 20px; border: 4px solid #fff; border-radius: 22px; background: #f4f8ff; box-shadow: 0 10px 0 #98a4b9; }
.tg-skinned .tg-hero p { background: #e3ecfb; }
.tg-skinned .tg-hero .tg-gains span { background: #1c2340; color: #b8ffc8; }
.tg-skinned .tg-panel { border: 4px solid #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 0 #98a4b9; background-color: rgba(244, 248, 255, .93); background-image: linear-gradient(30deg, rgba(79, 95, 136, .08) 1px, transparent 1px), linear-gradient(150deg, rgba(79, 95, 136, .08) 1px, transparent 1px); background-size: 60px 34px; }
.tg-skinned .tg-tabs { gap: 8px; padding: 12px 70px 10px 12px; background: linear-gradient(#8fc4ff, #bcd8fb); }
.tg-skinned .tg-tab { height: 46px; margin-bottom: 4px; border-radius: 10px; background: #f4f8ff; box-shadow: 0 5px 0 #98a4b9; }
.tg-skinned .tg-tab.on { background: #ffc928; color: #3a2400; box-shadow: 0 5px 0 #c98a00; transform: translateY(1px); }
.tg-skinned .tg-sec:not([hidden]) { display: flex; flex-direction: column; }
.tg-skinned .tg-secin { margin-bottom: 22px; }
.tg-skinned .tg-sec::after { content: "Stay on the road"; flex: none; margin-top: auto; height: 104px; padding-top: 12px; border-radius: 16px; text-align: center; font: 400 14px/1 "Bowlby One", system-ui, sans-serif; letter-spacing: .06em; color: #4f5f88; background: repeating-linear-gradient(120deg, #dde2ea 0 34px, #f8fbff 34px 37px, #cbd2de 37px 71px, #f8fbff 71px 74px) left bottom / 100% 46px no-repeat, linear-gradient(#bcd8fb, #ffe9dc); }
.tg-skinned .tg-btn.tg-alt { height: 50px; min-width: 0; padding: 0 24px; border-radius: 12px; background: #dde2ea; color: #1c2340; box-shadow: 0 5px 0 #98a4b9; font: 400 17px/1 "Bowlby One", system-ui, sans-serif; letter-spacing: .03em; }
.tg-skinned .tn .tg-btn { height: 54px; min-width: 0; border-radius: 12px; box-shadow: 0 6px 0 #c98a00; font: 400 20px/1 "Bowlby One", system-ui, sans-serif; }
.tg-skinned .tn .tg-btn.tg-alt { box-shadow: 0 5px 0 #98a4b9; }
.tg-skinned .tn-code { border: 3px solid #1c2340; border-radius: 12px; }
.tg-skinned .tn-copy, .tg-skinned .tn-block, .tg-skinned .tn-mute, .tg-skinned .tn-e, .tg-skinned .tn-emob { border-radius: 8px; background: #dde2ea; box-shadow: 0 3px 0 #98a4b9; font: 400 12px/1 "Bowlby One", system-ui, sans-serif; }
.tg-skinned .tn-safe, .tg-skinned .tn-head, .tg-skinned .tn-p, .tg-skinned .tn-note { border-radius: 12px; }
@media (min-width: 761px) {
  .tg-box.tg-full.tg-skinned { grid-template-columns: minmax(300px, 350px) minmax(0, 1fr); gap: 28px; padding: 28px !important; }
}
