
        .sq-wrap {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            width: 100%;
            margin: 0 auto;
            overflow-x: hidden;
        }
 
        .sq-wrap * {
            box-sizing: border-box;
        }
 
        .sq-page {
            background: linear-gradient(135deg, #fff8f0 0%, #fdf3e7 50%, #fff4eb 100%);
            border-radius: 20px;
            padding: 16px 12px;
            border: 1px solid rgba(255, 255, 255, .8);
            overflow-x: hidden;
        }
 
        .sq-header {
            text-align: center;
            margin-bottom: 20px;
        }
 
        .sq-h1 {
            font-size: clamp(22px, 6vw, 39px);
            color: #1a1209;
            margin-bottom: 4px;
            font-family: 'Russo One', sans-serif;
        }
 
        .sq-h1 span {
            color: #e59544;
        }
 
        .sq-sub {
            font-size: 14px;
            color: #7c6a52;
            line-height: 1.3;
        }
 
        .sq-main {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            align-items: start;
        }
 
        .sq-card,
        .sq-stats {
            background: rgba(255, 255, 255, .86);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, .95);
            border-radius: 20px;
            padding: 14px;
            box-shadow: 0 2px 4px rgba(229, 149, 68, .06), 0 8px 20px rgba(229, 149, 68, .10);
            display: flex;
            flex-direction: column;
        }
 
        .sq-tabs {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            gap: 8px;
            flex-wrap: wrap;
        }
 
        .sq-tab-group {
            display: flex;
            gap: 4px;
            flex-wrap: wrap;
        }
 
        .sq-tab {
            padding: 6px 14px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            border: none;
            background: transparent;
            color: #a0856a;
            transition: all .18s;
        }
 
        .sq-tab.active {
            background: #e59544;
            color: #fff;
            box-shadow: 0 2px 6px rgba(229, 149, 68, .35);
        }
 
        .sq-tab:hover:not(.active) {
            background: #fff3e0;
            color: #c4732a;
        }
 
        .sq-puzzle-no {
            font-size: 9px;
            font-weight: 800;
            letter-spacing: .08em;
            color: #e59544;
            background: #fff3e0;
            border: 1.5px solid rgba(229, 149, 68, .3);
            border-radius: 999px;
            padding: 3px 8px;
            white-space: nowrap;
        }
 
        .sq-puzzle-title {
            font-size: 15px;
            font-weight: 800;
            color: #3b2416;
            margin-bottom: 12px;
        }
 
        .sq-puzzle-title span {
            font-size: 11px;
            font-weight: 500;
            color: #a08060;
            margin-left: 4px;
        }
 
        .sq-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 4px;
            width: 100%;
            padding: 6px;
            background: rgba(255, 255, 255, .5);
            border-radius: 16px;
            border: 1px solid rgba(229, 149, 68, .12);
            margin-bottom: auto;
        }
 
        .sq-box {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 4px;
            border: 2px solid rgba(100, 60, 20, .55);
            border-radius: 6px;
            padding: 3px;
            background: rgba(255, 255, 255, .5);
        }
 
        .sq-cell {
            width: 100%;
            min-width: 28px;
            max-width: 32px;
            aspect-ratio: 1/1;
            text-align: center;
            font-size: 14px;
            font-weight: 800;
            border-radius: 5px;
            border: 1px solid rgba(229, 149, 68, .2);
            outline: none;
            transition: all 0.15s ease;
            font-family: inherit;
            background: #fff;
            cursor: pointer;
            padding: 3px !important;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
        }
 
        .sq-cell.clue {
            background: #fef3e0;
            color: #c4732a;
            box-shadow: 0 1px 3px rgba(229, 149, 68, .30);
            cursor: default;
        }
 
        .sq-cell.empty {
            background: rgba(255, 255, 255, .95);
            color: #c4732a;
        }
 
        .sq-cell.empty:focus {
            border-color: #e59544;
            background: #fffaf2;
            box-shadow: 0 0 0 1.5px rgba(229, 149, 68, .2);
            outline: none;
        }
 
        .sq-cell.wrong {
            border: 1.5px solid #e53935 !important;
            background: #fff0f0 !important;
            color: #e53935 !important;
        }
 
        .sq-stats-title {
            font-size: 18px;
            font-weight: 800;
            color: #3b2416;
            margin-bottom: 2px;
        }
 
        .sq-stats-sub {
            font-size: 11px;
            color: #a08060;
            margin-bottom: 14px;
        }
 
        .sq-stat-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid rgba(229, 149, 68, .10);
            font-size: 12px;
        }
 
        .sq-stat-row:last-of-type {
            border-bottom: none;
        }
 
        .sq-stat-label {
            color: #7c6a52;
            font-weight: 500;
        }
 
        .sq-stat-val {
            font-weight: 800;
            color: #3b2416;
        }
 
        .sq-status {
            display: flex;
            align-items: center;
            gap: 5px;
        }
 
        .sq-status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #3db88a;
        }
 
        .sq-status-text {
            color: #1e9e6e;
            font-weight: 700;
            font-size: 12px;
        }
 
        .sq-restart {
            width: 100%;
            margin-top: 16px;
            padding: 10px;
            border-radius: 40px;
            background: linear-gradient(135deg, #e59544, #c4732a);
            color: #fff;
            font-size: 13px;
            font-weight: 800;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 3px 10px rgba(229, 149, 68, .35);
            transition: all .18s;
        }
 
        .sq-restart:hover {
            transform: translateY(-1px);
            box-shadow: 0 5px 15px rgba(229, 149, 68, .45);
        }
 
        .sq-restart svg {
            width: 14px;
            height: 14px;
            stroke: #fff;
            fill: none;
            stroke-width: 2.5;
        }
 
        .sq-tip {
            font-size: 12px;
            color: #a08060;
            margin-top: 16px;
            line-height: 1.4;
            padding: 10px;
            background: rgba(229, 149, 68, 0.06);
            border-radius: 12px;
        }
 
        .sq-celebrate-wrap {
            position: relative;
        }
 
        .sq-celebrate {
            display: none;
            position: absolute;
            inset: 0;
            z-index: 99;
            background: rgba(255, 248, 240, .92);
            border-radius: 20px;
            align-items: center;
            justify-content: center;
        }
 
        .sq-celebrate.show {
            display: flex;
        }
 
        .sq-celebrate-box {
            text-align: center;
            max-width: 300px;
            width: 88%;
            padding: 24px 20px;
        }
 
        .sq-celebrate-badge {
            display: inline-block;
            padding: 3px 14px;
            border-radius: 999px;
            margin-bottom: 10px;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: .08em;
            background: #fff3e0;
            color: #c4732a;
            border: 1.5px solid rgba(229, 149, 68, .3);
        }
 
        .sq-celebrate-title {
            font-size: 22px;
            font-weight: 800;
            color: #1a1209;
            margin-bottom: 6px;
        }
 
        .sq-celebrate-sub {
            font-size: 13px;
            color: #7c6a52;
            margin-bottom: 22px;
            line-height: 1.5;
        }
 
        .sq-celebrate-btn {
            width: 100%;
            padding: 13px;
            border-radius: 40px;
            background: linear-gradient(135deg, #e59544, #c4732a);
            color: #fff;
            font-size: 14px;
            font-weight: 800;
            border: none;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(229, 149, 68, .4);
            transition: all .18s;
            margin-bottom: 10px;
            display: block;
        }
 
        .sq-celebrate-btn:hover {
            transform: translateY(-1px);
        }
 
        .sq-celebrate-btn-outline {
            width: 100%;
            padding: 12px;
            border-radius: 40px;
            background: transparent;
            color: #c4732a;
            font-size: 13px;
            font-weight: 800;
            border: 2px solid rgba(229, 149, 68, .35);
            cursor: pointer;
            transition: all .18s;
            display: block;
        }
 
        .sq-celebrate-btn-outline:hover {
            background: #fff3e0;
        }
 
        .sq-confetti-wrap {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 98;
            overflow: hidden;
            border-radius: 20px;
        }
 
        .sq-confetti-wrap.hide {
            display: none;
        }
 
        .sq-conf {
            position: absolute;
            top: -20px;
            opacity: 0;
            animation: sq-fall linear forwards;
        }
 
        @keyframes sq-fall {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
            }
 
            80% {
                opacity: 1;
            }
 
            100% {
                transform: translateY(110%) rotate(720deg);
                opacity: 0;
            }
        }
 
        @media(max-width:480px) {
            .sq-grid {
                gap: 2px;
                padding: 4px;
            }
 
            .sq-box {
                gap: 1px;
                padding: 2px;
                border-width: 1.5px;
            }
 
            .sq-cell {
                min-width: 28px;
                max-width: 30px;
                font-size: 13px;
                border-radius: 4px;
            }
 
            .sq-page {
                padding: 12px 10px;
            }
 
            .sq-card,
            .sq-stats {
                padding: 12px;
            }
 
            .sq-tab {
                padding: 3px 8px;
                font-size: 10px;
            }
 
            .sq-h1 {
                font-size: 22px;
            }
 
            .sq-sub {
                font-size: 11px;
            }
 
            .sq-stat-row {
                padding: 6px 0;
                font-size: 11px;
            }
 
            .sq-restart {
                padding: 8px;
                font-size: 12px;
            }
 
            .sq-tip {
                font-size: 9px;
                padding: 8px;
                margin-top: 12px;
            }
 
            .sq-stats-title {
                font-size: 16px;
            }
 
            .sq-celebrate-box {
                padding: 16px 12px;
            }
 
            .sq-celebrate-title {
                font-size: 18px;
            }
        }
 
        @media(max-width:380px) {
            .sq-cell {
                min-width: 26px;
                max-width: 28px;
                font-size: 12px;
            }
 
            .sq-grid {
                gap: 1.5px;
                padding: 4px;
            }
 
            .sq-tab {
                padding: 2px 7px;
                font-size: 9px;
            }
 
/*             .sq-page {
                padding: 27px 8px;
            } */
 
            .sq-card,
            .sq-stats {
                padding: 10px;
            }
 
            .sq-h1 {
                font-size: 20px;
            }
        }
 
        @media(max-width:340px) {
            .sq-cell {
                min-width: 24px;
                max-width: 26px;
                font-size: 11px;
            }
 
            .sq-grid {
                gap: 1.5px;
                padding: 3px;
            }
 
            .sq-puzzle-title {
                font-size: 13px;
            }
 
            .sq-tab-group {
                gap: 3px;
            }
 
            .sq-stat-row {
                padding: 5px 0;
            }
        }
 
        @media(min-width:700px) {
            .sq-main {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
 
            .sq-cell {
                min-width: 38px;
                max-width: 50px;
                font-size: 16px;
            }
        }
 
        @media(min-width:1000px) {
            .sq-cell {
                min-width: 44px;
                max-width: 65px;
                font-size: 20px;
            }
 
            .sq-page {
                padding: 30px 24px;
            }
 
            .sq-card,
            .sq-stats {
                padding: 20px;
            }
        }
 
        body {
            overflow-x: hidden;
            max-width: 100%;
        }
 
        .sq-wrap {
            overflow-x: hidden;
            max-width: 100%;
        }
 
        .sq-grid {
            overflow-x: visible;
        }