/* Penguin Learns to Fly : page-specific styles (shared: arcade-kit.css, sim3d.css for the banner / result card) */
.plf-wrap { position: relative; width: 100%; }
.plf-wrap .ak-stage { background: #7dd3fc; touch-action: none; user-select: none; -webkit-user-select: none; }
.plf-hud { position: absolute; inset: 0; pointer-events: none; font-family: system-ui, sans-serif; container-type: inline-size; }
.plf-hud button, .plf-hud .sim-result { pointer-events: auto; }
.plf-card { position: absolute; left: 10px; top: 10px; background: rgba(15, 23, 42, .78); color: #fff; border-radius: 12px; padding: 5px 12px; }
.plf-card b { display: block; font: 900 22px/1.1 system-ui, sans-serif; font-variant-numeric: tabular-nums; } .plf-card span { display: block; font: 800 12.5px system-ui, sans-serif; color: #bae6fd; }
.plf-fuel { position: absolute; left: 10px; top: 76px; width: 150px; height: 16px; border-radius: 8px; background: rgba(15, 23, 42, .7); overflow: hidden; }
.plf-fuel[hidden] { display: none; } .plf-fuel i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #f97316, #fde047); } .plf-fuel em { position: relative; display: block; font: 800 10px/16px system-ui; font-style: normal; padding-left: 6px; color: #fff; }
.plf-pop { position: absolute; left: 50%; top: 26%; transform: translate(-50%, -50%); font: 900 clamp(20px, 3.6cqw, 32px) system-ui, sans-serif; color: #fff; text-shadow: 0 2px 8px rgba(15, 23, 42, .85); opacity: 0; white-space: nowrap; }
.plf-pop.is-on { animation: plf-pop 1.6s ease-out forwards; }
@keyframes plf-pop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.7); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%); } }
.plf-tb { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.plf-tb button, .plf-tb .ak-mute { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(15, 23, 42, .7); color: #fff; font-size: 17px; cursor: pointer; }
.plf-go { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 14px 30px; border-radius: 999px; border: 3px solid #fff; background: #f97316; color: #fff; font: 900 22px system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); animation: plf-bob 1s ease-in-out infinite alternate; }
.plf-go[hidden] { display: none; } @keyframes plf-bob { to { transform: translateX(-50%) translateY(-6px); } }
.plf-pad { position: absolute; left: 12px; bottom: 12px; display: none; flex-direction: column; gap: 8px; }
.plf-pad button, .plf-boost { width: 62px; height: 62px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .55); background: rgba(15, 23, 42, .5); font-size: 26px; touch-action: none; }
.plf-boost { position: absolute; right: 14px; bottom: 14px; display: none; border-radius: 50%; width: 70px; height: 70px; background: rgba(234, 88, 12, .8); }
.plf-boost[hidden] { display: none !important; }
.plf-pad button.is-on, .plf-boost.is-on { background: rgba(14, 165, 233, .85); }
.plf-hud.is-touch .plf-pad { display: flex; } .plf-hud.is-touch .plf-boost { display: block; }
.plf-hud .sim-banner { pointer-events: none; }
.plf-hud .sim-result[hidden] { display: none; }
.plf-hud.is-over .plf-tb, .plf-hud.is-over .plf-pad, .plf-hud.is-over .plf-boost { display: none !important; }
.plf-hud .sim-result { overflow-y: auto; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; }
.plf-res { max-width: 620px; }
.plf-rows { display: grid; gap: 3px; margin: 6px 0; } .plf-rows div { display: grid; grid-template-columns: 1fr auto 70px; gap: 10px; text-align: left; font-size: 14px; } .plf-rows em { font-style: normal; color: #fde047; text-align: right; }
.plf-earn { font: 900 26px system-ui, sans-serif; color: #fde047; margin: 6px 0; } .plf-earn small { font-size: 13px; color: #cbd5e1; font-weight: 700; }
.plf-new { background: rgba(250, 204, 21, .14); border-radius: 10px; padding: 6px 10px; font-weight: 800; margin: 6px 0; }
.plf-shop h3 { margin: 10px 0 6px; } .plf-shop h3 small { color: #fde047; font-size: 14px; margin-left: 6px; }
.plf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.plf-grid button { text-align: left; border-radius: 12px; padding: 7px 9px; border: 2px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
.plf-grid button b { font-size: 13.5px; } .plf-grid button small { font-size: 12px; opacity: .85; } .plf-grid button em { font-style: normal; font-size: 12px; color: #fde047; } .plf-grid button i { font-style: normal; font-size: 9px; letter-spacing: 1px; color: #7dd3fc; }
.plf-grid button:not(:disabled) { border-color: rgba(253, 224, 71, .6); } .plf-grid button:disabled { opacity: .55; cursor: not-allowed; }
.plf-goals { margin-top: 12px; } .plf-goals h3 { margin: 0 0 6px; } .plf-goals ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 3px 12px; } .plf-goals li { font-size: 13px; opacity: .75; } .plf-goals li.is-done { opacity: 1; color: #fde047; }
@container (max-width: 600px) { .plf-card b { font-size: 18px; } .plf-card span { font-size: 11px; } .plf-tb { right: 6px; top: 6px; gap: 4px; } .plf-tb button, .plf-tb .ak-mute { width: 36px; height: 36px; font-size: 15px; } .plf-fuel { top: 66px; width: 120px; } }
