:root{
    --brand-blue:#0A5BFF;
}
.live{ color:var(--brand-blue); }
.logo-bubble{ color:var(--brand-blue); }
.slogan{ color:var(--brand-blue); }

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;
}

html,
body{
    width:100%;
    height:100%;
    margin:0;
    overflow:hidden;
    overscroll-behavior:none;
}

body{
    margin:0;
    background:#d8ecf7;

    display:flex;
    justify-content:center;
    align-items:center;

    width:100vw;
    height:100dvh;

    overflow:hidden;
}

.phone{
    position:relative;

    width:min(430px, calc(100vw - 20px));
    height:min(820px, calc(100dvh - 20px));

    border-radius:34px;
    overflow:hidden;

    background:white;
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}

.background{
    position:absolute;
    inset:0;

    background:
      linear-gradient(
        rgba(255,255,255,.62),
        rgba(255,255,255,.42)
      ),
      url("assets/background.jpg");

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    transform:scale(1.03);
}

/* ========= FEJLÉC ========= */

.top{
    position:absolute;
    top:0;
    left:0;
    right:0;

    padding:18px 18px 0;

    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    z-index:30;
}

.brand{
    width:132px;
}

.live{
    font-family:"Brush Script MT","Segoe Script",cursive;
    font-size:52px;
    font-weight:700;
    color:#0A5BFF;
    line-height:.78;
    letter-spacing:-1px;
}

.logo-bubble{
    font-size:28px;
    font-weight:900;
    color:#0A5BFF;      /* ugyanaz a kék mint az Élő */
    letter-spacing:.5px;
    margin-top:2px;
}

.city{
    font-size:11px;
    color:#163A63;
    letter-spacing:3px;
    margin-top:3px;
}

.slogan{
    flex:1;

    display:flex;
    flex-direction:column;

    align-items:center;

    margin-top:6px;

    color:#0A5BFF;

    font-family:"Brush Script MT","Segoe Script",cursive;
    font-size:24px;
    font-weight:600;
    line-height:.88;
}

.weather{
    display:flex;
    align-items:flex-start;
    gap:8px;

    margin-top:2px;
}

.sun{
    font-size:34px;
    color:#F7B500;     /* sárga nap */
    line-height:1;
}

.weather-data{
    display:flex;
    flex-direction:column;
}

.temp{
    font-size:18px;
    font-weight:800;
    color:#111827;
}

.desc{
    font-size:13px;
    color:#64748B;
}






.search{
    position:absolute;

    top:126px;
    left:14px;
    right:14px;

    height:56px;

    display:flex;
    align-items:center;
    gap:10px;

    padding:0 18px;

    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px);

    border-radius:30px;

    box-shadow:0 8px 20px rgba(15,23,42,.08);

    z-index:25;
}

.search span{
    color:#94A3B8;
    font-size:20px;
}

.search input{
    border:none;
    outline:none;
    background:none;

    width:100%;

    font-size:15px;
    color:#334155;
}

#bubbleField{
    position:absolute;
    inset:0;
}

.city-info{
    position:absolute;
    right:14px;
    bottom:78px;
    padding:8px 12px;
    border:none;
    border-radius:20px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(10px);
    font-size:12px;
    font-weight:600;
    color:#155e9d;
    z-index:20;
}

.bottom{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:68px;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(12px);
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border-top:1px solid rgba(0,0,0,.06);
    z-index:20;
}

.bottom div{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    font-size:18px;
    color:#64748b;
}

.bottom small{
    font-size:10px;
    margin-top:2px;
}

.active{
    color:#2563eb !important;
}
/* ===== Buborékok ===== */

.bubble svg{
    width:20px;
    height:20px;
    margin-bottom:4px;

    stroke:white;
    stroke-width:2;
    fill:none;
}

/* ===== Buborék ===== */

.bubble{
    position:absolute;
    border-radius:50%;
    overflow:hidden;

    border:1px solid rgba(255,255,255,.30);
    backdrop-filter:blur(10px);

    box-shadow:
      0 12px 28px rgba(0,0,0,.18),
      inset 0 2px 8px rgba(255,255,255,.30);

    opacity:.82;
    user-select:none;
}

.icon{
    width:18px;
    height:18px;
    margin-bottom:5px;
}



.bubble-icon{
    position:absolute;
    top:16%;
    left:50%;
    width:30%;
    aspect-ratio:1;
    transform:translateX(-50%);
}

.bubble-icon svg{
    width:100%;
    height:100%;

    stroke:#fff;
    fill:none;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.label{
    position:absolute;
    top:52%;
    left:50%;
    transform:translateX(-50%);
    width:78%;

    color:white;
    font-size:var(--fontSize);
    font-weight:700;
    line-height:1.05;
    text-align:center;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}


.bubble-name{
    color:white;
    font-weight:700;
    font-size:var(--fontSize);
    text-align:center;
    line-height:1.05;

    width:78%;
    overflow:hidden;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

.fresh{

    position:absolute;
    top:-12px;

    background:white;
    color:#1D4ED8;

    padding:3px 8px;

    border-radius:20px;

    font-size:10px;
    font-weight:700;

    white-space:nowrap;
}
.bottom{
    grid-template-columns:repeat(3,1fr);
}

.bottom svg{
    width:22px;
    height:22px;
    stroke:currentColor;
    stroke-width:1.8;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
    margin-bottom:3px;
}

.detail{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;

    background:#fff;
    border-radius:28px 28px 0 0;

    overflow:hidden;  
    box-shadow:0 -8px 24px rgba(0,0,0,.12);
    transform:translateY(100%);
    visibility:hidden;
    pointer-events:none;

    transition:
        transform .35s ease,
        visibility 0s linear .35s;

    z-index:100;
}

.detail.open{
    transform:translateY(8%);
    visibility:visible;
    pointer-events:auto;

    transition:transform .35s ease;
}

.handle{
    width:54px;
    height:6px;
    background:#D1D5DB;
    border-radius:99px;
    margin:12px auto;
}

.detail-cover{
    height:180px;
    margin:0 12px;
    border-radius:18px;
    background:#D9E3EA;
}

.detail-body{
    padding:18px;
}

.detail-address{
    color:#64748B;
    margin-top:4px;
    font-size:14px;
}

.detail-actions{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin:22px 0;
}

.action-btn{
    background:none;
    border:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
}

.action-icon{
    width:52px;
    height:52px;
    border-radius:50%;
    border:1px solid #E5E7EB;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

#fbBtn .action-icon{
    color:#1877F2;
    font-weight:700;
}

.section{
    margin-top:18px;
}

.section h3{
    font-size:16px;
    margin-bottom:8px;
}

.section p{
    color:#475569;
    line-height:1.5;
}


.close-detail{
    position:absolute;
    top:18px;
    right:18px;

    width:36px;
    height:36px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.92);

    font-size:22px;
    font-weight:500;
    color:#475569;

    cursor:pointer;
    z-index:120;

    box-shadow:0 2px 8px rgba(0,0,0,.10);
}