.home-widgets{
    display: grid;
    gap: 14px;
    margin: auto;
}

.hw-row{ display: grid; gap: 14px; }

.hw-row--top{
    grid-template-columns: 360px 1fr;
    align-items: stretch;
    margin-bottom: 15px;
}

.hw-row--tops{
    grid-template-columns: repeat(3, 1fr);
}

.hw-row--catch{
    justify-items: center;
}

.hw-card{
    position: relative;
    border-radius: 26px;
    overflow: visible;
    background: rgba(239, 228, 209, .86);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 10px 22px rgba(0,0,0,.10);
    backdrop-filter: blur(6px);
}

.hw-card > *{
    position: relative;
    z-index: 1;
}

.hw-vlabel{
    position: absolute;
    top: 14px;
    bottom: 14px;
    width: 26px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fc7b60, #f46a4f);
    color: #fff;
    font-weight: 900;
    letter-spacing: .6px;
    font-size: 11px;

    display: grid;
    place-items: center;

    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    white-space: nowrap;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.18),
        0 10px 18px rgba(223,80,38,.18);
}

.hw-vlabel--left{ left: 10px; }
.hw-vlabel--right{ right: 10px; }

.hw-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 34px;
    padding: 0 14px;

    border-radius: 999px;
    text-decoration: none !important;

    font-weight: 950;
    font-size: 12px;
    letter-spacing: .3px;

    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}

.hw-btn:hover{
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 10px 18px rgba(0,0,0,.12);
}

.hw-btn--orange{
    background-image:url(../../images/content/bg-orange.png);
    background-position: center;
    background-size: cover;
    color: #fff;
}
.hw-btn--blue{
    background-image:url(../../images/content/bg-bleu.png);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.hw-pill{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 22px;
    min-width: 70px;
    padding: 0 10px;

    border-radius: 999px;
    text-decoration: none !important;

    font-weight: 950;
    font-size: 11px;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}

.hw-pill--orange{ background: linear-gradient(135deg, #f8805d, #df5026); }
.hw-pill--blue{ background: linear-gradient(135deg, #98bec3, #30445d); }

.hw-lastplayer{
    background: rgba(239, 228, 209, .92);
    background-image:url(../../images/header/bg_header.png);
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
}

.hw-lastplayer-inner{
    padding: 16px 16px 16px 46px;
    height: 100%;
    display: grid;
    gap: 10px;
}

.hw-lastplayer-head{
    height: 54px;
    display: flex;
    align-items: center;
}

.hw-lastplayer-name{
    background-image:url(../../images/content/bg-orange.png);
    background-position: center;
    background-size: cover;
    color: #fff;
    font-weight: 950;
    font-size: 18px;
    letter-spacing: .6px;
    text-transform: uppercase;

    padding: 10px 14px;
    border-radius: 18px;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.16),
        0 10px 18px rgba(223,80,38,.18);
}

.hw-lastplayer-body{
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: end;
    gap: 10px;
}

.hw-lastplayer-illu{
    width: 74px;
    height: 74px;
    border-radius: 18px;
    background: rgba(255,255,255,.55);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.hw-lastplayer-illu img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translateY(2px);
}

.hw-lastplayer-right{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hw-lastplayer-avatar{
    position: relative;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,.08);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.14),
        0 10px 20px rgba(0,0,0,.12);
}

.hw-lastplayer-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hw-lastplayer-avatar::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.60) 0%,
        rgba(0,0,0,.30) 45%,
        transparent 100%
    );
    pointer-events:none;
}

