:root{
--bg:#f9fafb;
--fg:#111827;
--accent:#2563eb;
--accent-light:#dbeafe;
--code-bg:#1e293b;
--code-fg:#f8fafc;
--note-bg:#ecfdf5;
--note-border:#10b981;
}
*{
box-sizing:border-box;
}
body{
margin:0;
padding:0;
font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
background:var(--bg);
color:var(--fg);
line-height:1.6;
}
.container{
max-width:900px;
margin:auto;
padding:20px;
}
header{
text-align:center;
margin-bottom:24px;
}
header h1{
margin:0;
font-size:1.8rem;
color:var(--accent);
}
header p{
margin-top:6px;
color:#4b5563;
}
h2{
margin-top:28px;
font-size:1.4rem;
color:var(--accent);
}
ul,ol{
padding-left:20px;
}
pre{
position:relative;
background:var(--code-bg);
color:var(--code-fg);
padding:14px;
border-radius:10px;
overflow-x:auto;
font-size:.9rem;
}
code{
background:var(--accent-light);
color:var(--accent);
padding:2px 6px;
border-radius:6px;
font-family:"Courier New",monospace;
}
.note{
background:var(--note-bg);
border-left:5px solid var(--note-border);
padding:12px;
border-radius:6px;
margin:18px 0;
}
footer{
margin-top:32px;
text-align:center;
font-size:.85rem;
color:#6b7280;
}
.copy-btn{
position:absolute;
top:6px;
right:6px;
border:none;
border-radius:6px;
padding:4px 10px;
cursor:pointer;
font-size:.75rem;
background:var(--accent);
color:#fff;
transition:.2s;
}
.copy-btn:hover{
background:#1d4ed8;
}
@media(max-width:600px){
header h1{
font-size:1.4rem;
}
h2{
font-size:1.2rem;
}
pre{
font-size:.8rem;
}
}
#repoSplash{
position:fixed;
inset:0;
display:flex;
align-items:center;
justify-content:center;
background:rgba(0,0,0,.55);
backdrop-filter:blur(3px);
opacity:0;
visibility:hidden;
transition:.35s;
z-index:99999;
}
#repoSplash.show{
opacity:1;
visibility:visible;
}
.repo-card{
width:min(92%,720px);
background:#fff;
border-radius:18px;
padding:22px;
box-shadow:0 25px 70px rgba(0,0,0,.35);
animation:repoPopup .3s ease;
}
@keyframes repoPopup{
from{
opacity:0;
transform:translateY(25px) scale(.95);
}
to{
opacity:1;
transform:none;
}
}
.repo-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}
.repo-header h2{
margin:0;
color:var(--accent);
}
.closeSplash{
width:38px;
height:38px;
border:none;
border-radius:50%;
cursor:pointer;
background:#ef4444;
color:#fff;
font-size:22px;
line-height:1;
transition:.2s;
}
.closeSplash:hover{
background:#dc2626;
}
.repo-input{
width:100%;
padding:12px;
margin-top:10px;
border:1px solid #d1d5db;
border-radius:10px;
font-size:15px;
outline:none;
}
.repo-input:focus{
border-color:#2563eb;
box-shadow:0 0 0 3px rgba(37,99,235,.15);
}
.repo-actions{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:15px;
}
.repo-actions button{
border:none;
border-radius:8px;
padding:10px 18px;
cursor:pointer;
background:#2563eb;
color:#fff;
font-weight:600;
transition:.2s;
}
.repo-actions button:hover{
background:#1d4ed8;
}
.repo-status{
margin-top:16px;
font-weight:600;
}
#repoResult{
margin-top:12px;
word-break:break-all;
}
#repoResult a{
color:#2563eb;
font-weight:600;
text-decoration:none;
}
#repoThumb{
display:none;
width:100%;
margin-top:16px;
border:1px solid #ddd;
border-radius:10px;
}

