main.container {display: flex;flex-direction: column;}
.hp-b-intro {order: 99;}
.hp-section { margin-bottom: 2.75rem; }
.hp-section-head { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; width: 100%; }
.hp-section-title { font-size: 1.4rem; font-weight: 600; color: var(--text-light); display: flex; align-items: center; gap: .5rem; margin: 0; padding-left: 0; }
.hp-section-title i { color: var(--primary); }
.hp-section-title:not(.hp-section-title--divider)::before { display: none; }
.hp-section-foot { display: flex; justify-content: center; margin-top: 2rem; }
.hp-view-all-btn {display: flex; align-items: center; gap: 1.25rem; width: 100%;padding: 1.1rem 2rem;background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);color: white; text-decoration: none; border-radius: 1rem;font-weight: 600; font-size: 1.05rem; transition: all .35s;box-shadow: 0 6px 24px rgba(50,124,235,.32);position: relative; overflow: hidden;}
.hp-view-all-btn::after {content: ''; position: absolute; inset: 0;background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);opacity: 0; transition: opacity .3s;}
.hp-view-all-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(50,124,235,.42); }
.hp-view-all-btn:hover::after { opacity: 1; }
.hp-view-all-btn:active { transform: translateY(0); }
.hp-vab-text { flex: 1; }
.hp-vab-count { font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.18); padding: .25rem .75rem; border-radius: 2rem; white-space: nowrap; flex-shrink: 0; }
.hp-vab-arrow { font-size: 1rem; transition: transform .3s; flex-shrink: 0; }
.hp-view-all-btn:hover .hp-vab-arrow { transform: translateX(5px); }
.hp-view-all-btn--sudoku { background: linear-gradient(135deg, #059669 0%, #10b981 100%); box-shadow: 0 6px 24px rgba(16,185,129,.32); }
.hp-view-all-btn--sudoku:hover { box-shadow: 0 14px 36px rgba(16,185,129,.42); }
.hp-b-intro-body a {color: var(--primary);font-weight: 600;text-decoration: none;}
.hp-b-intro-body a:hover {text-decoration: none;}
.hp-puzzle-day-content .hp-puzzle-day-title a:hover {color: #059669;}
@media (max-width: 600px) {.hp-view-all-btn { padding: .9rem 1.25rem; font-size: .9rem; gap: .85rem; }.hp-vab-count { display: none; }}
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { color: var(--primary); }
.hp-sudoku-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.75rem; }
.hp-sudoku-nav-btn {display: flex; flex-direction: column; align-items: center; justify-content: center;gap: .35rem; padding: 1.1rem .75rem; border-radius: 1.25rem;border: 2px solid var(--border-light); background: var(--card-light);text-decoration: none; transition: all .3s; text-align: center;}
.hp-sudoku-nav-btn i { font-size: 1.6rem; }
.hp-snb-label { font-size: .9rem; font-weight: 600; color: var(--text-light); }
.hp-snb-stars { font-size: .75rem; opacity: .6; color: var(--text-light); }
.hp-snb-easy i { color: #10b981; }
.hp-snb-easy:hover { border-color: #10b981; background: rgba(16,185,129,.06); }
.hp-snb-med i { color: #f59e0b; }
.hp-snb-med:hover { border-color: #f59e0b; background: rgba(245,158,11,.06); }
.hp-snb-hard i { color: #f97316; }
.hp-snb-hard:hover { border-color: #f97316; background: rgba(249,115,22,.06); }
.hp-snb-expert i { color: #dc2626; }
.hp-snb-expert:hover { border-color: #dc2626; background: rgba(220,38,38,.06); }
@media (max-width: 600px) { .hp-sudoku-nav { grid-template-columns: repeat(2,1fr); } }
.hp-h1 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--text-light); margin: 0 0 .5rem 0; }
.hp-b-intro { margin-bottom: 2rem; }
.hp-b-intro-inner {display: flex; flex-direction: column; gap: 1rem;padding: 1.25rem 1.5rem;background: linear-gradient(135deg, rgba(50,124,235,.06) 0%, rgba(5,178,253,.04) 60%, rgba(50,235,150,.03) 100%);border: 1px solid rgba(50,124,235,.16); border-radius: 1.25rem;position: relative; overflow: hidden;}
.hp-b-intro-inner::before { display: none; }
.hp-b-intro-body { font-size: .85rem; line-height: 1.65; color: var(--text-light); opacity: .72; margin: 0; }
.hp-intro-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.hp-intro-link:hover { text-decoration: underline; }
.hp-section-title--divider {display: flex; align-items: center; gap: .85rem;font-size: 1rem; font-weight: 600; color: #0052C2;width: 100%; white-space: nowrap;}
.hp-section-title--divider::before,
.hp-section-title--divider::after { content: ''; display: block; flex: 1; height: 1px; }
.hp-section-title--divider::before { background: linear-gradient(90deg, transparent, rgba(50,124,235,.35)); }
.hp-section-title--divider::after { background: linear-gradient(90deg, rgba(50,124,235,.3), transparent); }
@media (max-width: 680px) {.hp-b-intro-inner { padding: 1rem; }.hp-h1 { font-size: 1.05rem; }.hp-b-intro-stats { flex-direction: row; }}
.hp-b-intro-content { flex: 1; min-width: 0; }
.hp-b-intro-langs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; padding-top: .85rem; border-top: 1px solid rgba(50,124,235,.12); }
.hp-sil {display: flex; align-items: center; gap: .6rem;padding: .6rem .75rem; background: var(--card-light);border: 1px solid var(--border-light); border-radius: .75rem;text-decoration: none; transition: all .22s;position: relative; overflow: hidden;}
.hp-sil::before {content: ''; position: absolute; top: 0; left: 0;width: 3px; height: 100%; background: var(--primary);transform: scaleY(0); transition: transform .22s;}
.hp-sil:hover { border-color: rgba(50,124,235,.3); box-shadow: 0 4px 12px rgba(50,124,235,.12); transform: translateY(-2px); }
.hp-sil:hover::before { transform: scaleY(1); }
.hp-sil-flag { width: 28px; height: 20px; border-radius: 3px; overflow: hidden; flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,.15); display: block; }
.hp-sil-flag svg { width: 100%; height: 100%; display: block; }
.hp-sil-info { display: flex; flex-direction: column; gap: .05rem; min-width: 0; }
.hp-sil-name { font-size: .78rem; font-weight: 600; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-sil-sub { font-size: .65rem; color: var(--text-light); opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .hp-b-intro-langs { grid-template-columns: repeat(3, 1fr); } .hp-sil-sub { display: none; } }
@media (max-width: 500px) { .hp-b-intro-langs { grid-template-columns: repeat(2, 1fr); } }
.hp-puzzle-day { margin-bottom: 2.5rem; }
.hp-puzzle-day-inner {border-radius: 1.5rem; overflow: hidden; position: relative;box-shadow: 0 12px 40px rgba(0,0,0,.12);background: var(--card-light); border: 1px solid var(--border-light);}
.hp-puzzle-day-inner::before {content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%); z-index: 2;}
.hp-puzzle-day-inner--sudoku::before { background: linear-gradient(90deg, #059669 0%, #10b981 100%); }
.hp-puzzle-day-badge {position: absolute; top: 1rem; left: 1.25rem; z-index: 10;display: inline-flex; align-items: center; gap: .4rem;font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;color: white; background: var(--primary); padding: .3rem .85rem; border-radius: 2rem;box-shadow: 0 2px 10px rgba(50,124,235,.45);}
.hp-puzzle-day-badge--sudoku { background: #059669; box-shadow: 0 2px 10px rgba(5,150,105,.45); }
.hp-puzzle-day-content { display: grid; grid-template-columns: 380px 1fr; }
@media (max-width: 860px) { .hp-puzzle-day-content { grid-template-columns: 1fr; } }
.hp-puzzle-day-img-wrap { display: block; position: relative; overflow: hidden; min-height: 280px; background: #0f1727; }
@media (max-width: 860px) { .hp-puzzle-day-img-wrap { min-height: 220px; } }
.hp-puzzle-day-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; opacity: .92; }
.hp-puzzle-day-inner:hover .hp-puzzle-day-img { transform: scale(1.06); opacity: 1; }
.hp-puzzle-day-img-wrap::after {content: ''; position: absolute; inset: 0;background: linear-gradient(to right, transparent 50%, var(--card-light) 100%);pointer-events: none;}
@media (max-width: 860px) {.hp-puzzle-day-img-wrap::after {background: none;} [data-theme="dark"] .hp-puzzle-day-img-wrap::after {background: none;}}
.hp-puzzle-day-overlay {position: absolute; bottom: 1rem; left: 1rem; z-index: 5;display: flex; align-items: center; pointer-events: none;opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s;}
.hp-puzzle-day-inner:hover .hp-puzzle-day-overlay { opacity: 1; transform: translateY(0); }
.hp-puzzle-day-play {display: inline-flex; align-items: center; gap: .5rem;font-size: .8rem; font-weight: 600; color: white; background: var(--primary);padding: .45rem 1.1rem; border-radius: 2rem;box-shadow: 0 3px 12px rgba(50,124,235,.5); letter-spacing: .02em;}
.hp-puzzle-day-play--sudoku { background: #059669; box-shadow: 0 3px 12px rgba(5,150,105,.5); }
.hp-puzzle-day-info { padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; justify-content: center; gap: .85rem; }
@media (max-width: 860px) { .hp-puzzle-day-info { padding: 1.25rem 1.25rem 1.5rem; } }
.hp-puzzle-day-date { font-size: .75rem; font-weight: 600; color: var(--primary); opacity: .8; text-transform: uppercase; letter-spacing: .05em; }
.hp-puzzle-day-title { font-size: 1.45rem; font-weight: 600; color: var(--text-light); line-height: 1.2; margin: 0; }
.hp-puzzle-day-title,.hp-puzzle-day-title h2 {display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;overflow: hidden;white-space: normal;}
.hp-puzzle-day-title a { color: inherit; text-decoration: none; }
.hp-puzzle-day-title a:hover { color: var(--primary); }
.hp-puzzle-day-desc { font-size: .88rem; color: var(--text-light); opacity: .65; line-height: 1.6; margin: 0; }
.hp-puzzle-day-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.hp-pdc {display: inline-flex; align-items: center; gap: .3rem;font-size: .75rem; font-weight: 600; padding: .25rem .7rem;border-radius: 2rem; border: 1px solid var(--border-light);background: var(--bg-light); color: var(--text-light);}
.hp-pdc i { color: var(--primary); }
.hp-pdc-easy { border-color: rgba(16,185,129,.3); color: #059669; background: rgba(16,185,129,.07); }
.hp-pdc-easy i { color: #059669; }
.hp-pdc-med { border-color: rgba(245,158,11,.3); color: #b45309; background: rgba(245,158,11,.07); }
.hp-pdc-med i { color: #b45309; }
.hp-pdc-hard { border-color: rgba(249,115,22,.3); color: #ea580c; background: rgba(249,115,22,.07); }
.hp-pdc-hard i { color: #ea580c; }
.hp-pdc-expert { border-color: rgba(220,38,38,.3); color: #dc2626; background: rgba(220,38,38,.07); }
.hp-pdc-expert i { color: #dc2626; }
.hp-puzzle-day-cta {display: flex; align-items: center; gap: .85rem;padding: .95rem 1.25rem;background: linear-gradient(135deg, var(--primary), var(--primary-dark));color: white; text-decoration: none; border-radius: .875rem;transition: all .3s; box-shadow: 0 4px 16px rgba(50,124,235,.3);margin-top: .25rem; position: relative; overflow: hidden;}
.hp-puzzle-day-cta::after {content: ''; position: absolute; inset: 0;background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 60%);opacity: 0; transition: opacity .3s;}
.hp-puzzle-day-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(50,124,235,.4); }
.hp-puzzle-day-cta:hover::after { opacity: 1; }
.hp-puzzle-day-cta--sudoku { background: linear-gradient(135deg, #059669, #10b981); box-shadow: 0 4px 16px rgba(16,185,129,.3); }
.hp-puzzle-day-cta--sudoku:hover { box-shadow: 0 8px 24px rgba(16,185,129,.4); }
.hp-cta-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; color: white; }
.hp-cta-text { flex: 1; }
.hp-cta-main { display: block; font-size: .95rem; font-weight: 600; line-height: 1.2; color: white; }
.hp-cta-sub { display: block; font-size: .72rem; opacity: .8; margin-top: .1rem; color: white; }
.hp-cta-arrow { font-size: .9rem; opacity: .75; flex-shrink: 0; color: white; transition: transform .3s; }
.hp-puzzle-day-cta:hover .hp-cta-arrow { transform: translateX(4px); opacity: 1; }
@media (max-width: 480px) {.hp-puzzle-day-title { font-size: 1.2rem; }.hp-puzzle-day-cta { padding: .8rem 1rem; gap: .65rem; }.hp-cta-sub { display: none; }} .cc-grid {position: absolute; top: .75rem; left: .75rem;background: rgba(0,0,0,.52); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);color: white; font-size: .72rem; font-weight: 600;padding: .22rem .65rem; border-radius: 2rem; letter-spacing: .03em;}
.cc-diff { position: absolute; top: .75rem; right: .75rem; font-size: .72rem; font-weight: 600; padding: .28rem .75rem; border-radius: 2rem; }
.cc-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .5rem; }
.cc-tags--img { position: absolute; bottom: .75rem; left: .75rem; z-index: 3; margin: 0; }
.cc-tags--img a {display: inline-flex;align-items: center;font-size: .75rem;font-weight: 600;padding: .28rem .85rem;border-radius: 2rem;border: 1px solid;text-decoration: none;white-space: nowrap;transition: all .2s;background: rgba(255,255,255,.92) !important;backdrop-filter: blur(6px);border-color: rgba(255,255,255,.4) !important;box-shadow: 0 2px 8px rgba(0,0,0,.18);font-weight: 600;color: inherit;}
.cc-stats { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--text-light); opacity: .7; margin-bottom: .85rem; }
.cc-stat-left, .cc-stat-right { display: flex; align-items: center; gap: .3rem; }
.cc-stat-left i { color: var(--primary); }
.cc-stat-right i { color: #f43f5e; }
.cross-card-tag {display: inline-flex; align-items: center;font-size: .75rem; font-weight: 600; padding: .28rem .85rem;border-radius: 2rem; border: 1px solid; text-decoration: none;white-space: nowrap; transition: all .2s;}
.cross-card-tag:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.12); opacity: .85; }
.cross-card a { text-decoration: none; }
.c-e {background:#f0fdf4;color:#059669;border:1px solid #10b981;}
.c-m {background:#fffbeb;color:#b45309;border:1px solid #d97706;}
.c-h {background:#fff7ed;color:#92360C;border:1px solid #ea580c;}
.cs-diff-easy  { background: rgba(16,185,129,.9); }
.cs-diff-med   { background: rgba(245,158,11,.9); }
.cs-diff-hard  { background: rgba(249,115,22,.9); }
.cs-diff-expert{ background: rgba(220,38,38,.9); }
.hp-scope.cross-card .cross-content {padding: 1rem 1.25rem 1.25rem;display: flex;flex-direction: column;gap: 0;}
.hp-scope.cross-card .cross-content h3 {margin: 0 0 .4rem;}
.hp-scope.cross-card .cc-stats {margin: 0 0 .75rem;}
.hp-scope.cross-card .cross-content {padding: 1rem 1.25rem 1.25rem;}
.hp-scope.cross-card .cross-content h3 {font-size: 1rem;font-weight: 600;margin: 0 0 .4rem;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.hp-scope.cross-card .cross-content p {display: none;}
.hp-scope.cross-card .cc-stats {margin: 0 0 .6rem;opacity: .7;}
.hp-scope.cross-card .btn-play {width: 100%;justify-content: center;align-self: auto;}
.hp-scope.cross-card--sudoku .cross-content {padding: 1rem 1.25rem 1.25rem;}
.hp-scope.cross-card--sudoku .cs-title {font-size: 1rem;font-weight: 600;margin: 0 0 .4rem;}
.hp-scope.cross-card--sudoku .cs-meta {margin: 0 0 .6rem;}
.hp-scope.cross-card--sudoku .cs-btn {align-self: auto;width: 100%;justify-content: center;}
#sudoku-heading { color: #059669 !important; }
#sudoku-heading::before { background: linear-gradient(90deg, transparent, rgba(5,150,105,.35)) !important; }
#sudoku-heading::after { background: linear-gradient(270deg, transparent, rgba(5,150,105,.35)) !important; }
.cross-image--link { display: block; position: relative; overflow: hidden; }
.cs-img-overlay { position: absolute; inset: 0; background: rgba(5,150,105,.0); transition: background .3s; }
.cross-card--sudoku:hover .cs-img-overlay { background: rgba(5,150,105,.12); }
.cs-content { display: flex; flex-direction: column; gap: .5rem; }
.cs-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cc-sudoku-cells {position: absolute; top: .75rem; left: .75rem; z-index: 3;background: rgba(0,0,0,.52); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);color: white; font-size: .72rem; font-weight: 600;padding: .22rem .65rem; border-radius: 2rem;display: inline-flex; align-items: center; gap: .3rem;}
.cc-sudoku-cells i { font-size: .65rem; }
.cs-date { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--text-light); opacity: .70; }
.cs-date i { color: #059669; }
.cs-likes { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--text-light); opacity: .7; }
.cs-likes i { color: #f43f5e; }
.cs-btn { width: 100%; justify-content: center; margin-top: .15rem; }
.cross-card--sudoku .cs-btn { background: linear-gradient(135deg, #059669, #10b981) !important; box-shadow: 0 4px 14px rgba(16,185,129,.28) !important; }
.cross-card--sudoku .cs-btn:hover { box-shadow: 0 8px 22px rgba(16,185,129,.4) !important; }
.cross-card--sudoku:hover { box-shadow: 0 20px 50px rgba(5,150,105,.2) !important; }
.cs-diff-img { position: absolute; top: .75rem; right: .75rem; z-index: 3; color: white; font-size: .72rem; font-weight: 600; padding: .25rem .75rem; border-radius: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.cs-title { font-size: 1rem; font-weight: 600; margin: 0 0 .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-title-link { color: var(--text-light); text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-title-link:hover { color: #059669; }
[data-theme="dark"] .hp-b-intro-inner { background: linear-gradient(135deg, rgba(50,124,235,.1), rgba(5,178,253,.06), rgba(16,185,129,.04)); border-color: rgba(50,124,235,.22); }
[data-theme="dark"] .hp-sil { background: var(--card-dark); border-color: var(--border-dark); }
[data-theme="dark"] .hp-sil:hover { border-color: rgba(50,124,235,.4); box-shadow: 0 4px 12px rgba(50,124,235,.15); }
[data-theme="dark"] .cross-card { background: var(--card-dark); border-color: var(--border-dark); }
[data-theme="dark"] .cross-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.35); }
[data-theme="dark"] .cross-card--sudoku:hover { box-shadow: 0 20px 50px rgba(5,150,105,.25) !important; }
[data-theme="dark"] .hp-puzzle-day-inner { background: var(--card-dark); border-color: var(--border-dark); }
[data-theme="dark"] .hp-pdc { background: var(--bg-dark); border-color: var(--border-dark); color: var(--text-dark); }
[data-theme="dark"] .hp-view-all-btn:hover { box-shadow: 0 14px 36px rgba(50,124,235,.35); }
[data-theme="dark"] .hp-sudoku-nav-btn { background: var(--card-dark); border-color: var(--border-dark); }
[data-theme="dark"] .cross-card-tag { filter: brightness(1.15); }
[data-theme="dark"] .btn-primary { box-shadow: 0 4px 14px rgba(50,124,235,.2); }
[data-theme="dark"] .cc-sudoku-cells { background: rgba(255,255,255,.12); }
[data-theme="dark"] .hp-section-title--divider::before { background: linear-gradient(90deg, transparent, rgba(50,124,235,.25)) !important; }
[data-theme="dark"] .hp-section-title--divider::after { background: linear-gradient(270deg, transparent, rgba(50,124,235,.25)) !important; }
[data-theme="dark"] #sudoku-heading,
[data-theme="dark"] #sudoku-heading::before,
[data-theme="dark"] #sudoku-heading::after { opacity: .85; }
[data-theme="dark"] .hp-section-title--divider { color: #FAFAFA;}