* {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family:
                Inter,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                sans-serif;

            background: #f5f6f8;
            color: #17181a;
        }

        button,
        a {
            font: inherit;
        }

        .page {
            width: min(1180px, calc(100% - 32px));
            margin: 0 auto;
            padding: 104px 0 30px;
        }

        .welcome {
            margin-bottom: 24px;
        }

        .welcome h1 {
            margin: 0 0 7px;

            font-size: 32px;
            line-height: 1.15;
            letter-spacing: -1px;
        }

        .welcome p {
            margin: 0;
            color: #70757d;
            font-size: 15px;
        }


        .user-number {
            display: inline-block;
            margin-left: 6px;

            color: #999fa7;
        }

        .profile-card {
            background: var(--ld-white, #ffffff);
            border: 1px solid #e7e8eb;
            border-radius: var(--ld-radius-lg, 10px);

            padding: 22px;

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

            margin-bottom: 28px;
        }

        .profile-avatar-link {
            flex: 0 0 auto;
            display: inline-flex;
            text-decoration: none;
            color: inherit;
            border-radius: 50%;
        }

        .profile-avatar-link:focus-visible {
            outline: 3px solid rgba(255, 90, 31, .14);
            outline-offset: 3px;
        }

        .profile-avatar-link:hover .avatar {
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(20, 28, 36, .12);
        }

        .avatar {
            width: 64px;
            height: 64px;
            min-width: 64px;

            border-radius: 50%;

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

            background: #111111;
            color: var(--ld-white, #ffffff);

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

            transition:
                transform 0.18s ease,
                box-shadow 0.18s ease;
        }

        .profile-info {
            min-width: 0;
        }

        .profile-username {
            margin: 0 0 5px;

            font-size: 19px;
            font-weight: 700;
        }

        .profile-email {
            margin: 0;

            color: #737981;
            font-size: 14px;

            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .profile-go-link {
            display: inline-flex;
            align-items: center;
            margin-top: 5px;

            color: #9a9fa6;
            text-decoration: none;

            font-size: 12px;
            font-weight: 600;

            transition:
                color 0.18s ease,
                opacity 0.18s ease;
        }

        .profile-go-link:hover {
            color: var(--ld-brand, #ff5a1f);
        }

        .profile-go-link:focus-visible {
            outline: 2px solid rgba(255, 90, 31, .16);
            outline-offset: 2px;
            border-radius: 4px;
        }

        .profile-link {
            margin-left: auto;

            text-decoration: none;

            color: #111111;
            font-size: 14px;
            font-weight: 600;

            padding: 10px 14px;

            border: 1px solid #dedfe2;
            border-radius: var(--ld-radius-md, 8px);

            transition: 0.2s ease;
        }

        .profile-link:hover {
            background: #f5f5f5;
        }

        .logout-button {
            margin-left: 8px;
            border: 1px solid #ffd2c2;
            background: #fff6f2;
            color: #d9480f;
            font-size: 14px;
            font-weight: 700;
            padding: 10px 14px;
            border-radius: var(--ld-radius-md, 8px);
            cursor: pointer;
            transition: 0.2s ease;
        }

        .logout-button:hover {
            background: #fff0e9;
            border-color: #ffb796;
            color: #c43d09;
        }

        .logout-button:disabled {
            opacity: 0.65;
            cursor: wait;
        }

        .tiles {
            display: grid;
            grid-template-columns:
                repeat(3, minmax(0, 1fr));

            gap: 16px;
        }

        .tile {
            position: relative;
            min-height: 168px;

            background: var(--ld-white, #ffffff);
            border: 1px solid #e7e8eb;
            border-radius: var(--ld-radius-lg, 10px);

            padding: 22px;

            text-decoration: none;
            color: #17181a;

            display: flex;
            flex-direction: column;
            justify-content: space-between;

            transition:
                transform 0.18s ease,
                border-color 0.18s ease,
                box-shadow 0.18s ease;
        }

        .tile:hover {
            transform: translateY(-2px);
            border-color: #d5d7db;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        }

        .tile-icon {
            width: 42px;
            height: 42px;

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

            border-radius: var(--ld-radius-md, 8px);

            background: #f3f4f6;

            font-size: 20px;
        }

        .tile-title {
            margin-top: 20px;

            font-size: 16px;
            font-weight: 700;
        }

        .tile-description {
            margin-top: 5px;

            color: #7a7f87;
            font-size: 13px;
            line-height: 1.4;
        }

        .tile-wallet {
            border-color: #ffd7c7;
            background: linear-gradient(145deg, #fffaf7 0%, #ffffff 72%);
        }

        .tile-wallet:hover {
            border-color: #ffb796;
            box-shadow: 0 10px 28px rgba(255, 90, 31, 0.10);
        }

        .tile-help {
            border-color: #ffd0bd;
            background: linear-gradient(145deg, #fff8f4 0%, #ffffff 72%);
        }

        .tile-help:hover {
            border-color: #ff9d78;
            box-shadow: 0 10px 28px rgba(255, 90, 31, 0.12);
        }

        .tile-help .tile-icon {
            background: #fff0e9;
            color: var(--ld-brand, #ff5a1f);
        }

        .tile-wallet .tile-icon {
            background: #fff0e9;
            color: var(--ld-brand, #ff5a1f);
        }

        .tile-wallet-top {
            position: absolute;
            top: 15px;
            right: 14px;
            display: flex;
            align-items: center;
            gap: 7px;
            z-index: 5;
        }

        .tile-wallet-balance {
            color: var(--ld-brand, #ff5a1f);
            font-size: 15px;
            line-height: 34px;
            height: 34px;
            font-weight: 500;
            letter-spacing: 0;
            white-space: nowrap;
        }

        .wallet-balance-blurred {
            display: inline-block;
            filter: blur(4px);
            opacity: .78;
            user-select: none;
            pointer-events: none;
        }

        .tile-wallet-visibility {
            width: 34px;
            height: 34px;
            border: 0;
            border-radius: var(--ld-radius-md, 8px);
            background: transparent;
            color: var(--ld-brand, #ff5a1f);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            padding: 0;
            z-index: 5;
            transition: background .18s ease, color .18s ease;
        }

        .tile-wallet-visibility:hover {
            background: #fff0e9;
            color: var(--ld-brand, #ff5a1f);
        }

        .tile-wallet-visibility:focus-visible {
            outline: 2px solid var(--ld-brand, #ff5a1f);
            outline-offset: 2px;
        }

        .tile-wallet-visibility svg {
            width: 19px;
            height: 19px;
            display: block;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }


        
        .panel-ad-slot{position:relative;isolation:isolate;min-height:78px;overflow:hidden;border:1px solid #e3e6e9;border-radius:var(--ld-radius-lg, 10px);background:#eef0f3;margin:0 0 18px;display:flex;align-items:stretch;justify-content:center;box-shadow:0 5px 18px rgba(25,30,40,.035)}
        .panel-ad-slot::before{content:"REKLAMA";position:absolute;z-index:5;top:7px;right:9px;padding:3px 6px;border:1px solid rgba(255,255,255,.55);border-radius:5px;background:rgba(255,255,255,.78);backdrop-filter:blur(8px);color:#737980;font-size:9px;font-weight:800;letter-spacing:.5px}
        .panel-ad-backdrop{position:absolute;inset:-3px;z-index:0;display:block;overflow:hidden;pointer-events:none;background:linear-gradient(135deg,#edf0f2,#e6e9ec)}
        .panel-ad-backdrop img{display:block;width:100%;height:100%;object-fit:cover;filter:blur(25px) saturate(.88) brightness(.78);transform:scale(1.12);opacity:.78}
        .panel-ad-veil{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.19),rgba(255,255,255,.04) 35%,rgba(255,255,255,.04) 65%,rgba(255,255,255,.19))}
        .panel-ad-loading{position:relative;z-index:2;width:100%;min-height:inherit;display:flex;align-items:center;justify-content:center;gap:9px;padding:18px;text-align:center;background:linear-gradient(110deg,#f1f3f5 8%,#fafafa 18%,#f1f3f5 33%);background-size:200% 100%;animation:panelAdShimmer 1.8s ease-in-out infinite;color:#858b92;font-size:12px;font-weight:650}
        .panel-ad-loading-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#ff7a45;box-shadow:0 0 0 4px rgba(255,122,69,.12);animation:panelAdPulse 1.6s ease-in-out infinite}
        @keyframes panelAdShimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
        @keyframes panelAdPulse{0%,100%{opacity:.65;transform:scale(.99)}50%{opacity:1;transform:scale(1)}}
        .panel-ad-link{position:relative;isolation:isolate;z-index:1;display:flex;width:100%;height:100%;min-height:inherit;align-items:center;justify-content:center;padding:14px 18px;color:inherit;text-decoration:none;overflow:hidden;background:#eef0f3}
        .panel-ad-picture{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:auto;height:100%;max-width:100%;max-height:150px;min-width:0;min-height:0;margin:0 auto;flex:0 1 auto}
        .panel-ad-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--ld-radius-md, 8px);box-shadow:0 4px 17px rgba(18,24,30,.16)}
        .panel-ad-caption{position:absolute;left:10px;bottom:8px;z-index:4;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border:1px solid rgba(255,255,255,.5);border-radius:var(--ld-radius-sm, 6px);background:rgba(255,255,255,.77);backdrop-filter:blur(8px);color:#505760;font-size:10px;font-weight:650}
        .panel-ad-copy{display:none;min-width:0;flex-direction:column;gap:5px}
        .panel-ad-title{font-size:15px;font-weight:800;line-height:1.25}
        .panel-ad-description{font-size:12px;color:#737981;line-height:1.4}
        .panel-ad-top{min-height:76px;margin-bottom:18px}
        .panel-ad-top .panel-ad-link{min-height:76px;padding:8px 18px}
        .panel-ad-top .panel-ad-picture{max-height:62px}
        
        .panel-ad-slot[data-sql-height="1"]{height:var(--panel-ad-height);min-height:var(--panel-ad-min-height);max-height:var(--panel-ad-max-height)}
        .panel-ad-slot[data-sql-height="1"] .panel-ad-link{height:100%;min-height:0;max-height:100%}
        .panel-ad-slot[data-sql-height="1"] .panel-ad-picture{max-height:100%}
        .panel-ad-slot[data-compact-banner="1"] .panel-ad-link,.panel-ad-slot[data-compact-banner="1"] .panel-ad-empty{padding:var(--panel-ad-pad-y) var(--panel-ad-pad-x)}
        .profile-tiles{margin-bottom:26px;align-items:stretch}
        .profile-card{min-width:0;min-height:168px;margin:0;padding:18px;background:var(--ld-white, #fff);border:1px solid #e7e8eb;border-radius:var(--ld-radius-lg, 10px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;box-shadow:0 1px 1px rgba(20,28,36,.015)}
        .profile-card[data-profile-card]{cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
        .profile-card[data-profile-card]:hover{border-color:#d5d7db;box-shadow:0 8px 24px rgba(0,0,0,.06);transform:translateY(-2px)}
        .profile-card[data-profile-card] #logoutButton{cursor:pointer}
        .profile-identity{display:flex;align-items:center;gap:12px;width:100%;min-width:0}
        .profile-card .avatar{width:52px;height:52px;min-width:52px;font-size:21px}
        .profile-card .profile-username{font-size:16px;overflow-wrap:anywhere}
        .profile-card .profile-email{max-width:100%;font-size:12px}
        .profile-card .profile-go-link{font-size:11px}
        .profile-card .logout-button{margin:0;width:100%;padding:9px 12px}
        
        .profile-tiles .panel-ad-slot[data-ad-placement="PANEL_FIRST_WINDOW_TWO_IN_TOP"]{grid-column:span 2;min-width:0;min-height:168px;height:100%;margin:0;border-radius:var(--ld-radius-lg, 10px)}
        .profile-tiles .panel-ad-slot[data-ad-placement="PANEL_FIRST_WINDOW_TWO_IN_TOP"] .panel-ad-link{min-height:168px}
        .panel-ad-bottom{margin-top:18px;min-height:100px}
        .panel-ad-bottom .panel-ad-link{min-height:100px}
        .panel-ad-empty{position:relative;z-index:2;width:100%;height:100%;min-height:inherit;display:flex;align-items:center;justify-content:center;padding:18px;text-align:center;color:#8a9098;font-size:12px;background:rgba(255,255,255,.82)}
        .tile-ad-management{border-color:#ffd7c7;background:linear-gradient(145deg,#fff8f4,#fff 75%)}
        .tile-ad-management .tile-icon{background:#fff0e9;color:var(--ld-brand, #ff5a1f)}
        @media(prefers-reduced-motion:reduce){.panel-ad-loading,.panel-ad-loading-dot{animation:none}}

        
        .ld-panel-skeleton{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:104px 0 30px}
        .ld-sk-ad{height:136px;margin-bottom:26px;border-radius:var(--ld-radius-lg, 10px)}
        .ld-sk-welcome{margin:0 0 24px;display:flex;flex-direction:column;gap:10px}
        .ld-sk-bar{display:block;height:13px;border-radius:var(--ld-radius-md, 8px);background:#edf0f3}
        .ld-sk-heading{height:29px;width:min(300px,62%)}
        .ld-sk-subheading{width:min(230px,55%)}
        .ld-sk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
        .ld-sk-card{min-height:168px;padding:19px;background:var(--ld-white, #fff);border:1px solid #e7e8eb;border-radius:var(--ld-radius-lg, 10px);display:flex;flex-direction:column;gap:12px}
        .ld-sk-circle{width:37px;height:37px;border-radius:var(--ld-radius-md, 8px);background:#edf0f3}
        .ld-sk-card .ld-sk-bar{max-width:85%}
        .ld-sk-card .ld-sk-bar:last-child{margin-top:auto;width:57%;height:10px}
        .ld-panel-skeleton .ld-sk-shine{position:relative;overflow:hidden;background:#edf0f3}
        .ld-panel-skeleton .ld-sk-shine::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.85),transparent);animation:ldPanelSkeletonSweep 1.75s ease-in-out infinite}
        @keyframes ldPanelSkeletonSweep{100%{transform:translateX(100%)}}
        .ld-sk-caption{margin:18px 0 0;color:#8b9199;font-size:12px;text-align:center}
        @media(max-width:900px){.ld-sk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
        @media(max-width:600px){.ld-panel-skeleton{width:min(100% - 24px,1180px);padding-top:96px}.ld-sk-ad{height:110px;margin-bottom:21px}.ld-sk-grid{grid-template-columns:1fr;gap:12px}.ld-sk-card{min-height:125px;padding:16px}.ld-sk-grid .ld-sk-card:nth-child(n+5){display:none}}
        @media(prefers-reduced-motion:reduce){.ld-panel-skeleton .ld-sk-shine::after{animation:none;display:none}}

        .loading {
            width: min(1180px, calc(100% - 32px));
            margin: 0 auto;
            padding: 80px 0;

            text-align: center;
            color: #737981;
        }

        .error {
            width: min(600px, calc(100% - 32px));
            margin: 80px auto;
            padding: 28px;

            background: var(--ld-white, #ffffff);
            border: 1px solid #e5e7eb;
            border-radius: var(--ld-radius-lg, 10px);

            text-align: center;
        }

        .error h2 {
            margin: 0 0 8px;
        }

        .error p {
            margin: 0;
            color: #737981;
        }

        @media (max-width: 900px) {
            .tiles {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }
            .profile-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }

        @media (max-width: 600px) {
            .page {
                width: min(100% - 24px, 1180px);
                padding-top: 96px;
            }

            .welcome h1 {
                font-size: 27px;
            }

            .profile-card { padding: 16px; }

            
            .panel-ad-slot {
                height: clamp(88px, 27vw, 112px);
                min-height: 88px !important;
                max-height: 112px;
                background: var(--ld-white, #fff);
                box-shadow: none;
            }
            .panel-ad-slot::before {
                top: 6px; right: 7px; z-index: 5;
                padding: 3px 5px;
                border: 1px solid rgba(255,255,255,.58);
                border-radius: 5px;
                background: rgba(255,255,255,.76);
                backdrop-filter: blur(8px);
                color: #737980; font-size: 8px; font-weight: 800; letter-spacing: .5px;
            }
            .panel-ad-backdrop, .panel-ad-veil { display: none !important; }
            .panel-ad-link:not(.panel-ad-link-mobile) {
                position: relative; display: block; width: 100%; min-width: 100%;
                height: 100%; min-height: 0 !important; max-height: 100%;
                padding: 0; background: var(--ld-white, #fff); flex: 1 1 100%;
            }
            .panel-ad-picture {
                position: absolute; inset: 0; display: flex;
                align-items: center; justify-content: center;
                width: 100% !important; height: 100%; max-width: 100%;
                max-height: 100% !important; min-height: 0; margin: 0; padding: 0;
                overflow: hidden;
            }
            .panel-ad-image {
                display: block; width: auto !important; min-width: 0;
                height: auto !important; max-width: 100%; max-height: 100% !important;
                object-fit: contain; object-position: center center;
                border-radius: 0; box-shadow: none;
            }
            
            .profile-tiles .panel-ad-slot[data-ad-placement="PANEL_FIRST_WINDOW_TWO_IN_TOP"] {
                grid-column: span 1;
                align-self: center;
                height: clamp(88px, 27vw, 112px);
                min-height: 88px !important;
                max-height: 112px;
            }
            .profile-tiles .panel-ad-slot[data-ad-placement="PANEL_FIRST_WINDOW_TWO_IN_TOP"] .panel-ad-link {
                height: 100%; min-height: 0 !important; max-height: 100%;
            }
            .panel-ad-top { height: clamp(82px, 24vw, 100px); min-height: 82px !important; max-height: 100px; }
            .panel-ad-bottom { height: clamp(88px, 27vw, 112px); min-height: 88px !important; max-height: 112px; }
            .panel-ad-copy { display: none !important; }
            .panel-ad-caption {
                left: 7px; bottom: 5px;
                max-width: calc(100% - 18px);
                padding: 3px 5px; font-size: 9px;
            }
            .panel-ad-empty { background: var(--ld-white, #fff); }

            .profile-go-link {
                display: inline-flex;
            }

            .tiles {
                grid-template-columns: 1fr;
            }

            .tile {
                min-height: 125px;
            }
        }