.hw-lastplayer-avatar-name{
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    z-index: 2;

    color: #fff;
    font-weight: 950;
    font-size: 11px;
    letter-spacing: .6px;
    text-transform: uppercase;

    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(4px);

    max-width: calc(100% - 14px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.hw-last3{ padding: 10px 12px 12px; }

.hw-last3-title{
    height: 28px;
    border-radius: 999px;
    background-image:url(../../images/content/bg-orange.png);
    background-position: center;
    background-size: cover;
    color: #fff;
    font-weight: 950;
    letter-spacing: 1px;
    font-size: 12px;
    text-transform: uppercase;

    display: grid;
    place-items: center;
    margin: 2px 2px 10px;
}

.hw-last3-list{ display: grid; gap: 8px; }

.hw-last3-row{
    border-radius: 18px;
    background: rgba(255,255,255,.50);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    padding: 8px 10px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

.hw-last3-actions{ display: inline-flex; gap: 8px; }

.hw-last3-meta{
    min-width: 0;
    font-weight: 950;
    font-size: 12px;
    color: rgba(48,68,93,.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hw-last3-name{ text-transform: uppercase; }
.hw-last3-date{ color: rgba(48,68,93,.62); margin-left: 6px; }

.hw-last3-pkm{
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(255,255,255,.55);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.hw-last3-pkm img{
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.hw-topcard{
    height: 140px;
    background: rgba(239, 228, 209, .92);
}

.hw-topcard-inner{
    height: 100%;
    padding: 16px 46px 16px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
}

.hw-topcard-ball{
    position: absolute;
    top: 0;
    left: 50%;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0 35%, #ddd 36% 100%);
    box-shadow: 0 6px 12px rgba(0,0,0,.12);
}

.hw-topcard-sprite{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 38px;
    height: 38px;
    border-radius: 14px;

    display: grid;
    place-items: center;

    background: rgba(255,255,255,.65);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 10px 18px rgba(0,0,0,.14);
}
.hw-topcard-sprite img{
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.hw-topcard-bar{
    position: relative;
    height: 84px;
    border-radius: 16px;
    overflow: hidden;

    background: rgba(0,0,0,.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.hw-topcard-avatar{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hw-topcard-bar::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.58) 0%,
        rgba(0,0,0,.28) 42%,
        rgba(0,0,0,.08) 75%,
        transparent 100%
    );
    pointer-events:none;
}

.hw-topcard-name{
    position: absolute;
    left: 50%;
    bottom: 7px;
    transform: translateX(-50%);
    z-index: 2;

    color: #fff;
    font-weight: 950;
    font-size: 12px;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);

    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.38);
    backdrop-filter: blur(4px);

    max-width: calc(100% - 16px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hw-topcard-badge{
    width: 58px;
    height: 84px;
    border-radius: 22px;
    background-image:url(../../images/content/bg-orange.png);
    background-position: center;
    background-size: cover;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.16),
        0 10px 18px rgba(223,80,38,.18);
}

.hw-topcard-badge-num{
    font-weight: 950;
    font-size: 18px;
    line-height: 1;
}

.hw-topcard-badge-lbl{
    font-weight: 950;
    font-size: 10px;
    line-height: 1.05;
    letter-spacing: .5px;
    margin-top: -2px;
}

.hw-catch{
    width: min(620px, 100%);
    background: rgba(239, 228, 209, .92);
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: stretch;
}

.hw-catch-left{
    position: relative;
    padding: 14px;
    display: grid;
    place-items: center;
}

.hw-catch-pokeball{
    width: 158px;
    height: 158px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(0,0,0,.06) 0 38%, transparent 39% 100%),
        radial-gradient(circle at 30% 30%, rgba(255,255,255,.75) 0 40%, rgba(255,255,255,.25) 41% 100%),
        rgba(255,255,255,.32);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.hw-catch-sprite{
    position: absolute;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
}
.hw-catch-sprite img{
    width: 46px;
    height: 46px;
    object-fit: contain;
    image-rendering: auto;
}

.hw-catch-right{
    padding: 14px 16px 12px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 8px;
}

.hw-catch-head{
    font-weight: 950;
    font-size: 12px;
    letter-spacing: .6px;
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.hw-catch-name{ color: #df5026; }
.hw-catch-sep{ color: rgba(48,68,93,.55); }
.hw-catch-lvl{ color: rgba(48,68,93,.85); }

.hw-catch-desc{
    font-size: 12px;
    font-weight: 800;
    color: rgba(48,68,93,.70);
    line-height: 1.25;
    max-width: 44ch;
}

.hw-catch-actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.hw-catch-foot{
    margin-top: 2px;
    font-weight: 950;
    font-size: 11px;
    letter-spacing: .6px;
    color: rgba(48,68,93,.65);
    text-transform: uppercase;
    justify-self: center;
}


@media (max-width: 980px){
    .hw-row--top{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
    .hw-row--tops{ grid-template-columns: 1fr; }
    .hw-topcard{ height: auto; min-height: 120px; }
}

@media (max-width: 680px){
    .hw-lastplayer-body{
        grid-template-columns: 62px 1fr;
        align-items: center;
    }
    .hw-lastplayer-illu{ width: 62px; height: 62px; }

    .hw-catch{ grid-template-columns: 1fr; }
    .hw-catch-left{ padding-bottom: 0; }
    .hw-catch-right{ padding-top: 8px; }
    .hw-catch-desc{ max-width: none; }
}

@media (max-width: 460px){
    .hw-last3-row{
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .hw-last3-actions{ justify-content: flex-start; }
    .hw-last3-pkm{ justify-self: end; }

    .hw-vlabel{ width: 22px; font-size: 10px; }
    .hw-lastplayer-inner{ padding-left: 42px; }
    .hw-topcard-inner{ padding-right: 42px; }
}
