
:root { --tube-red:#E32017; --tube-blue:#003688; --tube-yellow:#FFD300; --tube-green:#00782A;
  --paper:#FAFAF8; --ink:#0B0B0C; --grey:#6E6E6E; --card:#FFFFFF; --line:#E7E5E0; }
* { box-sizing: border-box; }
body { margin:0; font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; background:var(--paper); color:var(--ink); min-height:100vh; }
a { color: inherit; }
.site-header { background: linear-gradient(135deg, var(--tube-red) 0%, #C4131A 60%, var(--tube-blue) 130%); color:#fff; padding: 0.9rem 1rem; position: sticky; top:0; z-index: 50; box-shadow: 0 2px 10px rgba(0,15,88,0.18); }
.site-header-inner { max-width: 1120px; margin: 0 auto; display:flex; align-items:center; justify-content:space-between; gap: 0.8rem; }
.site-logo { font-family:"Arial Black",Impact,"Helvetica Neue",sans-serif; font-weight:900; font-size:1.35rem; text-decoration:none; color:#fff; letter-spacing:-0.01em; }
.hamburger-btn, .search-toggle-btn { background:rgba(255,255,255,0.14); border:none; color:#fff; width:2.4rem; height:2.4rem; border-radius:8px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.hamburger-btn:hover, .search-toggle-btn:hover { background:rgba(255,255,255,0.24); }
.search-bar-wrap { max-width:1120px; margin: 0.75rem auto 0; position:relative; }
#searchInput { width:100%; padding:0.7rem 1rem; border-radius:10px; border:none; font-size:1rem; }
.search-results { position:absolute; left:0; right:0; top:100%; background:#fff; border-radius:0 0 10px 10px; box-shadow:0 10px 26px rgba(0,15,88,0.25); z-index:60; overflow:hidden; display:none; max-height:60vh; overflow-y:auto; }
.search-results.open { display:block; }
.search-results a { display:flex; align-items:center; gap:0.6rem; padding:0.6rem 0.9rem; color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line); font-size:0.92rem; }
.search-results a:hover { background:#f2f2ef; }
.search-results .sr-type { margin-left:auto; font-size:0.7rem; color:var(--grey); text-transform:uppercase; letter-spacing:0.04em; }
.drawer-backdrop { position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:90; display:none; }
.drawer-backdrop.open { display:block; }
.drawer { position:fixed; top:0; left:0; bottom:0; width:280px; max-width:85vw; background:#fff; z-index:95; transform:translateX(-100%); transition:transform .22s ease; overflow-y:auto; }
.drawer.open { transform:translateX(0); }
.drawer-head { padding:1rem; font-weight:900; font-size:1.1rem; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
.drawer-close { background:none; border:none; font-size:1.4rem; cursor:pointer; color:var(--grey); }
.drawer-section { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.drawer-section-title { padding: 0.4rem 1rem; font-size:0.72rem; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; color:var(--grey); }
.drawer-row { display:flex; align-items:center; justify-content:space-between; padding:0.65rem 1rem; text-decoration:none; color:var(--ink); font-weight:700; cursor:pointer; border:none; background:none; width:100%; text-align:left; font-size:0.95rem; }
.drawer-row:hover { background:#f2f2ef; }
.drawer-sub { padding: 0.35rem 1rem 0.35rem 2rem; display:flex; align-items:center; gap:0.5rem; font-size:0.88rem; }
.drawer-sub input { width:1.05rem; height:1.05rem; }
.membership-modal { position:fixed; inset:0; z-index:120; display:none; background:rgba(0,0,0,0.5); }
.membership-modal.open { display:flex; align-items:center; justify-content:center; padding:1rem; }
.ms-panel { background:#fff; border-radius:14px; max-width:880px; width:100%; max-height:85vh; display:flex; flex-direction:column; overflow:hidden; }
.ms-head { padding:1rem 1.2rem; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
.ms-head h3 { margin:0; font-size:1.1rem; }
.ms-search { padding: 0.8rem 1.2rem 0; }
.ms-search input { width:100%; padding:0.55rem 0.8rem; border-radius:8px; border:1px solid var(--line); font-size:0.92rem; }
.ms-actions { padding: 0.5rem 1.2rem; display:flex; gap:1rem; font-size:0.82rem; }
.ms-actions button { background:none; border:none; color:var(--tube-blue); font-weight:700; cursor:pointer; padding:0; }
.ms-grid { padding: 0.8rem 1.2rem 1.2rem; display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:0.7rem; overflow-y:auto; }
.ms-card { border:2px solid var(--line); border-radius:10px; padding:0.6rem; display:flex; flex-direction:column; align-items:center; gap:0.4rem; cursor:pointer; text-align:center; font-size:0.8rem; font-weight:700; }
.ms-card.sel { border-color: var(--tube-green); background:#EAF6EC; }
.content { max-width: 1120px; margin: 0 auto; padding: 1.4rem 1rem 3rem; }
.hero-block { background: linear-gradient(135deg, var(--tube-red) 0%, #C4131A 60%, var(--tube-blue) 130%); color:#fff; border-radius:16px; padding:2rem 1.4rem; margin-bottom:1.6rem; }
.hero-block h1 { font-family:"Arial Black",Impact,sans-serif; font-weight:900; font-size:clamp(1.7rem,5vw,2.6rem); margin:0 0 0.5rem; text-transform:uppercase; letter-spacing:-0.01em; }
.hero-block p { margin:0; color:#FFE9E7; font-weight:500; max-width:60ch; }
.eyebrow { font-weight:800; font-size:0.74rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--tube-yellow); margin-bottom:0.5rem; }
.brand-carousel { display:flex; gap:0.8rem; overflow-x:auto; padding: 0.3rem 0.1rem 1rem; margin-bottom: 0.6rem; }
.brand-card { flex: 0 0 auto; border:2px solid var(--line); border-radius:12px; background:#fff; padding:0.7rem 1rem; display:flex; align-items:center; justify-content:center; min-width:110px; text-decoration:none; transition: transform .15s ease, box-shadow .15s ease; }
.brand-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,15,88,0.14); }
.cat-list { display:grid; grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width:860px) { .cat-list { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1320px) { .cat-list { grid-template-columns: repeat(3,1fr); } }
.cat-row { display:flex; align-items:center; gap:0.9rem; padding:0.9rem 1rem; background:#fff; border:1px solid var(--line); border-radius:12px; text-decoration:none; color:var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.cat-row:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,15,88,0.12); }
.cat-icon { width:44px; height:44px; min-width:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; }
.cat-icon svg { width:22px; height:22px; }
.cat-row-label { font-weight:800; flex-grow:1; }
.cat-row-count { font-weight:700; color:var(--grey); font-size:0.88rem; }
.cat-row-chevron { color:var(--grey); font-size:1.3rem; }
.section-title { font-weight:900; font-size:1.15rem; margin: 1.6rem 0 0.8rem; }
.merchant-grid { display:grid; grid-template-columns:1fr; gap:1rem; }
@media (min-width:860px) { .merchant-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1320px) { .merchant-grid { grid-template-columns:repeat(3,1fr); } }
.mini-card { display:flex; align-items:center; gap:0.8rem; padding:0.9rem 1rem; background:#fff; border:1px solid var(--line); border-radius:12px; text-decoration:none; color:var(--ink); }
.mini-card:hover { box-shadow:0 8px 20px rgba(0,15,88,0.1); transform:translateY(-2px); }
.mini-card-name { font-weight:800; }
.mini-card-sub { font-size:0.78rem; color:var(--grey); }
.net-logo, .net-logo-fallback { border-radius:10px; border:1px solid var(--line); box-shadow:0 2px 8px rgba(0,15,88,0.1); object-fit:contain; background:#fff; }
.net-logo-fallback { display:inline-flex; align-items:center; justify-content:center; color:#fff; font-weight:900; }
.merchant-head { display:flex; align-items:center; gap:1rem; margin-bottom:0.4rem; flex-wrap:wrap; }
.merchant-head .net-logo, .merchant-head .net-logo-fallback { }
.merchant-title { font-weight:900; font-size:1.6rem; }
.route-count { font-size:0.85rem; color:var(--grey); font-weight:700; }
.route { display:flex; flex-direction:column; align-items:flex-start; gap:0.5rem; padding:0.9rem 0; border-top:1px solid var(--line); }
.route:first-of-type { border-top:none; }
.route-net { font-weight:700; font-size:0.92rem; }
.route.owned .route-net::after { content:" \2713 Du har detta"; color:var(--tube-green); font-size:0.75rem; font-weight:700; }
.route-val { font-weight:700; font-size:0.85rem; color:var(--tube-green); background:#EAF6EC; border-radius:6px; padding:0.35rem 0.55rem; display:inline-block; width:fit-content; }
.route-note { font-size:0.78rem; color:var(--grey); }
.ticket-btn { font-size:0.85rem; font-weight:800; color:#fff; background:var(--tube-blue); text-decoration:none; padding:0.55rem 0.9rem; border-radius:8px; display:inline-block; }
.ticket-btn:hover { background:var(--tube-red); }
.persona-row-hint { font-size:0.85rem; color:var(--grey); margin: 0.2rem 0 1rem; }
.empty { text-align:center; padding:3rem 1rem; color:var(--grey); font-weight:600; }
.site-footer { max-width:1120px; margin:2rem auto 0; padding: 1.4rem 1rem 3rem; color:var(--grey); font-size:0.85rem; border-top:1px solid var(--line); }
.breadcrumb { font-size:0.82rem; color:var(--grey); margin-bottom:0.8rem; }
.breadcrumb a { text-decoration:none; color:var(--tube-blue); }
[data-personas].persona-hidden { display:none !important; }
