/* ==========================================================================
   Profile page — loaded ONLY by profile.html.
   New classes are prefixed .pf- . game.css is frozen; where this page needs
   a shared class (.auth-*, .profile-*, .stat-*) to look different, it is
   overridden HERE with selectors scoped to .profile-page so no other page
   is affected. Never edit game.css for profile work.
   ========================================================================== */

:root {
    --pf-gold: #f5c518;
    --pf-hairline: rgba(255, 255, 255, 0.09);
    --pf-fill: rgba(255, 255, 255, 0.04);
    --pf-fill-strong: rgba(255, 255, 255, 0.07);
    --pf-press: rgba(255, 255, 255, 0.07);
    --pf-danger: #e46e6e;
    --pf-danger-press: rgba(228, 110, 110, 0.12);
    --pf-glow: rgba(245, 197, 24, 0.07);
    --pf-ring: rgba(245, 197, 24, 0.45);
    --pf-avatar-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.55);
    --pf-modal-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
    --pf-shop-border: #c9a03b;
    --pf-parchment: #e8d5a3;
    --pf-parchment-dim: #9a8a6a;
}

[data-theme="light"] {
    --pf-gold: #b8860b;
    --pf-hairline: rgba(26, 26, 27, 0.10);
    --pf-fill: rgba(26, 26, 27, 0.04);
    --pf-fill-strong: rgba(26, 26, 27, 0.07);
    --pf-press: rgba(26, 26, 27, 0.06);
    --pf-danger: #c64545;
    --pf-danger-press: rgba(198, 69, 69, 0.10);
    --pf-glow: rgba(184, 134, 11, 0.06);
    --pf-ring: rgba(184, 134, 11, 0.38);
    --pf-avatar-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.25);
    --pf-modal-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.35);
    --pf-shop-border: #c9a03b;
    --pf-parchment: #7d6a45;
    --pf-parchment-dim: #8a7c5e;
}

/* ── View switching (main menu vs sub-views) ────────────────────────────── */
.pf-view { display: none; }
.pf-view.pf-view-active { display: block; }

/* Password-recovery state: complements the .state-logged-in/-out rules that
   live in game.css — this new state is defined here so game.css stays put */
#profileContent.state-recovery .view-recovery { display: block; }

/* ── Topbar: drop the hard rule line, quiet pixel title ─────────────────── */
.profile-page .profile-topbar {
    border-bottom-color: transparent;
    margin-bottom: 8px;
}

.profile-page .profile-topbar-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--pf-gold);
}

.profile-page .topbar-btn {
    border-radius: 10px;
    transition: background-color 0.15s;
}

.profile-page .topbar-btn:active { background: var(--pf-press); }

/* ── Header: the hero — streak | avatar | coins, name beneath ───────────── */
.pf-header {
    position: relative;
    padding: 16px 0 4px;
    margin-bottom: 26px;
}

/* Soft gold aura behind the hero — barely there, adds depth to the flat bg */
.pf-header::before {
    content: '';
    position: absolute;
    inset: -24px -8px -8px;
    background: radial-gradient(ellipse 70% 85% at 50% 40%, var(--pf-glow), transparent 70%);
    pointer-events: none;
}

.pf-header-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pf-header-side {
    width: 84px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pf-streak-flame {
    font-size: 1.35rem;
    line-height: 26px;
    height: 26px;
}

.pf-coin-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    image-rendering: pixelated;
}

.pf-streak-value,
.pf-coin-value {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.85rem;
    line-height: 1;
}

.pf-coin-value { color: var(--pf-gold); }

/* Coin balance doubles as a Coin Shop shortcut */
.pf-coins-tap {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: opacity 0.15s;
}

.pf-coins-tap:active { opacity: 0.6; }

.pf-side-label {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    text-align: center;
    line-height: 1.5;
    white-space: nowrap;
}

