/* The TwoLink editor in TwoReels' light warm glass (13 Nov). glass.css gives the fonts, the room, the material, .btn, .chip,
   .switch and .rise; this file is the editor's own layout. */
:root { --panel: rgba(255,255,255,.55); --field: rgba(255,255,255,.75); --good: #1c7a3e; --bad: #c7372e; --mu2: rgba(34,22,15,.42); }
.mono { font-family: var(--mono); }

/* the bar on top (a floating glass pill) */
.top { position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; gap: 10px; max-width: 1180px; margin: 12px auto 0; padding: 8px 8px 8px 10px; border-radius: 999px; }
.top .sp { flex: 1; }
.tabs { display: flex; gap: 4px; margin-left: 6px; }
.tabs button { height: 38px; padding: 0 15px; border-radius: 999px; font: 500 14px/1 var(--ui); color: var(--text); transition: background .2s, color .2s; }
.tabs button:hover { color: var(--ink); background: rgba(255,255,255,.55); }
.tabs button.on { color: #fff; background: #22160f; }
.top .chip { height: 34px; padding: 0 12px; font-size: 12.5px; }
.top .chip.url b { color: var(--ink); font-weight: 650; }
.top .chip.pro { background: var(--accent); color: #fff; box-shadow: none; }
.top .lang { height: 36px; align-items: center; }
.top .lang button { height: 28px; }
.saved { font: 650 12.5px/1 var(--ui); color: var(--green-ink); opacity: 0; transform: translateY(-3px); transition: all .25s var(--spring); white-space: nowrap; }
.saved.on { opacity: 1; transform: none; }

/* layout */
.wrap2 { position: relative; z-index: 1; display: grid; grid-template-columns: 210px minmax(0, 600px) 400px; gap: 26px; justify-content: center; padding: 22px 20px 80px; }
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.phone { position: sticky; top: 86px; align-self: start; width: 400px; display: flex; flex-direction: column; align-items: center; }
.phone .frame { width: 390px; height: 780px; border-radius: 48px; padding: 10px; background: #1d1612; box-shadow: 0 40px 70px -30px rgba(60,20,8,.75), inset 0 0 0 1.5px rgba(255,255,255,.12); position: relative; }
.phone .frame::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 108px; height: 30px; border-radius: 20px; background: #0b0908; z-index: 2; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 39px; background: #b98a68; }
.phone .pbar { display: flex; align-items: center; justify-content: space-between; width: 390px; margin-bottom: 12px; }
.phone .open { margin-top: 14px; }

/* cards = glass panels */
.card { padding: 24px; }
.card h2 { font-size: 19px; letter-spacing: -.015em; }
.card .sub { margin: 4px 0 18px; color: var(--text); font-size: 14px; }
.row { display: flex; gap: 12px; align-items: center; }
.grow { flex: 1; min-width: 0; }
label.f { display: block; font: 600 12.5px/1.2 var(--ui); color: var(--text); margin: 0 0 7px; }
.in { width: 100%; padding: 12px 14px; border-radius: 14px; background: var(--field); border: 0; box-shadow: inset 0 0 0 1px rgba(34,22,15,.1); outline: 0; transition: box-shadow .15s, background .15s; }
.in:focus { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb),.6); }
textarea.in { resize: vertical; min-height: 76px; line-height: 1.45; }
.count { float: right; font-weight: 500; color: var(--mu2); }
.ibtn { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.ibtn:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.linkbtn { font-size: 13px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: #22160f; color: #fff; font: 600 14px/1 var(--ui); transition: all .25s var(--spring); z-index: 50; pointer-events: none; box-shadow: 0 16px 30px -12px rgba(34,22,15,.7); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* profile */
.avatar { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1.5px rgba(34,22,15,.14); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; color: var(--text); font-size: 12px; text-align: center; cursor: pointer; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* the reel card */
.spotcard { background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,232,224,.5)); }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(var(--accent-rgb),.14); font: 650 12px/1 var(--ui); color: var(--accent-2); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }
.spotpic { width: 128px; aspect-ratio: 16/9; border-radius: 12px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1.5px rgba(34,22,15,.12); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--text); font-size: 12px; flex: none; cursor: pointer; text-align: center; }
.spotpic img { width: 100%; height: 100%; object-fit: cover; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.85); }
.seg button { padding: 8px 12px; border-radius: 999px; font: 550 13px/1 var(--ui); color: var(--text); }
.seg button.on { background: #22160f; color: #fff; }

/* links */
.add { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.add .in { flex: 1; min-width: 160px; }
.quick { display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 16px; }
.quick button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.85); color: var(--text); font: 550 12.5px/1 var(--ui); transition: all .15s; }
.quick button:hover { background: #fff; color: var(--ink); }
.links { display: flex; flex-direction: column; gap: 10px; }
.lrow { display: flex; gap: 10px; align-items: center; padding: 10px 12px 10px 8px; border-radius: 18px; background: rgba(255,255,255,.62); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 20px -16px rgba(96,38,20,.55); }
.lrow.drag { opacity: .45; } .lrow.off .fields { opacity: .45; }
.grip { cursor: grab; color: var(--mu2); padding: 8px 2px; user-select: none; font-size: 15px; line-height: 1; }
.lic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--accent-2); box-shadow: 0 6px 14px -8px rgba(96,38,20,.55); }
.fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fields input { width: 100%; background: transparent; border: 0; outline: 0; padding: 4px 6px; border-radius: 8px; }
.fields input:focus { background: #fff; }
.fields .t { font-weight: 650; }
.fields .u { font-size: 13px; color: var(--text); }
.lrow .switch { transform: scale(.82); }
.empty { padding: 26px; text-align: center; color: var(--text); border: 1.5px dashed rgba(34,22,15,.15); border-radius: 18px; }

/* socials + styles */
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sin { display: flex; align-items: center; gap: 9px; padding: 0 12px; border-radius: 14px; background: var(--field); box-shadow: inset 0 0 0 1px rgba(34,22,15,.1); }
.sin svg { flex: none; color: var(--text); }
.sin input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 12px 0; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.th { aspect-ratio: 4/3; border-radius: 18px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 22px 14px 26px; box-shadow: 0 10px 22px -14px rgba(60,20,8,.7); transition: transform .25s var(--spring); }
.th:hover { transform: translateY(-2px); }
.th span { display: block; height: 10px; border-radius: 6px; }
.th.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #22160f; }
.th .lock { position: absolute; top: 8px; right: 8px; font: 800 10px/1 var(--ui); padding: 4px 7px; border-radius: 999px; background: rgba(34,22,15,.6); color: #ffd66b; }
.th em { position: absolute; left: 12px; bottom: 9px; font: 650 12px/1 var(--ui); font-style: normal; }

/* steps (first-time checklist) */
.steps { background: linear-gradient(160deg, rgba(255,255,255,.72), rgba(226,246,233,.5)); }
.todo { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.todo li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.todo li.ok { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(34,22,15,.25); }
.todo .tick { width: 22px; height: 22px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px rgba(34,22,15,.2); color: #fff; background: rgba(255,255,255,.6); }
.todo li.ok .tick { background: var(--green); box-shadow: none; }

/* stats */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.62); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.kpi b { display: block; font: 700 32px/1.05 var(--ui); letter-spacing: -.03em; }
.kpi span { font-size: 12.5px; color: var(--text); }
.delta { display: inline-block; margin-left: 6px; font: 700 11.5px/1 var(--ui); padding: 3px 7px; border-radius: 999px; background: rgba(52,199,89,.2); color: var(--green-ink); }
.delta.neg { background: rgba(214,58,51,.14); color: var(--bad-ink); }
.best { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; margin-top: 14px; background: linear-gradient(140deg, var(--hero-1), var(--hero-2)); color: #fff; box-shadow: 0 20px 40px -22px var(--glow); }
.best .big { font: 750 28px/1 var(--ui); letter-spacing: -.02em; }
.chart { width: 100%; height: 170px; display: block; }
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar { display: grid; grid-template-columns: minmax(130px, 46%) 1fr 56px; gap: 12px; align-items: center; font-size: 13.5px; }
.bar .track { display: block; height: 10px; border-radius: 6px; background: rgba(34,22,15,.08); overflow: hidden; }
.bar .fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--hero-2), var(--hero-1)); }
.bar .n { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.bar .nm { display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.locked { position: relative; }
.locked .veil { position: absolute; inset: 0; border-radius: var(--r); background: rgba(255,246,240,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; font-weight: 650; }

/* share */
.biglink { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-radius: 18px; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px #fff; font: 650 17px/1.2 var(--ui); overflow: hidden; }
.biglink span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steps-ol { margin: 0; padding-left: 20px; color: var(--text); } .steps-ol li { margin: 6px 0; } .steps-ol b { color: var(--ink); }
.qrbox { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qrbox canvas { width: 180px; height: 180px; border-radius: 18px; background: #fff; padding: 10px; box-shadow: 0 14px 30px -16px rgba(96,38,20,.6); }
.prefix { display: flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: inset 0 0 0 1px #fff, 0 14px 30px -16px rgba(96,38,20,.5); overflow: hidden; }
.prefix span { padding: 0 0 0 18px; color: var(--dim); white-space: nowrap; }
.prefix input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 15px 16px 15px 1px; font-weight: 650; }

/* pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.62); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.plan.pro { background: linear-gradient(140deg, var(--hero-1), var(--hero-2)); color: #fff; box-shadow: 0 24px 46px -24px var(--glow); }
.plan h3 { font-size: 16px; }
.plan .price { font: 750 34px/1 var(--ui); letter-spacing: -.03em; margin: 10px 0 2px; }
.plan .price small { font: 500 14px/1 var(--ui); letter-spacing: 0; opacity: .75; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.plan li { padding-left: 24px; position: relative; font-size: 14px; }
.plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--green-ink); }
.plan.pro li::before { color: #fff; }

/* sign in / claim */
.center { position: relative; z-index: 1; min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.box { width: 100%; max-width: 460px; padding: 40px 36px; }
.box h1 { font-size: 40px; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 12px; }
.box h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--accent-2); }
.box p.lead { color: var(--text); margin: 0 0 24px; font-size: 16px; }
.codein { letter-spacing: .5em; text-align: center; font: 700 26px/1 var(--ui); }
.mob { display: none; gap: 8px; }

@media (max-width: 1280px) { .wrap2 { grid-template-columns: 190px minmax(0, 600px); } .phone { display: none; } }
@media (max-width: 900px) { .wrap2 { grid-template-columns: minmax(0, 640px); padding-bottom: 110px; } .side { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: 10px; top: auto; flex-direction: row; justify-content: space-around; padding: 6px; border-radius: 26px; } .side button { flex-direction: column; gap: 3px; padding: 7px 4px; font-size: 11px; width: auto; flex: 1; } .side-foot { display: none; } }
@media (max-width: 640px) {
  .top { margin: 10px 10px 0; flex-wrap: wrap; border-radius: 26px; } .tabs { order: 3; width: 100%; margin: 0; overflow-x: auto; } .top .chip.url, .saved { display: none; }
  .wrap2 { padding: 16px 12px 70px; } .card { padding: 18px; } .box { padding: 30px 22px; } .box h1 { font-size: 32px; }
  .socials, .todo, .plans { grid-template-columns: 1fr; } .themes { grid-template-columns: repeat(2, 1fr); }
  .kpis { gap: 8px; } .kpi b { font-size: 24px; } .bar { grid-template-columns: minmax(110px, 50%) 1fr 44px; gap: 8px; }
}

/* v4 (13 Nov, "overzichtelijk", like Linktree): a menu on the left, the work in the middle, the phone right */
.side { position: sticky; top: 86px; align-self: start; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 24px; }
.side button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border-radius: 14px; font: 550 14.5px/1 var(--ui); color: var(--text); transition: background .2s, color .2s; text-align: left; }
.side button:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.side button.on { background: #22160f; color: #fff; }
.side-foot { margin-top: 10px; padding: 12px 10px 4px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.side-url { font: 600 12.5px/1.3 var(--mono); color: var(--accent-2); word-break: break-all; }
.head { padding: 4px 4px 2px; }
.head h1 { font-size: 34px; line-height: 1.05; letter-spacing: -.035em; }
.head p { color: rgba(255,248,242,.92); text-shadow: 0 1px 10px rgba(80,30,15,.45); margin-top: 6px; font-size: 14.5px; }
.head h1 { color: #fff; text-shadow: 0 2px 18px rgba(80,30,15,.4); }
.prof { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.pav { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; background: #fff; display: grid; place-items: center; font: 700 20px/1 var(--ui); color: var(--text); box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.pav img { width: 100%; height: 100%; object-fit: cover; }
.prof b { display: block; font: 650 16px/1.25 var(--ui); }
.prof span { display: block; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addbtn { width: 100%; height: 54px; font-size: 16px; }
.addpanel { padding: 4px 2px 6px; }
.addpanel .quick { margin: 0 0 16px; }
.spic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 8px 18px -10px rgba(96,38,20,.6); }
.spthumb { width: 96px; aspect-ratio: 16/10; flex: none; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; font-size: 24px; box-shadow: 0 8px 18px -10px rgba(96,38,20,.6); }
.spthumb img { width: 100%; height: 100%; object-fit: cover; }
.sptitle { display: block; font: 650 16px/1.25 var(--ui); }
.spurl { display: block; font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clk { display: grid; justify-items: center; min-width: 48px; font: 700 15px/1.1 var(--ui); color: var(--ink); font-variant-numeric: tabular-nums; }
.clk small { font: 500 10.5px/1.2 var(--ui); color: var(--dim); }
.spotcard .clk { display: inline; font: 600 12px/1 var(--ui); color: var(--text); min-width: 0; }
.th { aspect-ratio: auto; padding: 0; background: none; box-shadow: none; display: grid; gap: 8px; justify-items: start; }
.th .sw { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 16px 14px; box-shadow: 0 10px 22px -14px rgba(60,20,8,.7); overflow: hidden; }
.th .sw i { display: block; height: 11px; border-radius: 6px; }
.th em { position: static; font: 600 13px/1 var(--ui); color: var(--ink); padding-left: 4px; }
.th.on { box-shadow: none; }
.th.on .sw { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #22160f; }
.th .lock { position: absolute; top: 8px; right: 8px; }
.top .chip.url { gap: 7px; }
.th .sw { height: auto; min-height: 92px; }
.ibtn { flex: none; }
.lrow .del { width: 34px; height: 34px; }
svg { flex-shrink: 0; }
@media (max-width: 900px) {
  .side { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: 10px; top: auto; flex-direction: row; justify-content: space-around; padding: 6px; border-radius: 26px; }
  .side button { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 2px; font-size: 11px; flex: 1; text-align: center; }
  .side-foot { display: none; }
  .wrap2 { padding-bottom: 110px; }
  .top .lang { display: none; }
}
.prof b, .sptitle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { white-space: nowrap; }
@media (max-width: 640px) {
  .top { flex-wrap: nowrap; border-radius: 999px; }
  .top .btn.soft.sm { height: 34px; padding: 0 12px; }
  .prof .btn, #spedit { width: 40px; height: 40px; padding: 0; font-size: 0; gap: 0; flex: none; }
  .prof .btn svg, #spedit svg { width: 17px; height: 17px; }
  .spthumb { width: 72px; }
  .head h1 { font-size: 30px; }
  .lrow { gap: 8px; } .lrow .grip { display: none; } .clk { min-width: 38px; }
}
