/* app.css - sivuston yhteinen ulkoasu. Teemavärit (--theme-*) tulevat theme_loader.php:sta. */

:root {
    --app-radius: 18px;
    --app-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.07);
    --app-border: rgba(15,23,42,.06);
    --app-muted: #64748b;
    --app-ink: #0f172a;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.005em;
    padding-bottom: 104px;
    -webkit-tap-highlight-color: transparent;
}

/* ---- Hero / sivun otsikko: sama muoto kaikilla sivuilla ---- */
.hero-header {
    padding: 28px 18px 30px !important;
    margin-bottom: 18px !important;
    border-radius: 0 0 28px 28px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
    background-color: var(--theme-primary, #0d6efd);
    color: var(--theme-on-primary, #fff);
}
.hero-header h2 { font-family: 'Oswald', 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 1.9rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.hero-header h2 + .small { letter-spacing: .04em; }

/* ---- Kortit ja taulukot ---- */
.card { border: 1px solid var(--app-border); border-radius: var(--app-radius); box-shadow: var(--app-shadow); overflow: hidden; }
/* Avoin pudotusvalikko ei saa leikkautua kortin reunaan */
.card.dd-open, .card:has(.dropdown-menu.show) { overflow: visible; }
.card-header { border-bottom: 1px solid var(--app-border); }
.alert { border: 0; border-radius: 14px; }
.badge { font-weight: 600; letter-spacing: .2px; }
.table-hover > tbody > tr:hover > * { --bs-table-hover-bg: var(--theme-primary-soft, rgba(37,99,235,.08)); }
.card-header { font-weight: 700; }
.table { --bs-table-bg: transparent; }
.table > :not(caption) > * > * { padding: .6rem .5rem; }
.table thead th { font-size: .7rem; text-transform: uppercase; letter-spacing: .6px; color: var(--app-muted); white-space: nowrap; font-weight: 700; }
.table-light, .table-light > th, .table-light > td { --bs-table-bg: rgba(15,23,42,.03) !important; }
.table-responsive { -webkit-overflow-scrolling: touch; }

/* ---- Napit ---- */
.btn { border-radius: 12px; font-weight: 600; transition: transform .1s, box-shadow .15s, background-color .15s; }
.btn:active { transform: scale(.97); }
.btn-primary, .btn-success, .btn-danger, .btn-warning { box-shadow: 0 2px 8px rgba(15,23,42,.14); }
.btn-sm { border-radius: 10px; }
.form-control, .form-select { border-radius: 12px; border-color: rgba(15,23,42,.14); }
.form-control:focus, .form-select:focus { border-color: var(--theme-primary); box-shadow: 0 0 0 .22rem var(--theme-primary-soft); }

/* ---- Alavälilehdet: segmentoitu valitsin, sama ulkoasu kaikilla sivuilla ---- */
.subnav-wrap { max-width: 720px; margin: 0 auto 18px; padding: 0 16px; }
.container .subnav-wrap, .container-fluid .subnav-wrap { padding: 0; }
.subnav {
    display: flex; flex-wrap: nowrap; gap: 2px; padding: 4px; margin: 0; list-style: none;
    background: rgba(15,23,42,.07); border-radius: 18px;
}
.subnav .nav-item { flex: 1 1 0; min-width: 0; }
.subnav .nav-link {
    display: block; width: 100%; text-align: center; padding: 9px 4px; border-radius: 14px; border: 0;
    font-weight: 700; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: var(--theme-nav-text, var(--app-muted)); background: transparent;
}
.subnav .nav-link.active, .subnav .nav-link.active:hover {
    background: var(--theme-primary, #2563eb) !important; color: var(--theme-on-primary, #fff) !important;
    box-shadow: 0 4px 12px var(--theme-primary-soft, rgba(37,99,235,.3));
}
/* Adminin useat välilehdet: vieritettävä rivi */
.subnav.subnav-scroll { overflow-x: auto; scrollbar-width: none; }
.subnav.subnav-scroll::-webkit-scrollbar { display: none; }
.subnav.subnav-scroll .nav-item { flex: 1 0 auto; text-align: center; }
.subnav.subnav-scroll .nav-link { padding: 9px 14px; }
/* Sivun otsikkopalkki on kaikilla sivuilla yhtä korkea, jotta siirtyminen välilehtien välillä ei hypi */
.hero-header.page-hero { text-align: center; height: 128px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 44px !important; padding-bottom: 14px !important; overflow: hidden; }
.hero-header.page-hero h2 { white-space: nowrap; font-size: clamp(1.3rem, 6.2vw, 1.9rem); max-width: 100%; }
.hero-header.page-hero h2 + .small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 560px; line-height: 1.25; }
.page-extra { max-width: 720px; margin: 0 auto 6px; }

/* ---- Alapalkki: leijuva kapseli ---- */
.bottom-nav {
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1000;
    max-width: 520px; margin: 0 auto;
    display: flex; justify-content: space-around; align-items: stretch; gap: 2px;
    padding: 6px; border-radius: 24px;
    background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255,255,255,.6); box-shadow: 0 10px 34px rgba(15,23,42,.22);
}
.nav-item-link {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; padding: 7px 0; border-radius: 18px; border: 0; background: transparent;
    color: var(--theme-nav-text, var(--app-muted)); text-decoration: none; font-size: .66rem; font-weight: 600; cursor: pointer;
    transition: background .18s, color .18s, transform .1s;
}
.nav-item-link i { font-size: 1.3rem; line-height: 1; }
.nav-item-link.active { background: var(--theme-primary, #2563eb); color: var(--theme-on-primary, #fff); box-shadow: 0 4px 12px var(--theme-primary-soft, rgba(37,99,235,.3)); }
.nav-item-link:not(.active):active { background: rgba(15,23,42,.07); transform: scale(.95); }

/* ---- Lisää-valikko ---- */
.more-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1001; display: none; }
.more-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1002; display: none;
    background: #fff; border-radius: 22px 22px 0 0; padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 30px rgba(0,0,0,.25); max-width: 560px; margin: 0 auto;
}
.more-open .more-backdrop, .more-open .more-sheet { display: block; }
.more-sheet .grabber { width: 44px; height: 5px; border-radius: 3px; background: #d0d4d9; margin: 0 auto 12px; }
.more-sheet .more-user { font-size: .85rem; color: #6c757d; text-align: center; margin-bottom: 10px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.more-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px;
    border-radius: 14px; background: #f3f5f7; color: var(--theme-nav-text, #212529); text-decoration: none; font-size: .78rem; font-weight: 600;
}
.more-item i { font-size: 1.5rem; color: inherit; }
.more-item.active { background: var(--theme-primary, #0d6efd); color: var(--theme-on-primary, #fff); }
.more-item.active i { color: inherit; }
.more-item.danger i { color: #dc3545; }

/* Pitkät turnauksen nimet eivät katkea kesken sanan etusivun otsikossa */
.hero-header h1 { font-family: 'Oswald', 'Inter', system-ui, sans-serif; font-weight: 700; letter-spacing: .04em; font-size: clamp(1.7rem, 8vw, 2.7rem); overflow-wrap: anywhere; line-height: 1.1; }

/* ================= Etusivu: paneelit, joukkuekortit ================= */
.index-sections { max-width: 720px; margin: 0 auto; }
.panel {
    background: rgba(255,255,255,.96); border: 1px solid var(--app-border); border-radius: 24px; padding: 22px;
    box-shadow: var(--app-shadow); color: var(--app-ink);
}
.panel-kicker { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--theme-nav-text, var(--theme-primary)); }
.panel-title { font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.panel-big { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--theme-nav-text, var(--theme-primary)); }
.panel-big span { font-size: 1rem; color: var(--app-muted); font-weight: 600; margin-left: 4px; }
.meter { height: 12px; border-radius: 99px; background: rgba(15,23,42,.08); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 99px; background: var(--theme-meter, linear-gradient(90deg, var(--theme-primary-light), var(--theme-primary))); transition: width .6s; }
.joined-pill { padding: 12px 14px; border-radius: 16px; background: var(--theme-primary-soft); color: var(--theme-nav-text, var(--theme-primary-dark)); }

.live-kicker { color: #dc2626; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 0 rgba(220,38,38,.6); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px rgba(220,38,38,0); } 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); } }

.wish-dots { display: flex; align-items: center; gap: 8px; }
.wish-dots span:not(small) {
    width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; background: rgba(15,23,42,.07); color: var(--app-muted);
}
.wish-dots span.on { background: var(--theme-primary); color: var(--theme-on-primary); box-shadow: 0 4px 10px var(--theme-primary-soft); }

.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quick-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px 8px;
    border-radius: 20px; background: rgba(15,23,42,.045); color: var(--app-ink); text-decoration: none; font-weight: 700; font-size: .9rem;
    transition: transform .12s, background .15s;
}
.quick-tile i { font-size: 1.8rem; color: var(--theme-nav-text, var(--theme-primary)); }
.quick-tile:active { transform: scale(.96); }
.quick-tile:hover { background: var(--theme-primary-soft); color: var(--app-ink); }
.quick-main { background: var(--theme-primary); color: var(--theme-on-primary); box-shadow: 0 8px 20px var(--theme-primary-soft); }
.quick-main i { color: inherit; }
.quick-main:hover { background: var(--theme-primary-dark); color: var(--theme-on-primary); }

.section-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--theme-page-text); opacity: .75; padding-left: 4px; }
.count-chip { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 99px; background: var(--theme-primary); color: var(--theme-on-primary); font-size: .72rem; letter-spacing: 0; }

.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
    --chip-color: var(--theme-nav-text, var(--theme-primary));
    flex: 0 0 auto; border: 1.5px solid var(--chip-color); background: rgba(255,255,255,.85); color: var(--chip-color);
    padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: .82rem; cursor: pointer;
}
.chip.active { background: var(--chip-color); color: #fff; }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 520px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-card {
    position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px;
    background: rgba(255,255,255,.96); border-radius: 20px; border: 1px solid var(--app-border); box-shadow: var(--app-shadow);
    color: var(--app-ink); overflow: hidden; transition: transform .15s;
}
.team-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--team-color); }
.team-card:active { transform: scale(.985); }
.team-card.mine { box-shadow: 0 0 0 2px var(--theme-primary), 0 10px 26px var(--theme-primary-soft); }
.team-logo {
    flex: 0 0 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 30% 20%, #fff, rgba(15,23,42,.05));
}
.team-logo img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
.team-logo-empty { font-weight: 800; color: var(--app-muted); font-size: 1.1rem; }
.team-info { min-width: 0; flex: 1; }
.team-nhl { font-weight: 800; font-size: 1rem; line-height: 1.15; margin-bottom: 6px; }
.team-players { display: flex; flex-wrap: wrap; gap: 5px; }
.player-chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 2px; border-radius: 99px;
    background: rgba(15,23,42,.06); font-size: .76rem; font-weight: 600; max-width: 100%;
}
.player-chip b, .player-chip img {
    width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: 0 0 20px;
    display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; background: var(--team-color, var(--theme-nav-text, #64748b)); color: #fff;
}
.mine-badge { position: absolute; top: 10px; right: 12px; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; padding: 2px 8px; border-radius: 99px; background: var(--theme-primary); color: var(--theme-on-primary); }

/* Etusivun otsikko-kortti: ei oman kortin kehyksiä */
.hero-card { background: transparent !important; border: 0 !important; box-shadow: none !important; margin-bottom: 20px; }
.hero-card .hero-header { margin-bottom: 0 !important; }
.sponsor-item { background: rgba(255,255,255,.9) !important; border-radius: 18px; box-shadow: var(--app-shadow) !important; }

/* ================= Pudotuspelit ================= */
.po-page { max-width: 760px; margin: 0 auto; }
.po-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .po-grid { grid-template-columns: 1fr 1fr; } }
.po-match { background: rgba(255,255,255,.96); border: 1px solid var(--app-border); border-radius: 18px; box-shadow: var(--app-shadow); padding: 12px 14px 10px; color: var(--app-ink); }
.po-match.mine { box-shadow: 0 0 0 2px var(--theme-primary), 0 10px 24px var(--theme-primary-soft); }
.po-match.wait { opacity: .7; }
.po-match-head { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--app-muted); margin-bottom: 8px; }
.po-status { padding: 2px 9px; border-radius: 99px; background: rgba(15,23,42,.07); letter-spacing: .3px; }
.po-match.ready .po-status { background: var(--theme-primary-soft); color: var(--theme-nav-text, var(--theme-primary-dark)); }
.po-match.done .po-status { background: #dcfce7; color: #166534; }
.po-team { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; }
.po-team img, .po-noimg { width: 30px; height: 30px; object-fit: contain; flex: 0 0 30px; }
.po-noimg { border-radius: 50%; background: rgba(15,23,42,.08); }
.po-name { flex: 1; min-width: 0; font-weight: 600; font-size: .92rem; line-height: 1.2; overflow-wrap: anywhere; }
.po-score { font-weight: 800; font-size: 1.1rem; min-width: 26px; text-align: center; color: var(--app-muted); }
.po-team.winner { background: #ecfdf3; }
.po-team.winner .po-name { font-weight: 800; }
.po-team.winner .po-score { color: #fff; background: #16a34a; border-radius: 8px; padding: 1px 8px; }
.po-team.mine .po-name::after { content: ' · oma'; font-weight: 700; font-size: .72rem; color: var(--theme-nav-text, var(--theme-primary)); }
.po-ot { text-align: right; font-size: .68rem; font-weight: 700; color: var(--app-muted); padding-right: 8px; }

.podium { text-align: center; padding: 24px 16px; border-radius: 24px; color: #422006; background: linear-gradient(135deg, #fde68a, #fbbf24 60%, #f59e0b); box-shadow: 0 14px 30px rgba(245,158,11,.35); }
.podium-title { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.podium-logo { height: 84px; margin: 10px 0; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
.podium-name { font-size: 1.5rem; font-weight: 800; }
.podium-sub { font-weight: 600; opacity: .85; margin-top: 4px; }
.bracket-scroll { overflow-x: auto; margin: 0 -12px; padding: 0 12px; }

/* Pelaajakortit (etusivun joukkue-pop-up) */
.pc-modal { border-radius: 20px; border: 0; }
.pc-grid { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pc-card { flex: 1 1 140px; max-width: 260px; border-radius: 16px; overflow: hidden; background: #1c1f26; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.pc-foot { height: 5px; background: var(--tp, var(--pc1)); }
.pc-name img { height: 22px; width: auto; max-width: 40px; object-fit: contain; flex-shrink: 0; }
.pc-name span { overflow: hidden; text-overflow: ellipsis; }
.pc-name { display: flex; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 8px 12px; font-weight: 700; color: #fff; background: #2a2d35; border-left: 5px solid var(--pc1); font-size: .95rem; white-space: nowrap; }
.pc-photo { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.pc-default { display: flex; align-items: center; justify-content: center; }
.pc-jersey { width: 78%; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); }
.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; margin-top: 16px; }
.pc-stat { background: var(--bs-tertiary-bg, #f1f5f9); border-radius: 12px; text-align: center; padding: 8px 4px; }
.pc-stat b { display: block; font-size: 1.25rem; }
.pc-stat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; opacity: .65; }

.pc-h2h { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--theme-primary-soft, rgba(37,99,235,.1)); font-size: .9rem; text-align: center; }

/* Pudotuspelikaavion animaatiot */
@keyframes poIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes poPop { 0% { transform: scale(1); } 35% { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(34,197,94,.45); } 100% { transform: scale(1); } }
@keyframes poGlow { 0%, 100% { box-shadow: 0 0 0 0 var(--theme-primary-soft); } 50% { box-shadow: 0 0 0 8px var(--theme-primary-soft); } }
@keyframes poSlide { from { opacity: 0; transform: translateX(-26px); background: var(--theme-primary-soft); } to { opacity: 1; transform: none; } }
.po-match { position: relative; animation: poIn .5s both; animation-delay: calc(var(--i, 0) * 45ms); }
.po-match.po-fresh-result { animation: poIn .5s both, poGlow 1.6s .5s 3; }
.po-match.po-fresh-adv { animation: poIn .5s both, poGlow 1.6s .5s 3; }
.po-winner-pop { animation: poPop 1s .6s 2; border-radius: 12px; }
.po-advance-in { animation: poSlide 1.1s .5s both; }
.po-new-tag { position: absolute; top: -9px; right: 12px; background: var(--theme-primary); color: var(--theme-on-primary); font-size: .6rem; font-weight: 800; letter-spacing: .08em; padding: 3px 9px; border-radius: 99px; box-shadow: 0 3px 8px rgba(0,0,0,.2); }
@media (prefers-reduced-motion: reduce) { .po-match, .po-winner-pop, .po-advance-in { animation: none !important; } }

/* Otsikkopalkin pikapainikkeet (Admin, uloskirjautuminen): lasimainen pillimalli */
.hero-actions { position: absolute; top: 10px; right: 12px; display: flex; gap: 8px; z-index: 5; }
.hero-actions.inline { position: static; }
.hero-act {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-width: 34px; padding: 0 14px; border-radius: 99px;
    background: rgba(255,255,255,.2); color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35); transition: background .15s, transform .15s;
}
.hero-act i { font-size: 1rem; line-height: 1; }
.hero-act.icon { padding: 0; width: 34px; }
.hero-act:hover, .hero-act:focus-visible { background: rgba(255,255,255,.34); transform: translateY(-1px); }
.hero-act:active { transform: scale(.95); }

/* NHL-luokitukset (OFF/DEF/GOA) */
.pc-rt { margin-top: 16px; }
.pc-rt-h { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #64748b; text-align: center; margin-bottom: 8px; }
.pc-rt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pc-rt-box { background: var(--bs-tertiary-bg, #f1f5f9); border-radius: 12px; text-align: center; padding: 8px 4px; }
.pc-rt-box b { display: block; font-family: 'Oswald', sans-serif; font-size: 1.7rem; line-height: 1; }
.pc-rt-box span { display: block; font-weight: 800; font-size: .72rem; letter-spacing: .1em; }
.pc-rt-box small { display: block; font-size: .66rem; color: #64748b; }

/* Teemanvaihto: kiekko otsikkopalkin pikapainikkeissa (ui_toggle.php) */
.puck-ico { display: inline-block; width: 18px; height: 12px; margin-top: -3px; border-radius: 50%; background: radial-gradient(ellipse at 40% 30%, #6b7280 0, #111 60%); box-shadow: 0 3px 0 #000; }
.hero-puck:hover .puck-ico { transform: rotate(-12deg); }

/* Tulostus: kiinteät käyttöliittymäelementit (tiedotepalkki, alapalkki, valikot) eivät saa toistua jokaiselle sivulle */
@media print {
    #annBar, .bottom-nav, .more-sheet, .more-backdrop, #lbx, .hero-actions { display: none !important; }
}

/* Oma nimi otsikkopalkissa: linkki profiilin muokkaukseen */
.hero-act.hero-me { text-transform: none; letter-spacing: .01em; font-size: .78rem; max-width: 150px; }
.hero-act.hero-me span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 110px; }
@media (max-width: 460px) { .hero-act.hero-me { max-width: 118px; padding: 0 10px; } .hero-act.hero-me span { max-width: 78px; } .hero-act { padding: 0 10px; } .hero-actions { gap: 6px; right: 8px; } }

.hero-act.hero-me i { font-size: 1.2rem; }