.pf-header-center {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Bigger avatar with a soft gold ring — scoped so game pages keep 72px */
.pf-header .profile-avatar-wrapper {
    width: 84px;
    margin: 0 auto;
}

.pf-header .profile-avatar {
    width: 84px;
    height: 84px;
    font-size: 2.1rem;
    box-shadow:
        0 0 0 3px var(--bg-color),
        0 0 0 5px var(--pf-ring),
        var(--pf-avatar-shadow);
}

.pf-header .profile-avatar-camera {
    width: 26px;
    height: 26px;
    background: var(--pf-gold);
    color: var(--bg-color);
    border: 3px solid var(--bg-color);
}

.pf-name {
    position: relative;
    max-width: 100%;
    overflow-wrap: anywhere;
    margin: 18px 0 0;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.6;
    text-align: center;
}

/* ── Menu hub: rows sit on the background, inset hairlines between ──────── */
.pf-menu {
    display: flex;
    flex-direction: column;
    margin-bottom: 26px;
}

.pf-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 60px;
    padding: 10px 6px 10px 8px;
    background: none;
    border: none;
    border-radius: 12px;
    color: var(--text-color);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.18s, transform 0.18s;
}

.pf-row:active {
    background: var(--pf-press);
    transform: scale(0.985);
}

/* Inset hairline divider — starts at the label edge, iOS-settings style */
.pf-row + .pf-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 58px;
    right: 8px;
    height: 1px;
    background: var(--pf-hairline);
}

/* Fixed-size icon slot — PNG, avatar, or interim glyph all occupy 36×36 */
.pf-row-iconbox {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-row-iconbox img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    image-rendering: pixelated;
    display: block;
    pointer-events: none;
}

/* Interim pixel glyphs (Settings / Support) until the real PNGs exist —
   drawn inline as SVG, same 36px slot, so the swap is zero-layout-change */
.pf-glyph {
    width: 30px;
    height: 30px;
    display: block;
    pointer-events: none;
}

/* Account row: mini avatar circle (image or initial) */
.pf-row-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-correct);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pf-row-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
}

.pf-row-label {
    flex: 1;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.68rem;
    line-height: 1.5;
}

.pf-row-chevron {
    font-size: 1.3rem;
    line-height: 1;
    opacity: 0.3;
    flex-shrink: 0;
    padding-right: 4px;
    margin-top: -2px;
}

/* Disabled "coming soon" rows */
.pf-row-disabled {
    opacity: 0.45;
    cursor: default;
}

.pf-soon-badge {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.5rem;
    padding: 5px 7px;
    border: 1px solid var(--pf-hairline);
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Log Out: quiet destructive action, no box ──────────────────────────── */
.profile-page .profile-logout-btn {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 17px;
    background: none;
    border: none;
    border-radius: 12px;
    color: var(--pf-danger);
    font-family: 'Press Start 2P', monospace;
    font-size: 0.68rem;
    font-weight: normal;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s, transform 0.18s;
}

.profile-page .profile-logout-btn:active {
    background: var(--pf-danger-press);
    opacity: 1;
    transform: scale(0.985);
}

/* ── Sub-view header (back arrow + title) ───────────────────────────────── */
.pf-subview-header {
    display: flex;
    align-items: center;
    height: 44px;
    margin-bottom: 22px;
}

.pf-back-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s;
}

.pf-back-btn:active { background: var(--pf-press); }

.pf-subview-title {
    flex: 1;
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.75rem;
}

.pf-subview-spacer {
    width: 40px;
    flex-shrink: 0;
}

/* ── Account sub-view: open sections separated by hairlines, no cards ───── */
.pf-account-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2px 2px 22px;
    margin-bottom: 4px;
}

.pf-account-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    opacity: 0.5;
}

.pf-account-value {
    font-size: 0.95rem;
    word-break: break-all;
}

.pf-account-section {
    padding: 22px 2px 4px;
    border-top: 1px solid var(--pf-hairline);
    margin-bottom: 22px;
}

.pf-account-section-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    color: var(--pf-gold);
    margin-bottom: 14px;
}

.pf-account-section .pf-input {
    margin-bottom: 10px;
}

.pf-account-section .pf-submit-btn {
    margin-top: 2px;
}

.pf-field-hint {
    font-size: 0.72rem;
    line-height: 1.5;
    opacity: 0.5;
    margin-bottom: 10px;
}

.pf-inline-error {
    color: var(--pf-danger);
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.pf-inline-error:empty,
.pf-inline-success:empty { display: none; }

.pf-inline-success {
    color: var(--color-correct);
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.pf-cooldown-msg {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.7;
}

/* ── Auth (logged-out + recovery): same open, quiet direction ───────────── */
.profile-page .auth-heading {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.6;
    margin: 22px 0 10px;
}

.profile-page .auth-subtext { margin-bottom: 30px; }

.profile-page .auth-tabs {
    border-bottom: 1px solid var(--pf-hairline);
    margin-bottom: 28px;
}

.profile-page .auth-tab {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.62rem;
    font-weight: normal;
    padding: 14px 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.profile-page .auth-tab.active {
    border-bottom-color: var(--pf-gold);
}

.profile-page .auth-label {
    font-size: 0.62rem;
    letter-spacing: 0.09em;
    opacity: 0.5;
    font-weight: 400;
}

.profile-page .auth-input {
    background: var(--pf-fill);
    border: 1px solid var(--pf-hairline);
    border-radius: 10px;
    padding: 13px 14px;
    transition: border-color 0.15s, background-color 0.15s;
}

.profile-page .auth-input:focus {
    border-color: var(--pf-ring);
    background: var(--pf-fill-strong);
}

/* Keep the error border winning over the base override above */
.profile-page .auth-input.auth-input-error {
    border-color: var(--pf-danger);
}

.profile-page .auth-submit-btn {
    border-radius: 10px;
    padding: 16px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.68rem;
    font-weight: normal;
    background-color: var(--color-correct);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.10));
    transition: opacity 0.15s, transform 0.18s;
}

.profile-page .auth-submit-btn:active {
    opacity: 0.88;
    transform: scale(0.985);
}

/* Recovery form doesn't carry .auth-form — match its field rhythm */
.pf-recovery-form .auth-form-group { margin-bottom: 16px; }

/* ── Forgot password (logged-out login form) ────────────────────────────── */
.pf-forgot-link {
    display: block;
    margin: 14px auto 0;
    padding: 8px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 0.8rem;
    opacity: 0.55;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#pfResetWrap { margin-top: 16px; }

.pf-reset-status {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 10px;
    text-align: center;
    opacity: 0.7;
}

.pf-reset-status:empty { display: none; }

/* ── Stats sub-view: quiet tiles, pixel numerals ────────────────────────── */
.pf-view .profile-stats-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    font-weight: normal;
    color: var(--pf-gold);
    opacity: 1;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.pf-view .stats-grid {
    gap: 10px;
    margin-bottom: 18px;
}

.pf-view .stat-item {
    background: var(--pf-fill);
    border: none;
    border-radius: 12px;
    padding: 15px 8px 13px;
}

.pf-view .stat-value {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.95rem;
    font-weight: normal;
    line-height: 1.4;
    margin-bottom: 4px;
}

.pf-view .stat-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.5;
}

.pf-chart-wrap {
    margin: 4px 0 30px;
}

.pf-chart-caption {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    opacity: 0.5;
    margin-bottom: 10px;
}

/* ── Settings sub-view ──────────────────────────────────────────────────── */
.pf-settings-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    font-weight: normal;
    color: var(--pf-gold);
    margin-bottom: 6px;
}

/* ── Coin Shop sub-view ─────────────────────────────────────────────────── */
/* Shop sub-view title gold like the main Profile title — scoped by ID so
   the other sub-view headers keep the default text colour */
#pfViewShop .pf-subview-title { color: var(--pf-gold); }

.pf-shop-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    font-weight: normal;
    color: var(--pf-gold);
    margin-bottom: 14px;
}

.pf-shop-tier {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 64px;
    padding: 14px;
    margin-bottom: 12px;
    background: var(--pf-fill);
    color: var(--text-color);
    border: 1px solid var(--pf-shop-border);
    border-radius: 14px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.18s, transform 0.18s;
}

.pf-shop-tier:active {
    background: var(--pf-fill-strong);
    transform: scale(0.985);
}

.pf-shop-tier:disabled { opacity: 0.55; cursor: default; }

/* Best-value tier: all cards share the gold border now — the badge alone
   marks it out */

.pf-shop-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    padding: 4px 7px;
    background: var(--pf-gold);
    color: var(--bg-color);
    font-family: 'Press Start 2P', monospace;
    font-size: 0.45rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
}

.pf-shop-iconbox {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-shop-iconbox img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
    display: block;
    pointer-events: none;
}

.pf-shop-amount {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pf-shop-coins {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.85rem;
    line-height: 1;
    color: var(--pf-gold);
}

.pf-shop-unit {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    line-height: 1;
}

.pf-shop-price {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: var(--pf-parchment);
    flex-shrink: 0;
    padding-right: 2px;
}

.pf-shop-note {
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--pf-parchment-dim);
    text-align: center;
    margin-top: 14px;
}

/* Shop CTA reuses .stats-cta from game.css — only the modal-strip divider
   spacing needs neutralising at the top of a full view */
#pfShopCta {
    border-top: none;
    margin-top: 8px;
    padding-top: 0;
}

/* ── Modals (help + support) ────────────────────────────────────────────── */
.pf-modal {
    display: none;
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.pf-modal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    max-height: 85dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 20px;
    background: var(--modal-bg);
    border: 1px solid var(--pf-hairline);
    border-radius: 16px;
    box-shadow: var(--pf-modal-shadow);
}

.pf-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.6;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s;
}

.pf-modal-close:active { background: var(--pf-press); }

.pf-modal-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.85rem;
    color: var(--pf-gold);
    margin-bottom: 18px;
    padding-right: 32px;
}

.pf-modal-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* ── How to Play content ────────────────────────────────────────────────── */
.pf-help-list {
    margin: 4px 0 14px 20px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.pf-help-definition {
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 0.85;
    margin: 4px 0 10px;
}

.pf-help-blanks {
    letter-spacing: 0.3em;
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.6;
    margin: 4px 0 16px;
    text-align: center;
    font-weight: bold;
}

.pf-example-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.pf-tile {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    color: var(--tile-text-revealed);
}

.pf-tile-correct { background: var(--color-correct); }
.pf-tile-present { background: var(--color-present); }
.pf-tile-absent  { background: var(--color-absent); }

.pf-example-row span {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 6px;
}

/* ── Support / feedback form ────────────────────────────────────────────── */
.pf-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.pf-form-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    opacity: 0.5;
}

.pf-input,
.pf-textarea {
    width: 100%;
    padding: 13px 14px;
    background: var(--pf-fill);
    color: var(--text-color);
    border: 1px solid var(--pf-hairline);
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px; /* 16px+ prevents iOS Safari focus zoom */
    transition: border-color 0.15s, background-color 0.15s;
}

.pf-input:focus,
.pf-textarea:focus {
    outline: none;
    border-color: var(--pf-ring);
    background: var(--pf-fill-strong);
}

.pf-input::placeholder,
.pf-textarea::placeholder { opacity: 0.35; }

.pf-textarea {
    min-height: 110px;
    resize: vertical;
}

.pf-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--color-correct);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.10));
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.65rem;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s, transform 0.18s;
}

.pf-submit-btn:active { opacity: 0.88; transform: scale(0.985); }

.pf-submit-btn:disabled { opacity: 0.55; }

.pf-form-status {
    font-size: 0.8rem;
    margin-top: 10px;
    text-align: center;
    color: var(--pf-danger);
}

/* ── Toast ──────────────────────────────────────────────────────────────── */
.pf-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    padding: 12px 20px;
    background: var(--toast-bg);
    color: var(--toast-text);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
    max-width: calc(100vw - 32px);
    text-align: center;
}

.pf-toast.show { opacity: 1; }

/* ── Motion: cheap entrance transitions, CSS-only, reduced-motion safe ──── */
@media (prefers-reduced-motion: no-preference) {
    .pf-view.pf-view-active {
        -webkit-animation: pf-view-in 0.22s ease-out;
        animation: pf-view-in 0.22s ease-out;
    }

    .pf-modal-box {
        -webkit-animation: pf-modal-in 0.2s ease-out;
        animation: pf-modal-in 0.2s ease-out;
    }
}

@-webkit-keyframes pf-view-in {
    from { opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px); }
    to   { opacity: 1; -webkit-transform: none; transform: none; }
}

@keyframes pf-view-in {
    from { opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px); }
    to   { opacity: 1; -webkit-transform: none; transform: none; }
}

@-webkit-keyframes pf-modal-in {
    from { opacity: 0; -webkit-transform: scale(0.96); transform: scale(0.96); }
    to   { opacity: 1; -webkit-transform: none; transform: none; }
}

@keyframes pf-modal-in {
    from { opacity: 0; -webkit-transform: scale(0.96); transform: scale(0.96); }
    to   { opacity: 1; -webkit-transform: none; transform: none; }
}
